> ## 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 mention timeseries

> Returns time-bucketed counts of episodes mentioning an entity, plus per-bucket mention line counts and range totals — the aggregate twin of `/v1/podcasts/mentions`. For windows the search can fully enumerate, bucket counts match what it returns: mentions inside ad reads are excluded by default (pass `include_ads=true` to count them), so use this for mention trend charts instead of paging the search once per period. Buckets are UTC-aligned, zero-filled, and Monday-aligned for weeks. Requires entity_id or company_id. Omitting published_after aggregates all time. Ranges are capped at 1000 buckets.

For appearance trends by speaker role across episode-level filters (language, duration, keyword_search) use `/v1/podcasts/episodes/timeseries` instead; its `role=mention` counts include ad reads.



## OpenAPI

````yaml /openapi.json get /v1/podcasts/mentions/timeseries
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/mentions/timeseries:
    get:
      tags:
        - Podcast Episode Search
        - tier:standard
      summary: Get mention timeseries
      description: >-
        Returns time-bucketed counts of episodes mentioning an entity, plus
        per-bucket mention line counts and range totals — the aggregate twin of
        `/v1/podcasts/mentions`. For windows the search can fully enumerate,
        bucket counts match what it returns: mentions inside ad reads are
        excluded by default (pass `include_ads=true` to count them), so use this
        for mention trend charts instead of paging the search once per period.
        Buckets are UTC-aligned, zero-filled, and Monday-aligned for weeks.
        Requires entity_id or company_id. Omitting published_after aggregates
        all time. Ranges are capped at 1000 buckets.


        For appearance trends by speaker role across episode-level filters
        (language, duration, keyword_search) use
        `/v1/podcasts/episodes/timeseries` instead; its `role=mention` counts
        include ad reads.
      operationId: get-mentions-timeseries
      parameters:
        - description: >-
            Entity slug (e.g., 'sam-altman') or ID. Required when company_id is
            not set.
          explode: false
          in: query
          name: entity_id
          schema:
            description: >-
              Entity slug (e.g., 'sam-altman') or ID. Required when company_id
              is not set.
            type: string
        - description: >-
            Company slug, domain, or ID. Required when entity_id is not set.
            Resolves to the company's linked entity.
          explode: false
          in: query
          name: company_id
          schema:
            description: >-
              Company slug, domain, or ID. Required when entity_id is not set.
              Resolves to the company's linked entity.
            type: string
        - description: Restrict to mentions inside one podcast.
          explode: false
          in: query
          name: podcast_id
          schema:
            description: Restrict to mentions inside one podcast.
            type: string
        - description: >-
            Restrict to mentions on podcasts attributed to one publisher
            (network), by slug or ID.
          explode: false
          in: query
          name: publisher_id
          schema:
            description: >-
              Restrict to mentions on podcasts attributed to one publisher
              (network), by slug or ID.
            type: string
        - description: >-
            Constrain how the entity participates: guest, host, panelist,
            correspondent, or mention.
          explode: false
          in: query
          name: role
          schema:
            description: >-
              Constrain how the entity participates: guest, host, panelist,
              correspondent, or mention.
            enum:
              - guest
              - host
              - panelist
              - correspondent
              - mention
            type: string
        - description: >-
            Mentions inside ad reads (sponsor ad segments, or lines spoken by an
            advertiser) are excluded by default. Pass true to include them.
          explode: false
          in: query
          name: include_ads
          schema:
            description: >-
              Mentions inside ad reads (sponsor ad segments, or lines spoken by
              an advertiser) are excluded by default. Pass true to include them.
            type: boolean
        - description: >-
            Only episodes published on or after this date. Omit to aggregate all
            time.
          explode: false
          in: query
          name: published_after
          schema:
            description: >-
              Only episodes published on or after this date. Omit to aggregate
              all time.
            examples:
              - '2026-01-01'
            type: string
        - description: Only episodes published on or before this date. Defaults to now.
          explode: false
          in: query
          name: published_before
          schema:
            description: Only episodes published on or before this date. Defaults to now.
            examples:
              - '2026-06-01'
            type: string
        - description: Bucket width.
          explode: false
          in: query
          name: interval
          schema:
            default: week
            description: Bucket width.
            enum:
              - day
              - week
              - month
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MentionTimeseries'
          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/mentions/timeseries?interval=week"
components:
  schemas:
    MentionTimeseries:
      additionalProperties: false
      properties:
        buckets:
          description: Contiguous zero-filled buckets in ascending order
          items:
            $ref: '#/components/schemas/MentionTimeseriesBucket'
          type:
            - array
            - 'null'
        company:
          $ref: '#/components/schemas/CompanyCompact'
          description: The resolved company, when company_id was used
        distinct_podcasts:
          description: Distinct podcasts those episodes aired on
          format: int64
          type: integer
        end:
          description: >-
            UTC date of the range's exclusive upper bound. When the bound falls
            inside a day, such as the default of now, mentions on this date up
            to the bound are still counted.
          type: string
        entity:
          $ref: '#/components/schemas/EntityCompact'
          description: The resolved entity the counts are for
        interval:
          description: Bucket width
          enum:
            - day
            - week
            - month
          type: string
        start:
          description: Start of the first bucket as a UTC date
          type: string
        total_episodes:
          description: Episodes with at least one counted mention in the range
          format: int64
          type: integer
        total_mentions:
          description: Counted mention lines across those episodes
          format: int64
          type: integer
      required:
        - interval
        - total_episodes
        - total_mentions
        - distinct_podcasts
        - buckets
      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
    MentionTimeseriesBucket:
      additionalProperties: false
      properties:
        episode_count:
          description: Episodes with at least one counted mention in this bucket
          format: int64
          type: integer
        mention_count:
          description: Counted mention lines in this bucket
          format: int64
          type: integer
        start:
          description: Bucket start as a UTC date
          type: string
      required:
        - start
        - episode_count
        - mention_count
      type: object
    CompanyCompact:
      additionalProperties: false
      properties:
        description:
          description: Short company description, when known.
          type: string
        domain:
          description: Primary website domain (e.g. 'nvidia.com'), when known.
          type: string
        id:
          description: Company identifier (domain, slug, or encoded ID)
          type: string
        image_url:
          description: Company logo or image URL
          type: string
        name:
          description: Company name
          type: string
        slug:
          description: >-
            Stable human-readable handle (the linked knowledge-graph slug, e.g.
            'nvidia'), when known. Companies have no slug of their own; prefer
            this for display and pass it (or id) to /v1/companies.
          type: string
        ticker:
          description: Primary stock ticker symbol, when listed.
          type: string
      required:
        - id
        - name
      type: object
    EntityCompact:
      additionalProperties: false
      properties:
        company:
          $ref: '#/components/schemas/EntityCompany'
          description: Linked company record, if this entity is a known company
        description:
          description: Short description
          type: string
        id:
          description: Entity ID
          type: string
        image_url:
          description: Entity image URL
          type: string
        name:
          description: Entity name
          type: string
        person:
          $ref: '#/components/schemas/EntityPerson'
          description: Linked person record, if this entity is a known person
        slug:
          description: Human-readable slug identifier
          type: string
        type:
          $ref: '#/components/schemas/EntityType'
          description: Category. Omitted when the entity falls outside the supported set.
        wikipedia_url:
          description: Wikipedia URL
          type: string
      required:
        - id
        - slug
        - name
      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
    EntityCompany:
      additionalProperties: false
      properties:
        domain:
          description: Company website domain
          type: string
        id:
          description: Company identifier
          type: string
        ticker:
          description: Primary stock ticker symbol
          type: string
      required:
        - id
      type: object
    EntityPerson:
      additionalProperties: false
      properties:
        company:
          description: Current company name
          type: string
        id:
          description: Person identifier
          type: string
        image_url:
          description: Person headshot URL
          type: string
        title:
          description: Current role title
          type: string
      required:
        - id
      type: object
    EntityType:
      additionalProperties: false
      properties:
        name:
          description: Human-friendly display label (e.g. 'Company').
          type: string
        slug:
          description: >-
            Stable identifier, safe to pass to the type query parameter (e.g.
            'company').
          type: string
      required:
        - slug
        - 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

````