{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Scraper | Charts & Developer Sites",
    "description": "Scrape Apple App Store search, charts, reviews and developer pages. Extract adamId, ratings, seller/developer names, and Developer Website URLs. Guest pages only — App Store listings do not publish developer phone, email, or street address. 174 storefronts. Excel, CSV, JSON.",
    "version": "0.1",
    "x-build-id": "SXCh06uWz3lySmqiq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~apple-app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-apple-app-store-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/lentic_clockss~apple-app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-apple-app-store-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/lentic_clockss~apple-app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-apple-app-store-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",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "charts",
              "detail",
              "today",
              "games",
              "apps",
              "arcade",
              "developer",
              "grouping",
              "editorial",
              "story",
              "room",
              "reviews",
              "similar"
            ],
            "type": "string",
            "description": "search | charts | detail | today | games | apps | arcade | developer | grouping | editorial | story | room | reviews | similar",
            "default": "search"
          },
          "country": {
            "title": "Storefront",
            "type": "string",
            "description": "apps.apple.com/{cc}/… ISO2. Worker accepts all Apple storefronts (~175). Opened cells are in coverage-matrix.json; others return partial/empty + warning, not invented data.",
            "default": "us"
          },
          "platform": {
            "title": "Platform",
            "enum": [
              "iphone",
              "ipad",
              "mac",
              "vision",
              "watch",
              "tv"
            ],
            "type": "string",
            "description": "Path segment: iphone, ipad, mac, vision, watch, tv. Search is opened on all six. Other modes: only opened cells in coverage-matrix.json (empty cells stay unverified).",
            "default": "iphone"
          },
          "term": {
            "title": "Search term",
            "type": "string",
            "description": "Used in search mode. Empty {} uses this default so platform auto-test SUCCEEDED.",
            "default": "calendar"
          },
          "query": {
            "title": "Query (alias of term)",
            "type": "string",
            "description": "Alias of term for search mode."
          },
          "genreId": {
            "title": "Charts genre id",
            "type": "string",
            "description": "Charts genre id. Weather=6001 and Games=6014 verified on us iPhone. Other 6000–6027 and Games sub 7001–7018 are requestable; status in worker /v1/categories."
          },
          "chart": {
            "title": "Chart type",
            "enum": [
              "top-free",
              "top-paid"
            ],
            "type": "string",
            "description": "top-free or top-paid. Recon-verified on us iPhone charts.",
            "default": "top-free"
          },
          "adamId": {
            "title": "App adamId",
            "type": "string",
            "description": "Required for detail/reviews/similar unless startUrls is set. Do not invent ids."
          },
          "artistId": {
            "title": "Developer artistId",
            "type": "string",
            "description": "Developer page id. Required for developer mode unless startUrls is set."
          },
          "groupingId": {
            "title": "Grouping id",
            "type": "string",
            "description": "Collection id for grouping / editorial / story / room (recon grouping example 25236). Required unless startUrls is set."
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Live apps.apple.com URLs (search/charts/app/developer/today/games/arcade/grouping/story/room/editorial/similar).",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum records to return (free plan capped at 200).",
            "default": 20
          },
          "enrichDetails": {
            "title": "Enrich PDP",
            "type": "boolean",
            "description": "Fetch app detail SSR for list rows so Developer Website / Privacy / App Support URLs are present. Default on for lead fields. Raises 429 risk; cap with enrichLimit.",
            "default": true
          },
          "enrichItunes": {
            "title": "Enrich via iTunes lookup",
            "type": "boolean",
            "description": "itunes.apple.com/lookup identity fields (trackId schema).",
            "default": true
          },
          "enrichLimit": {
            "title": "Enrich limit",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "0 = min(maxResults, 8)",
            "default": 0
          },
          "language": {
            "title": "Language (?l=)",
            "type": "string",
            "description": "Optional apps.apple.com ?l= language override."
          },
          "proxyCountry": {
            "title": "Proxy country",
            "type": "string",
            "description": "ISO2 egress hint. Keep US — Apple HTML is US-hosted.",
            "default": "US"
          },
          "workerBaseUrl": {
            "title": "Worker base URL override",
            "type": "string",
            "description": "Optional https Cloud Run override (allowlisted)"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}