{
  "openapi": "3.0.1",
  "info": {
    "title": "iOS & Android App Rankings Scraper",
    "description": "Scrape Apple App Store and Google Play top chart rankings (Top Free, Top Paid, Top Grossing) across 60+ countries and 50+ categories in a single run. Track app rankings daily with batch processing. The affordable Sensor Tower alternative — get the same ranking data at 1/100th the cost.",
    "version": "1.0",
    "x-build-id": "7eoT9Mk2yf6TS1vrP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/slothtechlabs~ios-android-app-rankings-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-slothtechlabs-ios-android-app-rankings-scraper",
        "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/slothtechlabs~ios-android-app-rankings-scraper/runs": {
      "post": {
        "operationId": "runs-sync-slothtechlabs-ios-android-app-rankings-scraper",
        "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/slothtechlabs~ios-android-app-rankings-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-slothtechlabs-ios-android-app-rankings-scraper",
        "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",
        "required": [
          "stores"
        ],
        "properties": {
          "stores": {
            "title": "Target Stores",
            "type": "array",
            "description": "Select which app stores to scrape.",
            "items": {
              "type": "string",
              "enum": [
                "apple",
                "google"
              ],
              "enumTitles": [
                "🍎 Apple App Store (iOS)",
                "🤖 Google Play Store (Android)"
              ]
            },
            "default": [
              "apple",
              "google"
            ]
          },
          "appleCountries": {
            "title": "Apple: Countries",
            "type": "array",
            "description": "Select target countries for Apple App Store rankings.",
            "items": {
              "type": "string",
              "enum": [
                "us",
                "gb",
                "jp",
                "kr",
                "cn",
                "de",
                "fr",
                "au",
                "ca",
                "br",
                "in",
                "mx",
                "it",
                "es",
                "nl",
                "se",
                "no",
                "dk",
                "fi",
                "ch",
                "at",
                "be",
                "pt",
                "ie",
                "nz",
                "sg",
                "hk",
                "tw",
                "th",
                "my",
                "ph",
                "id",
                "vn",
                "sa",
                "ae",
                "il",
                "tr",
                "ru",
                "pl",
                "cz",
                "hu",
                "ro",
                "bg",
                "hr",
                "sk",
                "si",
                "lt",
                "lv",
                "ee",
                "gr",
                "ua",
                "za",
                "ng",
                "ke",
                "eg",
                "ar",
                "cl",
                "co",
                "pe",
                "pk"
              ],
              "enumTitles": [
                "🇺🇸 United States",
                "🇬🇧 United Kingdom",
                "🇯🇵 Japan",
                "🇰🇷 South Korea",
                "🇨🇳 China",
                "🇩🇪 Germany",
                "🇫🇷 France",
                "🇦🇺 Australia",
                "🇨🇦 Canada",
                "🇧🇷 Brazil",
                "🇮🇳 India",
                "🇲🇽 Mexico",
                "🇮🇹 Italy",
                "🇪🇸 Spain",
                "🇳🇱 Netherlands",
                "🇸🇪 Sweden",
                "🇳🇴 Norway",
                "🇩🇰 Denmark",
                "🇫🇮 Finland",
                "🇨🇭 Switzerland",
                "🇦🇹 Austria",
                "🇧🇪 Belgium",
                "🇵🇹 Portugal",
                "🇮🇪 Ireland",
                "🇳🇿 New Zealand",
                "🇸🇬 Singapore",
                "🇭🇰 Hong Kong",
                "🇹🇼 Taiwan",
                "🇹🇭 Thailand",
                "🇲🇾 Malaysia",
                "🇵🇭 Philippines",
                "🇮🇩 Indonesia",
                "🇻🇳 Vietnam",
                "🇸🇦 Saudi Arabia",
                "🇦🇪 UAE",
                "🇮🇱 Israel",
                "🇹🇷 Turkey",
                "🇷🇺 Russia",
                "🇵🇱 Poland",
                "🇨🇿 Czech Republic",
                "🇭🇺 Hungary",
                "🇷🇴 Romania",
                "🇧🇬 Bulgaria",
                "🇭🇷 Croatia",
                "🇸🇰 Slovakia",
                "🇸🇮 Slovenia",
                "🇱🇹 Lithuania",
                "🇱🇻 Latvia",
                "🇪🇪 Estonia",
                "🇬🇷 Greece",
                "🇺🇦 Ukraine",
                "🇿🇦 South Africa",
                "🇳🇬 Nigeria",
                "🇰🇪 Kenya",
                "🇪🇬 Egypt",
                "🇦🇷 Argentina",
                "🇨🇱 Chile",
                "🇨🇴 Colombia",
                "🇵🇪 Peru",
                "🇵🇰 Pakistan"
              ]
            },
            "default": [
              "us"
            ]
          },
          "appleCategories": {
            "title": "Apple: Categories",
            "type": "array",
            "description": "Select app categories to track on Apple App Store.",
            "items": {
              "type": "string",
              "enum": [
                "overall",
                "6000",
                "6001",
                "6002",
                "6003",
                "6004",
                "6005",
                "6006",
                "6007",
                "6008",
                "6009",
                "6010",
                "6011",
                "6012",
                "6013",
                "6014",
                "6015",
                "6016",
                "6017",
                "6018",
                "6020",
                "6023",
                "6024",
                "6025",
                "6026",
                "6027"
              ],
              "enumTitles": [
                "📱 Overall (All Categories)",
                "💼 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",
                "😀 Stickers",
                "🛠️ Developer Tools",
                "🎨 Graphics & Design"
              ]
            },
            "default": [
              "overall"
            ]
          },
          "appleChartTypes": {
            "title": "Apple: Chart Types",
            "type": "array",
            "description": "Select which chart types to scrape from Apple App Store.",
            "items": {
              "type": "string",
              "enum": [
                "topfreeapplications",
                "toppaidapplications",
                "topgrossingapplications"
              ],
              "enumTitles": [
                "🆓 Top Free",
                "💰 Top Paid",
                "💵 Top Grossing"
              ]
            },
            "default": [
              "topfreeapplications"
            ]
          },
          "googleCountries": {
            "title": "Google Play: Countries",
            "type": "array",
            "description": "Select target countries for Google Play Store rankings.",
            "items": {
              "type": "string",
              "enum": [
                "us",
                "gb",
                "jp",
                "kr",
                "de",
                "fr",
                "au",
                "ca",
                "br",
                "in",
                "mx",
                "it",
                "es",
                "nl",
                "se",
                "no",
                "dk",
                "fi",
                "ch",
                "at",
                "be",
                "pt",
                "ie",
                "nz",
                "sg",
                "hk",
                "tw",
                "th",
                "my",
                "ph",
                "id",
                "vn",
                "sa",
                "ae",
                "il",
                "tr",
                "ru",
                "pl",
                "cz",
                "hu",
                "ro",
                "bg",
                "hr",
                "sk",
                "si",
                "lt",
                "lv",
                "ee",
                "gr",
                "ua",
                "za",
                "ng",
                "ke",
                "eg",
                "ar",
                "cl",
                "co",
                "pe",
                "pk"
              ],
              "enumTitles": [
                "🇺🇸 United States",
                "🇬🇧 United Kingdom",
                "🇯🇵 Japan",
                "🇰🇷 South Korea",
                "🇩🇪 Germany",
                "🇫🇷 France",
                "🇦🇺 Australia",
                "🇨🇦 Canada",
                "🇧🇷 Brazil",
                "🇮🇳 India",
                "🇲🇽 Mexico",
                "🇮🇹 Italy",
                "🇪🇸 Spain",
                "🇳🇱 Netherlands",
                "🇸🇪 Sweden",
                "🇳🇴 Norway",
                "🇩🇰 Denmark",
                "🇫🇮 Finland",
                "🇨🇭 Switzerland",
                "🇦🇹 Austria",
                "🇧🇪 Belgium",
                "🇵🇹 Portugal",
                "🇮🇪 Ireland",
                "🇳🇿 New Zealand",
                "🇸🇬 Singapore",
                "🇭🇰 Hong Kong",
                "🇹🇼 Taiwan",
                "🇹🇭 Thailand",
                "🇲🇾 Malaysia",
                "🇵🇭 Philippines",
                "🇮🇩 Indonesia",
                "🇻🇳 Vietnam",
                "🇸🇦 Saudi Arabia",
                "🇦🇪 UAE",
                "🇮🇱 Israel",
                "🇹🇷 Turkey",
                "🇷🇺 Russia",
                "🇵🇱 Poland",
                "🇨🇿 Czech Republic",
                "🇭🇺 Hungary",
                "🇷🇴 Romania",
                "🇧🇬 Bulgaria",
                "🇭🇷 Croatia",
                "🇸🇰 Slovakia",
                "🇸🇮 Slovenia",
                "🇱🇹 Lithuania",
                "🇱🇻 Latvia",
                "🇪🇪 Estonia",
                "🇬🇷 Greece",
                "🇺🇦 Ukraine",
                "🇿🇦 South Africa",
                "🇳🇬 Nigeria",
                "🇰🇪 Kenya",
                "🇪🇬 Egypt",
                "🇦🇷 Argentina",
                "🇨🇱 Chile",
                "🇨🇴 Colombia",
                "🇵🇪 Peru",
                "🇵🇰 Pakistan"
              ]
            },
            "default": [
              "us"
            ]
          },
          "googleCategories": {
            "title": "Google Play: Categories",
            "type": "array",
            "description": "Select app categories to track on Google Play Store.",
            "items": {
              "type": "string",
              "enum": [
                "APPLICATION",
                "GAME",
                "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",
                "WATCH_FACE",
                "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",
                "FAMILY"
              ],
              "enumTitles": [
                "📱 All Apps (Overall)",
                "🎮 All Games (Overall)",
                "🎨 Art & Design",
                "🚗 Auto & Vehicles",
                "💄 Beauty",
                "📚 Books & Reference",
                "💼 Business",
                "💬 Comics",
                "📡 Communication",
                "❤️ Dating",
                "🎓 Education",
                "🎬 Entertainment",
                "🎫 Events",
                "💳 Finance",
                "🍔 Food & Drink",
                "🏃 Health & Fitness",
                "🏠 House & Home",
                "📚 Libraries & Demo",
                "🌿 Lifestyle",
                "🗺️ Maps & Navigation",
                "🏥 Medical",
                "🎵 Music & Audio",
                "📰 News & Magazines",
                "👶 Parenting",
                "🎨 Personalization",
                "📷 Photography",
                "⚙️ Productivity",
                "🛍️ Shopping",
                "👥 Social",
                "⚽ Sports",
                "🔧 Tools",
                "✈️ Travel & Local",
                "🎬 Video Players",
                "⌚ Watch Face",
                "🌤️ Weather",
                "💥 Games: Action",
                "🗺️ Games: Adventure",
                "👾 Games: Arcade",
                "🎲 Games: Board",
                "🃏 Games: Card",
                "🎰 Games: Casino",
                "🎮 Games: Casual",
                "🎓 Games: Educational",
                "🎵 Games: Music",
                "🧩 Games: Puzzle",
                "🏎️ Games: Racing",
                "⚔️ Games: Role Playing",
                "🎮 Games: Simulation",
                "🏈 Games: Sports",
                "♟️ Games: Strategy",
                "❓ Games: Trivia",
                "📝 Games: Word",
                "👶 Family"
              ]
            },
            "default": [
              "APPLICATION"
            ]
          },
          "googleChartTypes": {
            "title": "Google Play: Chart Types",
            "type": "array",
            "description": "Select which chart types to scrape from Google Play Store.",
            "items": {
              "type": "string",
              "enum": [
                "topselling_free",
                "topselling_paid",
                "topgrossing"
              ],
              "enumTitles": [
                "🆓 Top Free",
                "💰 Top Paid",
                "💵 Top Grossing"
              ]
            },
            "default": [
              "topselling_free"
            ]
          },
          "limit": {
            "title": "Results per Chart",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Number of apps per chart per store (1–100). Full Top 100 official charts for both Apple & Google Play.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}