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

> ## Agent Instructions
> The Exa API is served at https://api.exa.ai. Authenticate with `Authorization: Bearer $EXA_API_KEY` (or `x-api-key: $EXA_API_KEY`); create keys at https://dashboard.exa.ai/api-keys?utm_source=docs&utm_medium=docs&utm_campaign=markdown_instructions. Every way an agent can get access to Exa is described at https://exa.ai/auth.md.
> Prefer the official SDKs, `exa-py` (`pip install exa-py`) and `exa-js` (`npm install exa-js`); both read `EXA_API_KEY` from the environment.
> Tool-using agents can call Exa without writing code through the hosted MCP server at https://mcp.exa.ai/mcp, or install the Exa agent skill with `npx skills add exa-labs/agent-skills` (skill file: https://exa.ai/docs/skill.md).
> The OpenAPI specs at https://exa.ai/docs/exa-spec.yaml and https://exa.ai/docs/team-management-spec.yaml are the source of truth for request and response schemas.

# Podcasts

> Find podcast episodes by topic, filter to podcast sources, and retrieve transcripts with Exa Search.

Use Exa Search to find podcast episodes by topic, guest, or show. You can retrieve transcripts when they're available.

## Choose an Exa product

| Product | When to use it | What to expect |
| - | - | - |
| [Search](https://exa.ai/docs/search/quickstart.md) | Find episodes from a topic, person, or show. | Ranked links with highlights or full text if requested. |
| [Contents](https://exa.ai/docs/contents/quickstart.md) | You already have an episode URL. | Text available for the URL. YouTube results can include spoken dialogue. Apple Podcasts and Spotify results may contain only show notes or a description. |
| [Agent](https://exa.ai/docs/agent/quickstart.md) with [Particle](https://exa.ai/docs/agent/connect/particle.md) | Research what hosts or guests said across episodes. | Ask for speaker-attributed excerpts with timestamps and citations. |
| [Websets](https://exa.ai/docs/websets/quickstart.md) | Build a list of episodes that meet specific criteria. | Episode links checked against your criteria. Use Contents if you need the transcript. |

## Find episodes by topic

Start with the kind of result you want, such as a podcast episode, then describe the conversation you're looking for. Use the result title and highlights to see whether the episode matches before fetching the full transcript.

### Find episodes about a topic

Use a broad topic search when you're open to any show. Name the specific angle you care about. For example, “pricing strategy mistakes” finds founders describing what went wrong, rather than general pricing advice.

```text theme={null}
podcast episodes where founders discuss pricing strategy mistakes
```

### Find a guest appearance

Name the person, their role in the conversation, and what you want to hear them discuss. Use “as a guest” for an interview or “hosted by” if you're looking for the host.

```text theme={null}
podcast episodes featuring Jensen Huang as a guest discussing AI chips
```

Search doesn't have a speaker filter. To check whether the person actually spoke, [get the episode transcript](#get-podcast-transcripts) and look for their name on a speaking turn, not just in the title or description. Some turns have an unidentified speaker label instead of a name.

To find excerpts about what they said, set `contents.highlights.query` to `What Jensen Huang said about AI chips`. This guides passage selection. It doesn't restrict results or excerpts to that speaker.

### Find discussion of a company

Use this when you want commentary about a company, whether or not someone from the company appears. Add the event or relationship you're researching, and check the highlights to see whether it's discussed rather than just mentioned.

```text theme={null}
podcast episodes discussing OpenAI and its partnership with Microsoft
```

### Search within a named show

Name the show and the topic to find relevant episodes in its back catalog. Check the show name in the results. If you need results from that show only, [filter to its episode path](#find-recent-episodes-from-a-show).

```text theme={null}
Hard Fork podcast episodes about AI coding tools
```

## Filter to podcast sources

Use `includeDomains` when you need results from a specific source.

| `includeDomains` value | Returns |
| - | - |
| `exa.ai/library/podcast` | Exa's indexed podcast shows and episodes. Episode URLs contain `/episode/` and their transcripts can include speaker labels and timestamps. |
| `podcasts.apple.com`, `open.spotify.com`, `youtube.com` | Links from the platforms you specify. A platform filter restricts the source, not the type of content. |

This request uses the first option to look for podcast episodes about pricing mistakes:

```python Python theme={null}
from exa_py import Exa

exa = Exa()
result = exa.search(
    "podcast episodes where founders discuss pricing strategy mistakes",
    type="auto",
    num_results=5,
    include_domains=["exa.ai/library/podcast"],
    contents={"highlights": True},
)
```

```javascript JavaScript theme={null}
import Exa from "exa-js";

const exa = new Exa();
const result = await exa.search(
  "podcast episodes where founders discuss pricing strategy mistakes",
  {
    type: "auto",
    numResults: 5,
    includeDomains: ["exa.ai/library/podcast"],
    contents: { highlights: true }
  }
);
```

```bash cURL theme={null}
curl -s https://api.exa.ai/search \
  -H "Authorization: Bearer $EXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "podcast episodes where founders discuss pricing strategy mistakes",
    "type": "auto",
    "numResults": 5,
    "includeDomains": ["exa.ai/library/podcast"],
    "contents": {"highlights": true}
  }'
```

### Find recent episodes from a show

Use `startPublishedDate` for a cutoff in UTC. If Search returns a show URL under `exa.ai/library/podcast`, add `/episode` to that path in `includeDomains` to exclude the show result itself. This request finds Hard Fork episodes published after November 20, 2026 at 00:00 UTC. Replace the date with your own cutoff.

```json theme={null}
{
  "query": "recent episodes of the Hard Fork podcast",
  "type": "auto",
  "numResults": 3,
  "includeDomains": ["exa.ai/library/podcast/p92lv69h8sg/episode"],
  "startPublishedDate": "2026-11-20T00:00:00Z",
  "contents": { "highlights": true }
}
```

## Get podcast transcripts

Read each result's `title`, `url`, and `publishedDate` when available. Use `highlights` to shortlist episodes before fetching full text. To retrieve a transcript in Search, request `contents: { text: true }` and read `results[].text`. If the result doesn't have a transcript, full text can contain show notes or a description instead.

If you already have an episode URL, use Contents to fetch its text directly. This example returns a transcript from The SaaS Podcast:

```python Python theme={null}
from exa_py import Exa

exa = Exa()
result = exa.get_contents(
    ["https://saasclub.io/podcast/saas-pricing-strategy-mistakes-kyle-poyar/"],
    text=True,
)
print(result.results[0].text)
```

```javascript JavaScript theme={null}
import Exa from "exa-js";

const exa = new Exa();
const result = await exa.getContents(
  ["https://saasclub.io/podcast/saas-pricing-strategy-mistakes-kyle-poyar/"],
  { text: true }
);
console.log(result.results[0].text);
```

```bash cURL theme={null}
curl -s https://api.exa.ai/contents \
  -H "Authorization: Bearer $EXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": ["https://saasclub.io/podcast/saas-pricing-strategy-mistakes-kyle-poyar/"],
    "text": true
  }'
```
