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

# Supadata

> Transcripts and metadata of YouTube, TikTok, Instagram, X and Facebook videos, YouTube search, AI extraction from video, and web page scraping to Markdown.

![](https://mintcdn.com/webrouter/T_A5Quwg50s_JK2y/logo/data-apis/supadata.webp?fit=max\&auto=format\&n=T_A5Quwg50s_JK2y\&q=85\&s=0c6a50c5b4ad4cf279899518166602f1)

[Web Catalog · Scraping](https://docs.webrouter.net/data-apis.md?category=scraping)

Needs&#x20;

`SUPADATA_API_KEY`

Endpoints

10

Auth

Key in header

[Vendor docs](https://docs.supadata.ai/api-reference/introduction)

&#x20;·&#x20;

[Pricing](https://supadata.ai/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `SUPADATA_API_KEY` | required | a Supadata API key (dash.supadata.ai > API key). Sent in the x-api-key header. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Billed in credits; every response carries an x-billable-requests header with the credits it used (on a 202 job answer it is a precharge estimate, reconciled when the job finishes). Polling a job is free.
* Transcript, extract and crawl can answer 202 with a jobId instead of a result: poll the matching job endpoint until it is done.
* Transcript chunks give offset and duration in milliseconds.
* Crawl, YouTube batch jobs, playlist and channel metadata and transcript translation are in the API but not in this entry.

## Endpoints

GET

Get a video transcript

Existing or AI-generated transcript of a video on YouTube, TikTok, Instagram, X or Facebook, or of a media file.

[Open](#supadata-transcript-get)

GET

Get a transcript job result

Status and, when done, the transcript of a job started by supadata.transcript.get.

[Open](#supadata-transcript-job)

GET

Get media metadata

Unified metadata (title, author, stats, media) of a YouTube, TikTok, Instagram, X or Facebook post.

[Open](#supadata-metadata-get)

GET

Search YouTube

Videos, channels, playlists or movies matching a query, with filters.

[Open](#supadata-youtube-search)

GET

List a YouTube channel's video IDs

Video, Short and live-stream IDs of a channel.

[Open](#supadata-youtube-channel-videos)

GET

Scrape a web page to Markdown

Main content of one page as Markdown, with its links.

[Open](#supadata-web-scrape)

GET

Map a website's links

All links found across a website.

[Open](#supadata-web-map)

POST

Extract structured data from a video

Start an AI job that watches a video and returns data shaped by a prompt and/or JSON Schema.

[Open](#supadata-extract-start)

GET

Get an extract job result

Status and, when done, the extracted data of a job from supadata.extract.start.

[Open](#supadata-extract-result)

GET

Get account and credit usage

Organization, plan and credit usage.

[Open](#supadata-account-get)

### Get a video transcript

GET

`/transcript`

`supadata.transcript.get`

Existing or AI-generated transcript of a video on YouTube, TikTok, Instagram, X or Facebook, or of a media file.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`url` required</td><td>string</td><td>query</td><td>Video or post URL: YouTube, TikTok, Instagram, X (Twitter), Facebook, or a public media file URL. URL-encode it. Example `https://youtu.be/dQw4w9WgXcQ`</td></tr>

    <tr>
      <td>
        `lang`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Preferred transcript language, ISO 639-1; falls back to the first available language.
      </td>
    </tr>

    <tr>
      <td>
        `text`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        true returns plain text instead of timestamped chunks. Default false.
      </td>
    </tr>

    <tr>
      <td>
        `chunkSize`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Maximum characters per chunk, 50 to 10000; only when text=false.
      </td>
    </tr>

    <tr><td>`mode`</td><td>string</td><td>query</td><td>native: only an existing transcript; generate: always AI-generate; auto (default): native, else generate. A file URL is always generate. One of `native`, `auto`, `generate`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/get-transcript)

```python Python theme={null}
router.call_data_api("supadata.transcript.get", {'url': 'https://youtu.be/dQw4w9WgXcQ'})
```

```text MCP theme={null}
call_data_api(endpoint="supadata.transcript.get", params={"url": "https://youtu.be/dQw4w9WgXcQ"})
```

> [!NOTE]
>
> * 1 credit for a native transcript; 2 credits per minute of video for a generated one. A 206 (transcript unavailable) still costs 1 credit. Use mode=native to avoid AI generation costs.
> * A long video answers 202 with a jobId; poll supadata.transcript.job.

### Get a transcript job result

GET

`/transcript/{jobId}`

`supadata.transcript.job`

Status and, when done, the transcript of a job started by supadata.transcript.get.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `jobId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The jobId from a 202 answer.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/api-reference/endpoint/transcript/transcript-get) · Same job: [BetterContact](https://docs.webrouter.net/data-apis/bettercontact.md#bettercontact-contacts-enrich-result), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-snapshot-download), [Clay](https://docs.webrouter.net/data-apis/clay.md#clay-routines-results), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-task-results), [Dune](https://docs.webrouter.net/data-apis/dune.md#dune-execution-results), [Forager](https://docs.webrouter.net/data-apis/forager.md#forager-person-work-email-result)

> [!NOTE]
>
> * Free.

### Get media metadata

GET

`/metadata`

`supadata.metadata.get`

Unified metadata (title, author, stats, media) of a YouTube, TikTok, Instagram, X or Facebook post.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `url`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        URL of the post or video.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/get-metadata)

> [!NOTE]
>
> * 1 credit per call.

### Search YouTube

GET

`/youtube/search`

`supadata.youtube.search`

Videos, channels, playlists or movies matching a query, with filters.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`query` required</td><td>string</td><td>query</td><td>Search query. Example `Never Gonna Give You Up`</td></tr>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Content type, default all. One of `all`, `video`, `channel`, `playlist`, `movie`</td></tr>
    <tr><td>`uploadDate`</td><td>string</td><td>query</td><td>Upload date filter (videos and movies only). One of `all`, `hour`, `today`, `week`, `month`, `year`</td></tr>
    <tr><td>`duration`</td><td>string</td><td>query</td><td>short \<4 min, medium 4-20 min, long >20 min (videos and movies only). One of `all`, `short`, `medium`, `long`</td></tr>
    <tr><td>`sortBy`</td><td>string</td><td>query</td><td>Sort order, default relevance. One of `relevance`, `rating`, `date`, `views`</td></tr>

    <tr>
      <td>
        `features`
      </td>

      <td>
        array
      </td>

      <td>
        query
      </td>

      <td>
        Feature filters, repeated: hd, subtitles, creative-commons, 3d, live, 4k, 360, location, hdr, vr180.
      </td>
    </tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1 to 5000. When set, the API pages for you and returns up to this many results with no nextPageToken.
      </td>
    </tr>

    <tr>
      <td>
        `nextPageToken`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Token from the previous page; other filters are then ignored (query is still required).
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/youtube/search)

```python Python theme={null}
router.call_data_api("supadata.youtube.search", {'query': 'Never Gonna Give You Up'})
```

```text MCP theme={null}
call_data_api(endpoint="supadata.youtube.search", params={"query": "Never Gonna Give You Up"})
```

> [!NOTE]
>
> * Without limit: 1 credit per page and a nextPageToken. With limit: ceil(limit / 20) credits.

### List a YouTube channel's video IDs

GET

`/youtube/channel/videos`

`supadata.youtube.channel_videos`

Video, Short and live-stream IDs of a channel.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>query</td><td>Channel URL, handle or ID. Example `@rickastley`</td></tr>

    <tr>
      <td>
        `limit`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        1 to 5000, default 30.
      </td>
    </tr>

    <tr><td>`type`</td><td>string</td><td>query</td><td>Which videos, default all (regular videos first, then Shorts, then live). One of `all`, `video`, `short`, `live`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/api-reference/endpoint/youtube/channel-videos) · Same job: [akta.pro](https://docs.webrouter.net/data-apis/akta.md#akta-company-social-posts), [AnyAPI](https://docs.webrouter.net/data-apis/anyapi.md#anyapi-facebook-posts), [DEV Community](https://docs.webrouter.net/data-apis/dev-to.md#dev-to-articles-list), [Edges](https://docs.webrouter.net/data-apis/edges.md#edges-post-extract), [Facebook Pages (Graph API)](https://docs.webrouter.net/data-apis/facebook.md#facebook-page-feed), [FastMoss](https://docs.webrouter.net/data-apis/fastmoss.md#fastmoss-videos-search)

```python Python theme={null}
router.call_data_api("supadata.youtube.channel_videos", {'id': '@rickastley'})
```

```text MCP theme={null}
call_data_api(endpoint="supadata.youtube.channel_videos", params={"id": "@rickastley"})
```

> [!NOTE]
>
> * Returns IDs only; get details with supadata.metadata.get.

### Scrape a web page to Markdown

GET

`/web/scrape`

`supadata.web.scrape`

Main content of one page as Markdown, with its links.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `url`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Page URL.
      </td>
    </tr>

    <tr>
      <td>
        `noLinks`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        true strips Markdown links from the content.
      </td>
    </tr>

    <tr>
      <td>
        `lang`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Preferred content language, ISO 639-1 (sets Accept-Language). Default en.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/web/scrape) · Same job: [Andi AI Search](https://docs.webrouter.net/data-apis/andi.md#andi-fetch), [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-scrape), [Brave Search](https://docs.webrouter.net/data-apis/bravesearch.md#bravesearch-llm-context), [BytePlus Searchinfinity](https://docs.webrouter.net/data-apis/byteplus-search.md#byteplus-search-fetch), [cloro](https://docs.webrouter.net/data-apis/cloro.md#cloro-google-product), [Context7](https://docs.webrouter.net/data-apis/context7.md#context7-page-fetch)

> [!NOTE]
>
> * 1 credit per call.

### Map a website's links

GET

`/web/map`

`supadata.web.map`

All links found across a website.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `url`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Website URL.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/api-reference/endpoint/web/map) · Same job: [Context.dev](https://docs.webrouter.net/data-apis/branddev.md#branddev-web-map), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-map), [Firecrawl](https://docs.webrouter.net/data-apis/firecrawl.md#firecrawl-map-urls), [Olostep](https://docs.webrouter.net/data-apis/olostep.md#olostep-maps-create), [Search1API](https://docs.webrouter.net/data-apis/search1api.md#search1api-web-sitemap), [Spider Cloud](https://docs.webrouter.net/data-apis/spidercloud.md#spidercloud-links-collect)

### Extract structured data from a video

POST

`/extract`

`supadata.extract.start`

Start an AI job that watches a video and returns data shaped by a prompt and/or JSON Schema.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `url`

        required
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Video or post URL: YouTube, TikTok, Instagram, X (Twitter), Facebook, or a public media file URL. URL-encode it.
      </td>
    </tr>

    <tr>
      <td>
        `prompt`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        What to extract, in plain language. Required unless schema is set; do not put JSON structure here.
      </td>
    </tr>

    <tr>
      <td>
        `schema`
      </td>

      <td>
        object
      </td>

      <td>
        body
      </td>

      <td>
        JSON Schema of the output. Required unless prompt is set. Large maxItems/maxLength bounds are rejected with 400 before any credits are used.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/get-extract) · Same job: [BounceBan](https://docs.webrouter.net/data-apis/bounceban.md#bounceban-bulk-create), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-filter), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-task-create), [Extruct AI](https://docs.webrouter.net/data-apis/extruct.md#extruct-discovery-create), [Filtrat](https://docs.webrouter.net/data-apis/filtrat.md#filtrat-bulk-create), [FullEnrich](https://docs.webrouter.net/data-apis/fullenrich.md#fullenrich-contact-enrich)

> [!NOTE]
>
> * Starts a billed job: it only produces data and changes nothing else in your account.
> * A read over POST that spends credits. Asynchronous: returns a jobId; poll supadata.extract.result.
> * Videos up to 3 hours and 2 GB, public only.

### Get an extract job result

GET

`/extract/{jobId}`

`supadata.extract.result`

Status and, when done, the extracted data of a job from supadata.extract.start.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `jobId`

        required
      </td>

      <td>
        string
      </td>

      <td>
        path
      </td>

      <td>
        The jobId from supadata.extract.start.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.supadata.ai/api-reference/endpoint/extract/extract-get) · Same job: [BetterContact](https://docs.webrouter.net/data-apis/bettercontact.md#bettercontact-contacts-enrich-result), [Bright Data](https://docs.webrouter.net/data-apis/brightdata.md#brightdata-datasets-snapshot-download), [Clay](https://docs.webrouter.net/data-apis/clay.md#clay-routines-results), [Decodo](https://docs.webrouter.net/data-apis/decodo.md#decodo-task-results), [Dune](https://docs.webrouter.net/data-apis/dune.md#dune-execution-results), [Forager](https://docs.webrouter.net/data-apis/forager.md#forager-person-work-email-result)

### Get account and credit usage

GET

`/me`

`supadata.account.get`

Organization, plan and credit usage.

Input

No inputs.

[Vendor docs](https://docs.supadata.ai/api-reference/endpoint/account/me)

```python Python theme={null}
router.call_data_api("supadata.account.get")
```

```text MCP theme={null}
call_data_api(endpoint="supadata.account.get")
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.