{
  "openapi": "3.0.1",
  "info": {
    "title": "Apple Podcasts Scraper: Top Charts, Shows & Episodes",
    "description": "Scrape Apple Podcasts: Top Podcasts charts by country (up to 100 ranked shows), podcast search with RSS feed URLs, episode counts and genres, and episode lists with audio links and durations. Export CSV, Excel, JSON, XML. No login or API key. Up to 300 episodes per show.",
    "version": "0.1",
    "x-build-id": "3QZPOoqaV7czlfRTL"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~apple-podcasts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-apple-podcasts-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/recordsdata~apple-podcasts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-apple-podcasts-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/recordsdata~apple-podcasts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-apple-podcasts-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": {
          "includeTopCharts": {
            "title": "Include Top Podcasts charts",
            "type": "boolean",
            "description": "Ranked shows with publisher, genres and Apple URL for each country below.",
            "default": true
          },
          "chartCountries": {
            "title": "Chart countries",
            "type": "array",
            "description": "Two-letter Apple storefront codes. Examples: us, gb, mx, es, br, de, fr, jp. An invalid code returns an unbilled error row.",
            "default": [
              "us"
            ],
            "items": {
              "type": "string"
            }
          },
          "chartSize": {
            "title": "Shows per chart (1 to 100)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many ranked shows to return per country. Apple's chart limit is 100.",
            "default": 50
          },
          "genre": {
            "title": "Genre filter",
            "enum": [
              "",
              "1301",
              "1303",
              "1304",
              "1305",
              "1309",
              "1310",
              "1314",
              "1318",
              "1321",
              "1324",
              "1483",
              "1487",
              "1488",
              "1489",
              "1502",
              "1511",
              "1512",
              "1533",
              "1545"
            ],
            "type": "string",
            "description": "Only podcasts of this Apple genre, for charts and for search. Any genre = no filter.",
            "default": ""
          },
          "searchQuery": {
            "title": "Search keyword",
            "type": "string",
            "description": "Example: true crime or marketing. Returns up to 200 shows. Leave empty to skip search.",
            "default": ""
          },
          "searchCountry": {
            "title": "Search country (2 letters)",
            "type": "string",
            "description": "Apple storefront used for the search. Examples: US, GB, MX.",
            "default": "US"
          },
          "expandSearch": {
            "title": "Go beyond 200 results (slower)",
            "type": "boolean",
            "description": "Apple returns at most 200 per query. This also searches the query plus a to z (26 more requests, one every 2 seconds) and merges without duplicates.",
            "default": false
          },
          "podcastIds": {
            "title": "Podcast IDs or page URLs",
            "type": "array",
            "description": "Examples: 1200361736 or https://podcasts.apple.com/us/podcast/the-daily/id1200361736. Leave empty to skip episodes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "episodeSource": {
            "title": "Where to read episodes",
            "enum": [
              "apple",
              "rss"
            ],
            "type": "string",
            "description": "Apple = at most 200 per show. RSS feed = the show's full archive (up to 5,000) with show notes and audio size; falls back to Apple if the feed cannot be read.",
            "default": "apple"
          },
          "maxEpisodesPerPodcast": {
            "title": "Episodes per show (1 to 5,000)",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Most recent episodes to return per show. Each episode is a billed row, so also set Max rows.",
            "default": 100
          },
          "includeFeedDetails": {
            "title": "Read the RSS feed (language, website, episode numbers)",
            "type": "boolean",
            "description": "Adds language, website, author, owner, explicit flag, categories, copyright and, per episode, number, season, type, audio size and full show notes. One feed download per show.",
            "default": false
          },
          "maxItems": {
            "title": "Max rows to return",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum rows across charts, search and episodes. Example: 100. Free plan: 10 rows (preview). Paid plans: up to 1,000,000.",
            "default": 10
          },
          "onlyNew": {
            "title": "Only new results",
            "type": "boolean",
            "description": "Skip chart entries, shows and episodes this same search already returned. You are not charged for skipped rows. Max rows then counts new rows.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Label to keep several monitors with identical filters apart. Leave empty to share state between runs of the same search.",
            "default": ""
          },
          "resetSeen": {
            "title": "Reset the seen list before this run",
            "type": "boolean",
            "description": "Forget earlier runs of this search so everything counts as new again.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}