Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIApp stores

    google_play.top_charts

    A Google Play top chart for a country: top free, paid or grossing apps or games, overall or in one category.

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

    Start it with POST /v1/scrapers/google_play.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 google_play.top_charts
    FieldTypeDescription
    countrystringTwo-letter country code: the store's gl parameter. Prices, charts and availability follow it.Limit: matches ^[A-Za-z]{2}$. Default: "us".
    languagestringLanguage code: the store's hl parameter, e.g. en, de, pt-BR.Limit: matches ^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,4})?$. Default: "en".
    chart"free" | "paid" | "grossing"Which chart: top free, top paid or top grossing.Default: "free".
    category"APPLICATION" | "GAME" | "FAMILY" | "ART_AND_DESIGN" | "AUTO_AND_VEHICLES" | "BEAUTY" | "BOOKS_AND_REFERENCE" | "BUSINESS" | "COMICS" | "COMMUNICATION" | "DATING" | "EDUCATION" | "ENTERTAINMENT" | "EVENTS" | "FINANCE" | "FOOD_AND_DRINK" | "HEALTH_AND_FITNESS" | "HOUSE_AND_HOME" | "LIBRARIES_AND_DEMO" | "LIFESTYLE" | "MAPS_AND_NAVIGATION" | "MEDICAL" | "MUSIC_AND_AUDIO" | "NEWS_AND_MAGAZINES" | "PARENTING" | "PERSONALIZATION" | "PHOTOGRAPHY" | "PRODUCTIVITY" | "SHOPPING" | "SOCIAL" | "SPORTS" | "TOOLS" | "TRAVEL_AND_LOCAL" | "VIDEO_PLAYERS" | "WEATHER" | "GAME_ACTION" | "GAME_ADVENTURE" | "GAME_ARCADE" | "GAME_BOARD" | "GAME_CARD" | "GAME_CASINO" | "GAME_CASUAL" | "GAME_EDUCATIONAL" | "GAME_MUSIC" | "GAME_PUZZLE" | "GAME_RACING" | "GAME_ROLE_PLAYING" | "GAME_SIMULATION" | "GAME_SPORTS" | "GAME_STRATEGY" | "GAME_TRIVIA" | "GAME_WORD"Google Play's category code: APPLICATION (all apps), GAME (all games), FAMILY, or one category such as FINANCE or GAME_PUZZLE.Default: "APPLICATION".
    max_resultsintegerReturn at most this many apps (up to 200; a chart may be shorter).Limit: 1 to 200. Default: 50.
    • chart is free, paid or grossing. category is the store's own code: APPLICATION for all apps (the default), GAME for all games, FAMILY, or one category such as FINANCE or GAME_PUZZLE.
    • max_results is 50 by default and goes up to 200. The store decides how long a chart is: a paid chart is often shorter than what was asked for.
    • position is the app's place on the chart at the time of the run.

    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 google_play.top_charts
    FieldTypeNotes
    positionintegerIts place in the list, from 1, in Google Play's order.
    app_idstringThe package name, e.g. com.whatsapp.
    urlstringThe listing's address on Google Play.
    titlestringThe app's name, as shown in the language asked for.
    featuredbooleanTrue for the single app Google Play puts above the list in a block of its own (a search that names an app, some developer pages). Such an entry carries the app's id, name and address only.Default: false.
    developer_namestring or nullThe developer's name, as the list shows it.
    categorystring or nullThe category as shown, in the language asked for.
    ratingnumber or nullAverage rating, 0 to 5; null for an app with no rating shown.
    priceobject or nullThe price to get the app in the country asked for; 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.
    descriptionstring or nullThe app's full description, as text.
    installsstring or nullInstalls as shown, e.g. "10,000,000+".
    content_ratingstring or nullThe age rating as shown, e.g. "Teen".
    iconstring or nullThe address of the app's icon image.
    countrystringThe country asked for.
    languagestringThe language asked for.
    fetched_atstring (date-time)When the list 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/google_play.top_charts/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"chart":"paid","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("google_play.top_charts", {"chart": "paid", "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("google_play.top_charts", { chart: "paid", 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, "google_play.top_charts", map[string]any{"chart": "paid", "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("google_play.top_charts", Map.of("chart", "paid", "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 google_play.top_charts --input chart=paid --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": {
        "chart": "paid",
        "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": "google_play.top_charts",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "chart": "paid",
        "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": [
        {
          "position": 1,
          "app_id": "com.tdr3.hs.android",
          "url": "https://play.google.com/store/apps/details?id=com.tdr3.hs.android",
          "title": "HotSchedules",
          "featured": false,
          "developer_name": "Fourth Enterprises, LLC",
          "category": "Productivity",
          "rating": 3.568954,
          "price": {
            "amount": 2.99,
            "currency": "USD"
          },
          "free": false,
          "description": "​HotSchedules is the industry's leading employee scheduling app because it’s the fastest and easiest way to manage your schedule and communicate with your team.\nTeam members love it because they can swap, pick-up or release shifts with one … [truncated]",
          "installs": "1,000,000+",
          "content_rating": "Everyone",
          "icon": "https://play-lh.googleusercontent.com/uJWK8zEJK37A6Db1VXs8Arv-nPe14Fs2ziMVjo6onF4p-PZQ_swdE0ycSL426vzusw1NRStEseT_rNzvtf3hGus",
          "country": "us",
          "language": "en",
          "fetched_at": "2026-11-19T18:07:40.774339Z"
        }
      ],
      "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: description: 1,020 characters, the first 239 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.