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

# ScrapeCreators API reference

> API reference for ScrapeCreators: every `scrapecreators.api.*` operation with input and output types.

> [!NOTE]
>
> **New to Corsair?** See [API access](https://docs.corsair.dev/concepts/api.md), [authentication](https://docs.corsair.dev/concepts/auth.md), and [error handling](https://docs.corsair.dev/concepts/error-handling).

## Account

### apiUsage

`account.apiUsage`

Returns a paginated list of your API requests, including the endpoint called, status code, credits used, and timestamp

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.account.apiUsage({ page: '1' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `endpoint` | `string` | No | Filter by endpoint name (partial match) |
| `statusCode` | `string` | No | Filter by HTTP status code |
| `page` | `string \| number` | No | Page number for pagination (max 100) |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   id?: string | number | null,
>   endpoint?: string | number | null,
>   status_code?: string | number | null,
>   duration_ms?: string | number | null,
>   success?: boolean | null,
>   response_time?: string | number | null,
>   request_time?: string | number | null,
>   request_payload?: Record<string, any> | null,
>   http_method?: string | number | null,
>   created_at?: string | number | null,
>   duration_secs?: string | number | null,
>   credits?: string | number | null
> }[]
> ```

***

### creditBalance

`account.creditBalance`

Returns your remaining credits in creditCount

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.account.creditBalance({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `creditCount` | `string \| number \| null` | No | — |
| `message` | `string \| number \| null` | No | — |

***

### dailyUsageCount

`account.dailyUsageCount`

Returns aggregated daily usage statistics for the last 30 days, including total credits consumed and number of requests per day

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.account.dailyUsageCount({});
```

**Input:** *empty object*

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   usage_date?: string | number | null,
>   total_credits?: string | number | null,
>   request_count?: string | number | null
> }[]
> ```

***

### mostUsedRoutes

`account.mostUsedRoutes`

Returns your top 20 most called API endpoints ranked by call count, along with total credits consumed per endpoint

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.account.mostUsedRoutes({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `start_time` | `string` | No | Start of time range (ISO 8601 format) |
| `end_time` | `string` | No | End of time range (ISO 8601 format) |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   base_endpoint?: string | number | null,
>   call_count?: string | number | null,
>   total_credits?: string | number | null
> }[]
> ```

***

## Amazon

### shop

`amazon.shop`

Scrapes a creator's Amazon Shop page by URL, returning their storefront profile and product collections

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.amazon.shop({ url: 'https://www.amazon.com/shop/sydneydelrey' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | URL to Amazon Shop page |
| `pageToken` | `string \| number` | No | Opaque page token returned by a previous response for the same shop URL. Pass it back unchanged and do not infer the response type from its prefix. A page can contain lists, videos, or both. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `avatar` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `socials` | `any[] \| null` | No | — |
| `lists` | `any[] \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `trendingPicks` | `any[] \| null` | No | — |
| `curations` | `any[] \| null` | No | — |
| `pageToken` | `string \| number \| null` | No | — |

***

## Apple Music

### album

`appleMusic.album`

Retrieves public Apple Music album details, including title, artist, artwork, release info, tracks, and more by the artist

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.appleMusic.album({ url: 'https://music.apple.com/us/album/lover/1468058165' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Apple Music album id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Apple Music album URL. If you'd prefer to use the id instead, you can use the id parameter instead. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### artist

`appleMusic.artist`

Retrieves public Apple Music artist details, including artwork, editorial notes, top songs, albums, music videos, playlists, and related sections

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.appleMusic.artist({ url: 'https://music.apple.com/us/artist/coldplay/471744' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Apple Music artist id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Apple Music artist URL. If you'd prefer to use the id instead, you can use the id parameter instead. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### search

`appleMusic.search`

Searches Apple Music and returns public result sections for artists, albums, songs, playlists, stations, and music videos

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.appleMusic.search({ query: 'coldplay' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query |
| `type` | `string` | No | Result type to return. Use all, song, album, artist, playlist, station, music\_video, or radio\_episode. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### track

`appleMusic.track`

Retrieves public Apple Music song details by id or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.appleMusic.track({ url: 'https://music.apple.com/us/album/lover/1468058165?i=1468058169' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Apple Music song id. Some songs have standalone song URLs; for album tracks, use the url parameter. |
| `url` | `string` | No | Apple Music song URL or album track URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

## Bluesky

### post

`bluesky.post`

Fetches a single Bluesky post by URL, returning the post's record text, author info, embed content, replyCount, repostCount, likeCount, and quoteCount

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.bluesky.post({ url: 'https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Bluesky post URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `post` | `Record<string, any> \| null` | No | — |
| `replies` | `any[] \| null` | No | — |

***

### profile

`bluesky.profile`

Retrieves a Bluesky user's public profile including handle, displayName, avatar, description, followersCount, followsCount, postsCount, createdAt, and...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.bluesky.profile({ handle: 'bsky.app' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Bluesky handle |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `did` | `string \| number \| null` | No | — |
| `handle` | `string \| number \| null` | No | — |
| `displayName` | `string \| number \| null` | No | — |
| `avatar` | `string \| number \| null` | No | — |
| `associated` | `Record<string, any> \| null` | No | — |
| `labels` | `any[] \| null` | No | — |
| `createdAt` | `string \| number \| null` | No | — |
| `verification` | `Record<string, any> \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `indexedAt` | `string \| number \| null` | No | — |
| `followersCount` | `string \| number \| null` | No | — |
| `followsCount` | `string \| number \| null` | No | — |
| `postsCount` | `string \| number \| null` | No | — |

***

### userPosts

`bluesky.userPosts`

Fetches a paginated feed of posts from a Bluesky user, returning each post's uri, record text, author info, embed content, replyCount, repostCount...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.bluesky.userPosts({ handle: 'bsky.app' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | Bluesky handle |
| `user_id` | `string` | No | Bluesky 'did'. (For some reason Bluesky calls their user ids, 'did' for whatever reason) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `feed` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

## Cosmos

### cluster

`cosmos.cluster`

Get a public Cosmos collection with its owner, description, cover, counts, and public subcollections

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.cosmos.cluster({ url: 'https://www.cosmos.so/design/the-best-band-posters' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Public Cosmos collection URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `slug` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `cover_image_url` | `string \| number \| null` | No | — |
| `post_count` | `string \| number \| null` | No | — |
| `follower_count` | `string \| number \| null` | No | — |
| `owner` | `Record<string, any> \| null` | No | — |
| `subcollections` | `any[] \| null` | No | — |

***

### clusterPosts

`cosmos.clusterPosts`

Get public posts saved to a Cosmos collection

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.cosmos.clusterPosts({ url: 'https://www.cosmos.so/design/the-best-band-posters' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Public Cosmos collection URL. |
| `cursor` | `string \| number` | No | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `total_count` | `string \| number \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

### post

`cosmos.post`

Get a public Cosmos post with media URLs, captions, source links, and save count

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.cosmos.post({ url: 'https://www.cosmos.so/e/2107587668' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Public Cosmos post URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `caption` | `string \| number \| null` | No | — |
| `text` | `any` | No | — |
| `title` | `any` | No | — |
| `description` | `any` | No | — |
| `owner` | `Record<string, any> \| null` | No | — |
| `source_url` | `string \| number \| null` | No | — |
| `source_author` | `Record<string, any> \| null` | No | — |
| `media` | `any[] \| null` | No | — |
| `price` | `any` | No | — |
| `brand` | `any` | No | — |
| `save_count` | `string \| number \| null` | No | — |

***

### profile

`cosmos.profile`

Get a public Cosmos profile with bio, links, and follower counts

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.cosmos.profile({ handle: 'design' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Cosmos username without a profile URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `full_name` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `bio` | `string \| number \| null` | No | — |
| `avatar_url` | `string \| number \| null` | No | — |
| `website_url` | `any` | No | — |
| `is_premium` | `boolean \| null` | No | — |
| `is_verified` | `boolean \| null` | No | — |
| `follower_count` | `string \| number \| null` | No | — |
| `following_count` | `string \| number \| null` | No | — |
| `public_post_count` | `string \| number \| null` | No | — |
| `instagram_url` | `any` | No | — |
| `twitter_url` | `any` | No | — |
| `tiktok_url` | `any` | No | — |

***

### search

`cosmos.search`

Search public Cosmos posts by keyword

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.cosmos.search({ query: 'architecture' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search text. |
| `cursor` | `string \| number` | No | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |
| `result_count` | `string \| number \| null` | No | — |

***

### userClusters

`cosmos.userClusters`

Get the public collections owned by a Cosmos user

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.cosmos.userClusters({ handle: 'design' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Cosmos username without a profile URL. |
| `cursor` | `string \| number` | No | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `total_count` | `string \| number \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

### userPosts

`cosmos.userPosts`

Get the public posts saved to a Cosmos user profile

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.cosmos.userPosts({ handle: 'design' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Cosmos username without a profile URL. |
| `cursor` | `string \| number` | No | Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `total_count` | `string \| number \| null` | No | — |
| `cursor` | `any` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

## Creators

### detectAgeGender

`creators.detectAgeGender`

Uses AI to analyze a creator's profile photo and estimate their age and gender

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.creators.detectAgeGender({ url: 'https://www.instagram.com/nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | URL to users social profile |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `ageRange` | `Record<string, any> \| null` | No | — |
| `gender` | `string \| number \| null` | No | — |
| `confidence` | `Record<string, any> \| null` | No | — |

***

### findEmails

`creators.findEmails`

Accepts a supported platform and creator handle, using the same verified social-profile discovery flow as Find Social Profiles

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.creators.findEmails({ platform: 'instagram', handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `platform` | `instagram \| tiktok \| youtube \| x \| twitter \| facebook` | Yes | Source social platform |
| `handle` | `string` | Yes | Creator handle without a profile URL. A leading @ is optional. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit with no emails; 10 credits with any email (live lookups)). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `source` | `Record<string, any> \| null` | No | — |
| `emails` | `any[] \| null` | No | — |
| `scanned_profile_urls` | `any[] \| null` | No | — |
| `failed_email_scan_urls` | `any[] \| null` | No | — |
| `email_scan_limited` | `boolean \| null` | No | — |
| `link_in_bio_urls` | `any[] \| null` | No | — |
| `expanded_website_urls` | `any[] \| null` | No | — |
| `partial` | `boolean \| null` | No | — |
| `failed_link_in_bio_urls` | `any[] \| null` | No | — |
| `failed_website_urls` | `any[] \| null` | No | — |
| `source_linked_profile_urls` | `any[] \| null` | No | — |
| `failed_source_linked_profile_urls` | `any[] \| null` | No | — |
| `same_handle_candidate_urls` | `any[] \| null` | No | — |
| `same_handle_search_partial` | `boolean \| null` | No | — |
| `google_search_used` | `boolean \| null` | No | — |
| `google_search_failed` | `boolean \| null` | No | — |
| `google_candidate_urls` | `any[] \| null` | No | — |
| `google_candidate_link_in_bio_urls` | `any[] \| null` | No | — |
| `failed_google_candidate_link_in_bio_urls` | `any[] \| null` | No | — |
| `verified_google_candidate_urls` | `any[] \| null` | No | — |
| `failed_google_candidate_urls` | `any[] \| null` | No | — |
| `google_verification_partial` | `boolean \| null` | No | — |

***

### findSocialProfiles

`creators.findSocialProfiles`

Accepts a supported platform and creator handle, validates both using platform-specific rules, and constructs the canonical source profile URL internally

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.creators.findSocialProfiles({ platform: 'instagram', handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `platform` | `instagram \| tiktok \| youtube \| x \| twitter \| facebook` | Yes | Source social platform |
| `handle` | `string` | Yes | Creator handle without a profile URL. A leading @ is optional. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (10 credits). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `source` | `Record<string, any> \| null` | No | — |
| `profiles` | `any[] \| null` | No | — |
| `link_in_bio_urls` | `any[] \| null` | No | — |
| `expanded_website_urls` | `any[] \| null` | No | — |
| `source_linked_profile_urls` | `any[] \| null` | No | — |
| `failed_source_linked_profile_urls` | `any[] \| null` | No | — |
| `same_handle_candidate_urls` | `any[] \| null` | No | — |
| `partial` | `boolean \| null` | No | — |
| `failed_link_in_bio_urls` | `any[] \| null` | No | — |
| `failed_website_urls` | `any[] \| null` | No | — |
| `same_handle_search_partial` | `boolean \| null` | No | — |
| `google_search_used` | `boolean \| null` | No | — |
| `google_search_failed` | `boolean \| null` | No | — |
| `google_candidate_urls` | `any[] \| null` | No | — |
| `google_candidate_link_in_bio_urls` | `any[] \| null` | No | — |
| `failed_google_candidate_link_in_bio_urls` | `any[] \| null` | No | — |
| `verified_google_candidate_urls` | `any[] \| null` | No | — |
| `failed_google_candidate_urls` | `any[] \| null` | No | — |
| `google_verification_partial` | `boolean \| null` | No | — |

***

## Facebook

### adLibraryAd

`facebook.adLibraryAd`

Retrieves detailed information about a specific Facebook ad by its ID or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.adLibraryAd({ id: '1550534860016399' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Facebook Ad Id |
| `url` | `string` | No | Facebook Ad URL |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `get_transcript` | `boolean` | No | Transcription is opt-in via get\_transcript=true. Default short AI (up to 120 seconds, inclusive) is included in the existing base endpoint price, with no extra AI fee. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. On detail routes, successful paid-mode AI costs are in addition to the existing base endpoint cost; media-download pricing is unchanged. Returned native captions leave the base endpoint price unchanged. Empty AI results and errors incur no AI fee; the base scrape fee still applies when the detail scrape succeeds. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit; default short AI is included; allow\_long\_transcription=true adds 10 credits per started minute to the existing base cost). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `adArchiveID` | `string \| number \| null` | No | — |
| `endDate` | `string \| number \| null` | No | — |
| `isAAAEligible` | `boolean \| null` | No | — |
| `isActive` | `boolean \| null` | No | — |
| `pageID` | `string \| number \| null` | No | — |
| `pageName` | `string \| number \| null` | No | — |
| `politicalCountries` | `any[] \| null` | No | — |
| `reachEstimate` | `any` | No | — |
| `snapshot` | `Record<string, any> \| null` | No | — |
| `totalActiveTime` | `string \| number \| null` | No | — |
| `spend` | `any` | No | — |
| `startDate` | `string \| number \| null` | No | — |
| `publisherPlatform` | `any[] \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `startDateString` | `string \| number \| null` | No | — |
| `endDateString` | `string \| number \| null` | No | — |
| `aaa_info` | `any` | No | — |

***

### adLibraryAdTranscript

`facebook.adLibraryAdTranscript`

Retrieves a transcript for a Facebook Ad Library video ad by ID or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.adLibraryAdTranscript({ url: 'https://www.facebook.com/ads/library?id=1020359190509080' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Facebook Ad Id |
| `url` | `string` | No | Facebook Ad URL |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (Returned native captions cost 1 credit, even for long videos with the paid flag. By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow\_long\_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits; no transcript: 0 credits). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### adLibraryCompanyAds

`facebook.adLibraryCompanyAds`

Fetches all ads currently running for a specific company from the Meta Ad Library

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.adLibraryCompanyAds({ companyName: 'nike', country: 'US' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pageId` | `string` | No | The intended company's Facebook Page ID. Use pageId for accurate Page selection instead of relying on the companyName lookup. You can get it from Search for Companies; verify that the result is the company you want. Provide pageId or companyName. |
| `companyName` | `string` | No | Company name for a convenience lookup. We look up the Page for you, but the match may not be the company you intended and can lead to inaccurate results. Use pageId to target the correct company. Provide companyName or pageId. |
| `country` | `string` | No | This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL. |
| `status` | `ALL \| ACTIVE \| INACTIVE` | No | Status of the ad. Defaults to ACTIVE. |
| `media_type` | `ALL \| IMAGE \| VIDEO \| MEME \| IMAGE_AND_MEME \| NONE` | No | Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme. |
| `language` | `string` | No | Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc |
| `sort_by` | `total_impressions \| relevancy_monthly_grouped` | No | Sort by impressions (high to low), or Most Recent (relevancy\_monthly\_grouped). Defaults to impressions. |
| `start_date` | `string` | No | Start date to search for. Format: YYYY-MM-DD |
| `end_date` | `string` | No | End date to search for. Format: YYYY-MM-DD |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cursor` | `string \| number` | No | Cursor to paginate through results |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `results` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### adLibrarySearchAds

`facebook.adLibrarySearchAds`

Searches the Meta Ad Library by keyword and returns matching ads

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.adLibrarySearchAds({ query: 'nike', country: 'US' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Keyword to search for |
| `sort_by` | `total_impressions \| relevancy_monthly_grouped` | No | Sort by impressions (high to low), or Most Recent (relevancy\_monthly\_grouped). Defaults to impressions. |
| `search_type` | `keyword_unordered \| keyword_exact_phrase` | No | If you want to search by exact phrase or not |
| `ad_type` | `all \| political_and_issue_ads` | No | Search for all ads or only political and issue ads |
| `country` | `string` | No | This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL. |
| `language` | `string` | No | Language to filter ads on. Needs to be a 2 letter language code, such as EN, ES, or FR. |
| `status` | `ALL \| ACTIVE \| INACTIVE` | No | Status of the ad. Defaults to ACTIVE. |
| `media_type` | `ALL \| IMAGE \| VIDEO \| MEME \| IMAGE_AND_MEME \| NONE` | No | Media type of the ad. Defaults to ALL. Meme just means the ad has text and an image. No clue why they call it meme. |
| `start_date` | `string` | No | Impressions start date. Needs to be in YYYY-MM-DD format. |
| `end_date` | `string` | No | Impressions end date. Needs to be in YYYY-MM-DD format. |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cursor` | `string \| number` | No | Cursor to paginate through results |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `searchResults` | `any[] \| null` | No | — |
| `searchResultsCount` | `string \| number \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### adLibrarySearchCompanies

`facebook.adLibrarySearchCompanies`

Searches for companies by name in the Meta Ad Library and returns their page IDs for use with other ad library endpoints

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.adLibrarySearchCompanies({ query: 'nike' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Keyword to search for |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `searchResults` | `any[] \| null` | No | — |

***

### eventDetails

`facebook.eventDetails`

Get a specific event by its URL or id

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.eventDetails({ url: 'https://www.facebook.com/events/2255360061870188/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | The ID of the event |
| `url` | `string` | No | The URL of the event |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `category` | `any` | No | — |
| `categories` | `any[] \| null` | No | — |
| `is_online` | `boolean \| null` | No | — |
| `is_past` | `boolean \| null` | No | — |
| `event_kind` | `string \| number \| null` | No | — |
| `privacy` | `string \| number \| null` | No | — |
| `start_time` | `any` | No | — |
| `end_time` | `any` | No | — |
| `time_text` | `any` | No | — |
| `duration` | `string \| number \| null` | No | — |
| `price` | `any` | No | — |
| `ticket_url` | `any` | No | — |
| `ticket_source` | `any` | No | — |
| `ticket_provider` | `any` | No | — |
| `location_name` | `string \| number \| null` | No | — |
| `address` | `string \| number \| null` | No | — |
| `city` | `string \| number \| null` | No | — |
| `city_id` | `string \| number \| null` | No | — |
| `latitude` | `string \| number \| null` | No | — |
| `longitude` | `string \| number \| null` | No | — |
| `attendance_count` | `string \| number \| null` | No | — |
| `attendance_facepile_count` | `string \| number \| null` | No | — |
| `can_view_members` | `boolean \| null` | No | — |
| `host_context_text` | `string \| number \| null` | No | — |
| `hosts` | `any[] \| null` | No | — |
| `host_names` | `any[] \| null` | No | — |
| `creator` | `Record<string, any> \| null` | No | — |
| `description_links` | `any[] \| null` | No | — |
| `can_viewer_message` | `boolean \| null` | No | — |
| `is_viewer_host` | `boolean \| null` | No | — |
| `is_canceled` | `boolean \| null` | No | — |
| `cover_photo_url` | `string \| number \| null` | No | — |
| `day_time_sentence` | `string \| number \| null` | No | — |
| `rsvp_style` | `string \| number \| null` | No | — |
| `event_place` | `Record<string, any> \| null` | No | — |
| `price_info` | `any` | No | — |
| `current_start_timestamp` | `string \| number \| null` | No | — |
| `start_timestamp` | `string \| number \| null` | No | — |
| `start_time_formatted` | `string \| number \| null` | No | — |
| `interested_count` | `string \| number \| null` | No | — |
| `going_count` | `string \| number \| null` | No | — |

***

### events

`facebook.events`

Get the events of a city

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.events({ url: 'https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the city's Facebook Events page |
| `time` | `today \| this_week \| next_week` | No | The time frame to search for. Defaults to all time |
| `cursor` | `string \| number` | No | The cursor to paginate to the next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `events` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### eventsSearch

`facebook.eventsSearch`

Search for events by name

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.eventsSearch({ query: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | The query to search for |
| `cursor` | `string \| number` | No | The cursor to paginate to the next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `events` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### group

`facebook.group`

Fetches the public information shown on a Facebook group's About page, including its description, privacy and visibility, member and activity counts...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.group({ url: 'https://www.facebook.com/groups/366190054572553/about' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | No | The Facebook group URL. Group sub-page URLs such as /about work too. |
| `group_id` | `string` | No | The numeric Facebook group ID. Provide this instead of url if you already have it. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `privacy` | `Record<string, any> \| null` | No | — |
| `visibility` | `Record<string, any> \| null` | No | — |
| `categories` | `any[] \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `history_summary` | `string \| number \| null` | No | — |
| `member_count` | `string \| number \| null` | No | — |
| `member_count_text` | `string \| number \| null` | No | — |
| `administrator_count` | `string \| number \| null` | No | — |
| `moderator_count` | `string \| number \| null` | No | — |
| `administrators` | `any[] \| null` | No | — |
| `moderators` | `any[] \| null` | No | — |
| `activity` | `Record<string, any> \| null` | No | — |
| `rules` | `any[] \| null` | No | — |
| `about_info` | `any[] \| null` | No | — |

***

### groupPosts

`facebook.groupPosts`

Fetches posts from a public Facebook group, limited to 3 posts per page due to API limitations

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.groupPosts({ url: 'https://www.facebook.com/groups/1270525996445602/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | No | The URL of the group |
| `group_id` | `string` | No | The ID of the group |
| `sort_by` | `TOP_POSTS \| RECENT_ACTIVITY \| CHRONOLOGICAL \| CHRONOLOGICAL_LISTINGS` | No | How to sort the posts. Defaults to CHRONOLOGICAL. |
| `cursor` | `string \| number` | No | The cursor to paginate to the next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### marketplaceItem

`facebook.marketplaceItem`

Fetches details for a Facebook Marketplace item by item id or Marketplace item URL, including title, description, price, location, condition, photos...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.marketplaceItem({ url: 'https://www.facebook.com/marketplace/item/1656586118821988/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Facebook Marketplace item id |
| `url` | `string` | No | Facebook Marketplace item URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `creation_time` | `string \| number \| null` | No | — |
| `listing_date_text` | `any` | No | — |
| `availability_text` | `any` | No | — |
| `location_text` | `string \| number \| null` | No | — |
| `location` | `Record<string, any> \| null` | No | — |
| `price` | `Record<string, any> \| null` | No | — |
| `strikethrough_price` | `any` | No | — |
| `category_id` | `string \| number \| null` | No | — |
| `attributes` | `any[] \| null` | No | — |
| `photos` | `any[] \| null` | No | — |
| `is_hidden` | `boolean \| null` | No | — |
| `is_live` | `boolean \| null` | No | — |
| `is_pending` | `boolean \| null` | No | — |
| `is_sold` | `boolean \| null` | No | — |
| `is_viewer_seller` | `boolean \| null` | No | — |
| `is_shipping_offered` | `boolean \| null` | No | — |
| `is_buy_now_enabled` | `boolean \| null` | No | — |
| `messaging_enabled` | `boolean \| null` | No | — |
| `delivery_types` | `any[] \| null` | No | — |
| `share_uri` | `string \| number \| null` | No | — |
| `seller` | `any` | No | — |

***

### marketplaceLocationSearch

`facebook.marketplaceLocationSearch`

Searches Facebook Marketplace locations/cities and returns coordinates you can use with the Marketplace Search endpoint

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.marketplaceLocationSearch({ query: 'Austin' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Location search query |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `locations` | `any[] \| null` | No | — |

***

### marketplaceSearch

`facebook.marketplaceSearch`

Search Facebook Marketplace by keyword or browse a supported category without query

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.marketplaceSearch({ lat: 30.2677, lng: -97.7475, query: 'bike' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | No | Search keyword. Required unless category\_id is provided. |
| `lat` | `number` | Yes | Latitude for the search location |
| `lng` | `number` | Yes | Longitude for the search location |
| `category_id` | `string` | No | Category ID from listing results. Omit query to browse a category below. Allowed IDs for keyword-free browsing: - Antiques: 393860164117441 - Appliances: 678754142233400 - Bicycles: 1658310421102081 - Boats: 712638205822882 - Electronics: 1792291877663080 - Furniture: 1583634935226685 - Garden: 800089866739547 - Household: 1569171756675761 - Tools: 1670493229902393 - Trailers: 655837954899686 - Vehicles: 807311116002614 - Vehicles (alternate ID): 546583916084032 Other category IDs, including Housing, Food, and Services, require a keyword. |
| `radius_km` | `number` | No | Search radius in kilometers |
| `min_price` | `number` | No | Minimum listing price |
| `max_price` | `number` | No | Maximum listing price |
| `sort_by` | `suggested \| distance_ascend \| creation_time_descend \| price_ascend \| price_descend` | No | Facebook Marketplace sort option. creation\_time\_descend usually orders the first pages newest first, but Facebook can insert newer listings on later cursor pages. |
| `delivery_method` | `all \| local_pickup \| shipping` | No | Delivery filter |
| `condition` | `new \| used_like_new \| used_good \| used_fair` | No | Condition filter |
| `date_listed` | `1 \| 7 \| 30 \| all \| last_24_hours \| last_7_days \| last_30_days` | No | Facebook Marketplace date filter. Uses the same calendar-day buckets as the UI, so last\_24\_hours can include listings from the prior calendar day. |
| `availability` | `available \| sold \| all` | No | Availability filter |
| `cursor` | `string \| number` | No | Opaque pagination cursor returned from the previous response. Pass it back as-is. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `listings` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_next_page` | `boolean \| null` | No | — |

***

### post

`facebook.post`

Retrieves a single public Facebook post or reel by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.post({ url: 'https://www.facebook.com/NASA/posts/pfbid0p1m9WeaS3AhspVA64kvq2YKiPijxMyVKfYZrxnwqCpUh4Q7rGtYCBPoYDPuDWX9Tl' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the post to get |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `get_transcript` | `boolean` | No | Transcription is opt-in via get\_transcript=true. Default short AI (up to 120 seconds, inclusive) is included in the existing base endpoint price, with no extra AI fee. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. On detail routes, successful paid-mode AI costs are in addition to the existing base endpoint cost; media-download pricing is unchanged. Returned native captions leave the base endpoint price unchanged. Empty AI results and errors incur no AI fee; the base scrape fee still applies when the detail scrape succeeds. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit; default short AI is included; allow\_long\_transcription=true adds 10 credits per started minute to the existing base cost). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `post_id` | `string \| number \| null` | No | — |
| `shared_post_id` | `any` | No | — |
| `shared_post_url` | `any` | No | — |
| `is_paid_partnership` | `any` | No | — |
| `like_count` | `string \| number \| null` | No | — |
| `comment_count` | `string \| number \| null` | No | — |
| `share_count` | `string \| number \| null` | No | — |
| `view_count` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `creation_time` | `string \| number \| null` | No | — |
| `feedback_id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `image_url` | `any` | No | — |
| `video` | `Record<string, any> \| null` | No | — |
| `author` | `Record<string, any> \| null` | No | — |
| `music` | `Record<string, any> \| null` | No | — |

***

### postCommentReplies

`facebook.postCommentReplies`

Get the replies to a comment with cursor-based pagination

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.postCommentReplies({ feedback_id: 'FEEDBACK_ID_FROM_facebook.postComments', expansion_token: 'EXPANSION_TOKEN_FROM_facebook.postComments' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `feedback_id` | `string` | Yes | The *feedback\_id* of the comment. Be careful, this is not the comment id. You can get the feedback\_id from the /v1/facebook/post/comments endpoint. |
| `expansion_token` | `string` | Yes | Pass the comment's complete, fresh expansion\_token from /v1/facebook/post/comments with sort=all for unfiltered replies. Do not reuse a token from the Most relevant view. |
| `cursor` | `string \| number` | No | The cursor to paginate to the next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `replies` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_next_page` | `boolean \| null` | No | — |

***

### postComments

`facebook.postComments`

Fetches comments from a Facebook post or reel with cursor-based pagination

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.postComments({ url: 'https://www.facebook.com/NASA/posts/pfbid0p1m9WeaS3AhspVA64kvq2YKiPijxMyVKfYZrxnwqCpUh4Q7rGtYCBPoYDPuDWX9Tl' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | No | Facebook post URL (or reel URL) |
| `feedback_id` | `string` | No | Using feedback\_id (instead of url) will *really* speed up the request. You can get the feedback\_id when you make a request to /v1/facebook/post. |
| `sort` | `most_relevant \| all` | No | Defaults to most\_relevant, which can filter comments. Set sort=all to request Facebook's unfiltered view; this does not guarantee every counted comment is available. |
| `cursor` | `string \| number` | No | Cursor from the previous response to get more comments. Keep the same sort on every cursor page. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_next_page` | `boolean \| null` | No | — |

***

### postTranscript

`facebook.postTranscript`

Returns the transcript text for a Facebook video post or reel

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.postTranscript({ url: 'https://www.facebook.com/reel/28748687341476952/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Facebook post URL |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (Returned native captions cost 1 credit, even for long videos with the paid flag. By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow\_long\_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits; no transcript: 0 credits). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `transcript` | `string \| number \| null` | No | — |

***

### profile

`facebook.profile`

Retrieves public Facebook page details including category, address, email, phone, website, services, priceRange, rating, likeCount, talkingAboutCount, and...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.profile({ url: 'https://www.facebook.com/NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Facebook profile URL |
| `get_business_hours` | `string` | No | Get the business's hours |
| `include_gated_profile` | `string` | No | When true, returns limited public fields for gated or age-restricted profiles. Ignored for normal public profiles — those still return the full response. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `adLibrary` | `Record<string, any> \| null` | No | — |
| `creationDate` | `string \| number \| null` | No | — |
| `businessHours` | `any[] \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `isPrivate` | `boolean \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `gender` | `string \| number \| null` | No | — |
| `coverPhoto` | `Record<string, any> \| null` | No | — |
| `isBusinessPageActive` | `boolean \| null` | No | — |
| `profilePhoto` | `Record<string, any> \| null` | No | — |
| `profilePicLarge` | `string \| number \| null` | No | — |
| `profilePicMedium` | `string \| number \| null` | No | — |
| `profilePicSmall` | `string \| number \| null` | No | — |
| `pageIntro` | `string \| number \| null` | No | — |
| `category` | `string \| number \| null` | No | — |
| `address` | `string \| number \| null` | No | — |
| `email` | `string \| number \| null` | No | — |
| `links` | `any[] \| null` | No | — |
| `phone` | `string \| number \| null` | No | — |
| `website` | `string \| number \| null` | No | — |
| `services` | `string \| number \| null` | No | — |
| `priceRange` | `string \| number \| null` | No | — |
| `rating` | `string \| number \| null` | No | — |
| `ratingCount` | `any` | No | — |
| `likeCount` | `string \| number \| null` | No | — |
| `talkingAboutCount` | `string \| number \| null` | No | — |
| `followerCount` | `string \| number \| null` | No | — |

***

### profileEvents

`facebook.profileEvents`

Get the events of a public Facebook page

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.profileEvents({ url: 'https://www.facebook.com/NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the public Facebook page |
| `cursor` | `string \| number` | No | The cursor to paginate to get more events |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `events` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_next_page` | `boolean \| null` | No | — |
| `total_count` | `string \| number \| null` | No | — |

***

### profilePhotos

`facebook.profilePhotos`

Fetches photos from a public Facebook page with pagination support

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.profilePhotos({ url: 'https://www.facebook.com/NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Facebook page URL |
| `next_page_id` | `string \| number` | No | To paginate through to the next page |
| `cursor` | `string \| number` | No | To paginate through to the next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `photos` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `next_page_id` | `string \| number \| null` | No | — |

***

### profilePosts

`facebook.profilePosts`

Returns publicly visible Facebook profile posts, limited to 3 posts per page due to API limitations

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.profilePosts({ url: 'https://www.facebook.com/NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | No | Facebook profile URL |
| `pageId` | `string` | No | Facebook profile page id |
| `cursor` | `string \| number` | No | To paginate through the posts |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### profileReels

`facebook.profileReels`

Fetches up to 10 reels per request from a public Facebook page

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.profileReels({ url: 'https://www.facebook.com/pacemorby' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Facebook page URL |
| `next_page_id` | `string \| number` | No | To paginate through to the next page |
| `cursor` | `string \| number` | No | To paginate through to the next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `reels` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `next_page_id` | `string \| number \| null` | No | — |

***

### searchVideos

`facebook.searchVideos`

Searches Facebook's native public video search without a logged-in account and returns matching videos and Reels

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.facebook.searchVideos({ query: 'nasa artemis' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | The keyword or phrase to search for |
| `cursor` | `string \| number` | No | The opaque cursor returned by the previous response. Keep the query unchanged when paginating. Stop when cursor is null or has\_more is false. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

## Github

### repository

`github.repository`

Retrieves public metadata for one GitHub repository, including owner, description, language, stars, forks, topics, license, visibility, default branch, open...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.repository({ url: 'https://github.com/openai/openai-python' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | GitHub repository URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `repository` | `Record<string, any> \| null` | No | — |

***

### trendingDevelopers

`github.trendingDevelopers`

Scrapes GitHub's public Trending developers page

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.trendingDevelopers({ language: 'typescript' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `language` | `string` | No | Optional trending coding language, e.g. javascript, python, or go. |
| `since` | `daily \| weekly \| monthly` | No | Trending range: daily, weekly, or monthly. Defaults to daily. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `since` | `string \| number \| null` | No | — |
| `language` | `any` | No | — |
| `developers` | `any[] \| null` | No | — |

***

### trendingRepositories

`github.trendingRepositories`

Scrapes GitHub's public Trending repositories page

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.trendingRepositories({ language: 'typescript' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `language` | `string` | No | Optional coding language, e.g. javascript, python, or go. |
| `since` | `daily \| weekly \| monthly` | No | Trending range: daily, weekly, or monthly. Defaults to daily. |
| `spoken_language_code` | `string` | No | Optional spoken language code filter, e.g. en. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `since` | `string \| number \| null` | No | — |
| `language` | `any` | No | — |
| `spoken_language_code` | `any` | No | — |
| `repositories` | `any[] \| null` | No | — |

***

### user

`github.user`

Retrieves public GitHub user details including name, bio, avatar, company, location, blog, follower counts, public repo counts, and account timestamps

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.user({ handle: 'openai' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | GitHub username/handle of the user you want the details for |
| `url` | `string` | No | GitHub user URL, e.g. [https://github.com/torvalds](https://github.com/torvalds). |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `node_id` | `string \| number \| null` | No | — |
| `login` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `company` | `string \| number \| null` | No | — |
| `blog` | `string \| number \| null` | No | — |
| `location` | `string \| number \| null` | No | — |
| `email` | `any` | No | — |
| `bio` | `any` | No | — |
| `twitter_username` | `any` | No | — |
| `avatar_url` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `type` | `string \| number \| null` | No | — |
| `site_admin` | `boolean \| null` | No | — |
| `public_repos` | `string \| number \| null` | No | — |
| `public_gists` | `string \| number \| null` | No | — |
| `followers` | `string \| number \| null` | No | — |
| `following` | `string \| number \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `updated_at` | `string \| number \| null` | No | — |

***

### userActivity

`github.userActivity`

Retrieves GitHub profile contribution activity for a user from the public profile activity timeline

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.userActivity({ handle: 'torvalds' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | GitHub handle |
| `url` | `string` | No | GitHub user URL, e.g. [https://github.com/kentcdodds](https://github.com/kentcdodds). |
| `year` | `number` | No | When provided, returns profile contribution activity for that year. Defaults to the current year. |
| `cursor` | `number` | No | Cursor from the previous response. Pages backward by month through the selected year. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `year` | `string \| number \| null` | No | — |
| `month` | `string \| number \| null` | No | — |
| `activity` | `any[] \| null` | No | — |
| `no_activity` | `boolean \| null` | No | — |
| `message` | `any` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### userContributions

`github.userContributions`

Retrieves the public GitHub contribution graph for a user and year, including total contributions and daily contribution counts/intensity

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.userContributions({ handle: 'torvalds' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | GitHub handle |
| `url` | `string` | No | GitHub profile URL |
| `year` | `number` | No | Contribution graph year. Defaults to the current year. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `contributions` | `Record<string, any> \| null` | No | — |

***

### userFollowers

`github.userFollowers`

Retrieves public GitHub followers for a user

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.userFollowers({ handle: 'torvalds' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | GitHub username/handle of the user you want the followers for |
| `url` | `string` | No | GitHub user URL, e.g. [https://github.com/torvalds](https://github.com/torvalds). |
| `cursor` | `number` | No | Cursor from the previous response. Defaults to 1. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `followers` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### userFollowing

`github.userFollowing`

Retrieves public accounts followed by a GitHub user

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.userFollowing({ handle: 'torvalds' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | GitHub handle |
| `url` | `string` | No | GitHub profile URL |
| `cursor` | `number` | No | Cursor from the previous response. Defaults to 1. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `following` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### userPullRequests

`github.userPullRequests`

Searches public GitHub pull requests authored by a user using GitHub's public search index

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.userPullRequests({ handle: 'torvalds' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | GitHub username/handle of the user you want pull requests for |
| `since` | `string` | No | Only return pull requests created on or after this date. Use YYYY-MM-DD. |
| `until` | `string` | No | Only return pull requests created on or before this date. Use YYYY-MM-DD. |
| `cursor` | `number` | No | Cursor from the previous response. Defaults to 1. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `pull_requests` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

### userRepositories

`github.userRepositories`

Retrieves a user's public repositories with repo metadata like description, language, stars, forks, topics, license, visibility, default branch, and timestamps

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.github.userRepositories({ handle: 'openai' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | GitHub username/handle of the user you want the repositories for |
| `url` | `string` | No | GitHub user URL, e.g. [https://github.com/kentcdodds](https://github.com/kentcdodds). |
| `type` | `owner \| all \| member` | No | Repository type. Defaults to owner. GitHub also supports all and member. |
| `sort` | `created \| updated \| pushed \| full_name` | No | Sort by created, updated, pushed, or full\_name. Defaults to updated. |
| `direction` | `asc \| desc` | No | Sort direction: ascending or descending. |
| `cursor` | `number` | No | Cursor from the previous response. Defaults to 1. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `repositories` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

## Google

### ad

`google.ad`

Retrieves detailed information about a specific Google ad including advertiserId, creativeId, format, firstShown, lastShown, and overallImpressions

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.google.ad({ url: 'https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR05988284867144581121' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The url of the ad |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `advertiserId` | `string \| number \| null` | No | — |
| `creativeId` | `string \| number \| null` | No | — |
| `firstShown` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `lastShown` | `string \| number \| null` | No | — |
| `format` | `string \| number \| null` | No | — |
| `overallImpressions` | `Record<string, any> \| null` | No | — |
| `spend` | `Record<string, any> \| null` | No | — |
| `targeting` | `Record<string, any> \| null` | No | — |
| `creativeRegions` | `any[] \| null` | No | — |
| `regionStats` | `any[] \| null` | No | — |
| `variations` | `any[] \| null` | No | — |

***

### adLibrarySearchAdvertisers

`google.adLibrarySearchAdvertisers`

Searches the Google Ad Transparency Library for advertisers by name

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.google.adLibrarySearchAdvertisers({ query: 'nike' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | The query to search for |
| `region` | `string` | No | 2-letter country code to search in. Defaults to US when omitted. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `advertisers` | `any[] \| null` | No | — |
| `websites` | `any[] \| null` | No | — |

***

### companyAds

`google.companyAds`

Fetches public company ads by domain or advertiser\_id

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.google.companyAds({ domain: 'nike.com' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `domain` | `string` | No | The domain of the company |
| `advertiser_id` | `string` | No | The advertiser id of the company |
| `topic` | `all \| political` | No | The topic to search for. If you search for 'political', you will also need to pass a 'region', like 'US' or 'AU' |
| `region` | `string` | No | The region to search for. Defaults to anywhere |
| `start_date` | `string` | No | Start date to search for. Format: YYYY-MM-DD |
| `end_date` | `string` | No | End date to search for. Format: YYYY-MM-DD |
| `platform` | `google_maps \| google_play \| google_search \| google_shopping \| youtube` | No | Platform to search for. |
| `format` | `text \| image \| video` | No | Ad format to search for. |
| `get_ad_details` | `string` | No | Set to true to get the ad details. Will cost 25 credits. |
| `cursor` | `string \| number` | No | Leave empty for the first request. For the next page, use the cursor from your previous response and keep the same filters. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `ads` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `number_of_ads_estimate` | `string \| number \| null` | No | — |

***

### search

`google.search`

Performs a Google search and returns organic results with url, title, and description for each result

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.google.search({ query: 'nasa artemis ii' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query |
| `region` | `string` | No | 2 letter country code, ie US, UK, CA, etc This will show results from that country |
| `date_posted` | `last-hour \| last-day \| last-week \| last-month \| last-year` | No | Date posted |
| `page` | `number` | No | Page number to retrieve. Must be between 1 and 11; page 12 or greater returns a 400 response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `results` | `any[] \| null` | No | — |

***

## Instagram

### audioReels

`instagram.audioReels`

Fetches the reels Instagram exposes for an audio page like instagram.com/reels/audio/\{audio\_id}/

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.audioReels({ audio_id: '1392969992841787' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `audio_id` | `string` | Yes | The audio id from the Instagram audio page URL. |
| `cursor` | `string \| number` | No | Pagination cursor returned by Instagram from the previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `reels` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

### basicProfile

`instagram.basicProfile`

Fetches a lightweight Instagram profile summary by user ID, returning username, full name, biography, profile picture URL, verification status, follower...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.basicProfile({ userId: '528817151' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `userId` | `string` | No | Instagram user id |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `friendship_status` | `any` | No | — |
| `gating` | `any` | No | — |
| `is_memorialized` | `boolean \| null` | No | — |
| `is_private` | `boolean \| null` | No | — |
| `has_story_archive` | `any` | No | — |
| `supervision_info` | `any` | No | — |
| `is_regulated_c18` | `boolean \| null` | No | — |
| `regulated_news_in_locations` | `any[] \| null` | No | — |
| `bio_links` | `any[] \| null` | No | — |
| `linked_fb_info` | `any` | No | — |
| `text_post_app_badge_label` | `string \| number \| null` | No | — |
| `show_text_post_app_badge` | `boolean \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `text_post_new_post_count` | `any` | No | — |
| `pk` | `string \| number \| null` | No | — |
| `live_broadcast_visibility` | `any` | No | — |
| `live_broadcast_id` | `any` | No | — |
| `profile_pic_url` | `string \| number \| null` | No | — |
| `hd_profile_pic_url_info` | `Record<string, any> \| null` | No | — |
| `is_unpublished` | `boolean \| null` | No | — |
| `latest_reel_media` | `string \| number \| null` | No | — |
| `has_profile_pic` | `any` | No | — |
| `profile_pic_genai_tool_info` | `any[] \| null` | No | — |
| `biography` | `string \| number \| null` | No | — |
| `full_name` | `string \| number \| null` | No | — |
| `is_verified` | `boolean \| null` | No | — |
| `show_account_transparency_details` | `boolean \| null` | No | — |
| `account_type` | `string \| number \| null` | No | — |
| `follower_count` | `string \| number \| null` | No | — |
| `mutual_followers_count` | `any` | No | — |
| `profile_context_links_with_user_ids` | `any` | No | — |
| `address_street` | `any` | No | — |
| `city_name` | `any` | No | — |
| `is_business` | `boolean \| null` | No | — |
| `zip` | `any` | No | — |
| `biography_with_entities` | `Record<string, any> \| null` | No | — |
| `category` | `any` | No | — |
| `should_show_category` | `boolean \| null` | No | — |
| `account_badges` | `any[] \| null` | No | — |
| `ai_agent_type` | `any` | No | — |
| `external_lynx_url` | `any` | No | — |
| `external_url` | `string \| number \| null` | No | — |
| `pronouns` | `any[] \| null` | No | — |
| `transparency_label` | `any` | No | — |
| `transparency_product` | `any` | No | — |
| `has_chaining` | `any` | No | — |
| `remove_message_entrypoint` | `any` | No | — |
| `fbid_v2` | `string \| number \| null` | No | — |
| `is_embeds_disabled` | `boolean \| null` | No | — |
| `is_professional_account` | `any` | No | — |
| `following_count` | `string \| number \| null` | No | — |
| `media_count` | `string \| number \| null` | No | — |
| `total_clips_count` | `string \| number \| null` | No | — |
| `latest_besties_reel_media` | `any` | No | — |
| `reel_media_seen_timestamp` | `any` | No | — |
| `id` | `string \| number \| null` | No | — |

***

### mediaTranscript

`instagram.mediaTranscript`

Generates AI speech-to-text for an Instagram video post or reel

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.mediaTranscript({ url: 'https://www.instagram.com/reel/DgNWTVJhPJX/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Instagram post or reel URL |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow\_long\_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `transcripts` | `any[] \| null` | No | — |

***

### post

`instagram.post`

Fetches detailed metadata for a single Instagram post or reel by shortcode or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.post({ url: 'https://www.instagram.com/p/Df-NlR0PjmN/', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Instagram post or reel URL |
| `region` | `string` | No | 2 letter country code to set the proxy in |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `download_media` | `boolean` | No | Set to true to download the video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise. |
| `include_play_count` | `boolean` | No | Set to false to omit `video_play_count` and skip its additional fetch for a faster response. Defaults to true. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### postCommentReplies

`instagram.postCommentReplies`

Retrieves the public replies to a specific Instagram comment

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.postCommentReplies({ url: 'https://www.instagram.com/reel/C8rKmYvsrck', comment_id: '18038110327814211' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The Instagram post or reel URL |
| `comment_id` | `string` | Yes | The parent comment ID from the Comments endpoint |
| `cursor` | `string \| number` | No | The cursor to get more replies. Get `cursor` from the previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `cursor` | `any` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

### postComments

`instagram.postComments`

Retrieves comments on a public Instagram post or reel

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.postComments({ url: 'https://www.instagram.com/p/Df-NlR0PjmN/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the post or reel to get comments from |
| `include_replies` | `boolean` | No | Set to true to include replies for every returned comment. Costs 15 credits when comments are returned, even if no replies are found; successful pages with no comments cost 0 credits. This is much slower and may time out at 29 seconds. |
| `cursor` | `string \| number` | No | The cursor to get more comments. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comment_count` | `any` | No | — |
| `comments` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### profile

`instagram.profile`

After recent Instagram changes, fetching creator metadata and posts requires several requests to Instagram, so this endpoint can be slower

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.profile({ handle: 'nasa', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Instagram handle |
| `region` | `string` | No | Two-letter country code (ASCII letters, case-insensitive), for example TH. When set, lookup attempts target only that country; Instagram may still not return the requested content. Omit it to keep the usual behavior. |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### profilePostCount

`instagram.profilePostCount`

Returns the post count shown on a public Instagram profile

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.profilePostCount({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Instagram handle |
| `allow_estimated` | `boolean` | No | Set to true to return scaled estimates when Instagram abbreviates counts for profiles with more than 10,000 posts. Defaults to false; false or omitted returns an uncharged 422 when only an estimate is available. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `handle` | `string \| number \| null` | No | — |
| `media_count` | `string \| number \| null` | No | — |
| `is_estimated` | `boolean \| null` | No | — |

***

### reelsSearch

`instagram.reelsSearch`

Use this when you only want Google-indexed Instagram reels matching a keyword or phrase, with optional date filters and pagination

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.reelsSearch({ query: 'rocket launch' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | The keyword to search for |
| `date_posted` | `last-week \| last-month \| last-year` | No | Google-indexed date window. Recent hour/day filters are not supported because Google does not index Instagram reels reliably enough in those windows. |
| `page` | `number` | No | The page number to return. Must be between 1 and 11; page 12 or greater returns a 400 response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `reels` | `any[] \| null` | No | — |

***

### reelsTrending

`instagram.reelsTrending`

Discovers reels through Instagram's public Popular pages and current featured topics, with pagination handled internally

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.reelsTrending({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `reels` | `any[] \| null` | No | — |

***

### search

`instagram.search`

This route first tries Instagram's anonymous native search

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.search({ query: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | The username, hashtag, place, or keyword to search for. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `users` | `any[] \| null` | No | — |
| `hashtags` | `any[] \| null` | No | — |
| `places` | `any[] \| null` | No | — |
| `keywords` | `any[] \| null` | No | — |
| `rank_token` | `any` | No | — |
| `source` | `string \| number \| null` | No | — |

***

### searchHashtag

`instagram.searchHashtag`

Use this when you know the exact hashtag and want Google-indexed public Instagram posts or reels, optional date filters, and pagination

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.searchHashtag({ hashtag: 'space' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `hashtag` | `string` | Yes | The hashtag to search for. Include or omit the #. |
| `date_posted` | `last-hour \| last-day \| last-week \| last-month \| last-year` | No | Only return Google-indexed posts found in this relative window. |
| `media_type` | `all \| reels` | No | Use all to search public posts and reels, or reels to only return reels. Defaults to all. |
| `cursor` | `string \| number` | No | The cursor returned by the previous response. It is the next Google results page number and cannot exceed 11; cursor 12 or greater returns a 400 response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `hashtag` | `string \| number \| null` | No | — |
| `media_type` | `string \| number \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### searchPopular

`instagram.searchPopular`

Use this to explore an Instagram topic and the posts Instagram curates for it

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.searchPopular({ query: 'rocket launch' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | The Popular topic to search for. |
| `cursor` | `string \| number` | No | The opaque cursor returned by the previous response. Use it with the same query to fetch the next page of posts. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `total_media_count` | `string \| number \| null` | No | — |
| `description` | `Record<string, any> \| null` | No | — |
| `suggested_terms` | `any[] \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

### searchProfiles

`instagram.searchProfiles`

Use this for Instagram-native profile lookup

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.searchProfiles({ query: 'space agency' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | The profile name or username to search for. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `profiles` | `any[] \| null` | No | — |
| `cursor` | `any` | No | — |

***

### userEmbed

`instagram.userEmbed`

Returns the raw HTML embed snippet for an Instagram user's profile widget

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.userEmbed({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Instagram handle |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `html` | `string \| number \| null` | No | — |

***

### userHighlightDetail

`instagram.userHighlightDetail`

Returns a highlight's title, cover URL, user info and available stories from Instagram's public web source

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.userHighlightDetail({ id: '18145966027591735' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | The ID of the highlight to get details for |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `can_reshare` | `boolean \| null` | No | — |
| `cover_media` | `Record<string, any> \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `is_fit_green` | `boolean \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `latest_reel_media` | `string \| number \| null` | No | — |
| `reel_type` | `string \| number \| null` | No | — |
| `seen` | `any` | No | — |
| `title` | `string \| number \| null` | No | — |
| `user` | `Record<string, any> \| null` | No | — |

***

### userHighlights

`instagram.userHighlights`

Returns up to 10 story highlight albums visible on Instagram without signing in

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.userHighlights({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user_id` | `string` | No | Instagram user id. Use for faster response times. |
| `handle` | `string` | No | Instagram handle. Use user\_id for faster response times. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `highlights` | `any[] \| null` | No | — |

***

### userPosts

`instagram.userPosts`

Returns a paginated feed of a user's public Instagram posts, including reels, photos, videos, and carousels

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.userPosts({ handle: 'nasa', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Instagram handle |
| `region` | `string` | No | Two-letter country code (ASCII letters, case-insensitive), for example TH. When set, lookup attempts target only that country; Instagram may still not return the requested content. Omit it to keep the usual behavior. Keep the same region on subsequent pages. |
| `require_play_counts` | `boolean` | No | Only the literal query value 'true' enables this check. It requires play\_count on each returned video post; a real 0 is valid. It does not require ig\_play\_count or view counts, or counts on photos. If a required play\_count is missing or null, the request returns an error without charging credits instead of a paid partial success. With the default false, counts remain best-effort: usable posts are still billable even with missing play counts. Retrying does not guarantee that Instagram will return the missing counts. [Why counts can be missing](https://scrapecreators.com/blog/instagram-play-counts-missing). |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `next_max_id` | `string \| number` | No | Cursor to get next page of results. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `next_max_id` | `string \| number \| null` | No | — |
| `num_results` | `string \| number \| null` | No | — |
| `more_available` | `boolean \| null` | No | — |
| `user` | `Record<string, any> \| null` | No | — |

***

### userReels

`instagram.userReels`

Returns a paginated list of a user's public Instagram reels (short-form videos)

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.userReels({ user_id: '528817151', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user_id` | `string` | No | Instagram user id. Use this for faster response times. |
| `handle` | `string` | No | Instagram handle. Use user\_id for faster response times. |
| `region` | `string` | No | Two-letter country code (ASCII letters, case-insensitive), for example TH. When set, lookup attempts target only that country; Instagram may still not return the requested content. Omit it to keep the usual behavior. Keep the same region on subsequent pages. |
| `require_play_counts` | `boolean` | No | Only the literal query value 'true' enables this check. It requires a numeric, nonnegative play\_count on every returned Reel, in both full responses (items\[].media.play\_count) and trim=true responses (items\[].play\_count); a real 0 is valid. A missing, null, nonnumeric or negative play\_count returns HTTP 503 without charging credits instead of a paid partial success. It does not require ig\_play\_count or view counts. With the default false, counts remain best-effort: usable reels are still billable even with missing play counts. This checks presence and numeric validity; it does not guarantee count accuracy or agreement with Instagram Insights. Retrying does not guarantee that Instagram will return the missing counts. [Why counts can be missing](https://scrapecreators.com/blog/instagram-play-counts-missing). |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `max_id` | `string \| number` | No | Max id to get more reels. Get 'max\_id' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `max_id` | `string \| number \| null` | No | — |

***

### userTaggedPosts

`instagram.userTaggedPosts`

Returns up to 10 public posts per page from an Instagram user's Tagged tab

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.instagram.userTaggedPosts({ user_id: '528817151' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `user_id` | `string` | Yes | Numeric Instagram user ID. |
| `cursor` | `string \| number` | No | Cursor returned by the previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

## Kick

### clip

`kick.clip`

Fetches detailed data for a Kick clip by URL, including video, metadata, and channel info

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.kick.clip({ url: 'https://kick.com/xqc/clips/clip_01JGJHB6CEVFCQRYTVPM8DW892' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Kick clip URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `clip` | `Record<string, any> \| null` | No | — |

***

### clipTranscript

`kick.clipTranscript`

Gets a transcript from a public Kick clip

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.kick.clipTranscript({ url: 'https://kick.com/fuzzyzvr/clips/clip_01M35J4DGERS1WE12H82WW0JBB' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Kick clip URL |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `use_ai_as_fallback` | `boolean` | No | Use paid AI only when native captions are unavailable. Defaults to false. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `transcript` | `any` | No | — |
| `transcript_source` | `any` | No | — |

***

## Kwai

### post

`kwai.post`

Fetches public Kwai post details including caption, media URLs, cover images, counts, author info, and music metadata

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.kwai.post({ url: 'https://www.kwai.com/@KwaiBrasilOficial/photo/5193363430624671876' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | No | Kwai post URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### profile

`kwai.profile`

Fetches public Kwai profile data including username, bio, avatar, verification status, gender, and public counts

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.kwai.profile({ url: 'https://www.kwai.com/@KwaiBrasilOficial' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | Kwai profile handle. Use this or url. |
| `url` | `string` | No | Kwai profile URL. Use this or handle. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### userPosts

`kwai.userPosts`

Fetches a paginated list of public Kwai posts for a user, including captions, media URLs, covers, counts, author info, and the next cursor when more results...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.kwai.userPosts({ handle: 'kwai' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | Kwai profile handle. Use this or url. |
| `url` | `string` | No | Kwai profile URL. Use this or handle. |
| `count` | `number` | No | Number of posts to return, max 50 |
| `cursor` | `string \| number` | No | Cursor from the previous response for the next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

## Linkedin

### ad

`linkedin.ad`

Retrieves detailed information about a specific LinkedIn ad by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.ad({ url: 'https://www.linkedin.com/ad-library/detail/1702882626' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The url of the ad |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `headline` | `string \| number \| null` | No | — |
| `poster` | `string \| number \| null` | No | — |
| `targeting` | `Record<string, any> \| null` | No | — |
| `image` | `any` | No | — |
| `video` | `string \| number \| null` | No | — |
| `preRollVideo` | `any` | No | — |
| `organicVideo` | `string \| number \| null` | No | — |
| `preRollAdvertiser` | `any` | No | — |
| `carouselImages` | `any[] \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `adType` | `string \| number \| null` | No | — |
| `creativeType` | `string \| number \| null` | No | — |
| `advertiser` | `string \| number \| null` | No | — |
| `advertiserLinkedinPage` | `string \| number \| null` | No | — |
| `advertiserLogo` | `string \| number \| null` | No | — |
| `cta` | `string \| number \| null` | No | — |
| `sponsoredMessageSender` | `any` | No | — |
| `sponsoredMessageSenderAvatar` | `any` | No | — |
| `sponsoredMessageButtons` | `any[] \| null` | No | — |
| `destinationUrl` | `any` | No | — |
| `landingPage` | `any` | No | — |
| `adDuration` | `string \| number \| null` | No | — |
| `startDate` | `any` | No | — |
| `endDate` | `any` | No | — |
| `totalImpressions` | `any` | No | — |
| `impressionsByCountry` | `any[] \| null` | No | — |
| `imageSources` | `any[] \| null` | No | — |
| `videoSources` | `any[] \| null` | No | — |
| `thumbnailSources` | `any[] \| null` | No | — |
| `preRollVideoSources` | `any[] \| null` | No | — |

***

### adsSearch

`linkedin.adsSearch`

Searches the LinkedIn Ad Library by company name, keyword, or companyId with optional country and date filters

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.adsSearch({ company: 'openai' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `company` | `string` | No | The company name to search for. 'Microsoft' for example |
| `keyword` | `string` | No | The keyword to search for |
| `companyId` | `string` | No | The company id to search for |
| `countries` | `string` | No | Comma separated list of countries. Example: US,CA,MX |
| `startDate` | `string` | No | Start date in YYYY-MM-DD format. Must be used with endDate and cannot be earlier than the date one year ago. |
| `endDate` | `string` | No | End date in YYYY-MM-DD format. Must be used with startDate and cannot be today or a future date. |
| `paginationToken` | `string \| number` | No | Pagination token to paginate through results |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `ads` | `any[] \| null` | No | — |
| `paginationToken` | `string \| number \| null` | No | — |
| `isLastPage` | `boolean \| null` | No | — |
| `totalAds` | `string \| number \| null` | No | — |

***

### company

`linkedin.company`

Fetches a LinkedIn company page with details including name, description, logo, cover image, slogan, location, headquarters, employee count (headcount/staff...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.company({ url: 'https://www.linkedin.com/company/openai' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the LinkedIn company page to get |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `location` | `Record<string, any> \| null` | No | — |
| `employeeCount` | `string \| number \| null` | No | — |
| `website` | `string \| number \| null` | No | — |
| `logo` | `string \| number \| null` | No | — |
| `coverImage` | `string \| number \| null` | No | — |
| `slogan` | `string \| number \| null` | No | — |
| `similarPages` | `any[] \| null` | No | — |
| `industry` | `string \| number \| null` | No | — |
| `size` | `string \| number \| null` | No | — |
| `founded` | `string \| number \| null` | No | — |
| `headquarters` | `string \| number \| null` | No | — |
| `type` | `string \| number \| null` | No | — |
| `specialties` | `any[] \| null` | No | — |
| `funding` | `Record<string, any> \| null` | No | — |
| `employees` | `any[] \| null` | No | — |
| `posts` | `any[] \| null` | No | — |

***

### companyPosts

`linkedin.companyPosts`

Retrieves paginated posts from a LinkedIn company or school page, including each post's URL, ID, publication date, and full text content

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.companyPosts({ url: 'https://www.linkedin.com/company/openai' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The LinkedIn company (/company/) or school (/school/) page URL, for example [https://www.linkedin.com/school/oxfordsbs/](https://www.linkedin.com/school/oxfordsbs/) |
| `page` | `number` | No | The page number to get |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |

***

### job

`linkedin.job`

Fetches one job from LinkedIn's public guest listings

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.job({ url: 'https://www.linkedin.com/jobs/view/4493514166/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | HTTPS LinkedIn job URL. Use the URL from search or a /jobs/view/ link ending in the numeric job ID. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `company` | `Record<string, any> \| null` | No | — |
| `location` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `date_posted` | `any` | No | — |
| `posted_time_ago` | `string \| number \| null` | No | — |
| `employment_type` | `string \| number \| null` | No | — |
| `seniority_level` | `string \| number \| null` | No | — |
| `job_function` | `any` | No | — |
| `industries` | `string \| number \| null` | No | — |
| `accepting_applications` | `boolean \| null` | No | — |

***

### post

`linkedin.post`

Fetches a single LinkedIn post or article, returning the title, headline, full description text, author info with follower count, publication date, like...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.post({ url: 'https://www.linkedin.com/posts/openai_make-a-day-do-anything-with-chatgpt-activity-7531394486988636160-7Nzk' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the LinkedIn post to get |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `activityUrn` | `any` | No | — |
| `contentUrn` | `any` | No | — |
| `url` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `headline` | `string \| number \| null` | No | — |
| `commentCount` | `string \| number \| null` | No | — |
| `likeCount` | `string \| number \| null` | No | — |
| `datePublished` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `author` | `Record<string, any> \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `moreArticles` | `any[] \| null` | No | — |

***

### postTranscript

`linkedin.postTranscript`

Fetches the transcript from a LinkedIn post video when LinkedIn exposes one publicly

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.postTranscript({ url: 'https://www.linkedin.com/posts/openai_make-a-day-do-anything-with-chatgpt-activity-7531394486988636160-7Nzk' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the LinkedIn post to get the transcript from |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `transcript` | `string \| number \| null` | No | — |
| `transcriptNotAvailable` | `boolean \| null` | No | — |

***

### profile

`linkedin.profile`

Retrieves a person's public LinkedIn profile data, including their name, photo, location, follower count (followers), about/bio summary, recent posts, work...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.profile({ url: 'https://www.linkedin.com/in/parrsam/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the LinkedIn profile to get |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `image` | `string \| number \| null` | No | — |
| `location` | `string \| number \| null` | No | — |
| `followers` | `string \| number \| null` | No | — |
| `connections` | `string \| number \| null` | No | — |
| `about` | `string \| number \| null` | No | — |
| `recentPosts` | `any[] \| null` | No | — |
| `experience` | `any[] \| null` | No | — |
| `articles` | `any[] \| null` | No | — |
| `activity` | `any[] \| null` | No | — |
| `education` | `any[] \| null` | No | — |
| `publications` | `any[] \| null` | No | — |
| `projects` | `any[] \| null` | No | — |
| `recommendations` | `any[] \| null` | No | — |
| `similarProfiles` | `any[] \| null` | No | — |

***

### searchJobs

`linkedin.searchJobs`

Searches LinkedIn's native public guest jobs listings without login

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.searchJobs({ query: 'openai research engineer' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Job search keyword or phrase. |
| `location` | `string` | No | City, region or country. Omit to use LinkedIn’s default location. |
| `date_posted` | `last-24-hours \| last-week` | No | Jobs posted in the last 24 hours or week. Omit for any time. |
| `company_id` | `string` | No | Numeric LinkedIn company ID, not a company name or URL. |
| `cursor` | `string \| number` | No | Next offset returned by the previous response. Keep the same search and filters; maximum 990. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `jobs` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### searchPosts

`linkedin.searchPosts`

Finds public LinkedIn posts, feed updates, and Pulse articles by keyword using Google Search, then returns post details such as description, author, media...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkedin.searchPosts({ query: 'openai' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Keyword or phrase to search for in public LinkedIn posts |
| `date_posted` | `last-hour \| last-day \| last-week \| last-month \| last-year` | No | Date posted filter based on Google-indexed results |
| `cursor` | `string \| number` | No | The cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

## Link In Bio

### komi

`linkInBio.komi`

Scrapes a Komi page by URL, extracting the creator's profile, social links, and featured content

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkInBio.komi({ url: 'https://kimkardashian.komi.io/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | URL to Komi page |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `avatar` | `string \| number \| null` | No | — |
| `bio` | `string \| number \| null` | No | — |
| `firstName` | `string \| number \| null` | No | — |
| `lastName` | `string \| number \| null` | No | — |
| `displayName` | `string \| number \| null` | No | — |
| `displayNameImage` | `any` | No | — |
| `instagram` | `string \| number \| null` | No | — |
| `tiktok` | `string \| number \| null` | No | — |
| `youtube` | `string \| number \| null` | No | — |
| `twitter` | `string \| number \| null` | No | — |
| `facebook` | `string \| number \| null` | No | — |
| `snapchat` | `string \| number \| null` | No | — |
| `website` | `any` | No | — |
| `links` | `any[] \| null` | No | — |

***

### linkbio

`linkInBio.linkbio`

Scrapes a Linkbio (lnk.bio) page by URL, extracting the creator's profile and all their links

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkInBio.linkbio({ url: 'https://lnk.bio/msjennafischer' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | URL to Linkbio (lnk.bio) page |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `handle` | `string \| number \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `instagram` | `any` | No | — |
| `email` | `any` | No | — |
| `tiktok` | `any` | No | — |
| `youtube` | `any` | No | — |
| `twitter` | `any` | No | — |
| `whatsapp` | `any` | No | — |
| `website` | `any` | No | — |
| `links` | `any[] \| null` | No | — |

***

### linkme

`linkInBio.linkme`

Retrieves a Linkme profile by URL, including identity, social links, and contact details

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkInBio.linkme({ url: 'https://link.me/danucd' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Linkme profile URL |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `profile` | `Record<string, any> \| null` | No | — |

***

### linktree

`linkInBio.linktree`

Scrapes a Linktree page by URL, extracting the creator's profile and all their links

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkInBio.linktree({ url: 'https://linktr.ee/linktree' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | URL to Linktree page |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `profilePictureUrl` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `verticals` | `any[] \| null` | No | — |
| `linkPlatforms` | `any[] \| null` | No | — |
| `timezone` | `string \| number \| null` | No | — |
| `links` | `any[] \| null` | No | — |
| `instagram` | `string \| number \| null` | No | — |
| `tiktok` | `string \| number \| null` | No | — |
| `spotify` | `string \| number \| null` | No | — |
| `youtube` | `string \| number \| null` | No | — |
| `soundcloud` | `string \| number \| null` | No | — |
| `apple_music` | `string \| number \| null` | No | — |
| `email_address` | `string \| number \| null` | No | — |

***

### pillar

`linkInBio.pillar`

Scrapes a Pillar page by URL, extracting the creator's profile, social links, and products

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.linkInBio.pillar({ url: 'https://pillar.io/angelstrife' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | URL to Pillar page |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `first_name` | `string \| number \| null` | No | — |
| `last_name` | `string \| number \| null` | No | — |
| `email_primary` | `string \| number \| null` | No | — |
| `location` | `string \| number \| null` | No | — |
| `email` | `string \| number \| null` | No | — |
| `amazon` | `string \| number \| null` | No | — |
| `medium` | `string \| number \| null` | No | — |
| `tiktok` | `string \| number \| null` | No | — |
| `twitch` | `string \| number \| null` | No | — |
| `discord` | `string \| number \| null` | No | — |
| `patreon` | `string \| number \| null` | No | — |
| `spotify` | `string \| number \| null` | No | — |
| `twitter` | `string \| number \| null` | No | — |
| `youtube` | `string \| number \| null` | No | — |
| `facebook` | `string \| number \| null` | No | — |
| `linkedin` | `string \| number \| null` | No | — |
| `snapchat` | `string \| number \| null` | No | — |
| `instagram` | `string \| number \| null` | No | — |
| `soundcloud` | `string \| number \| null` | No | — |
| `apple_app_store` | `string \| number \| null` | No | — |
| `google_app_store` | `string \| number \| null` | No | — |
| `links` | `any[] \| null` | No | — |
| `products` | `any[] \| null` | No | — |

***

## Pinterest

### board

`pinterest.board`

Fetches a paginated list of pins from a Pinterest board by URL, returning each pin's id, description, title, images, board info, pin\_join annotations, and...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.pinterest.board({ url: 'https://www.pinterest.com/pinterest/kitchen-gamechangers-under-50/', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the board to get |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response. Retains pins\[].aggregated\_pin\_data.aggregated\_stats.saves and pins\[].pin\_join.visual\_annotation when Pinterest supplies them; these native save counts and keyword labels are not guaranteed for every pin. Only these nested leaves are retained, not the full aggregated\_pin\_data or pin\_join objects. |
| `cursor` | `string \| number` | No | The cursor to get the next page of results |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `pins` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### pin

`pinterest.pin`

Fetches detailed information about a single Pinterest pin by URL, returning title, description, link, dominantColor, originPinner, pinner, images at...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.pinterest.pin({ url: 'https://www.pinterest.com/pin/1042020432563128019', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Pinterest pin URL |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `entityId` | `string \| number \| null` | No | — |
| `seoAltText` | `string \| number \| null` | No | — |
| `originPinner` | `Record<string, any> \| null` | No | — |
| `pinner` | `Record<string, any> \| null` | No | — |
| `imageSpec_orig` | `Record<string, any> \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `shareCount` | `string \| number \| null` | No | — |
| `nativeCreator` | `any` | No | — |
| `createdAt` | `string \| number \| null` | No | — |
| `repinCount` | `string \| number \| null` | No | — |
| `totalReactionCount` | `string \| number \| null` | No | — |

***

### search

`pinterest.search`

Searches Pinterest for pins matching a query, returning results with id, url, title, description, images, link, domain, board info, and pinner details

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.pinterest.search({ query: 'rocket launch', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cursor` | `string \| number` | No | Cursor |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `pins` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### topic

`pinterest.topic`

Retrieves a public Pinterest topic by its ideas URL, returning id, name, url, search\_count, updated\_at, and refinements in the normal success envelope

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.pinterest.topic({ url: 'https://www.pinterest.com/ideas/how-to-stop-leash-pulling/894604313079/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The Pinterest ideas URL of the topic to get. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `search_count` | `string \| number \| null` | No | — |
| `updated_at` | `string \| number \| null` | No | — |
| `refinements` | `any[] \| null` | No | — |

***

### userBoards

`pinterest.userBoards`

Fetches a paginated list of boards for a Pinterest user, returning each board's name, url, description, pin\_count, follower\_count, owner info, cover\_images...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.pinterest.userBoards({ handle: 'pinterest', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | The username of the user to get boards for. (e.g. broadstbullycom from [https://www.pinterest.com/broadstbullycom/](https://www.pinterest.com/broadstbullycom/)) |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `boards` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

## Reddit

### post

`reddit.post`

Retrieves public Reddit post details by URL without fetching or returning comments

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.reddit.post({ url: 'https://www.reddit.com/r/nasa/comments/1y63y08/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Reddit post URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `author` | `string \| number \| null` | No | — |
| `author_fullname` | `string \| number \| null` | No | — |
| `subreddit` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `selftext` | `string \| number \| null` | No | — |
| `downs` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `upvote_ratio` | `string \| number \| null` | No | — |
| `ups` | `string \| number \| null` | No | — |
| `total_awards_received` | `string \| number \| null` | No | — |
| `score` | `string \| number \| null` | No | — |
| `created` | `string \| number \| null` | No | — |
| `created_utc` | `string \| number \| null` | No | — |
| `created_at_iso` | `string \| number \| null` | No | — |
| `num_comments` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `permalink` | `string \| number \| null` | No | — |
| `subreddit_subscribers` | `any` | No | — |
| `is_video` | `boolean \| null` | No | — |
| `archived` | `boolean \| null` | No | — |
| `locked` | `boolean \| null` | No | — |
| `over_18` | `boolean \| null` | No | — |
| `spoiler` | `boolean \| null` | No | — |

***

### postComments

`reddit.postComments`

Retrieves comments and post details from a Reddit post by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.reddit.postComments({ url: 'https://www.reddit.com/r/nasa/comments/1y63y08/', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Reddit post URL |
| `sort` | `confidence \| top \| new \| old \| controversial \| qa` | No | Comment sort for the first page: confidence (Best), top, new, old, controversial, or qa (Q\&A). Use confidence, not best, for Best. Best is the recommended starting point for collecting more comments; browser checks found substantially more top-level comments with Best and Top than with the default, New, or Old on the tested post. This is not a guarantee for every post. Reddit can return different subsets for each sort. For broader coverage, start separate confidence, new, and old runs and deduplicate by comment ID. Follow each run's returned cursors unchanged; a cursor retains its sort, so changing sort does not change an existing cursor chain. Paginate nested replies separately. No sort guarantees every comment or the displayed total. If omitted, the post URL's supported sort is used when present; otherwise Reddit chooses its default. Supported by both GET query parameters and POST JSON-body parameters. |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cursor` | `string \| number` | No | One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `post` | `Record<string, any> \| null` | No | — |
| `more` | `Record<string, any> \| null` | No | — |

***

### postTranscript

`reddit.postTranscript`

Gets the transcript from a Reddit video post or direct v.redd.it URL when Reddit exposes a VTT caption file

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.reddit.postTranscript({ url: 'https://www.reddit.com/r/nasa/comments/1y63y08/' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Reddit post URL or direct v.redd.it video URL |
| `language` | `string` | No | 2 letter language code. Defaults to en. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `post_id` | `string \| number \| null` | No | — |
| `video_id` | `string \| number \| null` | No | — |
| `caption_url` | `string \| number \| null` | No | — |
| `language` | `string \| number \| null` | No | — |
| `raw_vtt` | `string \| number \| null` | No | — |
| `transcript` | `string \| number \| null` | No | — |
| `transcriptNotAvailable` | `boolean \| null` | No | — |

***

### search

`reddit.search`

Searches across all of Reddit for posts or comments matching a query

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.reddit.search({ query: 'artemis ii', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query |
| `filter` | `posts \| comments` | No | Search posts or comments |
| `sort` | `relevance \| new \| top \| comment_count` | No | Sort by. Comment search supports relevance, new, and top; comment\_count is for post search only. |
| `timeframe` | `all \| day \| week \| month \| year` | No | Post search timeframe |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `after` | `string \| number` | No | Used to paginate to next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `after` | `string \| number \| null` | No | — |

***

### subreddit

`reddit.subreddit`

Fetches posts from a subreddit with sorting and filtering options

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.reddit.subreddit({ subreddit: 'nasa', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `subreddit` | `string` | Yes | Subreddit name |
| `timeframe` | `all \| day \| week \| month \| year` | No | Timeframe to get posts from |
| `sort` | `best \| hot \| new \| top \| rising` | No | Sort order |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |
| `after` | `string \| number` | No | After to get more posts. Get 'after' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `after` | `string \| number \| null` | No | — |

***

### subredditDetails

`reddit.subredditDetails`

Retrieves metadata about a subreddit by name or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.reddit.subredditDetails({ subreddit: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `subreddit` | `string` | No | Subreddit name. MUST be case sensitive. So 'AskReddit' not 'askreddit'. |
| `url` | `string` | No | Subreddit URL |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `subreddit_id` | `string \| number \| null` | No | — |
| `display_name` | `string \| number \| null` | No | — |
| `weekly_active_users` | `string \| number \| null` | No | — |
| `weekly_contributions` | `string \| number \| null` | No | — |
| `rules` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `header_img` | `any` | No | — |
| `icon_img` | `string \| number \| null` | No | — |
| `advertiser_category` | `string \| number \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `submit_text` | `string \| number \| null` | No | — |

***

### subredditSearch

`reddit.subredditSearch`

Searches within a specific subreddit for posts, comments, and media matching a query

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.reddit.subredditSearch({ subreddit: 'nasa', query: 'artemis' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `subreddit` | `string` | Yes | Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL) |
| `query` | `string` | No | Search query to find matching content |
| `sort` | `relevance \| hot \| top \| new \| comments` | No | Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new |
| `timeframe` | `all \| year \| month \| week \| day \| hour` | No | Timeframe to filter results |
| `cursor` | `string \| number` | No | Cursor to get more results. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `media` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

## Rumble

### channelVideos

`rumble.channelVideos`

Gets videos from a Rumble channel by handle or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.rumble.channelVideos({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | Rumble channel handle. If you'd prefer to use the URL instead, use the url parameter. |
| `url` | `string` | No | Rumble channel URL. If you'd prefer to use the handle instead, use the handle parameter. |
| `cursor` | `string \| number` | No | Cursor from the previous response. This is the next page number, like 2 or 3. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `channel` | `Record<string, any> \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `shorts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### search

`rumble.search`

Searches Rumble videos by keyword

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.rumble.search({ query: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query. |
| `cursor` | `string \| number` | No | Cursor from the previous response. This is the next page number, like 2 or 3. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `channels` | `any[] \| null` | No | — |
| `playlists` | `any[] \| null` | No | — |
| `shorts` | `any[] \| null` | No | — |
| `lives` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### video

`rumble.video`

Gets Rumble video details by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.rumble.video({ url: 'https://rumble.com/v7iusr0-nasa-faking-space-since-the-beginning-flatearth.html' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Rumble video URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `numericId` | `string \| number \| null` | No | — |
| `embedId` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `embedUrl` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `thumbnail` | `string \| number \| null` | No | — |
| `duration` | `string \| number \| null` | No | — |
| `publishedAt` | `string \| number \| null` | No | — |
| `viewCountText` | `string \| number \| null` | No | — |
| `viewCountInt` | `string \| number \| null` | No | — |
| `likeCount` | `string \| number \| null` | No | — |
| `dislikeCount` | `string \| number \| null` | No | — |
| `width` | `string \| number \| null` | No | — |
| `height` | `string \| number \| null` | No | — |
| `channel` | `Record<string, any> \| null` | No | — |
| `captions` | `Record<string, any> \| null` | No | — |
| `media` | `Record<string, any> \| null` | No | — |
| `shareUrl` | `string \| number \| null` | No | — |
| `isLive` | `boolean \| null` | No | — |

***

### videoComments

`rumble.videoComments`

Gets all top level comments for a Rumble video by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.rumble.videoComments({ url: 'https://rumble.com/v7iusr0-nasa-faking-space-since-the-beginning-flatearth.html' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Rumble video URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `numericId` | `string \| number \| null` | No | — |
| `embedId` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `comments` | `any[] \| null` | No | — |

***

### videoTranscript

`rumble.videoTranscript`

Gets a Rumble video's transcript when captions are available

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.rumble.videoTranscript({ url: 'https://rumble.com/valm19-funny-cat-funny-cat.html' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Rumble video URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `language` | `string \| number \| null` | No | — |
| `transcript` | `string \| number \| null` | No | — |

***

## Snapchat

### profile

`snapchat.profile`

Retrieves a Snapchat user's public profile, available story snaps, curated highlights, and Spotlight content by handle

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.snapchat.profile({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Snapchat username |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `userProfile` | `Record<string, any> \| null` | No | — |
| `story` | `any` | No | — |
| `curatedHighlights` | `any[] \| null` | No | — |
| `spotlightHighlights` | `any[] \| null` | No | — |
| `spotlightStoryMetadata` | `any[] \| null` | No | — |

***

### spotlight

`snapchat.spotlight`

Fetches public data for a Snapchat Spotlight video by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.snapchat.spotlight({ url: 'https://www.snapchat.com/@jack.scalise/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYb3djZ3FqY2VhAZXDhShdAZXDhPWfAAAAAQ' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Snapchat Spotlight URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `spotlight` | `Record<string, any> \| null` | No | — |
| `linkPreview` | `Record<string, any> \| null` | No | — |
| `pageMetadata` | `Record<string, any> \| null` | No | — |
| `videoMetadata` | `Record<string, any> \| null` | No | — |

***

### spotlightComments

`snapchat.spotlightComments`

Fetches public comments from Snapchat's Spotlight comments API by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.snapchat.spotlightComments({ url: 'https://www.snapchat.com/@lilah4823/spotlight/W7_EDlXWTBiXAEEniNoMPwAAYY2pvZnd0ZXVmAZ8fgG8pAZ8ff-_IAAAAAQ' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Snapchat Spotlight URL. |
| `cursor` | `string \| number` | No | Pagination cursor from the previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `snapId` | `string \| number \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `hasMore` | `boolean \| null` | No | — |

***

## Soundcloud

### artist

`soundcloud.artist`

Fetches detailed information about a SoundCloud artist by its handle or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.soundcloud.artist({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | SoundCloud artist handle. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | SoundCloud artist URL. If you'd prefer to use the handle instead, you can use the handle parameter instead. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `avatar_url` | `string \| number \| null` | No | — |
| `city` | `string \| number \| null` | No | — |
| `comments_count` | `string \| number \| null` | No | — |
| `country_code` | `string \| number \| null` | No | — |
| `created_at` | `any` | No | — |
| `creator_subscriptions` | `any[] \| null` | No | — |
| `creator_subscription` | `Record<string, any> \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `followers_count` | `string \| number \| null` | No | — |
| `followings_count` | `string \| number \| null` | No | — |
| `first_name` | `string \| number \| null` | No | — |
| `full_name` | `string \| number \| null` | No | — |
| `groups_count` | `string \| number \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `kind` | `string \| number \| null` | No | — |
| `last_modified` | `string \| number \| null` | No | — |
| `last_name` | `string \| number \| null` | No | — |
| `likes_count` | `string \| number \| null` | No | — |
| `playlist_likes_count` | `string \| number \| null` | No | — |
| `permalink` | `string \| number \| null` | No | — |
| `permalink_url` | `string \| number \| null` | No | — |
| `playlist_count` | `string \| number \| null` | No | — |
| `reposts_count` | `any` | No | — |
| `track_count` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `urn` | `string \| number \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `verified` | `boolean \| null` | No | — |
| `visuals` | `Record<string, any> \| null` | No | — |
| `badges` | `Record<string, any> \| null` | No | — |
| `station_urn` | `string \| number \| null` | No | — |
| `station_permalink` | `string \| number \| null` | No | — |
| `date_of_birth` | `any` | No | — |

***

### artistTracks

`soundcloud.artistTracks`

Fetches tracks/songs for a SoundCloud artist by handle or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.soundcloud.artistTracks({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | SoundCloud artist handle. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | SoundCloud artist tracks URL. If you'd prefer to use the handle instead, you can use the handle parameter instead. |
| `cursor` | `string \| number` | No | Cursor to get more tracks. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `tracks` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### track

`soundcloud.track`

Fetches detailed information about a SoundCloud track/song by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.soundcloud.track({ url: 'https://soundcloud.com/nasa/houston-we-have-a-podcast-capturing-artemis-return' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | SoundCloud track URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `artwork_url` | `string \| number \| null` | No | — |
| `caption` | `any` | No | — |
| `commentable` | `boolean \| null` | No | — |
| `comment_count` | `string \| number \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `description` | `any` | No | — |
| `downloadable` | `boolean \| null` | No | — |
| `download_count` | `string \| number \| null` | No | — |
| `duration` | `string \| number \| null` | No | — |
| `full_duration` | `string \| number \| null` | No | — |
| `embeddable_by` | `string \| number \| null` | No | — |
| `genre` | `string \| number \| null` | No | — |
| `has_downloads_left` | `boolean \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `kind` | `string \| number \| null` | No | — |
| `label_name` | `string \| number \| null` | No | — |
| `last_modified` | `string \| number \| null` | No | — |
| `license` | `string \| number \| null` | No | — |
| `likes_count` | `string \| number \| null` | No | — |
| `permalink` | `string \| number \| null` | No | — |
| `permalink_url` | `string \| number \| null` | No | — |
| `playback_count` | `string \| number \| null` | No | — |
| `public` | `boolean \| null` | No | — |
| `publisher_metadata` | `Record<string, any> \| null` | No | — |
| `purchase_title` | `any` | No | — |
| `purchase_url` | `any` | No | — |
| `release_date` | `string \| number \| null` | No | — |
| `reposts_count` | `string \| number \| null` | No | — |
| `secret_token` | `any` | No | — |
| `sharing` | `string \| number \| null` | No | — |
| `state` | `string \| number \| null` | No | — |
| `streamable` | `boolean \| null` | No | — |
| `tag_list` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `urn` | `string \| number \| null` | No | — |
| `user_id` | `string \| number \| null` | No | — |
| `visuals` | `any` | No | — |
| `waveform_url` | `string \| number \| null` | No | — |
| `display_date` | `string \| number \| null` | No | — |
| `media` | `Record<string, any> \| null` | No | — |
| `station_urn` | `string \| number \| null` | No | — |
| `station_permalink` | `string \| number \| null` | No | — |
| `track_authorization` | `string \| number \| null` | No | — |
| `monetization_model` | `string \| number \| null` | No | — |
| `policy` | `string \| number \| null` | No | — |
| `user` | `Record<string, any> \| null` | No | — |

***

## Spotify

### album

`spotify.album`

Retrieves detailed information about a Spotify album by its id or URL, including album metadata, artists, release date, cover art, copyright info, tracks...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.spotify.album({ url: 'https://open.spotify.com/album/2noRn2Aes5aoNVsU6iWThc' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Spotify album id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Spotify album URL. If you'd prefer to use the id instead, you can use the id parameter instead. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `popularity` | `string \| number \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |
| `copyright` | `any[] \| null` | No | — |
| `courtesyLine` | `string \| number \| null` | No | — |
| `date` | `Record<string, any> \| null` | No | — |
| `isPreRelease` | `boolean \| null` | No | — |
| `label` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `playability` | `Record<string, any> \| null` | No | — |
| `preReleaseEndDateTime` | `any` | No | — |
| `saved` | `boolean \| null` | No | — |
| `sharingInfo` | `Record<string, any> \| null` | No | — |
| `tracksV2` | `any[] \| null` | No | — |
| `type` | `string \| number \| null` | No | — |
| `visualIdentity` | `Record<string, any> \| null` | No | — |
| `watchFeedEntrypoint` | `any` | No | — |
| `artists` | `any[] \| null` | No | — |
| `coverArt` | `Record<string, any> \| null` | No | — |
| `discs` | `any[] \| null` | No | — |
| `releases` | `any[] \| null` | No | — |
| `moreAlbumsByArtist` | `any[] \| null` | No | — |

***

### artist

`spotify.artist`

Retrieves detailed information about a Spotify artist by their handle, including name, followers count, genres, and related artists

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.spotify.artist({ url: 'https://open.spotify.com/artist/4gzpq5DPGxSnKTe4SA8HAU' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Spotify artist id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Spotify artist URL. If you'd prefer to use the id instead, you can use the id parameter instead. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |
| `discography` | `Record<string, any> \| null` | No | — |
| `goods` | `Record<string, any> \| null` | No | — |
| `headerImage` | `Record<string, any> \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `onPlatformReputationTrait` | `Record<string, any> \| null` | No | — |
| `preRelease` | `any` | No | — |
| `profile` | `Record<string, any> \| null` | No | — |
| `relatedContent` | `Record<string, any> \| null` | No | — |
| `relatedMusicVideos` | `any[] \| null` | No | — |
| `saved` | `boolean \| null` | No | — |
| `sharingInfo` | `Record<string, any> \| null` | No | — |
| `stats` | `Record<string, any> \| null` | No | — |
| `unmappedMusicVideos` | `any[] \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `watchFeedEntrypoint` | `any` | No | — |
| `popularity` | `string \| number \| null` | No | — |

***

### playlist

`spotify.playlist`

Retrieves public Spotify playlist metadata and up to 50 tracks by playlist id or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.spotify.playlist({ url: 'https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Spotify playlist id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Spotify playlist URL. If you'd prefer to use the id instead, you can use the id parameter instead. |
| `cursor` | `string \| number` | No | Cursor returned by the previous response. Omit it for the first page. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `followers` | `string \| number \| null` | No | — |
| `images` | `any[] \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `ownerV2` | `Record<string, any> \| null` | No | — |
| `tracks` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `totalCount` | `string \| number \| null` | No | — |

***

### podcast

`spotify.podcast`

Retrieves detailed information about a Spotify podcast by its id or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.spotify.podcast({ url: 'https://open.spotify.com/show/2nUZBo8kQgVfAQ6r7AYd7Y' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Spotify podcast id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Spotify podcast URL. If you'd prefer to use the id instead, you can use the id parameter instead. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |
| `accessInfo` | `any` | No | — |
| `consumptionOrderV2` | `string \| number \| null` | No | — |
| `contentCapabilityTrait` | `Record<string, any> \| null` | No | — |
| `contentRatingV2` | `Record<string, any> \| null` | No | — |
| `contentType` | `string \| number \| null` | No | — |
| `coverArt` | `Record<string, any> \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `episodesV2` | `any[] \| null` | No | — |
| `gatedEntityRelations` | `any[] \| null` | No | — |
| `htmlDescription` | `string \| number \| null` | No | — |
| `mediaType` | `string \| number \| null` | No | — |
| `musicAndTalk` | `boolean \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `playability` | `Record<string, any> \| null` | No | — |
| `publisher` | `Record<string, any> \| null` | No | — |
| `rating` | `Record<string, any> \| null` | No | — |
| `saved` | `boolean \| null` | No | — |
| `sharingInfo` | `Record<string, any> \| null` | No | — |
| `showTypes` | `any[] \| null` | No | — |
| `topics` | `any[] \| null` | No | — |
| `trailerV2` | `any` | No | — |
| `visualIdentity` | `Record<string, any> \| null` | No | — |

***

### podcastEpisodes

`spotify.podcastEpisodes`

Returns episodes for a Spotify podcast

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.spotify.podcastEpisodes({ url: 'https://open.spotify.com/show/2nUZBo8kQgVfAQ6r7AYd7Y' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Spotify podcast id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Spotify podcast URL. If you'd prefer to use the id instead, you can use the id parameter instead. |
| `cursor` | `number` | No | Cursor returned by the previous response. Omit for the first page. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `episodes` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `totalCount` | `string \| number \| null` | No | — |

***

### search

`spotify.search`

Search Spotify for tracks, artists, albums, episodes, podcasts, and audiobooks

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.spotify.search({ query: 'houston we have a podcast' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `albumsV2` | `any[] \| null` | No | — |
| `artists` | `any[] \| null` | No | — |
| `audiobooks` | `any[] \| null` | No | — |
| `episodes` | `any[] \| null` | No | — |
| `genres` | `any[] \| null` | No | — |
| `playlists` | `any[] \| null` | No | — |
| `podcasts` | `any[] \| null` | No | — |
| `topResultsV2` | `any[] \| null` | No | — |
| `tracksV2` | `any[] \| null` | No | — |
| `users` | `any[] \| null` | No | — |

***

### track

`spotify.track`

Retrieves detailed information about a Spotify track by its id or URL, including track metadata, artists, album info, duration, playability, and sharing details

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.spotify.track({ url: 'https://open.spotify.com/track/0VjIjW4GlUZAMYd2vXMi3b' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `id` | `string` | No | Spotify track id. If you'd prefer to use the URL instead, you can use the url parameter instead. |
| `url` | `string` | No | Spotify song URL. If you'd prefer to use the id instead, you can use the id parameter instead. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `popularity` | `string \| number \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |
| `associationsV3` | `Record<string, any> \| null` | No | — |
| `contentRating` | `Record<string, any> \| null` | No | — |
| `duration` | `Record<string, any> \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `mediaType` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `playability` | `Record<string, any> \| null` | No | — |
| `playcount` | `string \| number \| null` | No | — |
| `saved` | `boolean \| null` | No | — |
| `sharingInfo` | `Record<string, any> \| null` | No | — |
| `trackNumber` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `albumOfTrack` | `Record<string, any> \| null` | No | — |
| `firstArtist` | `any[] \| null` | No | — |
| `otherArtists` | `any[] \| null` | No | — |

***

## Telegram

### channel

`telegram.channel`

Retrieves public Telegram channel or group metadata including its name, description, avatar, verification status, subscriber or member count, and public...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.telegram.channel({ handle: 'telegram' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Public Telegram handle, @handle, or t.me channel URL. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `handle` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `avatar_url` | `string \| number \| null` | No | — |
| `is_verified` | `boolean \| null` | No | — |
| `subscriber_count` | `string \| number \| null` | No | — |
| `subscriber_count_text` | `string \| number \| null` | No | — |
| `member_count` | `any` | No | — |
| `member_count_text` | `any` | No | — |
| `photo_count` | `string \| number \| null` | No | — |
| `video_count` | `string \| number \| null` | No | — |
| `file_count` | `any` | No | — |
| `link_count` | `string \| number \| null` | No | — |

***

### channelPosts

`telegram.channelPosts`

Retrieves one public web-preview page of Telegram posts with text, publish date, views, reactions when exposed, forwards, media previews, and link previews

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.telegram.channelPosts({ handle: 'telegram' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Public Telegram handle, @handle, or t.me channel URL. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |
| `cursor` | `string \| number` | No | Numeric cursor returned by the previous page. Omit it for the latest posts. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `channel` | `Record<string, any> \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |

***

### post

`telegram.post`

Retrieves one public Telegram post with its text, publish date, views, reactions when exposed, forward source, media previews, and link preview

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.telegram.post({ url: 'https://t.me/telegram/441' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Public Telegram post URL. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `channel_handle` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `author_name` | `string \| number \| null` | No | — |
| `author_url` | `string \| number \| null` | No | — |
| `text` | `string \| number \| null` | No | — |
| `published_at` | `string \| number \| null` | No | — |
| `view_count` | `string \| number \| null` | No | — |
| `view_count_text` | `string \| number \| null` | No | — |
| `reactions` | `any[] \| null` | No | — |
| `reaction_count` | `string \| number \| null` | No | — |
| `forwarded_from` | `any` | No | — |
| `media` | `any[] \| null` | No | — |
| `link_preview` | `any` | No | — |

***

## Threads

### post

`threads.post`

Fetches a single Threads post by URL, returning the post's caption, like\_count, view\_counts, reshare\_count, direct\_reply\_count, image\_versions2...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.threads.post({ url: 'https://www.threads.com/@nasa/post/DgF1NZ2lYfh' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the post to get |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `post` | `Record<string, any> \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `threadItems` | `any[] \| null` | No | — |
| `relatedPosts` | `any[] \| null` | No | — |

***

### profile

`threads.profile`

Retrieves a Threads user's public profile including username, full\_name, biography, profile\_pic\_url, follower\_count, is\_verified, bio\_links, and...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.threads.profile({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Threads username |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `pk` | `string \| number \| null` | No | — |
| `text_post_app_is_private` | `boolean \| null` | No | — |
| `has_onboarded_to_text_post_app` | `boolean \| null` | No | — |
| `friendship_status` | `any` | No | — |
| `profile_pic_url` | `string \| number \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `text_post_app_remove_mention_entrypoint` | `any` | No | — |
| `show_text_post_app_replies_tab` | `boolean \| null` | No | — |
| `text_app_custom_feeds` | `any` | No | — |
| `gating` | `any` | No | — |
| `follower_count` | `string \| number \| null` | No | — |
| `profile_context_facepile_users` | `any` | No | — |
| `hd_profile_pic_versions` | `any[] \| null` | No | — |
| `is_verified` | `boolean \| null` | No | — |
| `biography` | `string \| number \| null` | No | — |
| `text_app_biography` | `Record<string, any> \| null` | No | — |
| `full_name` | `string \| number \| null` | No | — |
| `bio_links` | `any[] \| null` | No | — |
| `transparency_label` | `any` | No | — |
| `is_threads_only_user` | `boolean \| null` | No | — |
| `show_text_post_app_badge` | `boolean \| null` | No | — |
| `id` | `string \| number \| null` | No | — |

***

### search

`threads.search`

Searches Threads for posts matching a keyword, returning up to 10 results with caption text, like\_count, reshare\_count, direct\_reply\_count, user info, and...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.threads.search({ query: 'artemis', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Keyword to search for |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |

***

### searchUsers

`threads.searchUsers`

Searches for Threads users by username, returning matching profiles with username, full\_name, profile\_pic\_url, is\_verified, and pk

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.threads.searchUsers({ query: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Username to search for |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `users` | `any[] \| null` | No | — |

***

### userPosts

`threads.userPosts`

Fetches the most recent posts from a Threads user, returning id, caption text, code, like\_count, reshare\_count, direct\_reply\_count, repost\_count...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.threads.userPosts({ handle: 'nasa', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Threads username |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |

***

## Tiktok

### adLibraryAd

`tiktok.adLibraryAd`

Fetches one TikTok ad by ID or URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.adLibraryAd({ ad_id: '1881490645213233' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `ad_id` | `string` | Yes | Creative Center Top Ads material ID or URL, or a public Ads Library ad ID or library.tiktok.com detail URL. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `ad_title` | `string \| number \| null` | No | — |
| `brand_name` | `string \| number \| null` | No | — |
| `comment` | `string \| number \| null` | No | — |
| `cost` | `string \| number \| null` | No | — |
| `country_code` | `any[] \| null` | No | — |
| `ctr` | `string \| number \| null` | No | — |
| `favorite` | `boolean \| null` | No | — |
| `has_summary` | `boolean \| null` | No | — |
| `highlight_text` | `string \| number \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `industry_key` | `string \| number \| null` | No | — |
| `is_search` | `boolean \| null` | No | — |
| `keyword_list` | `any` | No | — |
| `landing_page` | `string \| number \| null` | No | — |
| `like` | `string \| number \| null` | No | — |
| `objective_key` | `string \| number \| null` | No | — |
| `objectives` | `any[] \| null` | No | — |
| `pattern_label` | `any[] \| null` | No | — |
| `share` | `string \| number \| null` | No | — |
| `source` | `string \| number \| null` | No | — |
| `source_key` | `string \| number \| null` | No | — |
| `video_info` | `Record<string, any> \| null` | No | — |
| `voice_over` | `boolean \| null` | No | — |
| `creative_center_url` | `string \| number \| null` | No | — |
| `detail_analysis` | `any` | No | — |
| `interactive_time_analysis` | `Record<string, any> \| null` | No | — |
| `recommended_for_you` | `any[] \| null` | No | — |

***

### adLibrarySearch

`tiktok.adLibrarySearch`

Searches TikTok's public Ads Library using either query for a general search or advertiser\_name for advertiser-specific results

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.adLibrarySearch({ query: 'nike' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | No | General ad search. Provide either query or advertiser\_name, not both. |
| `advertiser_name` | `string` | No | Advertiser name to resolve through TikTok's typeahead and search by advertiser entity. Falls back to TikTok's name search when no entity matches. Provide either advertiser\_name or query, not both. |
| `adv_biz_ids` | `string` | No | TikTok advertiser business ID from a See all ads link. Use it with advertiser\_name to pin the exact advertiser. Required companion: advertiser\_name; ID-only searches return 400 because TikTok ignores the ID without the name. |
| `start_time` | `number` | No | Inclusive lower bound for the ad's last shown date; end\_time is the inclusive upper bound. Supply start\_time and end\_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start\_time must be less than or equal to end\_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad\_request. |
| `end_time` | `number` | No | Inclusive upper bound for the ad's last shown date; start\_time is the inclusive lower bound. Supply start\_time and end\_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start\_time must be less than or equal to end\_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad\_request. |
| `region` | `all \| AT \| BE \| BG \| BR \| CH \| CY \| CZ \| DE \| DK \| EE \| ES \| FI \| FR \| GB \| GR \| HR \| HU \| IE \| IS \| IT \| LI \| LT \| LU \| LV \| MT \| NL \| NO \| PL \| PT \| RO \| SE \| SI \| SK \| TR` | No | Filter by the ad's targeting/delivery country, not the advertiser's registration country. Omitted region defaults to all supported countries, not every country worldwide. Values are case-insensitive; choose all or one of the listed country codes. US is not supported. Empty values, unsupported countries and multiple countries return 400 bad\_request. |
| `cursor` | `string \| number` | No | Opaque cursor returned from the previous response. Repeat the same query or advertiser\_name, adv\_biz\_ids when used, and any explicit start\_time, end\_time and region filters with every returned cursor. Pass the cursor unchanged; it does not replace the search inputs or filters. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `source` | `string \| number \| null` | No | — |
| `advertiser_name` | `string \| number \| null` | No | — |
| `resolved_advertiser_name` | `string \| number \| null` | No | — |
| `advertiser_matches` | `any[] \| null` | No | — |
| `ads` | `any[] \| null` | No | — |
| `total` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### collectionVideos

`tiktok.collectionVideos`

Fetches the videos saved in a public TikTok collection, which TikTok also calls a playlist

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.collectionVideos({ url: 'https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Public TikTok collection URL |
| `cursor` | `string \| number` | No | Cursor to get more videos. Use max\_cursor from the previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `collection_id` | `string \| number \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |
| `max_cursor` | `string \| number \| null` | No | — |
| `status_code` | `string \| number \| null` | No | — |
| `status_msg` | `string \| number \| null` | No | — |
| `videos` | `any[] \| null` | No | — |

***

### live

`tiktok.live`

Gets curated room-level info for a TikTok live from TikTok's public live-room source

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.live({ room_id: '7523685855395842871', user_id: '6742945285876515845' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `room_id` | `string` | Yes | TikTok live room id. Get this from `/v1/tiktok/user/live` in `liveRoomUserInfo.roomId` or `liveRoom.id` when the user is live. |
| `user_id` | `string` | Yes | TikTok numeric user id for the live owner. Get this from `/v1/tiktok/profile` in `user.id`. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `room_id` | `string \| number \| null` | No | — |
| `like_count` | `string \| number \| null` | No | — |
| `viewer_count` | `string \| number \| null` | No | — |
| `status` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `cover_url` | `string \| number \| null` | No | — |
| `owner` | `Record<string, any> \| null` | No | — |

***

### product

`tiktok.product`

Fetches full details for a specific US TikTok Shop product by its URL, including stock levels and affiliate videos

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.product({ url: 'https://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies-with-vitamin-d-ksm-66-vegan-non-gmo/1729587769570529799' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the product to get details for. |
| `region` | `string` | No | Region for the product details request. US is the reliable region right now; non-US regions should not be considered reliable and may return `bad_request` or missing product data. Sorry for the inconvenience. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `categories` | `any[] \| null` | No | — |
| `sale_region` | `string \| number \| null` | No | — |
| `error_code` | `string \| number \| null` | No | — |
| `error_message` | `string \| number \| null` | No | — |
| `product_info` | `Record<string, any> \| null` | No | — |
| `shop_info` | `Record<string, any> \| null` | No | — |
| `shop_performance` | `any[] \| null` | No | — |
| `related_videos` | `any[] \| null` | No | — |

***

### profile

`tiktok.profile`

Fetches public profile data for a TikTok user by their handle or user\_id

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.profile({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | TikTok handle. You can pass handle or user\_id. |
| `user_id` | `string` | No | TikTok user id. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `user` | `Record<string, any> \| null` | No | — |
| `stats` | `Record<string, any> \| null` | No | — |
| `itemList` | `any[] \| null` | No | — |

***

### profileRegion

`tiktok.profileRegion`

Returns the TikTok region code for a public profile, like `US` for United States or `MX` for Mexico

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.profileRegion({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | TikTok handle |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `credits` | `string \| number \| null` | No | — |
| `handle` | `string \| number \| null` | No | — |
| `profile_url` | `string \| number \| null` | No | — |
| `region` | `string \| number \| null` | No | — |

***

### profileVideos

`tiktok.profileVideos`

Fetches videos posted by a TikTok user, sortable by latest or most popular

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.profileVideos({ handle: 'nasa', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | TikTok handle |
| `user_id` | `string` | No | TikTok user id. Use this for faster responses. |
| `sort_by` | `latest \| popular` | No | What to sort by |
| `region` | `string` | No | Country code passed to the profile-feed source. Defaults to US. If a profile should have videos but returns none, try another relevant two-letter country code. Changing this value does not guarantee that region-restricted posts will appear. |
| `include_pinned` | `boolean` | No | Whether to include pinned posts. Defaults to true. Set to false to exclude posts marked as pinned, including with trim=true. Keep this value unchanged while paginating. Filtering can produce shorter or empty pages; follow has\_more and max\_cursor. Successful pages still cost 1 credit, including empty results. |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `max_cursor` | `string \| number` | No | Cursor to get more videos. Get 'max\_cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `aweme_list` | `any[] \| null` | No | — |
| `max_cursor` | `string \| number \| null` | No | — |

***

### searchHashtag

`tiktok.searchHashtag`

Searches for TikTok videos under a specific hashtag

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.searchHashtag({ hashtag: 'space', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `hashtag` | `string` | Yes | Hashtag to search for (without #) |
| `region` | `string` | No | Region the proxy will be set to. Note: this isn't going to grab you all tiktoks from this region, you're just setting the proxy there. |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `cursor` | `number` | No | Cursor to get more videos. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `aweme_list` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### searchKeyword

`tiktok.searchKeyword`

Searches for TikTok videos by keyword or phrase

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.searchKeyword({ query: 'artemis launch', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Keyword to search for |
| `date_posted` | `yesterday \| this-week \| this-month \| last-3-months \| last-6-months \| all-time` | No | Time Frame |
| `sort_by` | `relevance \| most-liked \| date-posted` | No | Sort by |
| `region` | `string` | No | Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `cursor` | `number` | No | Cursor to get more videos. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `search_item_list` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### searchSuggestions

`tiktok.searchSuggestions`

Gets the autocomplete suggestions TikTok shows while someone is typing in search

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.searchSuggestions({ query: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query to get suggestions for |
| `region` | `string` | No | Region code for suggestions |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `suggestions` | `any[] \| null` | No | — |

***

### searchTop

`tiktok.searchTop`

Searches TikTok's 'Top' results by query

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.searchTop({ query: 'nasa', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Keyword to search for |
| `publish_time` | `yesterday \| this-week \| this-month \| last-3-months \| last-6-months \| all-time` | No | Time Frame TikTok was posted |
| `sort_by` | `relevance \| most-liked \| date-posted` | No | Sort by |
| `region` | `string` | No | Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `cursor` | `number` | No | Cursor to get more videos. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `items` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### searchUsers

`tiktok.searchUsers`

Searches for TikTok users by keyword or name

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.searchUsers({ query: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query for users |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `cursor` | `number` | No | Cursor to get more users. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `users` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### shopProductReviews

`tiktok.shopProductReviews`

Fetches customer reviews for a TikTok Shop product by URL or product\_id

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.shopProductReviews({ url: 'https://www.tiktok.com/shop/pdp/cat-nail-clipper-by-potaroma-adjustable-sizes-built-in-file-safe-for-kittens-cats/1731578642912612516' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | No | The URL of the product (required if product\_id is not provided) |
| `product_id` | `string` | No | The ID of the product (required if url is not provided) |
| `region` | `string` | No | The region of the product. US is the reliable region right now; non-US regions should not be considered reliable and may return limited or inconsistent review data. Sorry for the inconvenience. |
| `page` | `number` | No | The page number of the reviews |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |
| `total_reviews` | `string \| number \| null` | No | — |
| `product_reviews` | `any[] \| null` | No | — |
| `review_ratings` | `Record<string, any> \| null` | No | — |

***

### shopProducts

`tiktok.shopProducts`

Lists all products from a specific TikTok Shop store by its URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.shopProducts({ url: 'https://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The TikTok Shop store URL. |
| `sort_by` | `top \| new_releases` | No | Sort products by best-selling items (`top`) or newest products (`new_releases`). Defaults to `top`. |
| `region` | `US \| GB \| DE \| FR \| IT \| ID \| MY \| MX \| PH \| SG \| ES \| TH \| VN \| BR \| JP \| IE` | No | Region to get shop products from. Defaults to US if not provided. Non-US regions are not reliable right now and may return `not_found` or limited catalog data even when the shop appears in search. Sorry for the inconvenience. |
| `cursor` | `string \| number` | No | Cursor parameter from the previous response to retrieve the next page of products. Omit for the first page. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `shopInfo` | `Record<string, any> \| null` | No | — |
| `products` | `any[] \| null` | No | — |
| `has_more` | `boolean \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### shopSearch

`tiktok.shopSearch`

Searches TikTok Shop for products matching a keyword query

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.shopSearch({ query: 'running shoes' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Term you want to search for |
| `region` | `US \| GB \| DE \| FR \| IT \| ID \| MY \| MX \| PH \| SG \| ES \| TH \| VN \| BR \| JP \| IE` | No | Region to search shop products in. Non-US TikTok Shop regions are not reliable right now and may return limited or inconsistent results. Sorry for the inconvenience. |
| `page` | `number` | No | Page number to retrieve |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `total_products` | `string \| number \| null` | No | — |
| `products` | `any[] \| null` | No | — |

***

### song

`tiktok.song`

Fetches detailed metadata for a specific TikTok sound or song by its clipId

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.song({ clipId: '7665075815390645006' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clipId` | `string` | Yes | This is a little confusing because this isn't songId like you'd think. It is the clipId. I guess because you can clip different portions of a song 🤷‍♂️ |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `music_info` | `Record<string, any> \| null` | No | — |
| `rec_list` | `any[] \| null` | No | — |
| `similar_music` | `any[] \| null` | No | — |
| `similar_music_ids` | `any` | No | — |
| `status_code` | `string \| number \| null` | No | — |
| `status_msg` | `string \| number \| null` | No | — |

***

### songVideos

`tiktok.songVideos`

Fetches TikTok videos that use a specific sound or song, identified by its clipId

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.songVideos({ clipId: '7665075815390645006' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `clipId` | `string` | No | This is clipId. Can be found on a url like so: [https://www.tiktok.com/music/That%27s-Who-I-Praise-7370375686554782506](https://www.tiktok.com/music/That%27s-Who-I-Praise-7370375686554782506), where 7370375686554782506 is the clipId |
| `cursor` | `number` | No | The cursor to get the next page of results. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `aweme_list` | `any[] \| null` | No | — |
| `can_pin_video` | `boolean \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `extra` | `Record<string, any> \| null` | No | — |
| `has_more` | `string \| number \| null` | No | — |
| `log_pb` | `Record<string, any> \| null` | No | — |
| `need_lazy_loading` | `boolean \| null` | No | — |
| `status_code` | `string \| number \| null` | No | — |
| `status_msg` | `string \| number \| null` | No | — |

***

### trendingFeed

`tiktok.trendingFeed`

Fetches TikTok's trending/For You feed for a given region

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.trendingFeed({ region: 'US', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `region` | `string` | Yes | Where you want the proxy to be. This doesn't mean that you will only see TikToks from this region, you will just see the content that isn't banned in that region. |
| `trim` | `boolean` | No | Set to true to get a trimmed response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `aweme_list` | `any[] \| null` | No | — |

***

### userAudience

`tiktok.userAudience`

Retrieves audience demographic data for a TikTok user, showing where their followers are located by country

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.userAudience({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | TikTok handle |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `audienceLocations` | `any[] \| null` | No | — |

***

### userFollowers

`tiktok.userFollowers`

Retrieves the follower list of a TikTok account by handle or user\_id

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.userFollowers({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | TikTok handle |
| `user_id` | `string` | No | User id. Use this for faster response times. |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `min_time` | `number` | No | Used to paginate. Get 'min\_time' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `followers` | `any[] \| null` | No | — |
| `min_time` | `string \| number \| null` | No | — |
| `total` | `string \| number \| null` | No | — |

***

### userFollowing

`tiktok.userFollowing`

Retrieves the following list

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.userFollowing({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | TikTok handle |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `min_time` | `number` | No | Used to paginate. Get 'min\_time' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `followings` | `any[] \| null` | No | — |
| `min_time` | `string \| number \| null` | No | — |
| `total` | `string \| number \| null` | No | — |

***

### userLive

`tiktok.userLive`

Checks a TikTok user's live status and retrieves available live room details

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.userLive({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | TikTok handle |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `is_live` | `boolean \| null` | No | — |
| `liveRoomUserInfo` | `Record<string, any> \| null` | No | — |
| `liveRoom` | `Record<string, any> \| null` | No | — |

***

### userShowcase

`tiktok.userShowcase`

Fetches products featured in a TikTok user's public showcase

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.userShowcase({ handle: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | The handle of the user |
| `region` | `string` | No | Region to put the proxy in. Non-US TikTok Shop regions are not reliable right now and may return limited or inconsistent showcase data. Sorry for the inconvenience. |
| `cursor` | `string \| number` | No | The cursor to the next page of products |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `products` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### video

`tiktok.video`

Fetches detailed data for a single TikTok video by URL, including its metadata, engagement stats, and optionally its transcript/captions

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.video({ url: 'https://www.tiktok.com/@nasa/video/7665075736742530317', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | TikTok video or photo/slideshow URL |
| `region` | `string` | No | Two-letter country code passed to the primary post source. Defaults to US. Try the creator's country if a post is unavailable. This does not guarantee a matching browser/proxy country or complete retrieval; the fallback source does not receive this parameter. |
| `get_transcript` | `boolean` | No | Native captions are opt-in via get\_transcript=true and are included in the existing base endpoint price. This detail endpoint does not use AI transcription or an AI fallback; missing captions return no transcript. For AI fallback, use /v1/tiktok/video/transcript. |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `download_media` | `boolean` | No | Set to true to download the video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `aweme_detail` | `Record<string, any> \| null` | No | — |
| `transcript` | `string \| number \| null` | No | — |

***

### videoCommentReplies

`tiktok.videoCommentReplies`

Fetches replies to a specific TikTok comment by its ID

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.videoCommentReplies({ url: 'https://www.tiktok.com/@nasa/video/7665075736742530317', comment_id: '7665712337038607126' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `comment_id` | `string` | Yes | TikTok comment ID. This is the cid from the comments endpoint. |
| `url` | `string` | Yes | TikTok video URL. This is the url from the comments endpoint. |
| `cursor` | `number` | No | Cursor to get more replies. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `extra` | `Record<string, any> \| null` | No | — |
| `has_more` | `string \| number \| null` | No | — |
| `log_pb` | `Record<string, any> \| null` | No | — |
| `status_code` | `string \| number \| null` | No | — |
| `status_msg` | `string \| number \| null` | No | — |
| `total` | `string \| number \| null` | No | — |

***

### videoComments

`tiktok.videoComments`

Fetches comments on a TikTok video by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.videoComments({ url: 'https://www.tiktok.com/@nasa/video/7665075736742530317', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | TikTok video URL |
| `trim` | `boolean` | No | Set to true to get a trimmed response |
| `cursor` | `number` | No | Cursor to get more comments. Get 'cursor' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |
| `total` | `string \| number \| null` | No | — |

***

### videoTranscript

`tiktok.videoTranscript`

Extracts existing transcripts, captions, or subtitles from a TikTok video by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.tiktok.videoTranscript({ url: 'https://www.tiktok.com/@nasa/video/7665075736742530317' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | TikTok video URL |
| `language` | `string` | No | Language of the transcript. 2 letter language code, ie 'en', 'es', 'fr', 'de', 'it', 'ja', 'ko', 'zh' |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `use_ai_as_fallback` | `string` | No | Set to 'true' to use paid AI only when existing captions are unavailable. Defaults to false. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `transcript_with_timestamp` | `any` | No | — |
| `transcript` | `string \| number \| null` | No | — |

***

## Truth Social

### post

`truthSocial.post`

Fetches a single Truth Social post by URL, returning text, id, created\_at, url, content, account details, media\_attachments, card link previews...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.truthSocial.post({ url: 'https://truthsocial.com/@realDonaldTrump/117684273895653312' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Truth Social post URL |
| `download_media` | `boolean` | No | Set to true to download the attached video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `text` | `string \| number \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `in_reply_to_id` | `any` | No | — |
| `quote_id` | `any` | No | — |
| `in_reply_to_account_id` | `any` | No | — |
| `sensitive` | `boolean \| null` | No | — |
| `spoiler_text` | `string \| number \| null` | No | — |
| `visibility` | `string \| number \| null` | No | — |
| `language` | `string \| number \| null` | No | — |
| `uri` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `content` | `string \| number \| null` | No | — |
| `account` | `Record<string, any> \| null` | No | — |
| `media_attachments` | `any[] \| null` | No | — |
| `mentions` | `any[] \| null` | No | — |
| `tags` | `any[] \| null` | No | — |
| `card` | `any` | No | — |
| `group` | `any` | No | — |
| `quote` | `any` | No | — |
| `in_reply_to` | `any` | No | — |
| `reblog` | `any` | No | — |
| `sponsored` | `boolean \| null` | No | — |
| `replies_count` | `string \| number \| null` | No | — |
| `reblogs_count` | `string \| number \| null` | No | — |
| `favourites_count` | `string \| number \| null` | No | — |
| `favourited` | `boolean \| null` | No | — |
| `reblogged` | `boolean \| null` | No | — |
| `muted` | `boolean \| null` | No | — |
| `pinned` | `boolean \| null` | No | — |
| `bookmarked` | `boolean \| null` | No | — |
| `poll` | `any` | No | — |
| `emojis` | `any[] \| null` | No | — |

***

### profile

`truthSocial.profile`

Retrieves a Truth Social user's public profile including display\_name, username, avatar, header, followers\_count, following\_count, statuses\_count, verified...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.truthSocial.profile({ handle: 'realDonaldTrump' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Truth Social username |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `username` | `string \| number \| null` | No | — |
| `acct` | `string \| number \| null` | No | — |
| `display_name` | `string \| number \| null` | No | — |
| `locked` | `boolean \| null` | No | — |
| `bot` | `boolean \| null` | No | — |
| `discoverable` | `any` | No | — |
| `group` | `boolean \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `note` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `avatar` | `string \| number \| null` | No | — |
| `avatar_static` | `string \| number \| null` | No | — |
| `header` | `string \| number \| null` | No | — |
| `header_static` | `string \| number \| null` | No | — |
| `followers_count` | `string \| number \| null` | No | — |
| `following_count` | `string \| number \| null` | No | — |
| `statuses_count` | `string \| number \| null` | No | — |
| `last_status_at` | `string \| number \| null` | No | — |
| `verified` | `boolean \| null` | No | — |
| `location` | `string \| number \| null` | No | — |
| `website` | `string \| number \| null` | No | — |
| `accepting_messages` | `boolean \| null` | No | — |
| `chats_onboarded` | `boolean \| null` | No | — |
| `feeds_onboarded` | `boolean \| null` | No | — |
| `tv_onboarded` | `boolean \| null` | No | — |
| `bookmarks_onboarded` | `boolean \| null` | No | — |
| `show_nonmember_group_statuses` | `boolean \| null` | No | — |
| `pleroma` | `Record<string, any> \| null` | No | — |
| `tv_account` | `boolean \| null` | No | — |
| `receive_only_follow_mentions` | `boolean \| null` | No | — |
| `emojis` | `any[] \| null` | No | — |
| `fields` | `any[] \| null` | No | — |

***

### userPosts

`truthSocial.userPosts`

Fetches a paginated list of posts from a Truth Social user, returning text, id, created\_at, url, content, account info, media\_attachments, card link...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.truthSocial.userPosts({ handle: 'realDonaldTrump', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | Truth Social username |
| `user_id` | `string` | No | Truth Social user id. Use this for faster response times. Trumps is 107780257626128497. It is the 'id' field in the profile endpoint. |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `next_max_id` | `string \| number` | No | Used to paginate to next page |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `next_max_id` | `string \| number \| null` | No | — |

***

## Twitch

### clip

`twitch.clip`

Fetches detailed data for a Twitch clip by URL, including metadata and direct video URLs

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitch.clip({ url: 'https://www.twitch.tv/staryuuki/clip/CloudySavageMarjoramRuleFive--ErzsYbE7UWvgCMQ?filter=clips&range=all&sort=time' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Twitch clip URL |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output:** `object[]`

> [accordion] Output full type
>
> ```ts theme={null}
> {
>   data?: Record<string, any> | null,
>   extensions?: Record<string, any> | null
> }[]
> ```

***

### clipTranscript

`twitch.clipTranscript`

Gets a transcript from a public Twitch clip

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitch.clipTranscript({ url: 'https://clips.twitch.tv/WrongMagnificentTomatoCorgiDerp-C720OEMqocSPbrqA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Twitch clip URL |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `use_ai_as_fallback` | `boolean` | No | Use paid AI only when native captions are unavailable. Defaults to false. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `transcript` | `string \| number \| null` | No | — |
| `transcript_source` | `string \| number \| null` | No | — |

***

### profile

`twitch.profile`

Retrieves a Twitch user's public profile by handle, including identity, social links, and content

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitch.profile({ handle: 'twitch' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Twitch handle |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `isLive` | `boolean \| null` | No | — |
| `currentViewersCount` | `string \| number \| null` | No | — |
| `lastBroadcast` | `Record<string, any> \| null` | No | — |
| `handle` | `string \| number \| null` | No | — |
| `stream` | `Record<string, any> \| null` | No | — |
| `displayName` | `string \| number \| null` | No | — |
| `profileImageURL` | `string \| number \| null` | No | — |
| `bannerImageURL` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `followers` | `string \| number \| null` | No | — |
| `isPartner` | `boolean \| null` | No | — |
| `recentBroadcasts` | `any[] \| null` | No | — |
| `allVideos` | `any[] \| null` | No | — |
| `similarStreamers` | `any[] \| null` | No | — |

***

### userSchedule

`twitch.userSchedule`

Fetches a user's schedule by handle, returning a list of scheduled events with start time, end time, title, description, and thumbnail URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitch.userSchedule({ handle: 'twitch' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Twitch handle |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `primaryColorHex` | `any` | No | — |
| `lastBroadcast` | `Record<string, any> \| null` | No | — |
| `broadcastSettings` | `Record<string, any> \| null` | No | — |
| `stream` | `Record<string, any> \| null` | No | — |
| `videos` | `Record<string, any> \| null` | No | — |
| `channel` | `Record<string, any> \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |

***

### userVideos

`twitch.userVideos`

Fetches a list of videos (100 max) for a Twitch user, returning each video's id, slug, url, embedURL, title, viewCount, language, durationSeconds, game...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitch.userVideos({ handle: 'twitch' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Twitch handle |
| `filter_by` | `HIGHLIGHT \| ARCHIVE \| UPLOAD` | No | Filter by |
| `sort_by` | `TIME \| VIEWS` | No | Sort by |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `isLive` | `boolean \| null` | No | — |
| `currentViewersCount` | `string \| number \| null` | No | — |
| `stream` | `Record<string, any> \| null` | No | — |
| `handle` | `string \| number \| null` | No | — |
| `displayName` | `string \| number \| null` | No | — |
| `profileImageURL` | `string \| number \| null` | No | — |
| `bannerImageURL` | `string \| number \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `followers` | `string \| number \| null` | No | — |
| `x` | `string \| number \| null` | No | — |
| `instagram` | `string \| number \| null` | No | — |
| `youtube` | `string \| number \| null` | No | — |
| `tiktok` | `string \| number \| null` | No | — |
| `isPartner` | `boolean \| null` | No | — |
| `allVideos` | `any[] \| null` | No | — |
| `featuredClips` | `any[] \| null` | No | — |
| `similarStreamers` | `any[] \| null` | No | — |

***

## Twitter

### community

`twitter.community`

Retrieves details about a Twitter/X Community by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitter.community({ url: 'https://x.com/i/communities/1926186499399139650' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Community URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |
| `is_member` | `boolean \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `role` | `string \| number \| null` | No | — |
| `rest_id` | `string \| number \| null` | No | — |
| `actions` | `Record<string, any> \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `creator_results` | `Record<string, any> \| null` | No | — |
| `join_policy` | `string \| number \| null` | No | — |
| `created_at` | `string \| number \| null` | No | — |
| `rules` | `any[] \| null` | No | — |
| `members_facepile_results` | `any[] \| null` | No | — |
| `member_count` | `string \| number \| null` | No | — |
| `id` | `string \| number \| null` | No | — |

***

### communityTweets

`twitter.communityTweets`

Fetches tweets posted within a Twitter/X Community by URL

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitter.communityTweets({ url: 'https://x.com/i/communities/1926186499399139650' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Community URL |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `tweets` | `any[] \| null` | No | — |

***

### profile

`twitter.profile`

Retrieves a Twitter user's profile by handle, including account metadata and statistics

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitter.profile({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Twitter handle |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `__typename` | `string \| number \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `rest_id` | `string \| number \| null` | No | — |
| `affiliates_highlighted_label` | `Record<string, any> \| null` | No | — |
| `is_blue_verified` | `boolean \| null` | No | — |
| `profile_image_shape` | `string \| number \| null` | No | — |
| `legacy` | `Record<string, any> \| null` | No | — |
| `tipjar_settings` | `Record<string, any> \| null` | No | — |
| `legacy_extended_profile` | `Record<string, any> \| null` | No | — |
| `is_profile_translatable` | `boolean \| null` | No | — |
| `has_hidden_subscriptions_on_profile` | `boolean \| null` | No | — |
| `verification_info` | `Record<string, any> \| null` | No | — |
| `highlights_info` | `Record<string, any> \| null` | No | — |
| `user_seed_tweet_count` | `string \| number \| null` | No | — |
| `business_account` | `Record<string, any> \| null` | No | — |
| `creator_subscriptions_count` | `string \| number \| null` | No | — |

***

### searchPosts

`twitter.searchPosts`

Finds public X/Twitter post URLs through Google Search, then returns their details using the same public post scraper as /v1/twitter/tweet

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitter.searchPosts({ query: 'artemis nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Keyword or phrase to search for in Google-indexed public X/Twitter posts |
| `cursor` | `string \| number` | No | Pass the cursor returned by the previous response. Supported page cursors are 1 through 11. A null response cursor means there are no more pages. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `query` | `string \| number \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `cursor` | `string \| number \| null` | No | — |

***

### tweet

`twitter.tweet`

Retrieves detailed information about a specific tweet by URL, including the author's profile and engagement metrics

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitter.tweet({ url: 'https://x.com/NASA/status/2126050028032872522', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Tweet URL |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `rest_id` | `string \| number \| null` | No | — |
| `views` | `Record<string, any> \| null` | No | — |
| `source` | `string \| number \| null` | No | — |
| `legacy` | `Record<string, any> \| null` | No | — |

***

### tweetTranscript

`twitter.tweetTranscript`

Extracts an AI transcript from a Twitter video tweet

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitter.tweetTranscript({ url: 'https://x.com/NASA/status/2126050028032872522' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | Tweet URL |
| `allow_long_transcription` | `boolean` | No | Paid opt-in, enabled only by the literal query value 'true' (allow\_long\_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow\_long\_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 \* ceil(duration\_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get\_transcript=true or use\_ai\_as\_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (Returned native captions cost 1 credit, even for long videos with the paid flag. By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow\_long\_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits; no transcript: 0 credits). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `transcript` | `string \| number \| null` | No | — |

***

### userTweets

`twitter.userTweets`

Fetches tweets from a Twitter user's profile by handle

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.twitter.userTweets({ handle: 'NASA', trim: true });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | Twitter handle |
| `trim` | `boolean` | No | Set to true for a trimmed down version of the response |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `tweets` | `any[] \| null` | No | — |

***

## Youtube

### channel

`youtube.channel`

Retrieves comprehensive YouTube channel profile data including name, avatar images, subscriber count (subscribers), total video and view counts, join date...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.channel({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `channelId` | `string` | No | YouTube channel ID. Can pass a channelId, handle or url |
| `handle` | `string` | No | YouTube channel handle. Can pass a channelId, handle or url |
| `url` | `string` | No | YouTube channel URL. Can pass a channelId, handle or url |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `channelId` | `string \| number \| null` | No | — |
| `channel` | `string \| number \| null` | No | — |
| `name` | `string \| number \| null` | No | — |
| `avatar` | `Record<string, any> \| null` | No | — |
| `description` | `string \| number \| null` | No | — |
| `subscriberCount` | `string \| number \| null` | No | — |
| `subscriberCountText` | `string \| number \| null` | No | — |
| `videoCountText` | `string \| number \| null` | No | — |
| `viewCountText` | `string \| number \| null` | No | — |
| `joinedDateText` | `string \| number \| null` | No | — |
| `tags` | `string \| number \| null` | No | — |
| `email` | `any` | No | — |
| `store` | `string \| number \| null` | No | — |
| `twitter` | `string \| number \| null` | No | — |
| `instagram` | `string \| number \| null` | No | — |
| `links` | `any[] \| null` | No | — |
| `country` | `string \| number \| null` | No | — |

***

### channelCommunityPosts

`youtube.channelCommunityPosts`

Fetches community posts from a YouTube channel's Posts tab, including post ID, URL, content, images, attached video, like count, publish time, channel info...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.channelCommunityPosts({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `channelId` | `string` | No | YouTube channel ID |
| `handle` | `string` | No | YouTube channel handle |
| `continuationToken` | `string \| number` | No | Continuation token to get more community posts. Get 'continuationToken' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `posts` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### channelLives

`youtube.channelLives`

Fetches live streams and past streams from a YouTube channel's Live tab, including title, URL, thumbnail, view count, publish time, duration, and a...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.channelLives({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `channelId` | `string` | No | YouTube channel ID |
| `handle` | `string` | No | YouTube channel handle |
| `continuationToken` | `string \| number` | No | Continuation token to get more lives. Get 'continuationToken' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `lives` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### channelPlaylists

`youtube.channelPlaylists`

Fetches playlists from a YouTube channel's Playlists tab, including playlist ID, title, thumbnail, video count, channel info, playlist URL, and a...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.channelPlaylists({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `channelId` | `string` | No | YouTube channel ID |
| `handle` | `string` | No | YouTube channel handle |
| `continuationToken` | `string \| number` | No | Continuation token to get more playlists. Get 'continuationToken' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `playlists` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### channelSearch

`youtube.channelSearch`

Search within one YouTube channel using YouTube's native channel search, not global search or local filtering of the channel's latest videos

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.channelSearch({ handle: 'NASA', query: 'artemis' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | Yes | YouTube channel handle, with or without @. |
| `query` | `string` | Yes | Keywords to search within this channel. |
| `continuationToken` | `string \| number` | No | Token from the previous response. Keep the same handle and query; stop when the token is null. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `channels` | `any[] \| null` | No | — |
| `playlists` | `any[] \| null` | No | — |
| `shorts` | `any[] \| null` | No | — |
| `shelves` | `any[] \| null` | No | — |
| `lives` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### channelShorts

`youtube.channelShorts`

Retrieves a paginated list of short-form videos (Shorts) from a YouTube channel, including each short's title, URL, view count (views), likes, comments...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.channelShorts({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `handle` | `string` | No | Can pass channelId or handle |
| `channelId` | `string` | No | Can pass channelId or handle |
| `sort` | `newest \| popular` | No | Sort by newest or popular |
| `continuationToken` | `string \| number` | No | Continuation token to get more videos. Get 'continuationToken' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `channels` | `any[] \| null` | No | — |
| `playlists` | `any[] \| null` | No | — |
| `shorts` | `any[] \| null` | No | — |
| `shelves` | `any[] \| null` | No | — |
| `lives` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### channelVideos

`youtube.channelVideos`

Fetches a paginated list of videos uploaded by a YouTube channel, including each video's title, URL, thumbnail, view count (views), publish date, duration...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.channelVideos({ handle: 'NASA' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `channelId` | `string` | No | YouTube channel ID |
| `handle` | `string` | No | YouTube channel handle |
| `sort` | `latest \| popular` | No | Sort by latest or popular |
| `includeExtras` | `string` | No | This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. Honestly, if you use this param, the error rate is higher. We might deprecate this param in the future. |
| `continuationToken` | `string \| number` | No | Continuation token to get more videos. Get 'continuationToken' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### communityPost

`youtube.communityPost`

Retrieves the full details of a YouTube community post, including its text content, attached images, like count, publish date, and associated channel info

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.communityPost({ url: 'https://www.youtube.com/post/Ugkx0X33g-nAj6FyciU8R9pJUCrPERrtPBJE' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | The URL of the YouTube community post to get |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `channel` | `Record<string, any> \| null` | No | — |
| `content` | `string \| number \| null` | No | — |
| `images` | `any[] \| null` | No | — |
| `likeCount` | `string \| number \| null` | No | — |
| `publishedTimeText` | `string \| number \| null` | No | — |
| `publishedTime` | `string \| number \| null` | No | — |
| `video` | `any` | No | — |

***

### playlist

`youtube.playlist`

Retrieves a page of videos in a YouTube playlist, including each video's title, URL, thumbnail, duration, and channel

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.playlist({ playlist_id: 'PLF98rxtslw6s' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `playlist_id` | `string` | Yes | The ID of the YouTube playlist. In the YouTube URL it will be the 'list' parameter. |
| `continuationToken` | `string \| number` | No | Token from the previous response to get the next page. Omit for the first page. Stop when the returned continuationToken is null. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `owner` | `Record<string, any> \| null` | No | — |
| `totalVideos` | `string \| number \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `continuationToken` | `any` | No | — |

***

### search

`youtube.search`

Searches YouTube by keyword query and returns matching videos, channels, playlists, shorts, shelves, and live streams

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.search({ query: 'artemis ii' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Search query. For stricter title matching, use YouTube's intitle: operator, for example intitle:"Foursquare Swarm". Quoted queries by themselves may still be broadened by YouTube when no fresh exact matches are available. |
| `uploadDate` | `today \| this_week \| this_month \| this_year` | No | Upload date |
| `sortBy` | `relevance \| popular` | No | Sort by |
| `type` | `videos \| shorts \| channels \| playlists` | No | Type of content to search for |
| `duration` | `under_3_min \| between_3_and_20_min \| over_20_min` | No | Duration of the video. Only applies to videos (not shorts). |
| `region` | `string` | No | 2 letter country code of the country to put the proxy in. |
| `includeExtras` | `string` | No | This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.* |
| `continuationToken` | `string \| number` | No | Continuation token to get more videos. Get 'continuationToken' from previous response. |
| `is_paid_promotions` | `boolean` | No | Set to true to search only videos with the paid product placement / sponsorship disclosure. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `channels` | `any[] \| null` | No | — |
| `playlists` | `any[] \| null` | No | — |
| `shorts` | `any[] \| null` | No | — |
| `shelves` | `any[] \| null` | No | — |
| `lives` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### searchHashtag

`youtube.searchHashtag`

Searches YouTube for content matching a specific hashtag and returns matching videos with title, URL, thumbnail, view count (views), publish date, duration...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.searchHashtag({ hashtag: 'space' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `hashtag` | `string` | Yes | Hashtag to search for |
| `type` | `all \| shorts` | No | Search for all types of content or only shorts |
| `continuationToken` | `string \| number` | No | Continuation token to get more videos. Get 'continuationToken' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `videos` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### searchTypeahead

`youtube.searchTypeahead`

Returns the live search suggestions YouTube displays while a user types

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.searchTypeahead({ query: 'nasa' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `query` | `string` | Yes | Partial or complete YouTube search query |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `data` | `Record<string, any> \| null` | No | — |

***

### shortsTrending

`youtube.shortsTrending`

Fetches approximately 48 currently trending YouTube Shorts (viral/popular short-form videos) per call, returning each short's title, URL, thumbnail, view\...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.shortsTrending({});
```

**Input:** *empty object*

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `shorts` | `any[] \| null` | No | — |

***

### video

`youtube.video`

Fetches full details for a YouTube video or short, including title, description, thumbnail, view count (views), like count (likes), comment count, publish...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.video({ url: 'https://www.youtube.com/watch?v=_eeZQw9PBc0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | YouTube video or short URL |
| `language` | `string` | No | Preferred response language (mapped to Accept-Language header; not guaranteed due to YouTube localization behavior). 2 letter language code, ie 'en', 'es', 'fr' etc. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `id` | `string \| number \| null` | No | — |
| `thumbnail` | `string \| number \| null` | No | — |
| `storyboardSpec` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `publishDate` | `string \| number \| null` | No | — |
| `type` | `string \| number \| null` | No | — |
| `title` | `string \| number \| null` | No | — |
| `description` | `any` | No | — |
| `descriptionLinks` | `any[] \| null` | No | — |
| `commentCountText` | `string \| number \| null` | No | — |
| `commentCountInt` | `string \| number \| null` | No | — |
| `likeCountText` | `string \| number \| null` | No | — |
| `likeCountInt` | `string \| number \| null` | No | — |
| `viewCountText` | `string \| number \| null` | No | — |
| `viewCountInt` | `string \| number \| null` | No | — |
| `publishDateText` | `string \| number \| null` | No | — |
| `collaborators` | `any[] \| null` | No | — |
| `channel` | `Record<string, any> \| null` | No | — |
| `chapters` | `any[] \| null` | No | — |
| `watchNextVideos` | `any[] \| null` | No | — |
| `keywords` | `any[] \| null` | No | — |
| `genre` | `string \| number \| null` | No | — |
| `durationMs` | `string \| number \| null` | No | — |
| `durationFormatted` | `string \| number \| null` | No | — |
| `isPaidPromotion` | `boolean \| null` | No | — |
| `descriptionCards` | `any[] \| null` | No | — |
| `isMadeWithAI` | `boolean \| null` | No | — |
| `aiDisclosure` | `string \| number \| null` | No | — |
| `ownerByline` | `Record<string, any> \| null` | No | — |
| `uploader` | `Record<string, any> \| null` | No | — |
| `most_replayed` | `any` | No | — |
| `captionTracks` | `any[] \| null` | No | — |

***

### videoCommentReplies

`youtube.videoCommentReplies`

Fetches replies to a specific comment on a YouTube video, including each reply's text content, author details (name, channel ID, avatar, verified/creator...

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.videoCommentReplies({ continuationToken: 'REPLIES_CONTINUATION_TOKEN_FROM_youtube.videoComments' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `continuationToken` | `string \| number` | Yes | Continuation token for the comment replies. Use 'repliesContinuationToken' from the Comments endpoint, or 'continuationToken' from a previous replies response to paginate. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### videoComments

`youtube.videoComments`

Fetches comments and replies from a YouTube video, including each comment's text content, author details, like count, reply count, and publish date

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.videoComments({ url: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | YouTube video URL |
| `order` | `top \| newest` | No | Order of comments |
| `continuationToken` | `string \| number` | No | Continuation token to get more comments. Get 'continuationToken' from previous response. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `comments` | `any[] \| null` | No | — |
| `continuationToken` | `string \| number \| null` | No | — |

***

### videoSponsors

`youtube.videoSponsors`

Experimental endpoint

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.videoSponsors({ url: 'https://www.youtube.com/watch?v=_eeZQw9PBc0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | YouTube video or short URL |
| `language` | `string` | No | 2 letter language code used for transcript lookup, ie 'en', 'es', 'fr' etc. |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `video` | `Record<string, any> \| null` | No | — |
| `suspectedSponsors` | `any[] \| null` | No | — |
| `sponsorDetection` | `Record<string, any> \| null` | No | — |

***

### videoTranscript

`youtube.videoTranscript`

Retrieves publicly available captions, subtitles, or transcripts from a YouTube video or Short

**Risk:** `read`

```ts theme={null}
await corsair.scrapecreators.api.youtube.videoTranscript({ url: 'https://www.youtube.com/watch?v=_eeZQw9PBc0' });
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `url` | `string` | Yes | YouTube video or short URL |
| `language` | `string` | No | Language code, ie 'en', 'es', 'fr' or 'en-US'. Overrides the default track selection unless original\_audio=true. If omitted, prefers captions matching the original spoken language when YouTube identifies the original audio. If that metadata is unavailable or ambiguous, prefers an auto-generated caption, otherwise the first caption track. If the requested or identified original language has no matching captions, the transcript will be null and no credits are charged. |
| `original_audio` | `boolean` | No | Set to true to return captions only in the original spoken language identified by YouTube. Takes precedence over language. If the original audio cannot be reliably identified or has no matching captions, transcript, transcript\_only\_text, and language are null and no credits are charged. No extra lookup or credit cost; a returned transcript costs the usual 1 credit. Omit or set to false for the existing default selection. |
| `cache_max_age` | `1d \| 3d \| 7d \| 14d \| 30d` | No | If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached\_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching) |

**Output**

| Name | Type | Required | Description |
| - | - | - | - |
| `success` | `boolean \| null` | No | — |
| `credits_remaining` | `number \| null` | No | Credits left on the account. Removed under managed pricing (Corsair's account). |
| `credits_charged` | `number \| null` | No | Credits this call cost (0 for cache hits and errors; some routes also charge 0 for an empty page). |
| `cached` | `boolean \| null` | No | True when `cache_max_age` returned a cached response. |
| `cached_at` | `string \| null` | No | — |
| `videoId` | `string \| number \| null` | No | — |
| `type` | `string \| number \| null` | No | — |
| `url` | `string \| number \| null` | No | — |
| `transcript` | `any[] \| null` | No | — |
| `transcript_only_text` | `string \| number \| null` | No | — |
| `language` | `string \| number \| null` | No | — |

***


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