{
    "openapi": "3.0.3",
    "info": {
        "title": "MillionPodcasts API Documentation",
        "version": "v1",
        "description": "Search, directory, and podcaster tools for podcast and episode data.",
        "contact": {
            "email": "api@millionpodcasts.com"
        }
    },
    "servers": [
        {
            "url": "https://api.millionpodcasts.com/v1/developer",
            "description": "Production"
        },
        {
            "url": "https://api.dev.millionpodcasts.com/v1/developer",
            "description": "Sandbox"
        }
    ],
    "tags": [
        {
            "name": "Search API"
        },
        {
            "name": "Directory API"
        },
        {
            "name": "Episode API"
        },
        {
            "name": "Filter API"
        }
    ],
    "paths": {
        "/search": {
            "post": {
                "operationId": "search",
                "summary": "Search",
                "tags": [
                    "Search API"
                ],
                "description": "Full-text search across podcasts and episodes, with filters for audience, network, location, and engagement.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "query": {
                                        "type": "string",
                                        "default": "health",
                                        "description": "The search term, e.g. \"health\"."
                                    },
                                    "start_date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Only include content published on or after this date."
                                    },
                                    "end_date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Only include content published on or before this date."
                                    },
                                    "search_in": {
                                        "type": "string",
                                        "default": "title,description",
                                        "description": "Comma-separated fields to search: title, description. Searches both if omitted. Comma-separated; any of: title (Podcast Title), description (Podcast Description)."
                                    },
                                    "search_match": {
                                        "type": "string",
                                        "enum": [
                                            "all",
                                            "any",
                                            "exact"
                                        ],
                                        "default": "all",
                                        "description": "How search terms are combined: \"all\" requires every term, \"any\" at least one, \"exact\" the whole phrase."
                                    },
                                    "page": {
                                        "type": "integer",
                                        "default": 1,
                                        "description": "The page of results to return, starting at 1. You can page up to 1,000,000 results deep (page × limit ≤ 1,000,000)."
                                    },
                                    "sort_by": {
                                        "type": "string",
                                        "enum": [
                                            "apple_rating",
                                            "apple_review",
                                            "relevancy",
                                            "recency"
                                        ],
                                        "default": "relevancy",
                                        "description": "Field to sort results by."
                                    },
                                    "other_attributes": {
                                        "type": "string",
                                        "description": "Additional attributes to filter by. Comma-separated; any of: video (Video Podcast), guest (Has Guest), email (Has Email), sponsor (Has Sponsor)."
                                    },
                                    "location": {
                                        "type": "string",
                                        "description": "Comma-separated location keys from GET /location, e.g. l:100 (country), l:229_699 (state), l:229_699_6190 (city). Keys are case-sensitive; an invalid key returns 400."
                                    },
                                    "exclude_location": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given location value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs location to be set."
                                    },
                                    "us_region": {
                                        "type": "string",
                                        "description": "Comma-separated US region keys from GET /location/us-region, e.g. p:18. An invalid key returns 400."
                                    },
                                    "exclude_us_region": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given us_region value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs us_region to be set."
                                    },
                                    "language": {
                                        "type": "string",
                                        "description": "Comma-separated ISO language codes to filter by."
                                    },
                                    "exclude_language": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given language value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs language to be set."
                                    },
                                    "listener_type": {
                                        "type": "string",
                                        "description": "Comma-separated audience-type ids to filter by."
                                    },
                                    "exclude_listener_type": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given listener_type value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs listener_type to be set."
                                    },
                                    "listener_gender": {
                                        "type": "string",
                                        "enum": [
                                            "all",
                                            "male",
                                            "female"
                                        ],
                                        "description": "Filter by the predominant listener gender."
                                    },
                                    "exclude_listener_gender": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given listener_gender value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs listener_gender to be set."
                                    },
                                    "listener_income": {
                                        "type": "string",
                                        "description": "Filter by predominant listener income bracket. Comma-separated; any of: low (Low Income), medium (Medium Income), high (High Income)."
                                    },
                                    "exclude_listener_income": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given listener_income value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs listener_income to be set."
                                    },
                                    "listener_age": {
                                        "type": "string",
                                        "description": "Filter by predominant listener age group. Comma-separated; any of: gen_alpha (Gen Alpha), gen_z (Gen Z), millennials (Millennials), gen_x (Gen X), baby_boomers (Baby Boomers), silent_generation (Silent Generation)."
                                    },
                                    "exclude_listener_age": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given listener_age value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs listener_age to be set."
                                    },
                                    "estimated_monthly_listeners": {
                                        "type": "string",
                                        "description": "Filter by estimated monthly listeners. Comma-separated; any of: nano (Up to 1,000 (Nano Podcasts)), micro (1,000 – 10,000 (Micro Podcasts)), mid_tier (10,000 – 50,000 (Mid-Tier Podcasts)), macro (50,000 – 250,000 (Macro Podcasts)), mega (250,000 – 1,000,000 (Mega Podcasts)), celebrity (1,000,000+ (Celebrity Podcasts))."
                                    },
                                    "exclude_estimated_monthly_listeners": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given estimated_monthly_listeners value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs estimated_monthly_listeners to be set."
                                    },
                                    "apple_review": {
                                        "type": "string",
                                        "description": "Filter by Apple review count. Comma-separated; any of: 0_10 (Up to 10 reviews), 10_50 (10 to 50 reviews), 50_250 (50 to 250 reviews), 250_1k (250 to 1,000 reviews), 1k_10k (1,000 to 10,000 reviews), 10k_plus (10,000+ reviews)."
                                    },
                                    "exclude_apple_review": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given apple_review value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs apple_review to be set."
                                    },
                                    "apple_rating": {
                                        "type": "string",
                                        "description": "Filter by Apple Podcasts rating. Comma-separated; any of: 4_8_plus (4.8+), 4_5_plus (4.5+), 4_0_plus (4.0+), 3_5_plus (3.5+), 3_0_plus (3.0+), below_3 (Below 3.0)."
                                    },
                                    "exclude_apple_rating": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given apple_rating value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs apple_rating to be set."
                                    },
                                    "beats": {
                                        "type": "string",
                                        "description": "Comma-separated category/beat ids to filter by."
                                    },
                                    "exclude_beats": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given beats value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs beats to be set."
                                    },
                                    "host_gender": {
                                        "type": "string",
                                        "enum": [
                                            "all",
                                            "male",
                                            "female"
                                        ],
                                        "description": "Filter podcast hosts by gender."
                                    },
                                    "podcast_network": {
                                        "type": "string",
                                        "description": "Comma-separated podcast network ids to filter by."
                                    },
                                    "exclude_podcast_network": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given podcast_network value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs podcast_network to be set."
                                    },
                                    "episode_length": {
                                        "type": "string",
                                        "description": "Average episode length of the podcast. Comma-separated, e.g. 20_40,40_60. Comma-separated; any of: under_10 (Less than 10 minutes), 10_20 (10–20 minutes), 20_40 (20–40 minutes), 40_60 (40–60 minutes), 60_90 (60–90 minutes), over_90 (Over 90 minutes)."
                                    },
                                    "exclude_episode_length": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given episode_length value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs episode_length to be set."
                                    },
                                    "community": {
                                        "type": "string",
                                        "enum": [
                                            "black",
                                            "hispanic",
                                            "jewish",
                                            "indigenous",
                                            "asian_american"
                                        ],
                                        "description": "Filter by community."
                                    },
                                    "exclude_community": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given community value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs community to be set."
                                    },
                                    "limit": {
                                        "type": "integer",
                                        "default": 10,
                                        "description": "Number of results per page. Whole number of 1 or more; capped at 25 on Basic and 100 on Pro."
                                    }
                                },
                                "required": [
                                    "query"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Search results and paging.",
                                            "properties": {
                                                "results": {
                                                    "type": "array",
                                                    "description": "Matching podcasts for this page.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer",
                                                                "description": "Podcast ID. Use it with Get a podcast by ID."
                                                            },
                                                            "name": {
                                                                "type": "string",
                                                                "description": "Podcast name."
                                                            },
                                                            "description": {
                                                                "type": "string",
                                                                "description": "Podcast description."
                                                            },
                                                            "location": {
                                                                "type": "string",
                                                                "description": "Podcast location, e.g. \"Los Angeles, CA, United States\"."
                                                            },
                                                            "apple_id": {
                                                                "type": "integer",
                                                                "description": "Apple Podcasts ID."
                                                            },
                                                            "apple_rating": {
                                                                "type": "number",
                                                                "description": "Apple Podcasts average rating (0–5)."
                                                            },
                                                            "apple_review": {
                                                                "type": "integer",
                                                                "description": "Apple Podcasts review count in the country with the most reviews."
                                                            },
                                                            "apple_review_country": {
                                                                "type": "string",
                                                                "description": "Country that apple_review is counted in."
                                                            },
                                                            "image_url": {
                                                                "type": "string",
                                                                "description": "Podcast artwork URL (200px)."
                                                            },
                                                            "rss_url": {
                                                                "type": "string",
                                                                "description": "Podcast RSS feed URL."
                                                            },
                                                            "website": {
                                                                "type": "string",
                                                                "description": "Podcast website URL. Empty if unknown."
                                                            },
                                                            "podcast_network": {
                                                                "type": "array",
                                                                "description": "Podcast networks the show belongs to (names). Empty array if none.",
                                                                "items": {}
                                                            },
                                                            "latest_episode_at": {
                                                                "type": "string",
                                                                "description": "When the latest episode was published. Empty if unknown."
                                                            },
                                                            "years_active": {
                                                                "type": "string",
                                                                "description": "Years the podcast has been publishing, e.g. \"2011 - 2026\". Empty if unknown."
                                                            },
                                                            "beats": {
                                                                "type": "array",
                                                                "description": "Topics (beats) of the show, as names. Empty array if none.",
                                                                "items": {}
                                                            },
                                                            "has_sponsor": {
                                                                "type": "boolean",
                                                                "description": "True if the podcast has sponsors."
                                                            },
                                                            "has_guest": {
                                                                "type": "boolean",
                                                                "description": "True if the podcast features guests."
                                                            },
                                                            "language": {
                                                                "type": "string",
                                                                "description": "Podcast language. Empty if unknown."
                                                            },
                                                            "has_host": {
                                                                "type": "boolean",
                                                                "description": "True if we have hosts/contacts for this podcast. Details: GET /podcast/{id} (iTunes contacts) and GET /podcast/{id}/contacts (Pro)."
                                                            },
                                                            "has_social": {
                                                                "type": "boolean",
                                                                "description": "True if the podcast has at least one social profile (Facebook, X, Instagram, LinkedIn, YouTube, TikTok or Mastodon). Links: GET /podcast/{id}/social (Pro)."
                                                            }
                                                        }
                                                    }
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of matching podcasts."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Results per page (the limit used)."
                                                },
                                                "current_page": {
                                                    "type": "integer",
                                                    "description": "Current page number."
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "description": "Last page number."
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "results": [
                                            {
                                                "id": 7381876,
                                                "name": "Ancient Health Podcast",
                                                "description": "Sample description of the show.",
                                                "location": "United States",
                                                "apple_id": 1493717594,
                                                "apple_rating": 4.8,
                                                "apple_review": 1738,
                                                "apple_review_country": "United States",
                                                "image_url": "https://s3-us-west-2.amazonaws.com/feedspotfeed/200/7381876.jpg?t=1768931326",
                                                "rss_url": "https://feeds.example.com/ancient-health",
                                                "website": "https://example.com",
                                                "podcast_network": [],
                                                "latest_episode_at": "2026-10-20 09:15:00",
                                                "years_active": "2019 - 2026",
                                                "beats": [
                                                    "Health",
                                                    "Nutrition",
                                                    "Alternative Health"
                                                ],
                                                "has_sponsor": true,
                                                "has_guest": true,
                                                "language": "English",
                                                "has_host": true,
                                                "has_social": true
                                            },
                                            {
                                                "id": 5129164,
                                                "name": "Public Health On Call",
                                                "description": "Sample description of the show.",
                                                "location": "Baltimore, MD, United States",
                                                "apple_id": 1501336958,
                                                "apple_rating": 4.6,
                                                "apple_review": 633,
                                                "apple_review_country": "United States",
                                                "image_url": "https://s3-us-west-2.amazonaws.com/feedspotfeed/200/5129164.jpg?t=1745429622",
                                                "rss_url": "https://feeds.example.org/public-health-on-call",
                                                "website": "https://publichealth.example.org",
                                                "podcast_network": [
                                                    "Example Network"
                                                ],
                                                "latest_episode_at": "2026-10-22 14:00:00",
                                                "years_active": "2020 - 2026",
                                                "beats": [
                                                    "Health",
                                                    "Science",
                                                    "Medicine"
                                                ],
                                                "has_sponsor": false,
                                                "has_guest": true,
                                                "language": "English",
                                                "has_host": true,
                                                "has_social": true
                                            }
                                        ],
                                        "total": 83042,
                                        "per_page": 10,
                                        "current_page": 1,
                                        "last_page": 8305
                                    }
                                }
                            }
                        }
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast/{id}": {
            "get": {
                "operationId": "get-podcast",
                "summary": "Get a podcast by ID",
                "tags": [
                    "Directory API"
                ],
                "description": "Core details for one podcast: metadata, Apple Podcasts stats, platform links, social yes/no flags and iTunes contacts. Available on every plan. 1 credit.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The podcast ID (the id field from Search results).",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Podcast details.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Podcast ID (same as id in Search results)."
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "description": "Podcast name."
                                                },
                                                "description": {
                                                    "type": "string",
                                                    "description": "Podcast description."
                                                },
                                                "image_url": {
                                                    "type": "string",
                                                    "description": "Artwork URL."
                                                },
                                                "website": {
                                                    "type": "string",
                                                    "description": "Podcast website URL."
                                                },
                                                "rss_url": {
                                                    "type": "string",
                                                    "description": "RSS feed URL."
                                                },
                                                "domain": {
                                                    "type": "string",
                                                    "description": "Website domain."
                                                },
                                                "language": {
                                                    "type": "string",
                                                    "description": "Language."
                                                },
                                                "location": {
                                                    "type": "string",
                                                    "description": "Location as one string."
                                                },
                                                "country": {
                                                    "type": "string",
                                                    "description": "Country."
                                                },
                                                "state": {
                                                    "type": "string",
                                                    "description": "State or region."
                                                },
                                                "city": {
                                                    "type": "string",
                                                    "description": "City."
                                                },
                                                "episode_count": {
                                                    "type": "integer",
                                                    "description": "Number of episodes."
                                                },
                                                "years_active": {
                                                    "type": "string",
                                                    "description": "Years the podcast has been publishing, e.g. \"2011 - 2026\". Empty if unknown."
                                                },
                                                "frequency": {
                                                    "type": "string",
                                                    "description": "How often new episodes come out."
                                                },
                                                "avg_episode_length": {
                                                    "type": "string",
                                                    "description": "Average episode length, e.g. \"45 min\"."
                                                },
                                                "avg_episode_seconds": {
                                                    "type": "integer",
                                                    "description": "Average episode length in seconds."
                                                },
                                                "latest_episode_at": {
                                                    "type": "string",
                                                    "description": "Time of the latest episode."
                                                },
                                                "beats": {
                                                    "type": "array",
                                                    "description": "Topics (beats) of the show, as names. Empty array if none.",
                                                    "items": {}
                                                },
                                                "estimated_monthly_listeners": {
                                                    "type": "integer",
                                                    "nullable": true,
                                                    "description": "Estimated monthly listeners. null if unknown."
                                                },
                                                "community": {
                                                    "type": "array",
                                                    "description": "Communities the show serves: [{key, title}]. Empty array if none.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "key": {
                                                                "type": "integer",
                                                                "description": "Community ID."
                                                            },
                                                            "title": {
                                                                "type": "string",
                                                                "description": "Community name, e.g. \"Black/African American\"."
                                                            }
                                                        }
                                                    }
                                                },
                                                "apple_id": {
                                                    "type": "integer",
                                                    "description": "Apple Podcasts ID."
                                                },
                                                "apple_rating": {
                                                    "type": "number",
                                                    "description": "Apple Podcasts average rating (0–5)."
                                                },
                                                "apple_review": {
                                                    "type": "integer",
                                                    "description": "Apple review count in the country with the most reviews."
                                                },
                                                "apple_review_country": {
                                                    "type": "string",
                                                    "description": "Country that apple_review is counted in."
                                                },
                                                "apple_review_global": {
                                                    "type": "integer",
                                                    "description": "Apple review count across all countries."
                                                },
                                                "apple_podcast_url": {
                                                    "type": "string",
                                                    "description": "Apple Podcasts page URL. Empty if unknown."
                                                },
                                                "spotify_url": {
                                                    "type": "string",
                                                    "description": "Spotify show URL. Empty if unknown."
                                                },
                                                "youtube_url": {
                                                    "type": "string",
                                                    "description": "YouTube channel URL. Empty if unknown."
                                                },
                                                "total_contacts": {
                                                    "type": "integer",
                                                    "description": "Number of contacts. Full list: GET /podcast/{id}/contacts (Pro)."
                                                },
                                                "podcast_network": {
                                                    "type": "array",
                                                    "description": "Podcast networks the show belongs to (names). Empty array if none.",
                                                    "items": {}
                                                },
                                                "has_guest": {
                                                    "type": "boolean",
                                                    "description": "True if the podcast has guests. List: GET /podcast/{id}/guests (Pro)."
                                                },
                                                "has_sponsor": {
                                                    "type": "boolean",
                                                    "description": "True if the podcast has sponsors. List: GET /podcast/{id}/sponsors (Pro)."
                                                },
                                                "has_host": {
                                                    "type": "boolean",
                                                    "description": "True if we have hosts/contacts for this podcast. iTunes contacts are below; full list: GET /podcast/{id}/contacts (Pro)."
                                                },
                                                "has_social": {
                                                    "type": "boolean",
                                                    "description": "True if any of the has_<network> flags below is true."
                                                },
                                                "has_facebook": {
                                                    "type": "boolean",
                                                    "description": "True if a Facebook page is known. Links and followers: GET /podcast/{id}/social (Pro). Same for the flags below."
                                                },
                                                "has_twitter": {
                                                    "type": "boolean",
                                                    "description": "True if an X (Twitter) profile is known."
                                                },
                                                "has_instagram": {
                                                    "type": "boolean",
                                                    "description": "True if an Instagram profile is known."
                                                },
                                                "has_linkedin": {
                                                    "type": "boolean",
                                                    "description": "True if a LinkedIn page is known."
                                                },
                                                "has_youtube": {
                                                    "type": "boolean",
                                                    "description": "True if a YouTube channel is known."
                                                },
                                                "has_tiktok": {
                                                    "type": "boolean",
                                                    "description": "True if a TikTok profile is known."
                                                },
                                                "has_mastodon": {
                                                    "type": "boolean",
                                                    "description": "True if a Mastodon profile is known."
                                                },
                                                "itunes_contacts": {
                                                    "type": "array",
                                                    "description": "Contacts listed in the podcast's iTunes / RSS feed (every plan).",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "name": {
                                                                "type": "string",
                                                                "description": "Name."
                                                            },
                                                            "email": {
                                                                "type": "string",
                                                                "description": "Email. Empty if unknown."
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 5222343,
                                        "name": "The Model Health Show",
                                        "description": "Sample description of the show.",
                                        "image_url": "https://s3-us-west-2.amazonaws.com/feedspotfeed/200/5222343.jpg",
                                        "website": "https://example.com",
                                        "rss_url": "https://example.com/feed.xml",
                                        "domain": "example.com",
                                        "language": "English",
                                        "location": "Los Angeles, CA, US",
                                        "country": "US",
                                        "state": "California",
                                        "city": "Los Angeles",
                                        "episode_count": 900,
                                        "years_active": "2013 - 2026",
                                        "frequency": "2 episodes / week",
                                        "avg_episode_length": "60 min",
                                        "avg_episode_seconds": 3600,
                                        "latest_episode_at": "2026-10-20 07:00:00",
                                        "beats": [
                                            "Health & Fitness",
                                            "Diet",
                                            "Weight Loss",
                                            "Food",
                                            "Self-Improvement"
                                        ],
                                        "estimated_monthly_listeners": 402,
                                        "community": [
                                            {
                                                "key": 1,
                                                "title": "Black/African American"
                                            }
                                        ],
                                        "apple_id": 640246948,
                                        "apple_rating": 4.8,
                                        "apple_review": 30000,
                                        "apple_review_country": "US",
                                        "apple_review_global": 35000,
                                        "apple_podcast_url": "https://podcasts.apple.com/us/podcast/id640246948",
                                        "spotify_url": "https://open.spotify.com/show/example",
                                        "youtube_url": "https://www.youtube.com/@example",
                                        "total_contacts": 3,
                                        "podcast_network": [
                                            "Example Network"
                                        ],
                                        "has_guest": true,
                                        "has_sponsor": true,
                                        "has_host": true,
                                        "has_social": true,
                                        "has_facebook": true,
                                        "has_twitter": true,
                                        "has_instagram": true,
                                        "has_linkedin": false,
                                        "has_youtube": true,
                                        "has_tiktok": false,
                                        "has_mastodon": false,
                                        "itunes_contacts": [
                                            {
                                                "name": "Jane Host",
                                                "email": "jane@example.com"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast/{id}/social": {
            "get": {
                "operationId": "get-podcast-social",
                "summary": "Get a podcast's social profiles",
                "tags": [
                    "Directory API"
                ],
                "description": "Social links, handles and follower counts. 1 credit. Pro plan only: Basic plan keys get status 300 and no credit is charged.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The podcast ID (the id field from Search results).",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Social profiles.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Podcast ID."
                                                },
                                                "facebook": {
                                                    "type": "object",
                                                    "description": "Facebook profile. All fields are empty/null when the podcast has no Facebook profile.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "description": "Facebook URL. Empty if unknown."
                                                        },
                                                        "handle": {
                                                            "type": "string",
                                                            "description": "Facebook handle. Empty if unknown."
                                                        },
                                                        "followers": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "Facebook followers. null if unknown."
                                                        }
                                                    }
                                                },
                                                "twitter": {
                                                    "type": "object",
                                                    "description": "X (Twitter) profile. All fields are empty/null when the podcast has no X (Twitter) profile.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "description": "X (Twitter) URL. Empty if unknown."
                                                        },
                                                        "handle": {
                                                            "type": "string",
                                                            "description": "X (Twitter) handle. Empty if unknown."
                                                        },
                                                        "followers": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "X (Twitter) followers. null if unknown."
                                                        }
                                                    }
                                                },
                                                "instagram": {
                                                    "type": "object",
                                                    "description": "Instagram profile. All fields are empty/null when the podcast has no Instagram profile.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "description": "Instagram URL. Empty if unknown."
                                                        },
                                                        "handle": {
                                                            "type": "string",
                                                            "description": "Instagram handle. Empty if unknown."
                                                        },
                                                        "followers": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "Instagram followers. null if unknown."
                                                        }
                                                    }
                                                },
                                                "linkedin": {
                                                    "type": "object",
                                                    "description": "LinkedIn profile. All fields are empty/null when the podcast has no LinkedIn profile.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "description": "LinkedIn URL. Empty if unknown."
                                                        },
                                                        "handle": {
                                                            "type": "string",
                                                            "description": "LinkedIn handle. Empty if unknown."
                                                        },
                                                        "followers": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "LinkedIn followers. null if unknown."
                                                        }
                                                    }
                                                },
                                                "youtube": {
                                                    "type": "object",
                                                    "description": "YouTube profile. All fields are empty/null when the podcast has no YouTube profile.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "description": "YouTube URL. Empty if unknown."
                                                        },
                                                        "handle": {
                                                            "type": "string",
                                                            "description": "YouTube handle. Empty if unknown."
                                                        },
                                                        "followers": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "YouTube followers. null if unknown."
                                                        },
                                                        "views": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "YouTube total views. null if unknown."
                                                        },
                                                        "videos": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "YouTube video count. null if unknown."
                                                        }
                                                    }
                                                },
                                                "tiktok": {
                                                    "type": "object",
                                                    "description": "TikTok profile. All fields are empty/null when the podcast has no TikTok profile.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "description": "TikTok URL. Empty if unknown."
                                                        },
                                                        "handle": {
                                                            "type": "string",
                                                            "description": "TikTok handle. Empty if unknown."
                                                        },
                                                        "followers": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "TikTok followers. null if unknown."
                                                        }
                                                    }
                                                },
                                                "mastodon": {
                                                    "type": "object",
                                                    "description": "Mastodon profile. All fields are empty/null when the podcast has no Mastodon profile.",
                                                    "properties": {
                                                        "url": {
                                                            "type": "string",
                                                            "description": "Mastodon URL. Empty if unknown."
                                                        },
                                                        "handle": {
                                                            "type": "string",
                                                            "description": "Mastodon handle. Empty if unknown."
                                                        },
                                                        "followers": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "Mastodon followers. null if unknown."
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 5222343,
                                        "facebook": {
                                            "url": "https://facebook.com/example",
                                            "handle": "example",
                                            "followers": 120000
                                        },
                                        "twitter": {
                                            "url": "https://x.com/example",
                                            "handle": "example",
                                            "followers": 80000
                                        },
                                        "instagram": {
                                            "url": "https://instagram.com/example",
                                            "handle": "example",
                                            "followers": 500000
                                        },
                                        "linkedin": {
                                            "url": "",
                                            "handle": "",
                                            "followers": null
                                        },
                                        "youtube": {
                                            "url": "https://www.youtube.com/@example",
                                            "handle": "@example",
                                            "followers": 1500000,
                                            "views": 200000000,
                                            "videos": 1200
                                        },
                                        "tiktok": {
                                            "url": "",
                                            "handle": "",
                                            "followers": null
                                        },
                                        "mastodon": {
                                            "url": "",
                                            "handle": "",
                                            "followers": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "300": {
                        "description": "This endpoint needs the Pro plan (no credit is charged)"
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast/{id}/contacts": {
            "get": {
                "operationId": "get-podcast-contacts",
                "summary": "Get a podcast's contacts",
                "tags": [
                    "Directory API"
                ],
                "description": "All known contacts with emails, roles and social links. 3 credits. Pro plan only: Basic plan keys get status 300 and no credit is charged.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The podcast ID (the id field from Search results).",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Contacts.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Podcast ID."
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Number of contacts returned."
                                                },
                                                "contacts": {
                                                    "type": "array",
                                                    "description": "Every known contact (hosts and team). Phone numbers are never returned.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "name": {
                                                                "type": "string",
                                                                "description": "Full name."
                                                            },
                                                            "first_name": {
                                                                "type": "string",
                                                                "description": "First name."
                                                            },
                                                            "last_name": {
                                                                "type": "string",
                                                                "description": "Last name."
                                                            },
                                                            "email": {
                                                                "type": "string",
                                                                "description": "Email. Empty if unknown."
                                                            },
                                                            "role": {
                                                                "type": "string",
                                                                "description": "Role, e.g. Host."
                                                            },
                                                            "gender": {
                                                                "type": "string",
                                                                "description": "Gender."
                                                            },
                                                            "bio": {
                                                                "type": "string",
                                                                "description": "Short bio."
                                                            },
                                                            "website": {
                                                                "type": "string",
                                                                "description": "Website."
                                                            },
                                                            "location": {
                                                                "type": "string",
                                                                "description": "Location."
                                                            },
                                                            "country": {
                                                                "type": "string",
                                                                "description": "Country."
                                                            },
                                                            "state": {
                                                                "type": "string",
                                                                "description": "State."
                                                            },
                                                            "city": {
                                                                "type": "string",
                                                                "description": "City."
                                                            },
                                                            "linkedin_url": {
                                                                "type": "string",
                                                                "description": "LinkedIn URL."
                                                            },
                                                            "linkedin_handle": {
                                                                "type": "string",
                                                                "description": "LinkedIn handle."
                                                            },
                                                            "twitter_url": {
                                                                "type": "string",
                                                                "description": "X (Twitter) URL."
                                                            },
                                                            "twitter_handle": {
                                                                "type": "string",
                                                                "description": "X handle."
                                                            },
                                                            "instagram_url": {
                                                                "type": "string",
                                                                "description": "Instagram URL."
                                                            },
                                                            "instagram_handle": {
                                                                "type": "string",
                                                                "description": "Instagram handle."
                                                            },
                                                            "facebook_url": {
                                                                "type": "string",
                                                                "description": "Facebook URL."
                                                            },
                                                            "facebook_handle": {
                                                                "type": "string",
                                                                "description": "Facebook handle."
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 5222343,
                                        "total": 1,
                                        "contacts": [
                                            {
                                                "name": "Jane Host",
                                                "first_name": "Jane",
                                                "last_name": "Host",
                                                "email": "jane@example.com",
                                                "role": "Host",
                                                "gender": "female",
                                                "bio": "Sample bio.",
                                                "website": "https://example.com",
                                                "location": "Los Angeles, CA, US",
                                                "country": "US",
                                                "state": "California",
                                                "city": "Los Angeles",
                                                "linkedin_url": "https://linkedin.com/in/example",
                                                "linkedin_handle": "example",
                                                "twitter_url": "",
                                                "twitter_handle": "",
                                                "instagram_url": "",
                                                "instagram_handle": "",
                                                "facebook_url": "",
                                                "facebook_handle": ""
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "300": {
                        "description": "This endpoint needs the Pro plan (no credit is charged)"
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast/{id}/guests": {
            "get": {
                "operationId": "get-podcast-guests",
                "summary": "Get a podcast's guests",
                "tags": [
                    "Directory API"
                ],
                "description": "Guests who appeared on the podcast, with the episode they were on, newest first. Paginated. 1 credit per request. Pro plan only: Basic plan keys get status 300 and no credit is charged.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The podcast ID (the id field from Search results).",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Page of results, starting at 1.",
                        "schema": {
                            "type": "integer",
                            "default": 1
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Number of results per page. Whole number of 1 or more; capped at 25 on Basic and 100 on Pro.",
                        "schema": {
                            "type": "integer",
                            "default": 10
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Guests.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Podcast ID."
                                                },
                                                "results": {
                                                    "type": "array",
                                                    "description": "Guests on this page.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "name": {
                                                                "type": "string",
                                                                "description": "Guest name."
                                                            },
                                                            "profession": {
                                                                "type": "string",
                                                                "description": "Profession. Empty if unknown."
                                                            },
                                                            "occupation": {
                                                                "type": "string",
                                                                "description": "Occupation / title. Empty if unknown."
                                                            },
                                                            "episode": {
                                                                "type": "object",
                                                                "description": "The episode the guest appeared in.",
                                                                "properties": {
                                                                    "title": {
                                                                        "type": "string",
                                                                        "description": "Episode title."
                                                                    },
                                                                    "url": {
                                                                        "type": "string",
                                                                        "description": "Episode link from the feed. Often the audio file (e.g. .mp3)."
                                                                    },
                                                                    "published_at": {
                                                                        "type": "string",
                                                                        "description": "Episode publish time."
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of results."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Results per page."
                                                },
                                                "current_page": {
                                                    "type": "integer",
                                                    "description": "Current page."
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "description": "Last page."
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 5222343,
                                        "results": [
                                            {
                                                "name": "Chris Ford",
                                                "profession": "Coach",
                                                "occupation": "athletics and running coach",
                                                "episode": {
                                                    "title": "How to Start Running Again After a Marathon",
                                                    "url": "https://sphinx.acast.com/p/open/s/643e9138272eed00117d32b9/e/69fc8a2b7628afabb9a19be0/media.mp3",
                                                    "published_at": "2026-05-07 16:00:00"
                                                }
                                            },
                                            {
                                                "name": "Janie Perry",
                                                "profession": "Nutritionist",
                                                "occupation": "registered nutritionist",
                                                "episode": {
                                                    "title": "Marathon Training Nutrition: What to Eat, Carb Loading, Gels & Supplements Explained",
                                                    "url": "https://sphinx.acast.com/p/open/s/643e9138272eed00117d32b9/e/698d8c2e3f15cb4dab0eef1e/media.mp3",
                                                    "published_at": "2026-02-26 16:00:00"
                                                }
                                            }
                                        ],
                                        "total": 3,
                                        "per_page": 10,
                                        "current_page": 1,
                                        "last_page": 1
                                    }
                                }
                            }
                        }
                    },
                    "300": {
                        "description": "This endpoint needs the Pro plan (no credit is charged)"
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast/{id}/sponsors": {
            "get": {
                "operationId": "get-podcast-sponsors",
                "summary": "Get a podcast's sponsors",
                "tags": [
                    "Directory API"
                ],
                "description": "Sponsors of the podcast with company details, and how many podcasts and episodes they sponsor. Paginated. 1 credit per request. Pro plan only: Basic plan keys get status 300 and no credit is charged.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The podcast ID (the id field from Search results).",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Page of results, starting at 1.",
                        "schema": {
                            "type": "integer",
                            "default": 1
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Number of results per page. Whole number of 1 or more; capped at 25 on Basic and 100 on Pro.",
                        "schema": {
                            "type": "integer",
                            "default": 10
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Sponsors.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Podcast ID."
                                                },
                                                "results": {
                                                    "type": "array",
                                                    "description": "Sponsors on this page.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "name": {
                                                                "type": "string",
                                                                "description": "Sponsor name."
                                                            },
                                                            "industry": {
                                                                "type": "string",
                                                                "description": "Industry. Empty if unknown."
                                                            },
                                                            "website": {
                                                                "type": "string",
                                                                "description": "Company website. Empty if unknown."
                                                            },
                                                            "linkedin_url": {
                                                                "type": "string",
                                                                "description": "Company LinkedIn page. Empty if unknown."
                                                            },
                                                            "podcasts_count": {
                                                                "type": "integer",
                                                                "nullable": true,
                                                                "description": "Number of podcasts this sponsor sponsors."
                                                            },
                                                            "episodes_count": {
                                                                "type": "integer",
                                                                "nullable": true,
                                                                "description": "Number of this podcast's episodes they sponsored."
                                                            }
                                                        }
                                                    }
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of results."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Results per page."
                                                },
                                                "current_page": {
                                                    "type": "integer",
                                                    "description": "Current page."
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "description": "Last page."
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 5222343,
                                        "results": [
                                            {
                                                "name": "BiOptimizers",
                                                "industry": "Health, Wellness & Fitness",
                                                "website": "https://bioptimizers.com/",
                                                "linkedin_url": "https://www.linkedin.com/company/bioptimizers-usa-inc",
                                                "podcasts_count": 109,
                                                "episodes_count": 3
                                            },
                                            {
                                                "name": "Beam",
                                                "industry": "Health, Wellness & Fitness",
                                                "website": "",
                                                "linkedin_url": "",
                                                "podcasts_count": 165,
                                                "episodes_count": 25
                                            }
                                        ],
                                        "total": 116,
                                        "per_page": 10,
                                        "current_page": 1,
                                        "last_page": 12
                                    }
                                }
                            }
                        }
                    },
                    "300": {
                        "description": "This endpoint needs the Pro plan (no credit is charged)"
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast/{id}/audience": {
            "get": {
                "operationId": "get-podcast-audience",
                "summary": "Get a podcast's audience",
                "tags": [
                    "Directory API"
                ],
                "description": "Estimated listeners and audience demographics. 1 credit. Pro plan only: Basic plan keys get status 300 and no credit is charged.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The podcast ID (the id field from Search results).",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Audience.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Podcast ID."
                                                },
                                                "estimated_monthly_listeners": {
                                                    "type": "integer",
                                                    "nullable": true,
                                                    "description": "Estimated monthly listeners, null if unknown."
                                                },
                                                "listener_tier": {
                                                    "type": "string",
                                                    "description": "nano, micro, mid_tier, macro, mega or celebrity (same as the search filter). Empty if unknown."
                                                },
                                                "listener_gender": {
                                                    "type": "array",
                                                    "description": "Listener gender split: [{key, label, percent}]. key matches the search filter value; percent is a number or null.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "key": {
                                                                "type": "string",
                                                                "description": "Bucket key, same value as the search filter."
                                                            },
                                                            "label": {
                                                                "type": "string",
                                                                "description": "Display label."
                                                            },
                                                            "percent": {
                                                                "type": "number",
                                                                "nullable": true,
                                                                "description": "Share of listeners in percent. null if unknown."
                                                            }
                                                        }
                                                    }
                                                },
                                                "listener_age": {
                                                    "type": "array",
                                                    "description": "Listener age split: [{key, label, percent}]. key matches the search filter value; percent is a number or null.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "key": {
                                                                "type": "string",
                                                                "description": "Bucket key, same value as the search filter."
                                                            },
                                                            "label": {
                                                                "type": "string",
                                                                "description": "Display label."
                                                            },
                                                            "percent": {
                                                                "type": "number",
                                                                "nullable": true,
                                                                "description": "Share of listeners in percent. null if unknown."
                                                            }
                                                        }
                                                    }
                                                },
                                                "listener_income": {
                                                    "type": "array",
                                                    "description": "Listener income split: [{key, label, percent}]. key matches the search filter value; percent is a number or null.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "key": {
                                                                "type": "string",
                                                                "description": "Bucket key, same value as the search filter."
                                                            },
                                                            "label": {
                                                                "type": "string",
                                                                "description": "Display label."
                                                            },
                                                            "percent": {
                                                                "type": "number",
                                                                "nullable": true,
                                                                "description": "Share of listeners in percent. null if unknown."
                                                            }
                                                        }
                                                    }
                                                },
                                                "listener_geography": {
                                                    "type": "array",
                                                    "description": "Listener share by country, highest first: [{country_code, country, percent}].",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "country_code": {
                                                                "type": "string",
                                                                "description": "Short country code, e.g. US."
                                                            },
                                                            "country": {
                                                                "type": "string",
                                                                "description": "Country name."
                                                            },
                                                            "percent": {
                                                                "type": "number",
                                                                "nullable": true,
                                                                "description": "Share of listeners in percent. null if unknown."
                                                            }
                                                        }
                                                    }
                                                },
                                                "listener_types": {
                                                    "type": "array",
                                                    "description": "Listener types: [{id, name}].",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer",
                                                                "description": "Listener type ID (same ids as the listener_type filter)."
                                                            },
                                                            "name": {
                                                                "type": "string",
                                                                "description": "Listener type name."
                                                            }
                                                        }
                                                    }
                                                },
                                                "community": {
                                                    "type": "array",
                                                    "description": "Community / audience groups (strings).",
                                                    "items": {}
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 5222343,
                                        "estimated_monthly_listeners": 120000,
                                        "listener_tier": "macro",
                                        "listener_gender": [
                                            {
                                                "key": "male",
                                                "label": "Male",
                                                "percent": 45
                                            },
                                            {
                                                "key": "female",
                                                "label": "Female",
                                                "percent": 55
                                            }
                                        ],
                                        "listener_age": [
                                            {
                                                "key": "gen_z",
                                                "label": "Gen Z",
                                                "percent": 20
                                            },
                                            {
                                                "key": "millennials",
                                                "label": "Millennials",
                                                "percent": 50
                                            },
                                            {
                                                "key": "gen_x",
                                                "label": "Gen X",
                                                "percent": 30
                                            }
                                        ],
                                        "listener_income": [
                                            {
                                                "key": "low",
                                                "label": "Low Income",
                                                "percent": 25
                                            },
                                            {
                                                "key": "middle",
                                                "label": "Middle Income",
                                                "percent": 50
                                            },
                                            {
                                                "key": "high",
                                                "label": "High Income",
                                                "percent": 25
                                            }
                                        ],
                                        "listener_geography": [
                                            {
                                                "country_code": "US",
                                                "country": "United States",
                                                "percent": 75
                                            },
                                            {
                                                "country_code": "CA",
                                                "country": "Canada",
                                                "percent": 8
                                            }
                                        ],
                                        "listener_types": [
                                            {
                                                "id": 3,
                                                "name": "Health Enthusiasts"
                                            }
                                        ],
                                        "community": [
                                            "Fitness"
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "300": {
                        "description": "This endpoint needs the Pro plan (no credit is charged)"
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast/{id}/episodes": {
            "get": {
                "operationId": "get-podcast-episodes",
                "summary": "List a podcast's episodes",
                "tags": [
                    "Directory API"
                ],
                "description": "A podcast's episodes, newest first. Pages with a cursor. 1 credit per request.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The podcast ID.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Leave out (or send *) for the first page. For the next page, send the next_cursor from the previous response, with the same other parameters.",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "limit",
                        "in": "query",
                        "description": "Number of results per page. Whole number of 1 or more; capped at 25 on Basic and 100 on Pro.",
                        "schema": {
                            "type": "integer",
                            "default": 10
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Results.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Podcast ID."
                                                },
                                                "results": {
                                                    "type": "array",
                                                    "description": "Episodes.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer",
                                                                "description": "Episode ID."
                                                            },
                                                            "title": {
                                                                "type": "string",
                                                                "description": "Episode title."
                                                            },
                                                            "description": {
                                                                "type": "string",
                                                                "description": "Episode description (show notes)."
                                                            },
                                                            "published_at": {
                                                                "type": "string",
                                                                "description": "Publish time, YYYY-MM-DD HH:MM:SS."
                                                            },
                                                            "url": {
                                                                "type": "string",
                                                                "description": "Episode page URL."
                                                            },
                                                            "audio_url": {
                                                                "type": "string",
                                                                "description": "Audio file URL. Empty if unknown."
                                                            },
                                                            "image_url": {
                                                                "type": "string",
                                                                "description": "Episode artwork, or the podcast artwork if the episode has none."
                                                            },
                                                            "duration_seconds": {
                                                                "type": "integer",
                                                                "nullable": true,
                                                                "description": "Length in seconds."
                                                            },
                                                            "language": {
                                                                "type": "string",
                                                                "description": "ISO language code, e.g. en."
                                                            },
                                                            "author": {
                                                                "type": "string",
                                                                "description": "Author as listed in the feed. Often empty."
                                                            },
                                                            "podcast": {
                                                                "type": "object",
                                                                "description": "The podcast this episode belongs to.",
                                                                "properties": {
                                                                    "id": {
                                                                        "type": "integer",
                                                                        "description": "Podcast ID (use with GET /podcast/{id})."
                                                                    },
                                                                    "name": {
                                                                        "type": "string",
                                                                        "description": "Podcast name."
                                                                    },
                                                                    "rss_url": {
                                                                        "type": "string",
                                                                        "description": "Podcast RSS feed URL."
                                                                    },
                                                                    "apple_rating": {
                                                                        "type": "number",
                                                                        "nullable": true,
                                                                        "description": "Podcast's Apple Podcasts rating."
                                                                    },
                                                                    "apple_review": {
                                                                        "type": "integer",
                                                                        "nullable": true,
                                                                        "description": "Podcast's Apple review count."
                                                                    },
                                                                    "estimated_monthly_listeners": {
                                                                        "type": "integer",
                                                                        "nullable": true,
                                                                        "description": "Podcast's estimated monthly listeners."
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total matching episodes."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Results per page (your limit, capped by plan)."
                                                },
                                                "next_cursor": {
                                                    "type": "string",
                                                    "description": "Send as cursor to get the next page. Empty when there are no more results."
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 7658784,
                                        "results": [
                                            {
                                                "id": 14455696433,
                                                "title": "EP 116: Every CTO is a translator: getting understood by the CFO and the board",
                                                "description": "A solid technical case rarely wins the decision if the CFO, the CEO and the board can't follow it…",
                                                "published_at": "2026-10-27 05:30:00",
                                                "url": "https://the-cto-playbook.cohostpodcasting.com/episodes/ep-116-every-cto-is-a-translator",
                                                "audio_url": "https://audio.cohostcdn.com/show/…/episode.mp3",
                                                "image_url": "https://files.cohostpodcasting.com/…/cover.jpg",
                                                "duration_seconds": 2147,
                                                "language": "en",
                                                "author": "",
                                                "podcast": {
                                                    "id": 7658784,
                                                    "name": "The CTO Playbook",
                                                    "rss_url": "https://feeds.cohostpodcasting.com/sA0IwtIy",
                                                    "apple_rating": 5,
                                                    "apple_review": 3,
                                                    "estimated_monthly_listeners": 1206
                                                }
                                            }
                                        ],
                                        "total": 235,
                                        "per_page": 10,
                                        "next_cursor": "AoJwwICgmqADPwE2YzE5OTkwZGMxNzk4MjhiYTQ0ZmZjZTUzMjNiZWRhMQ=="
                                    }
                                }
                            }
                        }
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/episode/search": {
            "post": {
                "operationId": "episode-search",
                "summary": "Search episodes",
                "tags": [
                    "Episode API"
                ],
                "description": "Full-text search across podcast episodes, newest first, with language, location, length and audience filters. Pages with a cursor. 1 credit per request.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "query": {
                                        "type": "string",
                                        "default": "health",
                                        "description": "The search term (required, not empty). Supports \"exact phrases\" and -excluded words."
                                    },
                                    "search_in": {
                                        "type": "string",
                                        "default": "title,description",
                                        "description": "Comma-separated fields to search. Searches both if omitted. Comma-separated; any of: title (Episode Title), description (Episode Description)."
                                    },
                                    "search_match": {
                                        "type": "string",
                                        "enum": [
                                            "all",
                                            "any",
                                            "exact"
                                        ],
                                        "default": "all",
                                        "description": "How search terms are combined: \"all\" requires every term, \"any\" at least one, \"exact\" the whole phrase."
                                    },
                                    "start_date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Only episodes published on or after this date (YYYY-MM-DD)."
                                    },
                                    "end_date": {
                                        "type": "string",
                                        "format": "date",
                                        "description": "Only episodes published on or before this date (YYYY-MM-DD)."
                                    },
                                    "language": {
                                        "type": "string",
                                        "description": "Comma-separated ISO language codes. If omitted, episodes in every language are searched."
                                    },
                                    "exclude_language": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given language value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs language to be set."
                                    },
                                    "location": {
                                        "type": "string",
                                        "description": "Comma-separated location keys from GET /location, e.g. l:100 (country), l:229_699 (state), l:229_699_6190 (city). Keys are case-sensitive; an invalid key returns 400."
                                    },
                                    "exclude_location": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given location value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs location to be set."
                                    },
                                    "episode_length": {
                                        "type": "string",
                                        "description": "Episode length. Comma-separated, e.g. 20_40,40_60. Comma-separated; any of: under_10 (Less than 10 minutes), 10_20 (10–20 minutes), 20_40 (20–40 minutes), 40_60 (40–60 minutes), 60_90 (60–90 minutes), over_90 (Over 90 minutes)."
                                    },
                                    "exclude_episode_length": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given episode_length value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs episode_length to be set."
                                    },
                                    "estimated_monthly_listeners": {
                                        "type": "string",
                                        "description": "Filter by the podcast's estimated monthly listeners. Comma-separated; any of: nano (Up to 1,000 (Nano Podcasts)), micro (1,000 – 10,000 (Micro Podcasts)), mid_tier (10,000 – 50,000 (Mid-Tier Podcasts)), macro (50,000 – 250,000 (Macro Podcasts)), mega (250,000 – 1,000,000 (Mega Podcasts)), celebrity (1,000,000+ (Celebrity Podcasts))."
                                    },
                                    "exclude_estimated_monthly_listeners": {
                                        "type": "string",
                                        "enum": [
                                            "yes",
                                            "no"
                                        ],
                                        "default": "no",
                                        "description": "\"yes\" excludes the given estimated_monthly_listeners value(s) instead of including them; \"no\" (default) includes them. Any other value returns 400. \"yes\" needs estimated_monthly_listeners to be set."
                                    },
                                    "cursor": {
                                        "type": "string",
                                        "description": "Leave out (or send *) for the first page. For the next page, send the next_cursor from the previous response, with the same other parameters."
                                    },
                                    "limit": {
                                        "type": "integer",
                                        "default": 10,
                                        "description": "Number of results per page. Whole number of 1 or more; capped at 25 on Basic and 100 on Pro."
                                    }
                                },
                                "required": [
                                    "query"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Results.",
                                            "properties": {
                                                "results": {
                                                    "type": "array",
                                                    "description": "Episodes.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer",
                                                                "description": "Episode ID."
                                                            },
                                                            "title": {
                                                                "type": "string",
                                                                "description": "Episode title."
                                                            },
                                                            "description": {
                                                                "type": "string",
                                                                "description": "Episode description (show notes)."
                                                            },
                                                            "published_at": {
                                                                "type": "string",
                                                                "description": "Publish time, YYYY-MM-DD HH:MM:SS."
                                                            },
                                                            "url": {
                                                                "type": "string",
                                                                "description": "Episode page URL."
                                                            },
                                                            "audio_url": {
                                                                "type": "string",
                                                                "description": "Audio file URL. Empty if unknown."
                                                            },
                                                            "image_url": {
                                                                "type": "string",
                                                                "description": "Episode artwork, or the podcast artwork if the episode has none."
                                                            },
                                                            "duration_seconds": {
                                                                "type": "integer",
                                                                "nullable": true,
                                                                "description": "Length in seconds."
                                                            },
                                                            "language": {
                                                                "type": "string",
                                                                "description": "ISO language code, e.g. en."
                                                            },
                                                            "author": {
                                                                "type": "string",
                                                                "description": "Author as listed in the feed. Often empty."
                                                            },
                                                            "podcast": {
                                                                "type": "object",
                                                                "description": "The podcast this episode belongs to.",
                                                                "properties": {
                                                                    "id": {
                                                                        "type": "integer",
                                                                        "description": "Podcast ID (use with GET /podcast/{id})."
                                                                    },
                                                                    "name": {
                                                                        "type": "string",
                                                                        "description": "Podcast name."
                                                                    },
                                                                    "rss_url": {
                                                                        "type": "string",
                                                                        "description": "Podcast RSS feed URL."
                                                                    },
                                                                    "apple_rating": {
                                                                        "type": "number",
                                                                        "nullable": true,
                                                                        "description": "Podcast's Apple Podcasts rating."
                                                                    },
                                                                    "apple_review": {
                                                                        "type": "integer",
                                                                        "nullable": true,
                                                                        "description": "Podcast's Apple review count."
                                                                    },
                                                                    "estimated_monthly_listeners": {
                                                                        "type": "integer",
                                                                        "nullable": true,
                                                                        "description": "Podcast's estimated monthly listeners."
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total matching episodes."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Results per page (your limit, capped by plan)."
                                                },
                                                "next_cursor": {
                                                    "type": "string",
                                                    "description": "Send as cursor to get the next page. Empty when there are no more results."
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "results": [
                                            {
                                                "id": 14455696433,
                                                "title": "EP 116: Every CTO is a translator: getting understood by the CFO and the board",
                                                "description": "A solid technical case rarely wins the decision if the CFO, the CEO and the board can't follow it…",
                                                "published_at": "2026-10-27 05:30:00",
                                                "url": "https://the-cto-playbook.cohostpodcasting.com/episodes/ep-116-every-cto-is-a-translator",
                                                "audio_url": "https://audio.cohostcdn.com/show/…/episode.mp3",
                                                "image_url": "https://files.cohostpodcasting.com/…/cover.jpg",
                                                "duration_seconds": 2147,
                                                "language": "en",
                                                "author": "",
                                                "podcast": {
                                                    "id": 7658784,
                                                    "name": "The CTO Playbook",
                                                    "rss_url": "https://feeds.cohostpodcasting.com/sA0IwtIy",
                                                    "apple_rating": 5,
                                                    "apple_review": 3,
                                                    "estimated_monthly_listeners": 1206
                                                }
                                            }
                                        ],
                                        "total": 4210,
                                        "per_page": 10,
                                        "next_cursor": "AoJwwICgmqADPwE2YzE5OTkwZGMxNzk4MjhiYTQ0ZmZjZTUzMjNiZWRhMQ=="
                                    }
                                }
                            }
                        }
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/episode/{id}": {
            "get": {
                "operationId": "get-episode",
                "summary": "Get an episode by ID",
                "tags": [
                    "Episode API"
                ],
                "description": "Details for one episode, with a summary of its podcast. 1 credit.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The episode ID (the id field from episode search).",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code. 200 on success."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "object",
                                            "description": "Episode.",
                                            "properties": {
                                                "id": {
                                                    "type": "integer",
                                                    "description": "Episode ID."
                                                },
                                                "title": {
                                                    "type": "string",
                                                    "description": "Episode title."
                                                },
                                                "description": {
                                                    "type": "string",
                                                    "description": "Episode description (show notes)."
                                                },
                                                "published_at": {
                                                    "type": "string",
                                                    "description": "Publish time, YYYY-MM-DD HH:MM:SS."
                                                },
                                                "url": {
                                                    "type": "string",
                                                    "description": "Episode page URL."
                                                },
                                                "audio_url": {
                                                    "type": "string",
                                                    "description": "Audio file URL. Empty if unknown."
                                                },
                                                "image_url": {
                                                    "type": "string",
                                                    "description": "Episode artwork, or the podcast artwork if the episode has none."
                                                },
                                                "duration_seconds": {
                                                    "type": "integer",
                                                    "nullable": true,
                                                    "description": "Length in seconds."
                                                },
                                                "language": {
                                                    "type": "string",
                                                    "description": "ISO language code, e.g. en."
                                                },
                                                "author": {
                                                    "type": "string",
                                                    "description": "Author as listed in the feed. Often empty."
                                                },
                                                "podcast": {
                                                    "type": "object",
                                                    "description": "The podcast this episode belongs to.",
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer",
                                                            "description": "Podcast ID (use with GET /podcast/{id})."
                                                        },
                                                        "name": {
                                                            "type": "string",
                                                            "description": "Podcast name."
                                                        },
                                                        "rss_url": {
                                                            "type": "string",
                                                            "description": "Podcast RSS feed URL."
                                                        },
                                                        "apple_rating": {
                                                            "type": "number",
                                                            "nullable": true,
                                                            "description": "Podcast's Apple Podcasts rating."
                                                        },
                                                        "apple_review": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "Podcast's Apple review count."
                                                        },
                                                        "estimated_monthly_listeners": {
                                                            "type": "integer",
                                                            "nullable": true,
                                                            "description": "Podcast's estimated monthly listeners."
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": {
                                        "id": 14455696433,
                                        "title": "EP 116: Every CTO is a translator: getting understood by the CFO and the board",
                                        "description": "A solid technical case rarely wins the decision if the CFO, the CEO and the board can't follow it…",
                                        "published_at": "2026-10-27 05:30:00",
                                        "url": "https://the-cto-playbook.cohostpodcasting.com/episodes/ep-116-every-cto-is-a-translator",
                                        "audio_url": "https://audio.cohostcdn.com/show/…/episode.mp3",
                                        "image_url": "https://files.cohostpodcasting.com/…/cover.jpg",
                                        "duration_seconds": 2147,
                                        "language": "en",
                                        "author": "",
                                        "podcast": {
                                            "id": 7658784,
                                            "name": "The CTO Playbook",
                                            "rss_url": "https://feeds.cohostpodcasting.com/sA0IwtIy",
                                            "apple_rating": 5,
                                            "apple_review": 3,
                                            "estimated_monthly_listeners": 1206
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "303": {
                        "description": "Couldn't process the request right now. Try again shortly."
                    },
                    "316": {
                        "description": "Not enough credits for this request"
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "404": {
                        "description": "Resource not found"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/location": {
            "get": {
                "operationId": "filter-api-location",
                "summary": "Get Locations",
                "tags": [
                    "Filter API"
                ],
                "description": "Search and retrieve location options for filtering podcasts.",
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "required": true,
                        "description": "Location search term, e.g. \"india\".",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "array",
                                            "description": "Matching location options.",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "key": {
                                                        "type": "string",
                                                        "description": "Unique location filter key."
                                                    },
                                                    "title": {
                                                        "type": "string",
                                                        "description": "Location name."
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "Location option type."
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": [
                                        {
                                            "key": "l:100",
                                            "title": "India",
                                            "type": "location"
                                        },
                                        {
                                            "key": "l:229_699_6190",
                                            "title": "Indianapolis, IN, United States",
                                            "type": "location"
                                        },
                                        {
                                            "key": "l:229_699",
                                            "title": "Indiana, United States",
                                            "type": "location"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/location/us-region": {
            "get": {
                "operationId": "filter-api-us-region",
                "summary": "Get US Regions",
                "tags": [
                    "Filter API"
                ],
                "description": "Search and retrieve US region options for filtering podcasts.",
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "description": "US region search term, e.g. \"San Francisco\".",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "array",
                                            "description": "Matching US region options.",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "key": {
                                                        "type": "string",
                                                        "description": "Unique US region filter key."
                                                    },
                                                    "title": {
                                                        "type": "string",
                                                        "description": "US region name."
                                                    },
                                                    "type": {
                                                        "type": "string",
                                                        "description": "US region option type."
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": [
                                        {
                                            "title": "San Francisco Bay Area",
                                            "key": "p:18",
                                            "type": "package"
                                        },
                                        {
                                            "title": "New York Metropolitan Area",
                                            "key": "p:20",
                                            "type": "package"
                                        },
                                        {
                                            "title": "Chicago Metropolitan Area",
                                            "key": "p:21",
                                            "type": "package"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/language": {
            "get": {
                "operationId": "filter-api-language",
                "summary": "Get Languages",
                "tags": [
                    "Filter API"
                ],
                "description": "Retrieve available languages for filtering podcasts.",
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "array",
                                            "description": "Available language options.",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "key": {
                                                        "type": "string",
                                                        "description": "ISO language code."
                                                    },
                                                    "title": {
                                                        "type": "string",
                                                        "description": "Language name."
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": [
                                        {
                                            "title": "English",
                                            "key": "en"
                                        },
                                        {
                                            "title": "Spanish, Castilian",
                                            "key": "es"
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/listener-type": {
            "get": {
                "operationId": "filter-api-listener-type",
                "summary": "Get Listener Types by Query",
                "tags": [
                    "Filter API"
                ],
                "description": "Search and retrieve listener types by query.",
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "description": "Listener type search term, e.g. \"entrepreneur\".",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "array",
                                            "description": "Matching listener types.",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "title": {
                                                        "type": "string",
                                                        "description": "Listener type name with listener count."
                                                    },
                                                    "key": {
                                                        "type": "integer",
                                                        "description": "Listener type ID."
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": [
                                        {
                                            "title": "Entrepreneur (100,050)",
                                            "key": 1
                                        },
                                        {
                                            "title": "CEO (53,213)",
                                            "key": 2
                                        },
                                        {
                                            "title": "Spiritual Seeker (43,526)",
                                            "key": 3
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/beats": {
            "get": {
                "operationId": "filter-api-beats",
                "summary": "Get Beats by Query",
                "tags": [
                    "Filter API"
                ],
                "description": "Search and retrieve available podcast beats.",
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "description": "Beat search term, e.g. \"education\".",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "array",
                                            "description": "Matching beat options.",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "title": {
                                                        "type": "string",
                                                        "description": "Beat name with podcast count."
                                                    },
                                                    "key": {
                                                        "type": "integer",
                                                        "description": "Beat ID."
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": [
                                        {
                                            "title": "Society & Culture (159,638)",
                                            "key": 55
                                        },
                                        {
                                            "title": "Self-Improvement (140,502)",
                                            "key": 369
                                        },
                                        {
                                            "title": "Education (126,495)",
                                            "key": 17
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/podcast-network": {
            "get": {
                "operationId": "filter-api-podcast-network",
                "summary": "Get Podcast Networks by Query",
                "tags": [
                    "Filter API"
                ],
                "description": "Search and retrieve available podcast networks.",
                "parameters": [
                    {
                        "name": "query",
                        "in": "query",
                        "required": true,
                        "description": "Podcast network search term, e.g. \"BBC\".",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "headers": {
                            "X-Credits-Used": {
                                "description": "Credits this request used. 0 for free endpoints, and for failed requests (their credits are refunded).",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "1"
                            },
                            "X-Credits-Remaining": {
                                "description": "Credits left on your account after this request.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "4210"
                            },
                            "X-Credits-Total": {
                                "description": "Credits on your account right now: this cycle's included credits, any credits left from a previous plan, and pay-as-you-go top-ups. Used so far = Total − Remaining.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "11000"
                            },
                            "X-Credits-Expire": {
                                "description": "When your next credits expire (ISO 8601): the end of the current billing cycle. Included and pay-as-you-go credits both expire then.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-Plan": {
                                "description": "Your current plan.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "Pro"
                            },
                            "X-Billing-Period-End": {
                                "description": "End of the current billing period (ISO 8601). Included credits renew then, unless the subscription is cancelled.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "2026-11-20T10:00:00+05:30"
                            },
                            "X-RateLimit-Limit": {
                                "description": "Requests per minute allowed for this endpoint.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "100"
                            },
                            "X-Response-Time-Ms": {
                                "description": "Time taken to process the request, in milliseconds.",
                                "schema": {
                                    "type": "string"
                                },
                                "example": "56"
                            }
                        },
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "status": {
                                            "type": "integer",
                                            "description": "Response status code."
                                        },
                                        "msg": {
                                            "type": "string",
                                            "description": "Response message."
                                        },
                                        "data": {
                                            "type": "array",
                                            "description": "Matching podcast network options.",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "title": {
                                                        "type": "string",
                                                        "description": "Podcast network name."
                                                    },
                                                    "key": {
                                                        "type": "integer",
                                                        "description": "Podcast network ID."
                                                    }
                                                }
                                            }
                                        }
                                    }
                                },
                                "example": {
                                    "status": 200,
                                    "msg": "Success!",
                                    "data": [
                                        {
                                            "title": "BBC Radio 4",
                                            "key": 59004
                                        },
                                        {
                                            "title": "BBC World Service",
                                            "key": 61424
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "326": {
                        "description": "No active Podcast API subscription"
                    },
                    "400": {
                        "description": "Missing or invalid parameters. The msg field says which one."
                    },
                    "401": {
                        "description": "Missing or invalid API token"
                    },
                    "429": {
                        "description": "Too many requests: the per-minute rate limit for this endpoint was exceeded"
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        }
    },
    "components": {
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer"
            }
        }
    }
}