> ## Documentation Index
> Fetch the complete documentation index at: https://docs.particle.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# Get chart slot history

> Returns historical chart snapshots for a chart slot, ordered most-recent first. Set `since` / `until` to bound the time range; set `podcast_id` to filter to one podcast within the slot.



## OpenAPI

````yaml /openapi.json get /v1/podcasts/rankings/history
openapi: 3.1.0
info:
  description: Public API for Particle — news intelligence, financial data, and analysis.
  title: Particle API
  version: 0.1.0
servers:
  - url: https://api.particle.pro
security:
  - ApiKeyHeader: []
  - BearerAuth: []
paths:
  /v1/podcasts/rankings/history:
    get:
      tags:
        - Podcast Rankings
        - tier:premium
      summary: Get chart slot history
      description: >-
        Returns historical chart snapshots for a chart slot, ordered most-recent
        first. Set `since` / `until` to bound the time range; set `podcast_id`
        to filter to one podcast within the slot.
      operationId: get-podcast-rankings-history
      parameters:
        - description: Results per page
          explode: false
          in: query
          name: limit
          schema:
            default: 25
            description: Results per page
            format: int64
            maximum: 100
            minimum: 1
            type: integer
        - description: Opaque pagination cursor from previous response
          explode: false
          in: query
          name: cursor
          schema:
            description: Opaque pagination cursor from previous response
            type: string
        - description: Ranking source platform.
          explode: false
          in: query
          name: source
          schema:
            default: apple
            description: Ranking source platform.
            enum:
              - apple
              - spotify
            type: string
        - description: Chart variant within the source.
          explode: false
          in: query
          name: chart_type
          schema:
            default: top_podcasts
            description: Chart variant within the source.
            enum:
              - top_podcasts
            type: string
        - description: ISO 3166-1 alpha-2 country code; case-insensitive on input.
          explode: false
          in: query
          name: country
          schema:
            default: us
            description: ISO 3166-1 alpha-2 country code; case-insensitive on input.
            maxLength: 2
            minLength: 2
            type: string
        - description: Category slug. Omit for the overall chart.
          explode: false
          in: query
          name: category_slug
          schema:
            description: Category slug. Omit for the overall chart.
            type: string
        - description: Restrict to one podcast across the chart slot's history.
          explode: false
          in: query
          name: podcast_id
          schema:
            description: Restrict to one podcast across the chart slot's history.
            type: string
        - description: Lower bound on captured_at (ISO 8601). Omit for no lower bound.
          explode: false
          in: query
          name: since
          schema:
            description: Lower bound on captured_at (ISO 8601). Omit for no lower bound.
            examples:
              - '2025-01-01T00:00:00Z'
            type: string
        - description: Upper bound on captured_at (ISO 8601). Omit for no upper bound.
          explode: false
          in: query
          name: until
          schema:
            description: Upper bound on captured_at (ISO 8601). Omit for no upper bound.
            examples:
              - '2026-01-01T00:00:00Z'
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagePodcastRanking'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/PlatformError'
          description: Error
      x-codeSamples:
        - label: cURL
          lang: curl
          source: |-
            curl -H "X-API-Key: $PARTICLE_API_KEY" \
              "https://api.particle.pro/v1/podcasts/rankings/history?limit=25&source=apple&chart_type=top_podcasts&country=us"
components:
  schemas:
    PagePodcastRanking:
      additionalProperties: false
      properties:
        cursor:
          description: Pass to next request for more results
          type: string
        data:
          description: List of results
          items:
            $ref: '#/components/schemas/PodcastRanking'
          type:
            - array
            - 'null'
        has_more:
          description: Whether more results exist
          type: boolean
      required:
        - data
        - has_more
      type: object
    PlatformError:
      additionalProperties: false
      properties:
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        error_code:
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        resolve:
          $ref: '#/components/schemas/ErrorResolve'
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    PodcastRanking:
      additionalProperties: false
      properties:
        captured_at:
          description: When the snapshot containing this row was captured (UTC).
          format: date-time
          type: string
        category:
          $ref: '#/components/schemas/Category'
          description: >-
            Category the chart belongs to. Null on the overall ('top podcasts')
            chart.
        channel_subscriber_count:
          description: YouTube channel subscriber count when the source is YouTube.
          format: int64
          type: integer
        chart_total:
          description: >-
            Total number of entries in this chart at this capture (typically
            200).
          format: int64
          type: integer
        chart_type:
          description: >-
            Chart variant within the source. Currently only 'top_podcasts' is
            emitted.
          enum:
            - top_podcasts
          type: string
        country:
          description: Lowercase ISO 3166-1 alpha-2 country code.
          type: string
        external_id:
          description: >-
            Source-native identifier for the chart entry (e.g., the Apple
            collection id '1581410252'). Stable across captures even when the
            linked podcast hasn't been resolved yet.
          type: string
        external_url:
          description: Canonical URL of the show on the source platform.
          type: string
        growth_indicator:
          description: >-
            Source-supplied trend hint (e.g. 'up' or 'down') when the source
            provides one.
          type: string
        id:
          description: >-
            Stable identifier for this chart entry capture (one row per snapshot
            per slot per rank).
          type: string
        is_current:
          description: Whether this row belongs to the live snapshot.
          type: boolean
        podcast:
          $ref: '#/components/schemas/PodcastCompact'
          description: >-
            Linked podcast in our catalog. Absent when the source's chart entry
            hasn't been matched to a podcast yet (roughly two thirds of
            international and long-tail rows).
        previous_rank:
          description: >-
            Source-reported rank from the previous capture, when the source
            provides it. Apple does not currently populate this; treat its
            absence as 'unknown', not 'unchanged'.
          format: int64
          type: integer
        rank:
          description: Position on the chart (1-based, lower is better).
          format: int64
          type: integer
        reach_pct:
          description: Source-supplied audience reach percentage (reach-survey sources).
          format: double
          type: number
        show:
          $ref: '#/components/schemas/ShowSummary'
          description: >-
            Show metadata captured with the chart entry. Always populated,
            including for chart entries we haven't matched to a podcast in our
            catalog.
        source:
          description: Ranking source platform.
          enum:
            - apple
            - spotify
          type: string
        source_updated_at:
          description: Timestamp the source itself reported for the chart, when present.
          format: date-time
          type: string
        view_count:
          description: YouTube channel view count when the source is YouTube.
          format: int64
          type: integer
        weekly_avg_downloads:
          description: Source-supplied weekly download estimate (Triton/Podtrac sources).
          format: int64
          type: integer
      required:
        - id
        - source
        - chart_type
        - rank
        - captured_at
        - is_current
        - external_id
        - show
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
    ErrorResolve:
      additionalProperties: false
      properties:
        action:
          type: string
        endpoint:
          type: string
        message:
          type: string
        method:
          type: string
        url:
          type: string
      required:
        - message
      type: object
    Category:
      additionalProperties: false
      properties:
        external_id:
          description: >-
            Source-native identifier for the category. For Apple this is the
            iTunes genre id; for Spotify it duplicates the slug.
          type: string
        name:
          description: Display name of the category.
          type: string
        parent_slug:
          description: >-
            Slug of the parent category, when this is a sub-category of a known
            hierarchy (Apple).
          type: string
        slug:
          description: >-
            Universal category slug (e.g. 'comedy', 'business'). Stable across
            sources, accepted as a filter on every rankings endpoint.
          type: string
      required:
        - slug
        - name
      type: object
    PodcastCompact:
      additionalProperties: false
      properties:
        id:
          description: Podcast ID
          type: string
        image_url:
          description: Cover image URL
          type: string
        publisher:
          $ref: '#/components/schemas/PodcastPublisherCompact'
          description: >-
            Publisher (network) attributed to this podcast. Present only when
            the embedding endpoint preloads publisher attribution and the
            podcast's publisher is known.
        slug:
          description: Human-readable slug identifier
          type: string
        title:
          description: Podcast title
          type: string
      required:
        - id
        - title
      type: object
    ShowSummary:
      additionalProperties: false
      properties:
        content_advisory_rating:
          description: Source-supplied content advisory rating (e.g. 'clean', 'explicit').
          type: string
        description:
          description: Show description as reported by the source.
          type: string
        feed_url:
          description: Show's RSS feed URL as reported by the source.
          type: string
        genres:
          description: Source-reported genre tags (Apple).
          items:
            $ref: '#/components/schemas/Genre'
          type:
            - array
            - 'null'
        image_url:
          description: Best-quality cover art URL available from the source.
          type: string
        language:
          description: ISO 639 language tag as reported by the source.
          type: string
        latest_release_date:
          description: Source-reported latest episode release date, when present.
          format: date-time
          type: string
        name:
          description: Show name as reported by the source.
          type: string
        publisher:
          description: Publisher name as reported by the source.
          type: string
        total_episodes:
          description: Source-reported episode count, when present.
          format: int64
          type: integer
      required:
        - name
      type: object
    PodcastPublisherCompact:
      additionalProperties: false
      properties:
        id:
          description: Publisher ID
          type: string
        name:
          description: Publisher name
          type: string
        slug:
          description: >-
            Human-readable slug identifier (e.g., 'goalhanger',
            'iheartpodcasts'). When present, accepted in place of the ID
            anywhere a publisher reference is taken in the API. Occasionally
            absent on publishers whose name doesn't slugify (e.g., scripts not
            representable in ASCII URL slugs).
          type: string
      required:
        - id
        - name
      type: object
    Genre:
      additionalProperties: false
      properties:
        external_id:
          description: Source-native genre id.
          type: string
        name:
          description: Display name of the genre.
          type: string
      required:
        - external_id
        - name
      type: object
  securitySchemes:
    ApiKeyHeader:
      description: Pass your API key in the X-API-Key header (recommended).
      in: header
      name: X-API-Key
      type: apiKey
    BearerAuth:
      description: Pass your API key as a Bearer token in the Authorization header.
      scheme: bearer
      type: http

````