{
  "openapi": "3.0.1",
  "info": {
    "title": "App Store Scraper – Developer Leads, Emails & App Data",
    "description": "Scrape App Store app details, keyword search results, top free / paid charts and developer portfolios from Apple's official APIs, plus the contact e-mails developers publish on their own website, support or privacy page. Source on every row. Not affiliated with Apple.",
    "version": "1.0",
    "x-build-id": "uG6lcLgfkGDVE73bS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/badr_xba~app-store-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-badr_xba-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/badr_xba~app-store-scraper/runs": {
      "post": {
        "operationId": "runs-sync-badr_xba-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/badr_xba~app-store-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-badr_xba-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": {
          "apps": {
            "title": "Apps (IDs, bundle IDs or App Store links)",
            "maxItems": 1000,
            "type": "array",
            "description": "Full details of these apps (Apple Lookup API). Accepted: numeric ID <code>570060128</code>, <code>id570060128</code>, bundle ID <code>com.spotify.client</code> or a link like <code>https://apps.apple.com/us/app/duolingo/id570060128</code>. One <code>app-result</code> per app row.",
            "items": {
              "type": "string",
              "pattern": "^\\s*(?:(?:[iI][dD])?\\d{6,12}|[A-Za-z0-9][A-Za-z0-9_-]*(?:\\.[A-Za-z0-9_-]+){1,8}|https?://(?:apps|itunes)\\.apple\\.com/\\S+)\\s*$"
            }
          },
          "keywords": {
            "title": "Search keywords",
            "maxItems": 100,
            "type": "array",
            "description": "Apps returned by Apple's official Search API for each keyword (software only, Apple's order). One API call per keyword and storefront. One <code>app-result</code> per app row.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          "maxResultsPerKeyword": {
            "title": "Results per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "1 to 200 (Apple's documented maximum for one search call).",
            "default": 50
          },
          "charts": {
            "title": "Top charts",
            "type": "array",
            "description": "Apple's official top charts feed (RSS v2) for each storefront. Top grossing and category charts are not offered by this feed.",
            "items": {
              "type": "string",
              "enum": [
                "top-free",
                "top-paid"
              ],
              "enumTitles": [
                "Top free apps",
                "Top paid apps"
              ]
            }
          },
          "chartSize": {
            "title": "Chart size",
            "enum": [
              "10",
              "25",
              "50",
              "100"
            ],
            "type": "string",
            "description": "Entries per chart. Apple's feed is sometimes slow on 100: the Actor retries, then falls back to 50 and says so.",
            "default": "25"
          },
          "chartDetails": {
            "title": "Add full details to chart entries",
            "type": "boolean",
            "description": "Chart feeds only carry name, developer and link. On: rating, price, version, description and developer website are added from the Lookup API (1 call per 50 entries). Turned on automatically when you use filters or developer contacts.",
            "default": false
          },
          "developers": {
            "title": "Developers (portfolio)",
            "maxItems": 500,
            "type": "array",
            "description": "Developer (artist) IDs like <code>570060151</code> or links like <code>https://apps.apple.com/us/developer/duolingo/id570060151</code>. You get one free summary row per developer (apps count, average rating, genres, last update) and one app row per app (<code>app-result</code>).",
            "items": {
              "type": "string",
              "pattern": "^\\s*(?:(?:[iI][dD])?\\d{6,12}|https?://(?:apps|itunes)\\.apple\\.com/\\S*developer/\\S+)\\s*$"
            }
          },
          "maxAppsPerDeveloper": {
            "title": "Apps per developer",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum apps read for each developer (Apple returns at most 200).",
            "default": 200
          },
          "countries": {
            "title": "Storefronts (countries)",
            "maxItems": 175,
            "type": "array",
            "description": "Two-letter App Store country codes (us, gb, fr, de, jp…), up to all 175 storefronts. Each input is run in each storefront: prices, ratings and charts differ by country. To cover every storefront, tick \"All countries\" below instead of typing the codes.",
            "items": {
              "type": "string",
              "pattern": "^\\s*[A-Za-z]{2}\\s*$"
            },
            "default": [
              "us"
            ]
          },
          "allCountries": {
            "title": "All countries (every App Store storefront)",
            "type": "boolean",
            "description": "Runs every input in all 175 App Store storefronts (Apple's App Store country list); the countries above, if any, run first, then the largest markets. Both charts, top 10: about 20 minutes (25 with \"Add full details\"); top 100 with details: about 45 minutes. Raise \"Maximum app rows\" accordingly. Set the run timeout to at least the \"recommendedTimeoutSeconds\" of RUN_SUMMARY.estimate (see README, \"All countries\"). If the timeout comes first, the run still ends SUCCEEDED: countries not done are listed in RUN_SUMMARY.countriesRemaining and FAILED_INPUTS (TIME_LIMIT).",
            "default": false
          },
          "language": {
            "title": "Language of the texts",
            "enum": [
              "storefront",
              "en_us",
              "ja_jp"
            ],
            "type": "string",
            "description": "Apple's APIs accept only these language values.",
            "default": "storefront"
          },
          "developerContacts": {
            "title": "Find developer contact e-mails",
            "type": "boolean",
            "description": "Reads the developer pages of the apps in your results (one visit per developer, max 3 pages).",
            "default": false
          },
          "excludePersonalLookingContacts": {
            "title": "Leave out personal-looking e-mails",
            "type": "boolean",
            "description": "Addresses that look like a person's (firstname.lastname@, free webmail on a person's name) are counted but not delivered. Turn off only if you have a lawful basis to process them.",
            "default": true
          },
          "excludePrivacyMailboxes": {
            "title": "Leave out privacy mailboxes",
            "type": "boolean",
            "description": "privacy@ / dpo@ / gdpr@ addresses are delivered but flagged \"for data-protection requests only, not for marketing\". On: they are left out (not charged).",
            "default": false
          },
          "checkEmailDomains": {
            "title": "Check e-mail domains (free)",
            "type": "boolean",
            "description": "Free syntax, MX record, disposable-domain and role-address checks on every delivered e-mail. This is not mailbox verification.",
            "default": true
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Keep apps rated at least this (0 to 5)."
          },
          "minRatingsCount": {
            "title": "Minimum number of ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Keep apps with at least this many ratings."
          },
          "priceType": {
            "title": "Price",
            "enum": [
              "any",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Free or paid apps (upfront price).",
            "default": "any"
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "In the storefront's currency."
          },
          "genres": {
            "title": "Genres",
            "maxItems": 50,
            "type": "array",
            "description": "App Store genre names or IDs (Games, Productivity, Health & Fitness, 6014…).",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 60
            }
          },
          "updatedSince": {
            "title": "Updated since",
            "pattern": "^(?:\\d{4}-\\d{2}-\\d{2}|\\d{1,4}\\s*(?:day|days|week|weeks|month|months|year|years))?$",
            "type": "string",
            "description": "YYYY-MM-DD or a relative period like <code>30 days</code> or <code>6 months</code>."
          },
          "contentRatings": {
            "title": "Age ratings",
            "type": "array",
            "description": "Keep only these age ratings.",
            "items": {
              "type": "string",
              "enum": [
                "4+",
                "9+",
                "12+",
                "17+",
                "18+"
              ]
            }
          },
          "maxApps": {
            "title": "Maximum app rows",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "The run stops delivering app rows at this number (developer contacts of the apps already delivered are still searched). Your \"Maximum cost per run\" is also respected.",
            "default": 1000
          },
          "maxAppsPerCountry": {
            "title": "Maximum app rows per country",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "0 = no per-country limit. Otherwise each storefront stops at this number of app rows; Apple is asked for no more entries than can still be delivered. Useful with \"All countries\".",
            "default": 0
          },
          "failRunOnError": {
            "title": "Mark the run FAILED when an input fails",
            "type": "boolean",
            "description": "Off (default): the run ends SUCCEEDED, failed inputs are listed in FAILED_INPUTS with a reason and are not charged. On: same, but the run is marked FAILED (useful for monitoring pipelines).",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}