{
  "openapi": "3.0.1",
  "info": {
    "title": "Apple Podcasts Scraper - Shows, Episodes, Charts, Reviews",
    "description": "Apple Podcasts search, show details with rating and RSS owner contact, full episode archives from RSS with audio links, top charts by country and genre, and listener reviews. Date and length filters. New-episode alerts. No login.",
    "version": "0.1",
    "x-build-id": "Sehvz4wbjrfDEDeN4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dottti~apple-podcasts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dottti-apple-podcasts",
        "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/dottti~apple-podcasts/runs": {
      "post": {
        "operationId": "runs-sync-dottti-apple-podcasts",
        "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/dottti~apple-podcasts/run-sync": {
      "post": {
        "operationId": "run-sync-dottti-apple-podcasts",
        "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": "What to get",
            "enum": [
              "search",
              "shows",
              "episodes",
              "charts",
              "reviews"
            ],
            "type": "string",
            "description": "search = find podcasts by keyword. shows = full details of the podcasts you list (rating, RSS owner, publishing stats). episodes = the episode archive from each show's RSS feed. charts = Apple top podcasts by country and genre. reviews = listener reviews of each show.",
            "default": "search"
          },
          "searchTerms": {
            "title": "Search terms (search mode)",
            "type": "array",
            "description": "One keyword or phrase per line, for example: climate, true crime, startup. Empty input runs a 10-podcast demo for 'climate'.",
            "items": {
              "type": "string"
            }
          },
          "podcasts": {
            "title": "Podcasts (shows, episodes and reviews modes)",
            "type": "array",
            "description": "One per line. An Apple podcast id (1545953110), an Apple Podcasts link (https://podcasts.apple.com/us/podcast/huberman-lab/id1545953110), an RSS feed URL, or a show name (matched to the closest Apple search result). Empty runs a 10-row demo for Huberman Lab.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Apple store country as a 2-letter code: us, gb, sa, ae, eg, de. Several are allowed, comma separated (sa, ae, gb). Charts, search, ratings and reviews differ by country. Episodes use only the first one.",
            "default": "us"
          },
          "genre": {
            "title": "Genre",
            "enum": [
              "all",
              "1301",
              "1482",
              "1402",
              "1459",
              "1306",
              "1405",
              "1406",
              "1321",
              "1410",
              "1493",
              "1412",
              "1491",
              "1492",
              "1494",
              "1303",
              "1496",
              "1495",
              "1497",
              "1304",
              "1501",
              "1499",
              "1498",
              "1500",
              "1483",
              "1486",
              "1484",
              "1485",
              "1511",
              "1512",
              "1513",
              "1514",
              "1518",
              "1517",
              "1515",
              "1516",
              "1487",
              "1305",
              "1519",
              "1521",
              "1522",
              "1520",
              "1502",
              "1510",
              "1503",
              "1504",
              "1506",
              "1507",
              "1505",
              "1508",
              "1509",
              "1310",
              "1523",
              "1524",
              "1525",
              "1489",
              "1490",
              "1526",
              "1531",
              "1530",
              "1527",
              "1529",
              "1528",
              "1314",
              "1438",
              "1439",
              "1463",
              "1440",
              "1441",
              "1532",
              "1444",
              "1533",
              "1538",
              "1539",
              "1540",
              "1541",
              "1536",
              "1534",
              "1537",
              "1542",
              "1535",
              "1324",
              "1543",
              "1302",
              "1443",
              "1320",
              "1544",
              "1545",
              "1549",
              "1548",
              "1554",
              "1560",
              "1547",
              "1553",
              "1550",
              "1552",
              "1551",
              "1546",
              "1558",
              "1556",
              "1557",
              "1559",
              "1555",
              "1309",
              "1562",
              "1564",
              "1565",
              "1563",
              "1561",
              "1318",
              "1488"
            ],
            "type": "string",
            "description": "Charts: the chart of this genre. Search: keep only podcasts in this genre.",
            "default": "all"
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Optional. Episodes and reviews on or after this date: 2026-10-01, or a relative time such as 30 days, 4 weeks, 6 months, 1 year."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Optional. Episodes and reviews on or before this date (2026-10-31 or a relative time)."
          },
          "minDurationMinutes": {
            "title": "Min episode length (minutes)",
            "minimum": 0,
            "maximum": 1440,
            "type": "integer",
            "description": "Episodes mode. Skip episodes shorter than this. 0 keeps all. Episodes without a duration in the feed are skipped when this is set.",
            "default": 0
          },
          "maxResults": {
            "title": "Max results per search or chart",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Search: podcasts per search term and country (Apple returns up to 200). Charts: chart positions per country (Apple publishes up to 200).",
            "default": 50
          },
          "maxPerShow": {
            "title": "Max episodes or reviews per show",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Episodes: newest episodes per show after filters (set a high number such as 10000 for the full archive). Reviews: reviews per show and country (Apple publishes up to 500).",
            "default": 50
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "mostrecent",
              "mosthelpful"
            ],
            "type": "string",
            "description": "Reviews mode.",
            "default": "mostrecent"
          },
          "includeRating": {
            "title": "Include star rating",
            "type": "boolean",
            "description": "Shows mode and search with feed details. Reads the average rating and rating count from the public Apple Podcasts show page. One extra request per show.",
            "default": true
          },
          "includeOwnerEmail": {
            "title": "Include RSS owner email",
            "type": "boolean",
            "description": "Off by default. Adds ownerEmail when the show's own RSS feed publishes it in the itunes:owner tag. The owner name is always included. Turn this on only if you have a lawful basis to process it under GDPR, PDPL and anti-spam law.",
            "default": false
          },
          "includeFeedDetails": {
            "title": "Search: add feed details",
            "type": "boolean",
            "description": "Search mode. Reads each result's RSS feed and show page too, so every row gets the full show details (rating, owner, publishing stats). Slower.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new (alert mode)",
            "type": "boolean",
            "description": "Remembers what each input returned last time and delivers only new rows on the next run: new episodes, new reviews, new chart entries, new search results, or shows with a new episode. Schedule the actor for alerts. The first run delivers everything and saves the baseline. You pay only for new rows.",
            "default": false
          },
          "stateName": {
            "title": "Alert list name",
            "type": "string",
            "description": "Name for the saved only-new list, so several schedules (for example 'competitor-shows' and 'ksa-charts') keep separate memories.",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Leave empty: the actor starts without a proxy and moves to Apify datacenter, then residential proxy only if Apple rate-limits it. Set your own proxy here to use only that."
          },
          "autoProxyFallback": {
            "title": "Automatic proxy fallback",
            "type": "boolean",
            "description": "Move to Apify Proxy when Apple rate-limits the direct connection.",
            "default": true
          },
          "allowResidentialFallback": {
            "title": "Allow residential proxy",
            "type": "boolean",
            "description": "Let the fallback use residential proxy as the last step. Residential traffic is included in the price.",
            "default": true
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Retries for each request on rate limits, server errors or network errors, with growing waits.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}