Skip to main content
GET
/
v1
/
podcasts
/
episodes
/
{id}
/
transcript
/
mentions
cURL
curl -H "X-API-Key: $PARTICLE_API_KEY" \
  "https://api.particle.pro/v1/podcasts/episodes/{id}/transcript/mentions?context_lines=2&limit=25"
{
  "entities": [
    {
      "entity": {
        "id": "<string>",
        "name": "<string>",
        "slug": "<string>",
        "company": {
          "id": "<string>",
          "domain": "<string>",
          "ticker": "<string>"
        },
        "description": "<string>",
        "person": {
          "id": "<string>",
          "company": "<string>",
          "image_url": "<string>",
          "title": "<string>"
        },
        "type": {
          "name": "<string>",
          "slug": "<string>"
        },
        "wikipedia_url": "<string>"
      },
      "mention_variants": [
        "<string>"
      ],
      "mentions": [
        {
          "end_seconds": 123,
          "lines": [
            {
              "end_seconds": 123,
              "is_mention": true,
              "number": 123,
              "speaker": "<string>",
              "start_seconds": 123,
              "text": "<string>",
              "role": "<string>"
            }
          ],
          "start_seconds": 123
        }
      ],
      "total_mention_count": 123
    }
  ],
  "episode_id": "<string>",
  "has_more": true,
  "cursor": "<string>"
}

Authorizations

X-API-Key
string
header
required

Pass your API key in the X-API-Key header (recommended).

Path Parameters

id
string
required

Episode slug or ID

Query Parameters

entity_id
string

Entity identifier (KGE ID or slug). When omitted, returns mentions for all entities.

context_lines
integer<int64>
default:2

Lines of dialogue context returned on each side of every mention line. A single mention yields up to 2*context_lines+1 lines (clamped at transcript boundaries). Adjacent or overlapping windows merge into one chunk.

Required range: 0 <= x <= 20
limit
integer<int64>
default:25

Results per page. When entity_id is set, paginates the mentions[] (windows) for that entity; otherwise paginates the top-level entities[].

Required range: 1 <= x <= 100
cursor
string

Opaque pagination cursor from a previous response.

Response

OK

entities
object[] | null
required

Entity mention results. One per entity when entity_id is specified, multiple (paginated) when showing all.

episode_id
string
required

Parent episode ID

has_more
boolean
required

When entity_id is set, true if more mention windows exist beyond this page; otherwise true if more entities exist.

cursor
string

Pass to the next request to fetch the next page.