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

# TMDB

> Community-maintained movie and TV show database providing titles, cast, crew, ratings, images, and release information.

Community-maintained movie and TV show database providing titles, cast, crew, ratings, images, and release information. Best for entertainment-related workflows — building recommendation features, enriching content with movie/show metadata, or looking up cast and production details. The standard source for film and television metadata, with broader coverage than proprietary alternatives.

1 example endpoint available through Lava's AI Gateway. See the [TMDB API docs](https://developer.themoviedb.org/reference/intro/getting-started) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://api.themoviedb.org/3` is supported. TMDB movie/TV API. Construct URL as [https://api.themoviedb.org/3/\&#123;endpoint\&#125](https://api.themoviedb.org/3/\&#123;endpoint\&#125);. Common endpoints: /search/movie?query=inception, /movie/\{id}, /tv/\{id}, /person/\{id}, /trending/all/week. Auth is automatic via Bearer token. The endpoints below are curated examples.</Info>

## Endpoints

### Search for movies

**GET** `https://api.themoviedb.org/3/search/movie?query=inception` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.themoviedb.org/3/search/movie?query=inception', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.themoviedb.org%2F3%2Fsearch%2Fmovie%3Fquery%3Dinception" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
