{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play App Details Scraper, USD 0.40/1,000",
    "description": "Google Play app details by package name, link, developer or category page, in several countries per run: rating, histogram, installs, price, IAP, ads, version, data safety, permissions. Every input gets a row. Monitor mode: only changes. No reviews or contact data.",
    "version": "1.0",
    "x-build-id": "lKIC8bFS1XmU9oBFh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/usefulapi~google-play-apps/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-usefulapi-google-play-apps",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/usefulapi~google-play-apps/runs": {
      "post": {
        "operationId": "runs-sync-usefulapi-google-play-apps",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/usefulapi~google-play-apps/run-sync": {
      "post": {
        "operationId": "run-sync-usefulapi-google-play-apps",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "apps": {
            "title": "Apps (package names or Play links)",
            "type": "array",
            "description": "One per line: the package name (com.spotify.music) or the Play link (https://play.google.com/store/apps/details?id=com.spotify.music). Every line gets a row: the details, or a status (not_found, not_available_in_country, error).",
            "items": {
              "type": "string"
            }
          },
          "developers": {
            "title": "Developers",
            "type": "array",
            "description": "One per line: the numeric developer ID (5700313618786177705), the developer name exactly as Play shows it (Spotify AB), or the developer page link. The page's apps are read (only those the page shows: Play loads more only through calls its robots.txt disallows).",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "One per line: a Play category ID (GAME_PUZZLE, PRODUCTIVITY, EDUCATION, MUSIC_AND_AUDIO...) or the category page link. The apps the category page shows are read (about 40 on the pages we tested).",
            "items": {
              "type": "string"
            }
          },
          "details": {
            "title": "Read each app's page",
            "type": "boolean",
            "description": "On: every app found on a developer or category page is read in full (one app row each). Off: list-only, one short row per app with what the list page shows (title, rating, installs, price, genre, icon), billed as a check and much faster.",
            "default": true
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter country codes (us, gb, de, jp, br...). Every app is read once per country: prices, currency, availability and the top-chart position follow the country. Default: us.",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Language codes (en, de, ja, pt-BR, zh-TW...) for titles, descriptions and labels. Every country is combined with every language (at most 50 combinations). Default: en.",
            "items": {
              "type": "string"
            }
          },
          "linkLocale": {
            "title": "Country and language in links",
            "enum": [
              "link",
              "options"
            ],
            "type": "string",
            "description": "A Play link can carry hl= (language) and gl= (country). By default they are used for that line.",
            "default": "link"
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Rows to save at most (every app and country is one row). 0 = no limit.",
            "default": 1000
          },
          "includeDescription": {
            "title": "Include the full description",
            "type": "boolean",
            "description": "The developer's long description as plain text (emails and phone numbers in it are removed). The short description is always included.",
            "default": true
          },
          "onlyChanges": {
            "title": "Only changes since the last run",
            "type": "boolean",
            "description": "Each run compares every app (per country and language) with what the previous run of the same monitor saw: a row only for new, changed (rating, rating count, installs, version, price, update date, availability...) or removed apps, with a changes list. An unchanged app gives no row; its page read costs one check. Apps gone from a developer or category page are reported as removed. The memory sits in your own key-value store google-play-apps-monitor.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "A name per watch list (for example competitors). Runs with the same name share one memory. Empty = a name made from your inputs, countries and languages."
          },
          "firstRun": {
            "title": "First run of a monitor",
            "enum": [
              "deliver",
              "baseline"
            ],
            "type": "string",
            "description": "What the first run of a new monitor does: deliver every app as a new row, or only record them so that later runs report changes.",
            "default": "deliver"
          },
          "watchFields": {
            "title": "Watch these fields",
            "type": "array",
            "description": "Default: rating, number of ratings, installs, version, price, last update and availability.",
            "items": {
              "type": "string",
              "enum": [
                "rating",
                "ratingCount",
                "installs",
                "version",
                "price",
                "updatedAt",
                "availableInCountry",
                "title",
                "developer",
                "contentRating",
                "containsAds",
                "inAppPurchases",
                "genre"
              ],
              "enumTitles": [
                "Rating (one decimal, as Play shows it)",
                "Number of ratings (2 significant digits: 36,000,000)",
                "Installs range (Play's 1,000,000+ steps)",
                "Version",
                "Price",
                "Last update date",
                "Available in the country",
                "Title",
                "Developer (organisations only)",
                "Content rating",
                "Contains ads",
                "In-app purchases",
                "Genre"
              ]
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}