{
  "openapi": "3.0.1",
  "info": {
    "title": "Apple Podcasts Scraper – Search, Top Charts & Episodes",
    "description": "Apple Podcasts data from Apple's official public API and each show's RSS feed: podcast details by URL or ID, keyword search with ranks, top charts by country and genre, episodes with new-episode alerts, plus active status, publishing frequency and website. $1 per 1k shows.",
    "version": "1.0",
    "x-build-id": "7j9xqwpIqLzSNIdfZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pinkish_armada~apple-podcasts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pinkish_armada-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/pinkish_armada~apple-podcasts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pinkish_armada-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/pinkish_armada~apple-podcasts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pinkish_armada-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": {
          "podcasts": {
            "title": "Podcasts (Apple Podcasts URL or ID)",
            "type": "array",
            "description": "Apple Podcasts show links (https://podcasts.apple.com/us/podcast/the-daily/id1200361736) or numeric IDs (1200361736). Returns one podcast row per show and country.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search keywords",
            "type": "array",
            "description": "Find podcasts by keyword (topic, niche, name). Each result has its Apple search rank, so you can also track podcast SEO over time.",
            "items": {
              "type": "string"
            }
          },
          "topCharts": {
            "title": "Top podcasts chart",
            "type": "boolean",
            "description": "Download Apple's Top Podcasts chart for every country (optionally one genre below).",
            "default": false
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Two-letter Apple storefront codes (us, gb, au, ca, de...). Lookups, searches and charts run per country. Default: us.",
            "items": {
              "type": "string"
            }
          },
          "maxSearchResults": {
            "title": "Max results per keyword",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Up to 200 podcasts per keyword and country.",
            "default": 25
          },
          "includeFeedStats": {
            "title": "Add feed stats (active status, cadence, website)",
            "type": "boolean",
            "description": "Read each show's public RSS feed to add website, language, categories, episode count, latest/first episode date, days since last episode, publishing frequency, average episode length and an isActive flag. No extra charge.",
            "default": true
          },
          "activeWithinDays": {
            "title": "Active = new episode within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "A show is isActive if its latest episode is newer than this.",
            "default": 60
          },
          "includeEpisodes": {
            "title": "Return episodes",
            "type": "boolean",
            "description": "Return episode rows (title, date, duration, audio URL, season/episode, description) from the show's public RSS feed for the podcasts you listed above.",
            "default": false
          },
          "maxEpisodesPerPodcast": {
            "title": "Max episodes per podcast",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Newest first. Up to 10,000 (whole back catalogue if the feed has it).",
            "default": 20
          },
          "episodesSince": {
            "title": "Episodes published since",
            "type": "string",
            "description": "Only episodes on/after this date: 2026-09-01 or a relative value like 7 days, 2 weeks, 3 months."
          },
          "onlyNewEpisodes": {
            "title": "Monitor mode: only new episodes",
            "type": "boolean",
            "description": "Return only episodes not seen in earlier runs (state kept in a named key-value store in your account). Schedule it daily for new-episode alerts.",
            "default": false
          },
          "stateStoreName": {
            "title": "Monitor state store name",
            "type": "string",
            "description": "Use a different name per monitor. Default: apple-podcasts-scraper-state."
          },
          "episodesForSearchAndCharts": {
            "title": "Also return episodes for search and chart results",
            "type": "boolean",
            "description": "Off by default to keep runs small; when on, every search/chart show also returns its episodes.",
            "default": false
          },
          "chartLimit": {
            "title": "Chart size",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Top 1–200 shows per country.",
            "default": 100
          },
          "chartGenreId": {
            "title": "Chart genre ID",
            "type": "string",
            "description": "Optional Apple Podcasts genre ID, e.g. 1488 True Crime, 1318 Technology, 1321 Business, 1303 Comedy, 1489 News, 1545 Sports, 1512 Health & Fitness, 1304 Education. Empty = all podcasts."
          },
          "descriptionMaxChars": {
            "title": "Max description length",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Episode and show descriptions are cut to this many characters (0 = no limit).",
            "default": 1500
          },
          "maxFeedSizeMb": {
            "title": "Max RSS feed size (MB)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Very large feeds above this are skipped with a free error row.",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}