Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIApp stores

    app_store.top_charts

    A top chart of Apple's App Store for a country: top free, paid or grossing apps, overall or in one category, for iPhone or iPad.

    Id
    app_store.top_charts
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/app_store.top_charts/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of app_store.top_charts
    FieldTypeDescription
    countrystringThe storefront, as a two-letter country code (default us). Prices, ratings and availability are per storefront.Limit: matches ^[A-Za-z]{2}$. Default: "us".
    chart"free" | "paid" | "grossing"Which chart: top free, top paid or top grossing apps.Default: "free".
    category"books" | "business" | "developer_tools" | "education" | "entertainment" | "finance" | "food_and_drink" | "games" | "graphics_and_design" | "health_and_fitness" | "lifestyle" | "magazines_and_newspapers" | "medical" | "music" | "navigation" | "news" | "photo_and_video" | "productivity" | "reference" | "shopping" | "social_networking" | "sports" | "travel" | "utilities" | "weather"One App Store category, e.g. games or finance; every category when not given.
    device"iphone" | "ipad"The iPhone chart or the iPad chart.Default: "iphone".
    max_resultsintegerReturn at most this many apps (Apple publishes 100).Limit: 1 to 100. Default: 100.
    • chart is free, paid or grossing; device is iphone (the default) or ipad; category narrows the chart to one category, such as games or finance.
    • A chart has at most 100 apps. A category with no chart of that kind is ok with zero records.
    • rank is the app's place on the chart at the time of the run. Charts change through the day.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of app_store.top_charts
    FieldTypeNotes
    rankintegerThe app's place on the chart, from 1.
    app_idstringApple's numeric app id.
    bundle_idstring or nullThe app's bundle identifier.
    urlstringThe app's address on the App Store, in this storefront.
    titlestringThe app's name, as the storefront shows it.
    developerobjectWho published the app.
    name (in developer)string or nullThe developer's name, as the store shows it.
    id (in developer)string or nullApple's numeric developer id, when the list gives one.
    url (in developer)string or nullThe developer's page on the App Store, when the list links it.
    categorystring or nullThe app's primary category, as named for the storefront.
    category_idstring or nullApple's id of that category, e.g. 6014 for Games.
    priceobject or nullThe app's price in this storefront; amount 0 for a free app.
    amount (in price)numberThe amount as the store states it; 0 for a free app.
    currency (in price)string or nullThe currency code the store gives with the amount (it follows the country asked for).
    freeboolean or nullTrue when price is 0, false when it is more; null when no price was read.
    summarystring or nullThe app's description, as the chart carries it.
    iconstring or nullThe address of the app's icon image (the largest the chart gives).
    released_atstring (date-time) or nullThe release date the chart gives for the app.
    chartstringThe chart asked for: free, paid or grossing.
    devicestringThe device the chart is for: iphone or ipad.
    countrystringThe storefront, as a two-letter country code.
    fetched_atstring (date-time)When the chart was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/app_store.top_charts/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"country":"de","chart":"paid","category":"games","max_results":3}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("app_store.top_charts", {
        "country": "de",
        "chart": "paid",
        "category": "games",
        "max_results": 3,
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("app_store.top_charts", {
      country: "de",
      chart: "paid",
      category: "games",
      max_results: 3,
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "app_store.top_charts", map[string]any{"country": "de", "chart": "paid", "category": "games", "max_results": 3})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("app_store.top_charts", Map.of("country", "de", "chart", "paid", "category", "games", "max_results", 3));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run app_store.top_charts --input country=de --input chart=paid --input category=games --input max_results=3

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "country": "de",
        "chart": "paid",
        "category": "games",
        "max_results": 3
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "app_store.top_charts",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "country": "de",
        "chart": "paid",
        "category": "games",
        "max_results": 3
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "rank": 2,
          "app_id": "479516143",
          "bundle_id": "com.mojang.minecraftpe",
          "url": "https://apps.apple.com/de/app/minecraft/id479516143",
          "title": "Minecraft",
          "developer": {
            "name": "Mojang",
            "id": "479516146",
            "url": "https://apps.apple.com/de/developer/mojang/id479516146"
          },
          "category": "Spiele",
          "category_id": "6014",
          "price": {
            "amount": 3.99,
            "currency": "EUR"
          },
          "free": false,
          "summary": "Entdecke unendliche Welten und baue Alles, von einem einfachen Zuhause bis hin zu riesigen Schlössern. Spiele im Kreativmodus mit unbegrenzten Ressourcen oder grabe dich im Überlebensmodus tief in die Welt, während du Waffen und Rüstung … [truncated]",
          "icon": "https://is1-ssl.mzstatic.com/image/thumb/Purple211/v4/fb/a7/be/fba7bef5-248f-e255-da11-dd06a30e3828/AppIcon-0-0-1x_U007emarketing-0-10-0-85-220.png/100x100bb.png",
          "released_at": "2011-11-17T07:00:00Z",
          "chart": "paid",
          "device": "iphone",
          "country": "de",
          "fetched_at": "2026-11-19T18:07:38.404327Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: summary: 2,521 characters, the first 236 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the App stores scrapers are in their own section there.