{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store & Google Play Scraper + Charts Monitor",
    "description": "Apple App Store and Google Play app data: top charts by country and category, keyword search ranks (ASO), apps and developer catalogs, with ratings, prices, versions and installs. Monitoring mode alerts on rank moves, new apps, updates and price changes.",
    "version": "0.0",
    "x-build-id": "Aet81wyasxqjJQnA7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/copperlark~app-store-charts-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-copperlark-app-store-charts-monitor",
        "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/copperlark~app-store-charts-monitor/runs": {
      "post": {
        "operationId": "runs-sync-copperlark-app-store-charts-monitor",
        "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/copperlark~app-store-charts-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-copperlark-app-store-charts-monitor",
        "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": {
          "charts": {
            "title": "Top charts",
            "type": "array",
            "description": "Apple's top charts (about 100 apps each).",
            "items": {
              "type": "string",
              "enum": [
                "top-free-iphone",
                "top-paid-iphone",
                "top-grossing-iphone",
                "top-free-ipad",
                "top-paid-ipad",
                "top-grossing-ipad",
                "new-iphone",
                "new-free-iphone",
                "new-paid-iphone",
                "top-free-mac"
              ],
              "enumTitles": [
                "Top free (iPhone)",
                "Top paid (iPhone)",
                "Top grossing (iPhone)",
                "Top free (iPad)",
                "Top paid (iPad)",
                "Top grossing (iPad)",
                "New apps (iPhone)",
                "New free apps (iPhone)",
                "New paid apps (iPhone)",
                "Top free (Mac)"
              ]
            }
          },
          "genres": {
            "title": "Chart categories",
            "type": "array",
            "description": "Leave empty for the overall chart. Each category is a separate chart.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "Business",
                "Weather",
                "Utilities",
                "Travel",
                "Sports",
                "Social Networking",
                "Reference",
                "Productivity",
                "Photo & Video",
                "News",
                "Navigation",
                "Music",
                "Lifestyle",
                "Health & Fitness",
                "Games",
                "Finance",
                "Entertainment",
                "Education",
                "Books",
                "Medical",
                "Food & Drink",
                "Shopping",
                "Developer Tools",
                "Graphics & Design",
                "Games: Action",
                "Games: Adventure",
                "Games: Casual",
                "Games: Board",
                "Games: Card",
                "Games: Casino",
                "Games: Family",
                "Games: Music",
                "Games: Puzzle",
                "Games: Racing",
                "Games: Role Playing",
                "Games: Simulation",
                "Games: Sports",
                "Games: Strategy",
                "Games: Trivia",
                "Games: Word"
              ],
              "enumTitles": [
                "All apps",
                "Business",
                "Weather",
                "Utilities",
                "Travel",
                "Sports",
                "Social Networking",
                "Reference",
                "Productivity",
                "Photo & Video",
                "News",
                "Navigation",
                "Music",
                "Lifestyle",
                "Health & Fitness",
                "Games",
                "Finance",
                "Entertainment",
                "Education",
                "Books",
                "Medical",
                "Food & Drink",
                "Shopping",
                "Developer Tools",
                "Graphics & Design",
                "Games: Action",
                "Games: Adventure",
                "Games: Casual",
                "Games: Board",
                "Games: Card",
                "Games: Casino",
                "Games: Family",
                "Games: Music",
                "Games: Puzzle",
                "Games: Racing",
                "Games: Role Playing",
                "Games: Simulation",
                "Games: Sports",
                "Games: Strategy",
                "Games: Trivia",
                "Games: Word"
              ]
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter App Store country codes, e.g. us, gb, ie, de, jp.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search keywords (ASO ranks)",
            "type": "array",
            "description": "App Store keyword searches. Each result's rank is its position for that keyword in that country.",
            "items": {
              "type": "string"
            }
          },
          "apps": {
            "title": "Apps",
            "type": "array",
            "description": "App IDs (284882215), bundle IDs (com.burbn.instagram) or App Store URLs.",
            "items": {
              "type": "string"
            }
          },
          "developers": {
            "title": "Developers",
            "type": "array",
            "description": "Developer IDs or developer page URLs: returns every app they publish.",
            "items": {
              "type": "string"
            }
          },
          "playApps": {
            "title": "Google Play apps",
            "type": "array",
            "description": "Package names (com.whatsapp) or Play Store URLs. Adds installs (bucket and exact count), rating, rating count, price and last-updated date.",
            "items": {
              "type": "string"
            }
          },
          "playSearchTerms": {
            "title": "Google Play search keywords (ASO ranks)",
            "type": "array",
            "description": "Google Play keyword searches; each result's rank is its position for that keyword (first page, about 30 apps).",
            "items": {
              "type": "string"
            }
          },
          "maxResultsPerList": {
            "title": "Max apps per chart or search",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Charts have about 100 apps; searches up to 200.",
            "default": 100
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many results in total (0 = no limit).",
            "default": 0
          },
          "monitoringId": {
            "title": "Monitoring name",
            "type": "string",
            "description": "Any name, e.g. competitor-apps. The snapshot lives in a key-value store in your own account."
          },
          "changeTypes": {
            "title": "Changes to report",
            "type": "array",
            "description": "Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "new_entry",
                "dropped",
                "rank_up",
                "rank_down",
                "new",
                "removed",
                "version_update",
                "price_change",
                "rating_change"
              ],
              "enumTitles": [
                "Entered a chart or search top list",
                "Dropped out of a chart or search top list",
                "Moved up",
                "Moved down",
                "New app (developer or app list)",
                "App removed from a developer's catalog",
                "Version update",
                "Price change",
                "Rating change (0.05 or more)"
              ]
            }
          },
          "minRankChange": {
            "title": "Minimum rank move",
            "minimum": 1,
            "type": "integer",
            "description": "Ignore rank moves smaller than this (e.g. 5 to cut noise).",
            "default": 1
          },
          "firstRun": {
            "title": "First monitoring run",
            "enum": [
              "full",
              "quiet"
            ],
            "type": "string",
            "description": "The first run has nothing to compare with.",
            "default": "full"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}