# Leewou API (v1.0.0)

Base URL: `https://api.leewou.com`. OpenAPI document: https://api.leewou.com/v1/openapi.json

Creator data for **Instagram, TikTok and YouTube**: search Leewou's index of creators with filters on the creator, their content and their audience; read a creator's live profile, full report and contact details; compare audiences, find creators by email, estimate reach, read purchase intent in comments and see who works with a brand.

## Quick start
1. Create a key in **Settings → API keys** on leewou.com (shown once; store it on your server).
2. Send it with every request:

```bash
curl -X POST https://api.leewou.com/v1/creators/profile \
  -H 'Authorization: Bearer lw_live_…' \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"leomessi"}'
```

## Authentication
Every endpoint except `GET /v1/status` needs an API key: `Authorization: Bearer lw_live_…` (or `X-API-Key: lw_live_…`). Keys belong to your workspace and act as the person who created them, with the same access as in the app; if that person leaves the workspace or the workspace is blocked, the key stops working. A key in the URL (as any query parameter) is refused, so keys stay out of logs. Revoke a key in Settings and it stops within a minute. A missing key answers `401 missing_api_key`, a wrong or revoked one `401 invalid_api_key`. An address that keeps sending missing or wrong keys gets `429 rate_limited` for a moment (requests with a valid key are never held back). Call the API from your server only: a key in a browser or app is public.

## Endpoints at a glance
| Endpoint | What for | Typical time |
|---|---|---|
| `POST /v1/creators/search` | Find creators with filters | 1–5 s; exclusions and negative filters up to ~20 s |
| `GET /v1/creators/lookup` | Find a creator by handle or name as you type | < 1.5 s |
| `POST /v1/creators/profile` | Current public profile, read live | 1–3 s, up to ~8 s |
| `POST /v1/creators/report` | Every metric: stats, growth, pricing, content, audience | instant when fresh in the index, else 4–10 s |
| `POST /v1/creators/report/pdf` | The same report as the app's branded PDF | 5–20 s |
| `POST /v1/creators/contacts` | Public emails, phones and links | 1–2 s |
| `POST /v1/creators/audience-overlap` | Shared followers between 2–10 creators | 2–30 s (job) |
| `POST /v1/creators/email-lookup` | Creators behind up to 25 emails | 3–15 s (job) |
| `POST /v1/creators/reach-estimate` | Reach and impressions of one new post (Instagram) | 3–10 s (job) |
| `POST /v1/creators/purchase-intent` | Purchase intent and sentiment in comments | 5 to 15+ min (job) |
| `POST /v1/brands/collaborations` | Recent posts about a brand, or a creator's sponsors | 5 s to 4 min (job) |
| `POST /v1/live/posts` | A creator's latest posts, reels, stories, shorts, lives or tagged posts | 2–20 s |
| `POST /v1/live/post` | One post with fresh stats and media | 1–10 s |
| `POST /v1/live/comments`, `/comment-replies` | Comments and their replies | 1–5 s |
| `POST /v1/live/transcript` | What is said in a video | 2–10 s |
| `POST /v1/live/hashtag`, `/audio`, `/playlist` | Posts with a hashtag, posts using a sound, a YouTube playlist | 1–20 s |
| `POST /v1/live/channel-playlists` | A YouTube channel's playlists | 2–10 s |
| `POST /v1/live/search` | Accounts by name or keyword | 1–15 s |
| `POST /v1/live/trending` | What is trending now: TikTok For You by country, popular Instagram reels, trending YouTube Shorts | 5–15 s |
| `POST /v1/live/sponsors` | Whether a YouTube video declares a paid promotion, and the brands it promotes | 3–50 s |
| `POST /v1/live/link-in-bio` | A Linktree, Komi, Pillar, lnk.bio or Linkme page: emails, socials, links, products | 1–15 s |
| `GET /v1/dictionaries/*` | Values the search filters accept: locations, languages, interests, brands, topics, hashtags, Instagram categories | < 1 s |
| `/v1/lists` | Your workspace's creator lists: create, rename, delete, add and remove creators, export to CSV or Excel | < 1 s; adding creators 1–5 s |
| `GET /v1/account`, `/credits`, `/usage`, `/requests` | Your workspace, plan, credits, usage by day and endpoint, and the log of every request | < 1 s |

## Conventions
- JSON in and out, `snake_case` field names. Send `Content-Type: application/json` on POST.
- **Unknown fields are refused:** a body field or query parameter the endpoint doesn't take (a typo such as `follower` for `followers`) answers `400 invalid_request` naming it, before anything runs or is charged.
- Creator, live and dictionary requests name their platform: `platform` in the body (POST) or the query (GET): `instagram`, `tiktok` or `youtube`.
- A creator is named by `username`: the handle (with or without `@`) or their profile link; YouTube also takes a channel id (`UC…`). `id` in responses is the platform's own user id.
- **Shares are fractions** between 0 and 1 (`0.25` = 25%): audience shares, engagement rate, credibility.
- Distributions are arrays of `{ <key>, share }`, largest first.
- Dates are ISO 8601 in UTC.
- A field the data doesn't hold for a creator is `null` (or an empty array for lists). Fields available on some platforms only say so in their description; elsewhere they are `null` or empty.
- New fields may be added to responses at any time; ignore the ones you don't know.

## Jobs (long-running analyses)
Audience overlap, email lookup, reach estimates, purchase intent and brand collaborations run as **jobs**. The request waits up to 30 seconds for the result:
- finished in time: **200** with the job, `status: "completed"` and its `result`;
- still running: **202** with the job (`status: "processing"`), a `Location` header and `Retry-After` seconds. Poll `GET /v1/jobs/{id}` until it completes;
- failed: the error, with `error.job_id` (e.g. `422 not_enough_creators`).

Set the wait with `Prefer: wait=10` (0–50 seconds) or return at once with `Prefer: respond-async`. The same request from your workspace within the reuse window (24 hours; 30 minutes for brand searches) returns the earlier job (`X-Reused-Job: true`, free) instead of running it again; lists of creators or emails count as the same in any order. Jobs and their results are kept 30 days.

## Live data
The `/v1/live/*` endpoints read the platforms directly at the time of the request, and answer in one shape on every platform:
- **Posts** (`LivePost`): `type` (image, carousel, video, reel, story, photo, short, live), caption, stats, media files, hashtags and mentions read from the caption, collaborators, sound, creator. A stat the platform hides or doesn't show is `null`.
- **Comments** (`LiveComment`): text, date, likes, reply count, author, and `replies_ref` for POST /v1/live/comment-replies. Ask for `top` (the platform's ranking) or `newest` first; the answer's `sort` says which order you got, and later pages keep it.
- **Cost:** a live call costs its credits whenever the platform answers, even with nothing in it (an empty page, a sound no post uses). Content that doesn't exist or isn't public (`404`) and failed calls cost nothing.
- **Pages:** page sizes vary by platform and from call to call (from 1 story to 200 playlist items), so don't count on a size; pass `next_cursor` as `cursor` until it is null. A cursor only works with the request that produced it.
- **Links:** endpoints about a post take its link (`url`); `platform` is read from the link. TikTok share links (vm.tiktok.com/…, tiktok.com/t/…) work too. Media links on Instagram and TikTok CDNs expire within days: download what you keep. Videos come as a `download_url` link, never as a file.
- **Values:** ids are strings, exact to the last digit (Instagram and TikTok ids are too long for JSON numbers). Times are UTC, ISO 8601, to the second. Counts are read at request time, so two calls minutes apart can differ. Captions and comments keep their line breaks on Instagram and YouTube; TikTok text comes on one line.
- **YouTube** shows comment times as "3 days ago" and rounds comment likes above 1,000, so those are estimates. Now and then YouTube comments come without `id`, `published_at` and `replies_ref` (their replies can't be read then), and a channel's video list can lag its newest uploads by a few days: retry later for the full picture.
- **Trending** returns a fresh batch on every call, with no further pages. **Sponsors** are inferred from a video's description, links, promo codes and transcript: weigh `confidence` and `evidence`. **Link-in-bio** reads Linktree, Komi, Pillar, lnk.bio and Linkme pages; find a creator's page in their profile `links`.

## Freshness
- **Profiles** are read live from the platform; the same profile asked again within 10 minutes is served from cache (`X-Cache: HIT`), and still costs its credits.
- **Reports** come from the index, refreshed regularly; `updated_at` says when the creator's data was last refreshed and `X-Cache: HIT` that the report came straight from it. If a creator's data is still being collected you get `503 data_collecting`: retry after `Retry-After`.
- **Search** runs on the index; counts and order can shift slightly as it refreshes.
- Image links on the platforms' own CDNs (profile pictures, post thumbnails) are signed and expire within days. Download images you need to keep.

## Credits and billing
Calls are paid with API credits. Each billable call holds the most it can cost before it runs and is charged only for what it returned, so failed calls, empty search pages and contact lookups that find nothing cost nothing. Lookup, dictionaries, lists, job status, account and status are free.

| Endpoint | Credits |
|---|---|
| `POST /v1/creators/search` | 1 per creator returned (an empty page is free) |
| `POST /v1/creators/profile` | 3 |
| `POST /v1/creators/report` | 80 (free again for the same creator for 30 days, PDF included) |
| `POST /v1/creators/report/pdf` | 80 (free if the report was paid for in the last 30 days) |
| `POST /v1/creators/contacts` | 20 when at least one contact is found, else free |
| `POST /v1/creators/audience-overlap` | 40 per creator compared (creators without audience data are free) |
| `POST /v1/creators/email-lookup` | 5 per matched email |
| `POST /v1/creators/reach-estimate` | 10 |
| `POST /v1/creators/purchase-intent` | 150 |
| `POST /v1/brands/collaborations` | 20 |
| `POST /v1/live/posts` | 2 |
| `POST /v1/live/post` | 2 |
| `POST /v1/live/comments` | 2 |
| `POST /v1/live/comment-replies` | 2 |
| `POST /v1/live/transcript` | 4 |
| `POST /v1/live/playlist` | 2 |
| `POST /v1/live/hashtag` | 2 |
| `POST /v1/live/audio` | 2 |
| `POST /v1/live/search` | 2 |
| `POST /v1/live/channel-playlists` | 2 |
| `POST /v1/live/trending` | 2 |
| `POST /v1/live/sponsors` | 4 |
| `POST /v1/live/link-in-bio` | 2 |
| `POST /v1/lists/{listId}/exports` | 2 per creator exported, plus 80 per creator with audience columns (free for creators whose report you paid for in the last 30 days); charged when the export finishes, nothing if it fails |

- **Free credits:** 1,000 with your workspace's first API key, valid 60 days.
- **Plans** (monthly, or yearly with 2 months free): Starter $99/mo for 20,000 credits, Growth $299/mo for 75,000 credits, Scale $799/mo for 250,000 credits, Business $1999/mo for 800,000 credits. Unused plan credits roll over one month. Packs without a plan: 7,000 credits for $49, 40,000 credits for $249, valid 12 months. Buy and manage them in **Settings → API**.
- Credits are used soonest-to-expire first. Each billable response says what the call cost and what's left: `X-Credits-Charged` and `X-Credits-Remaining` (an `Idempotency-Key` replay says `X-Credits-Charged: 0`). A job still running answers `X-Credits-Reserved` instead: the most it can cost, settled when it ends. Exports settle when they finish (`credits_charged` on the export). `GET /v1/account/credits` shows the balance, what's on hold and where it comes from; `GET /v1/account/usage` and `GET /v1/account/requests` show what was charged, by day, endpoint and request.
- Without enough credits a call answers `402 insufficient_credits` before doing anything (`error.details` has `required` and `balance`).
- **Retries:** send `Idempotency-Key: <unique value>` on POST requests. A retry with the same key within 24 hours returns the first answer (`Idempotent-Replayed: true`) without running or charging again; the same key with a different body is `409 conflict`.

## Limits
Limits are per second, not per minute, so traffic stays smooth. Each API key has, per endpoint group, a steady rate with room for a short burst, and a cap on requests running at the same time:

| Group | Steady rate | Burst | At once |
|---|---|---|---|
| Search | 3/s | 10 | 5 |
| Profiles | 5/s | 20 | 8 |
| Reports | 2/s | 10 | 5 |
| Contacts | 2/s | 10 | 4 |
| Analyses (job starts) | 1/s | 10 | 10 |
| Live data | 3/s | 15 | 6 |
| Job status | 10/s | 30 | 20 |
| Dictionaries and lookup | 10/s | 30 | 20 |

The account endpoints (`/v1/account/*`, `/v1/status`) share a default group of 10/s, bursts of 30.

On top of that, each key makes at most 20 requests per second (bursts of 60) and 30 at once across all endpoints. Responses carry `RateLimit-Limit` (the burst), `RateLimit-Remaining`, `RateLimit-Reset` (seconds until the burst is full again) and `RateLimit-Policy`. Over a limit you get `429 rate_limited` with `Retry-After` (usually a second or two). Requests rejected as invalid (400, 404, 422) don't count.

Capacity is shared fairly between all clients: when an endpoint is busy, your request waits a few seconds for its turn rather than failing; only past 5 seconds do you get `503 temporarily_unavailable` with `Retry-After`.
Search pages hold up to 50 creators and go 10,000 results deep. Request bodies are limited to 64 KB (`413 payload_too_large` above). Any endpoint can answer `503 temporarily_unavailable` with `Retry-After` when its data sources are all down.

## Errors
Every error has the same shape and the matching HTTP status. Branch on `code`; messages are for people and may change.

```json
{ "error": { "type": "invalid_request_error", "code": "invalid_filter", "message": "…", "param": "filters.content.topics", "request_id": "req_…" } }
```

| code | HTTP | meaning |
|---|---|---|
| `invalid_request` | 400 | The request body or a parameter is malformed. |
| `invalid_filter` | 400 | A filter value is unknown or not supported on this platform. |
| `page_limit` | 400 | page × page_size goes past the 10,000 results the index pages to. |
| `missing_api_key` | 401 | No API key. Send it as Authorization: Bearer <key>. |
| `invalid_api_key` | 401 | The API key is malformed, unknown or revoked. |
| `account_inactive` | 403 | The account or workspace that owns this key is inactive. |
| `creator_not_found` | 404 | No creator with this handle on this platform. |
| `insufficient_credits` | 402 | Not enough API credits for this call (details: required, balance). Top up or upgrade in Settings → API. |
| `limit_reached` | 403 | A workspace limit was reached (e.g. the number of lists). |
| `not_found` | 404 | The route or resource (e.g. a job id) doesn't exist. |
| `conflict` | 409 | The request clashes with the current state: a list with this name exists, an export is already running, or an Idempotency-Key was reused with a different request (or is still running). |
| `export_expired` | 410 | This export's file has expired. Start a new export. |
| `content_unavailable` | 404 | Live data: the account or post is private, age-restricted or not public. |
| `payload_too_large` | 413 | The request body is over 64 KB. |
| `not_enough_creators` | 422 | Audience overlap: fewer than 2 of the creators have audience data. error.details.skipped says why each was left out. |
| `rate_limited` | 429 | Too many requests; retry after the Retry-After header. |
| `data_collecting` | 503 | This creator's report is being prepared. Retry after the Retry-After header. |
| `temporarily_unavailable` | 503 | The data service couldn't answer in time. Retry shortly. |
| `internal_error` | 500 | Something went wrong on our side. |

`param` names the field at fault, `details` lists every problem when several fields are wrong. Retry 429 and 503 after `Retry-After`; don't retry 4xx without changing the request. Every response carries `X-Request-Id`: quote it when contacting support.

## Search: good to know
- **Topics** must be tags that exist on the platform you search (look them up with `GET /v1/dictionaries/topics`). An unknown tag is rejected instead of silently returning nobody, and so is a misspelled field.
- **Locations** on TikTok and YouTube are countries; a city or region is searched as its country (the response says so in `warnings`).
- **Engagement rate** filters one bound at a time (`min` or `max`). Sorting by it follows the index's own figure, which can differ slightly from the one in the row.
- **Bio** filters match words in the bio the way the index tokenizes it (word stems, any order), not an exact phrase: check `bio` in the rows when the wording matters.
- **Places by name:** `"London"` is the best-known place with that name (London, England); add the country (`"London, Canada"`) or pass a location id to pick another. When a name is ambiguous, `warnings` lists the others.
- Hashtags match creators who used **any** of them, mentions **any** of them; with both, a creator must match one of each. Find hashtags with `GET /v1/dictionaries/hashtags` and accounts to mention with `GET /v1/creators/lookup`.
- Caption keywords are stemmed and every word must appear.
- **Exclusions:** `exclude_keywords`, `exclude_hashtags`, `exclude_mentions`, `contacts.none_of`, `is_verified: false` and `private_accounts` leave creators out; they run several searches under the hood, so such a search can take 10–20 seconds.
- **Growth** (follower, likes and views growth) compares monthly snapshots and is a fraction, in filters and in each row's `match` (`0.25` = +25%, `3` = +300%). An account that is new within the period, or has a gap in its history, can show very large growth: sorting by growth puts those first, so open the report's `growth` to see the months. Reports leave out monthly figures that are clearly broken (a total that drops to a tenth and comes back).
- **Followers** filter in steps: 1,000 below 5,000 followers, 5,000 from there (1,000, 2,000 … 5,000, 10,000, 15,000 …). On a step, both ends are inclusive and exact; a bound between steps is refused with the nearest valid values, because the index would add creators outside the range or miss some inside it. `engagement_rate.max` goes in whole percents the same way.
- **Rounding at the edges:** the index rounds average likes, views and engagement rate, so rows a hair outside such a bound are taken out of the page (and not charged); a page can then hold fewer creators than `page_size`, and `warnings` says so.
- **Your workspace:** creators you hid in the app are left out (`exclude_hidden`, on by default), and `exclude_saved` leaves out creators already in your lists.
- **Metrics:** average likes, average views and engagement rate are medians of recent posts by default; `metrics.method: "mean"` uses means, and on YouTube `metrics.content_type` computes them from long videos, Shorts or streams only. Filters, sorts and the numbers in each row follow these settings.

## Versioning
This is v1. Within v1, changes are additive (new endpoints, fields, enum values); anything breaking ships as v2, announced ahead.

# Endpoints

## Search creators

`POST /v1/creators/search`

Find creators on one platform (`platform`) with filters on the creator, their content and their audience. Returns one page of creators and the total number of matches; page through up to 10,000 results. Locations, interests and brands accept ids or names; topics must be tags from the topics endpoint. Rows say how they matched the audience and growth filters (`match`; null when no such filter applies). **Cost:** 1 per creator returned (an empty page is free) credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `filters` | object |  | default {} |
| `filters.creator` | object |  | Filters on the creator. |
| `filters.creator.followers` | object |  | An integer range; set min, max or both. |
| `filters.creator.followers.min` | integer |  | Inclusive lower bound. — min 0 |
| `filters.creator.followers.max` | integer |  | Inclusive upper bound. — min 0 |
| `filters.creator.engagement_rate` | object |  | Engagement rate bound as a fraction (0.02 = 2%), min or max (one at a time). max goes in whole percents (0.01, 0.02 …). Rows a hair outside the bound are left out. |
| `filters.creator.engagement_rate.min` | number |  | A share between 0 and 1 (0.25 = 25%). — min 0, max 1 |
| `filters.creator.engagement_rate.max` | number |  | A share between 0 and 1 (0.25 = 25%). — min 0, max 1 |
| `filters.creator.avg_likes` | object |  | An integer range; set min, max or both. |
| `filters.creator.avg_likes.min` | integer |  | Inclusive lower bound. — min 0 |
| `filters.creator.avg_likes.max` | integer |  | Inclusive upper bound. — min 0 |
| `filters.creator.avg_views` | object |  | An integer range; set min, max or both. |
| `filters.creator.avg_views.min` | integer |  | Inclusive lower bound. — min 0 |
| `filters.creator.avg_views.max` | integer |  | Inclusive upper bound. — min 0 |
| `filters.creator.avg_shares` | object |  | An integer range; set min, max or both. |
| `filters.creator.avg_shares.min` | integer |  | Inclusive lower bound. — min 0 |
| `filters.creator.avg_shares.max` | integer |  | Inclusive upper bound. — min 0 |
| `filters.creator.avg_saves` | object |  | An integer range; set min, max or both. |
| `filters.creator.avg_saves.min` | integer |  | Inclusive lower bound. — min 0 |
| `filters.creator.avg_saves.max` | integer |  | Inclusive upper bound. — min 0 |
| `filters.creator.posts_count` | object |  | An integer range; set min, max or both. |
| `filters.creator.posts_count.min` | integer |  | Inclusive lower bound. — min 0 |
| `filters.creator.posts_count.max` | integer |  | Inclusive upper bound. — min 0 |
| `filters.creator.follower_growth` | object |  |  |
| `filters.creator.follower_growth.months` | integer |  | Period, 1 to 6 months. — default 1, min 1, max 6 |
| `filters.creator.follower_growth.min` | number | yes | Minimum follower (YouTube: subscriber) growth over the period, as a fraction (0.1 = +10%). — min -1, max 10 |
| `filters.creator.likes_growth` | object |  | TikTok only. Growth of the creator's total likes. |
| `filters.creator.likes_growth.months` | integer |  | Period, 1 to 6 months. — default 1, min 1, max 6 |
| `filters.creator.likes_growth.min` | number | yes | Minimum total likes growth over the period, as a fraction (0.1 = +10%). — min -1, max 10 |
| `filters.creator.views_growth` | object |  | YouTube only. Growth of the channel's total views. |
| `filters.creator.views_growth.months` | integer |  | Period, 1 to 6 months. — default 1, min 1, max 6 |
| `filters.creator.views_growth.min` | number | yes | Minimum total views growth over the period, as a fraction (0.1 = +10%). — min -1, max 10 |
| `filters.creator.last_posted_within_days` | integer |  | Posted at least once in this many days (30 or more). — min 30, max 365 |
| `filters.creator.locations` | integer \| string[] |  | Where the creator is based. Matches any of them. — up to 10 items |
| `filters.creator.gender` | "male" \| "female" \| "known" \| "neutral" |  | known: male or female. neutral: accounts the index classes as neither (often brands, pages and groups). |
| `filters.creator.username` | object |  | Handles starting with (prefix) or equal to (exact) this value, without @. |
| `filters.creator.username.value` | string | yes |  |
| `filters.creator.username.match` | "prefix" \| "exact" |  | default "prefix" |
| `filters.creator.category` | string |  | Instagram only. The account category shown on the profile, from GET /v1/dictionaries/categories (e.g. "Fitness Trainer"). |
| `filters.creator.age` | object |  | The creator's age bracket bounds. |
| `filters.creator.age.min` | "18" \| "25" \| "35" \| "45" \| "65" |  |  |
| `filters.creator.age.max` | "18" \| "25" \| "35" \| "45" \| "65" |  |  |
| `filters.creator.language` | string |  | ISO 639-1 code of the language the creator posts in (GET /v1/dictionaries/languages). |
| `filters.creator.is_verified` | boolean |  | true: verified accounts only; false: unverified only. |
| `filters.creator.private_accounts` | "exclude" \| "only" |  | Instagram and TikTok. exclude: public accounts only; only: private accounts only. Default: both. Private accounts have no public posts to analyze. |
| `filters.creator.has_email` | boolean |  | Only creators with a public contact email (get it with POST /v1/creators/contacts). |
| `filters.creator.has_phone` | boolean |  | Only creators with a public phone number. |
| `filters.creator.contacts` | object |  | Public contact channels on the profile: email, phone, other social accounts, messengers, Linktree. |
| `filters.creator.contacts.all_of` | "email" \| "phone" \| "instagram" \| "tiktok" \| "youtube" \| "twitter" \| "facebook" \| "snapchat" \| "telegram" \| "whatsapp" \| "linktree" \| "twitch" \| "pinterest" \| "linkedin" \| "viber" \| "wechat" \| "weibo" \| "vk" \| "tumblr" \| "skype" \| "kik" \| "line" \| "kakao"[] |  | Has every one of these. — up to 23 items |
| `filters.creator.contacts.any_of` | "email" \| "phone" \| "instagram" \| "tiktok" \| "youtube" \| "twitter" \| "facebook" \| "snapchat" \| "telegram" \| "whatsapp" \| "linktree" \| "twitch" \| "pinterest" \| "linkedin" \| "viber" \| "wechat" \| "weibo" \| "vk" \| "tumblr" \| "skype" \| "kik" \| "line" \| "kakao"[] |  | Has at least one of these. — up to 23 items |
| `filters.creator.contacts.none_of` | "email" \| "phone" \| "instagram" \| "tiktok" \| "youtube" \| "twitter" \| "facebook" \| "snapchat" \| "telegram" \| "whatsapp" \| "linktree" \| "twitch" \| "pinterest" \| "linkedin" \| "viber" \| "wechat" \| "weibo" \| "vk" \| "tumblr" \| "skype" \| "kik" \| "line" \| "kakao"[] |  | Has none of these. — up to 23 items |
| `filters.creator.bio` | string |  | A phrase that must appear in the bio. |
| `filters.creator.bio_phrases` | object |  | Several bio phrases with all/any/none logic. |
| `filters.creator.bio_phrases.all_of` | string[] |  | The bio contains every one of these. — up to 10 items |
| `filters.creator.bio_phrases.any_of` | string[] |  | The bio contains at least one of these. — up to 10 items |
| `filters.creator.bio_phrases.none_of` | string[] |  | The bio contains none of these. — up to 10 items |
| `filters.creator.has_audience_data` | true |  | Only creators whose audience has been analyzed (audience filters and reports need it). |
| `filters.creator.has_contacts` | true |  | Only creators with at least one public contact channel. |
| `filters.creator.account_types` | "personal" \| "business" \| "creator"[] |  | Instagram only. — up to 3 items |
| `filters.creator.interests` | string[] |  | Instagram only. Interest ids or names from GET /v1/dictionaries/interests. Matches any of them. — up to 10 items |
| `filters.creator.brands` | integer \| string[] |  | Instagram only. Creator has affinity with any of these brands. — up to 10 items |
| `filters.creator.sponsored_brands` | integer \| string[] |  | Instagram only. Creator posted sponsored content for any of these brands. — up to 10 items |
| `filters.creator.has_sponsored_posts` | boolean |  | Instagram only. Creator has posted sponsored content. |
| `filters.creator.is_official_artist` | boolean |  | YouTube only. true: official artist channels only; false: every other channel. |
| `filters.content` | object |  | Filters on what the creator posts. |
| `filters.content.topics` | string[] |  | Topic tags from GET /v1/dictionaries/topics, e.g. ["#vegan"]. Each must be a known tag on this platform (vocabularies differ per platform); several tags are matched together as one topic. — up to 10 items |
| `filters.content.keywords` | string |  | Words in post captions (YouTube: video titles, descriptions and transcripts). Words are stemmed and all must match. |
| `filters.content.exclude_keywords` | string |  | Leave out creators whose captions (YouTube: titles, descriptions and transcripts) contain these words. Not together with keywords. |
| `filters.content.hashtags` | string[] |  | Instagram and TikTok. Used any of these hashtags (with or without #). Find hashtags with GET /v1/dictionaries/hashtags. — up to 20 items |
| `filters.content.exclude_hashtags` | string[] |  | Instagram and TikTok. Leave out creators who used any of these hashtags. — up to 20 items |
| `filters.content.mentions` | string[] |  | Instagram and TikTok. Mentioned any of these accounts (handles, with or without @; find them with GET /v1/creators/lookup). With hashtags, a creator must match both: any of the hashtags and any of the mentions. — up to 20 items |
| `filters.content.exclude_mentions` | string[] |  | Instagram and TikTok. Leave out creators who mentioned any of these accounts. — up to 20 items |
| `filters.content.similar_to` | string |  | Instagram and YouTube. Creators whose content resembles this creator (one handle). |
| `filters.audience` | object |  | Filters on the creator's followers. |
| `filters.audience.locations` | object[] |  | Followers in any of these places, each at least min_share of the audience (default 0.05). — up to 10 items |
| `filters.audience.locations[].location` | integer \| string | yes | A location id from GET /v1/dictionaries/locations, or a place name such as "France" or "Paris, France". TikTok and YouTube match countries only; a city or region is widened to its country. |
| `filters.audience.locations[].min_share` | number |  | A share between 0 and 1 (0.25 = 25%). — default 0.05, min 0, max 1 |
| `filters.audience.gender` | object |  |  |
| `filters.audience.gender.value` | "male" \| "female" | yes |  |
| `filters.audience.gender.min_share` | number |  | A share between 0 and 1 (0.25 = 25%). — default 0.5, min 0, max 1 |
| `filters.audience.ages` | object[] |  | Follower age ranges, each at least min_share (default 0.2). The index has almost no 65+ audiences. — up to 5 items |
| `filters.audience.ages[].range` | "18-24" \| "25-34" \| "35-44" \| "45-64" \| "65+" | yes |  |
| `filters.audience.ages[].min_share` | number |  | A share between 0 and 1 (0.25 = 25%). — default 0.2, min 0, max 1 |
| `filters.audience.language` | object |  |  |
| `filters.audience.language.code` | string | yes |  |
| `filters.audience.language.min_share` | number |  | A share between 0 and 1 (0.25 = 25%). — default 0.2, min 0, max 1 |
| `filters.audience.interests` | object[] |  | Instagram only. Follower interests (ids or names from GET /v1/dictionaries/interests). — up to 10 items |
| `filters.audience.interests[].interest` | string | yes |  |
| `filters.audience.interests[].min_share` | number |  | A share between 0 and 1 (0.25 = 25%). — default 0.3, min 0, max 1 |
| `filters.audience.brands` | integer \| string[] |  | Instagram only. Followers with an affinity for any of these brands (no share threshold). — up to 10 items |
| `filters.audience.credibility` | object |  | Instagram only. Minimum share of real (non-suspicious) followers. |
| `filters.audience.credibility.min` | number | yes | A share between 0 and 1 (0.25 = 25%). — min 0, max 1 |
| `filters.audience.similar_to` | string |  | Creators whose audience resembles this creator's audience (one handle). |
| `sort` | object |  |  |
| `sort.by` | "followers" \| "engagement_rate" \| "avg_likes" \| "avg_views" \| "posts_count" \| "follower_growth" \| "likes_growth" \| "views_growth" \| "relevance" \| "keyword_relevance" \| "audience_relevance" \| "audience_location" \| "audience_language" \| "audience_gender" \| "audience_age" \| "audience_interests" \| "audience_brands" |  | Default: relevance when topics or a lookalike is set, else followers. |
| `sort.direction` | "desc" \| "asc" |  | default "desc" |
| `metrics` | object |  | What average likes, average views and engagement rate mean, in filters, sorts and the rows returned. |
| `metrics.method` | "median" \| "mean" |  | How per-post averages are computed: median (default, less swayed by one viral post) or mean. — default "median" |
| `metrics.content_type` | "all" \| "videos" \| "shorts" \| "streams" |  | YouTube only. Compute the metrics from long videos, Shorts or streams only. It doesn't filter channels by what they post. — default "all" |
| `exclude_saved` | boolean |  | Leave out creators already saved in any of your workspace's lists. — default false |
| `exclude_hidden` | boolean |  | Leave out creators your workspace hid from search results in the app (as the app does). — default true |
| `page` | integer |  | 1-based page number. — default 1, min 1 |
| `page_size` | integer |  | Results per page, up to 50. — default 15, min 1, max 50 |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/search' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","filters":{"creator":{"followers":{"min":20000,"max":300000},"has_email":true,"interests":["fitness_yoga"]},"audience":{"gender":{"value":"female","min_share":0.6},"locations":[{"location":"United States","min_share":0.3}],"ages":[{"range":"25-34"}]}},"sort":{"by":"engagement_rate"},"page_size":5}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `total` | integer | yes | Creators matching the filters. |
| `page` | integer | yes |  |
| `page_size` | integer | yes |  |
| `has_more` | boolean | yes |  |
| `max_results` | integer | yes | How deep results can be paged (10,000). |
| `creators` | object[] | yes |  |
| `creators[].id` | string | yes | The creator's id on the platform (Instagram user id, TikTok user id, YouTube channel id). |
| `creators[].username` | string | yes | Handle, without @. |
| `creators[].full_name` | string \| null | yes |  |
| `creators[].url` | string | yes | Profile URL on the platform. |
| `creators[].picture` | string \| null | yes | Profile picture URL. |
| `creators[].is_verified` | boolean | yes |  |
| `creators[].account_type` | "personal" \| "business" \| "creator" \| null | yes | Instagram only. |
| `creators[].followers` | integer | yes | Followers (YouTube: subscribers). |
| `creators[].engagement_rate` | number \| null | yes | Average engagement per post divided by followers, as a fraction (0.0312 = 3.12%). |
| `creators[].avg_likes` | integer \| null | yes |  |
| `creators[].avg_views` | integer \| null | yes | Average views per video (TikTok, YouTube). Usually null on Instagram rows: filter and sort by reels plays, read them in the report. |
| `creators[].bio` | string \| null | yes |  |
| `creators[].gender` | string \| null | yes | Usually null in search rows, even when you filter on it (the filter still applies); the report has it. |
| `creators[].age_group` | string \| null | yes | Usually null in search rows; the report has it. |
| `creators[].language` | string \| null | yes | ISO 639-1 code. Usually null in search rows; the report has it. |
| `creators[].location` | object \| null | yes | Usually null in search rows, even when you filter on it (the filter still applies); the report has it. |
| `creators[].contacts` | object[] \| null | yes | Usually null in search; use POST /v1/creators/contacts. |
| `creators[].livestream` | object \| null | yes | Usually null. |
| `creators[].match` | object \| null | yes | How this creator matched the audience and growth filters, e.g. {"audience_gender":[{"gender":"female","share":0.53}], "audience_locations":[{"name":"France","share":0.25}], "follower_growth":0.42}. Shares and growth are fractions (0.42 = +42%). |
| `warnings` | string[] |  | Adjustments made to the request, e.g. a city widened to its country. |

Example (trimmed):

```json
{
  "total": 28118,
  "page": 1,
  "page_size": 5,
  "has_more": true,
  "max_results": 10000,
  "creators": [
    {
      "id": "336441173",
      "username": "olliecolebeck",
      "full_name": "OLLIE",
      "url": "https://www.instagram.com/olliecolebeck/",
      "picture": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYW9hcI5BCEiq0C7kKRpNfsQ7IoIwTg1cIz1IoFPvKbJzoNFakRLq%2B5ixF3VCR5j3xuzE1JrCntRctJe4Nuq...",
      "is_verified": false,
      "account_type": "creator",
      "followers": 25452,
      "engagement_rate": 13.099422442244224,
      "avg_likes": 333406,
      "avg_views": null,
      "bio": "Founder OLC Media\n- Head of Content @luciecolebeck \n- 📧name@example.com",
      "gender": null,
      "age_group": null,
      "language": null,
      "location": null,
      "contacts": null,
      "livestream": null,
      "match": {
        "interests": [
          "Fitness & Yoga"
        ],
        "audience_ages": {
          "min": 25,
          "max": 34,
          "share": 0.3036
        },
        "audience_gender": [
          {
            "gender": "female",
            "share": 0.7528
          }
        ],
        "audience_locations": [
          {
            "name": "United States",
            "share": 0.3279
          }
        ]
      }
    },
    {
      "id": "3409140243",
      "username": "jaylynn.elan",
      "full_name": "boo 🧿🎀🇵🇸",
      "url": "https://www.instagram.com/jaylynn.elan/",
      "picture": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDanpi2I9gFiWXMq4pha1q5H1yS8YA4t8QyxLksMgigcoNEsUweMl2Ov9ulHlTfIMIibkVsAwvvc3ul7futeWUD...",
      "is_verified": false,
      "account_type": "creator",
      "followers": 30629,
      "engagement_rate": 8.889353227333572,
      "avg_likes": 272272,
      "avg_views": null,
      "bio": "Hi 🌈 Fashion | Makeup | Girly things 🎀🛍️\nLiterallyyyy a princess\n🎀💗✨🫧🧸💗🎀✨🫧",
      "gender": null,
      "age_group": null,
      "language": null,
      "location": null,
      "contacts": null,
      "livestream": null,
      "match": {
        "interests": [
          "Fitness & Yoga"
        ],
        "audience_ages": {
          "min": 25,
          "max": 34,
          "share": 0.4195
        },
        "audience_gender": [
          {
            "gender": "female",
            "share": 0.8821
          }
        ],
        "audience_locations": [
          {
            "name": "United States",
            "share": 0.6854
          }
        ]
      }
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`, `invalid_filter`, `page_limit`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Get a creator's profile

`POST /v1/creators/profile`

The creator's current public profile, read live from the platform: name, bio, picture, followers, following, posts, verification, links. Fast (about a second) and light: use it to check a handle, show a creator card or refresh follower counts. Audience and engagement data are in the report. The same profile asked again within 10 minutes is answered from cache (`X-Cache: HIT`). **Cost:** 3 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `username` | string | yes | Handle (leomessi or @leomessi) or profile link (https://www.instagram.com/leomessi). YouTube also takes a channel id (UC…). |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/profile' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"leomessi"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `id` | string \| null | yes | The creator's id on the platform (Instagram user id, TikTok user id, YouTube channel id). |
| `username` | string | yes | Handle, without @. |
| `full_name` | string \| null | yes |  |
| `url` | string \| null | yes | Profile URL on the platform. |
| `picture` | string \| null | yes | Profile picture on the platform's own CDN. Platforms expire these links after a few days: download the image if you need to keep it. |
| `bio` | string \| null | yes |  |
| `followers` | integer \| null | yes | Followers (YouTube: subscribers). |
| `following` | integer \| null | yes | Accounts followed. Instagram and TikTok. |
| `posts_count` | integer \| null | yes | Posts (TikTok and YouTube: videos). |
| `total_views` | integer \| null | yes | YouTube only: the channel's lifetime views. |
| `is_verified` | boolean | yes |  |
| `is_private` | boolean \| null | yes |  |
| `is_business` | boolean \| null | yes | Instagram: a business or creator account. |
| `category` | string \| null | yes | Instagram: the account category shown on the profile, if any. |
| `links` | string[] | yes | Links in the bio. |
| `fetched_at` | string | yes | When the profile was read from the platform (ISO 8601). |

Example (trimmed):

```json
{
  "platform": "instagram",
  "id": "427553890",
  "username": "leomessi",
  "full_name": "Leo Messi",
  "url": "https://www.instagram.com/leomessi",
  "picture": "https://scontent.cdninstagram.com/v/t51.2885-19/424905549_n.jpg?stp=dst-jpg_s320x320&oe=6B0A7CF1",
  "bio": "Bienvenidos a la cuenta oficial de Instagram de Leo Messi / Welcome to the official Leo Messi Instagram account",
  "followers": 516648684,
  "following": 372,
  "posts_count": 1562,
  "total_views": null,
  "is_verified": true,
  "is_private": false,
  "is_business": true,
  "category": "Athlete",
  "links": [
    "http://instagram.com/uecornella"
  ],
  "fetched_at": "2026-11-23T19:37:16.504Z"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `creator_not_found`, `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Get a creator report

`POST /v1/creators/report`

Full analytics for one creator: profile, stats, engagement benchmark, growth history, estimated pricing, content (hashtags, mentions, topics, top/recent/sponsored posts), lookalikes, and the audience breakdown of followers and of engagers (likers on Instagram, commenters on YouTube; none on TikTok). Every list is complete. Use `sections` to return less, or `format: "summary"` for a compact digest (a few thousand tokens) made for AI agents. A report fresh in our index answers immediately; otherwise it is computed (usually seconds). When a creator's data is still being collected you get 503 `data_collecting` with Retry-After. **What's included, by platform** (measured over real reports; ✓ = nearly always, ~ = most creators, – = not on this platform): | Section | Instagram | TikTok | YouTube | |---|---|---|---| | stats: followers, posts, likes, comments, engagement rate | ✓ | ✓ | ✓ | | stats: views / reel plays / shares / saves | reel plays, shares | views, shares, saves | views | | engagement_benchmark, growth (7 months), pricing | ✓ | ✓ | ✓ | | pricing.model / pricing.estimated_gmv | – / ~ | ✓ / ~ | ✓ / – | | content_mix, interests, brand_affinity | ✓ | – | – | | hashtags, mentions | ✓ | ✓ | – | | topics, similar_creators | ✓ | ~ | ~ | | posts.top / recent | up to 20 | up to 10 | up to 10 | | posts.sponsored | when any | when any | – | | audience: countries, genders, ages, languages, notable | ✓ | ✓ | ✓ | | audience: credibility, follower types, cities, states, interests, brands, ethnicities | ✓ | – | – | | engagers | likers, ~ | – (null) | commenters: countries, genders, ages, languages, notable | | gender / age_group of the creator | ~ (inferred) | ~ | ~ | Lists can be empty and single values null when a creator has no data for them; the field descriptions below give the detail. A report can come from data collected while an account was public: POST /v1/creators/profile says whether it is private now (`is_private`). **Cost:** 80 (free again for the same creator for 30 days, PDF included) credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `username` | string | yes | Handle (leomessi or @leomessi) or profile link (https://www.instagram.com/leomessi). YouTube also takes a channel id (UC…). |
| `sections` | "stats" \| "benchmark" \| "growth" \| "pricing" \| "content" \| "posts" \| "audience" \| "engagers" \| "similar" \| "contacts"[] |  | Return only these sections (profile fields always come back). Default: all. stats: stats and content_mix; benchmark: engagement_benchmark; growth: growth; pricing: pricing; content: interests, brand_affinity, hashtags, mentions, topics; posts: posts; similar: similar_creators; contacts: contacts; audience: audience; engagers: engagers. |
| `format` | "full" \| "summary" |  | full: the CreatorReport below. summary: a compact digest for AI agents (a few thousand tokens) in its own, looser shape: plain-language keys (overview, audience, engagers, content, posts, growth, pricing), percentages as numbers from 0 to 100, lists cut to the top entries, and a `format: "summary"` field. `sections` doesn't apply to it. Build integrations on full. — default "full" |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/report' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"leomessi","sections":["stats","audience"]}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `id` | string \| null | yes |  |
| `username` | string | yes |  |
| `full_name` | string \| null | yes |  |
| `url` | string \| null | yes |  |
| `picture` | string \| null | yes |  |
| `bio` | string \| null | yes |  |
| `is_verified` | boolean | yes |  |
| `is_official_artist` | boolean \| null | yes | YouTube official artist channels; usually null. |
| `account_type` | string \| null | yes | Instagram only: personal, business or creator. |
| `gender` | string \| null | yes | Inferred; null for brands, groups and unclear cases (about a third of creators). |
| `age_group` | string \| null | yes | Inferred; often null. |
| `language` | object \| null | yes | The language the creator posts in. |
| `location` | object \| null | yes |  |
| `updated_at` | string \| null | yes | When the creator's data was last refreshed. |
| `generated_at` | string \| null | yes |  |
| `stats` | object |  |  |
| `stats.followers` | integer \| null | yes | Followers (YouTube: subscribers). |
| `stats.following` | integer \| null | yes | Not provided in reports (null); POST /v1/creators/profile has the live count. |
| `stats.posts` | integer \| null | yes |  |
| `stats.avg_likes` | integer \| null | yes |  |
| `stats.avg_comments` | integer \| null | yes |  |
| `stats.avg_views` | integer \| null | yes | TikTok and YouTube. |
| `stats.avg_reels_views` | integer \| null | yes | Instagram only: average reel plays. |
| `stats.avg_shares` | integer \| null | yes | Instagram and TikTok. |
| `stats.avg_saves` | integer \| null | yes | TikTok only. |
| `stats.engagement_rate` | number \| null | yes | Average engagement per post / followers, as a fraction. Can exceed 1 for creators whose posts out-reach their following. |
| `stats.hidden_likes_share` | number \| null | yes | Instagram only: share of recent posts with likes hidden. |
| `stats.sponsored_posts_performance` | number \| null | yes | Instagram and TikTok, when the creator has sponsored posts (often null): sponsored posts' engagement relative to their average. |
| `stats.livestream` | object \| null | yes | Live-stream metrics for creators who stream (rare). |
| `engagement_benchmark` | object \| null |  | Engagement rate against creators of similar size. All platforms. |
| `content_mix` | object[] |  | Instagram only: share of posts by format. |
| `content_mix[].type` | string | yes |  |
| `content_mix[].share` | number \| null | yes | Fraction between 0 and 1. |
| `growth` | object[] |  | Monthly history: the last 7 months, oldest first. |
| `growth[].month` | string | yes | YYYY-MM. The last entry is the current, partial month. |
| `growth[].followers` | integer \| null | yes |  |
| `growth[].following` | integer \| null | yes |  |
| `growth[].avg_likes` | integer \| null | yes |  |
| `growth[].avg_views` | integer \| null | yes |  |
| `growth[].avg_comments` | integer \| null | yes |  |
| `growth[].total_views` | integer \| null | yes |  |
| `growth[].total_likes` | integer \| null | yes |  |
| `pricing` | object \| null |  |  |
| `interests` | string[] |  | Instagram only: the creator's interests. |
| `brand_affinity` | string[] |  | Instagram only: brands the creator is associated with. |
| `hashtags` | object[] |  | Instagram and TikTok (empty on YouTube): up to 30 most used. |
| `hashtags[].tag` | string | yes |  |
| `hashtags[].share` | number \| null | yes | Fraction between 0 and 1. |
| `mentions` | object[] |  | Instagram and TikTok (empty on YouTube): up to 30 most mentioned. |
| `mentions[].username` | string | yes |  |
| `mentions[].share` | number \| null | yes | Fraction between 0 and 1. |
| `topics` | object[] |  | Topic tags, all platforms; empty for some creators. |
| `topics[].tag` | string | yes |  |
| `topics[].relevance` | number \| null | yes |  |
| `topics[].usage` | number \| null | yes |  |
| `posts` | object |  |  |
| `posts.top` | object[] | yes | Most engaging posts (Instagram up to 20, TikTok and YouTube up to 10). |
| `posts.top[].type` | string \| null | yes | image, video, reel, carousel, short, story... |
| `posts.top[].url` | string \| null | yes |  |
| `posts.top[].title` | string \| null | yes | YouTube video title (null elsewhere). |
| `posts.top[].caption` | string \| null | yes |  |
| `posts.top[].published_at` | string \| null | yes |  |
| `posts.top[].thumbnail` | string \| null | yes | Image link. Instagram and TikTok links are signed and expire within days; download what you need to keep. |
| `posts.top[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts.top[].comments` | integer \| null | yes |  |
| `posts.top[].views` | integer \| null | yes | TikTok and YouTube. |
| `posts.top[].plays` | integer \| null | yes | Instagram reels. |
| `posts.top[].shares` | integer \| null | yes | TikTok (and some Instagram posts). |
| `posts.top[].saves` | integer \| null | yes | TikTok. |
| `posts.top[].mentions` | string[] | yes | Mentioned handles, without @. |
| `posts.recent` | object[] | yes | Latest posts (Instagram up to ~20, TikTok and YouTube up to 10). |
| `posts.recent[].type` | string \| null | yes | image, video, reel, carousel, short, story... |
| `posts.recent[].url` | string \| null | yes |  |
| `posts.recent[].title` | string \| null | yes | YouTube video title (null elsewhere). |
| `posts.recent[].caption` | string \| null | yes |  |
| `posts.recent[].published_at` | string \| null | yes |  |
| `posts.recent[].thumbnail` | string \| null | yes | Image link. Instagram and TikTok links are signed and expire within days; download what you need to keep. |
| `posts.recent[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts.recent[].comments` | integer \| null | yes |  |
| `posts.recent[].views` | integer \| null | yes | TikTok and YouTube. |
| `posts.recent[].plays` | integer \| null | yes | Instagram reels. |
| `posts.recent[].shares` | integer \| null | yes | TikTok (and some Instagram posts). |
| `posts.recent[].saves` | integer \| null | yes | TikTok. |
| `posts.recent[].mentions` | string[] | yes | Mentioned handles, without @. |
| `posts.sponsored` | object[] | yes | Instagram and TikTok: up to 30 sponsored posts; empty when none (and on YouTube). |
| `posts.sponsored[].type` | string \| null | yes | image, video, reel, carousel, short, story... |
| `posts.sponsored[].url` | string \| null | yes |  |
| `posts.sponsored[].title` | string \| null | yes | YouTube video title (null elsewhere). |
| `posts.sponsored[].caption` | string \| null | yes |  |
| `posts.sponsored[].published_at` | string \| null | yes |  |
| `posts.sponsored[].thumbnail` | string \| null | yes | Image link. Instagram and TikTok links are signed and expire within days; download what you need to keep. |
| `posts.sponsored[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts.sponsored[].comments` | integer \| null | yes |  |
| `posts.sponsored[].views` | integer \| null | yes | TikTok and YouTube. |
| `posts.sponsored[].plays` | integer \| null | yes | Instagram reels. |
| `posts.sponsored[].shares` | integer \| null | yes | TikTok (and some Instagram posts). |
| `posts.sponsored[].saves` | integer \| null | yes | TikTok. |
| `posts.sponsored[].mentions` | string[] | yes | Mentioned handles, without @. |
| `similar_creators` | object[] |  | Up to 30 creators with similar content; empty for some creators. |
| `similar_creators[].username` | string | yes |  |
| `similar_creators[].full_name` | string \| null | yes |  |
| `similar_creators[].url` | string \| null | yes |  |
| `similar_creators[].followers` | integer \| null | yes |  |
| `similar_creators[].is_verified` | boolean | yes |  |
| `contacts` | object[] |  | Public links (Linktree, other socials...). Emails: POST /v1/creators/contacts. |
| `contacts[].type` | string | yes |  |
| `contacts[].value` | string | yes |  |
| `audience` | object \| null |  | The followers' audience. All platforms; the fields marked Instagram only are empty arrays or null elsewhere. |
| `engagers` | object \| null |  | Who engages: likers on Instagram (most creators), commenters on YouTube (countries, genders, ages, languages, notable). Null on TikTok and whenever there is no engager data. |

Example (trimmed):

```json
{
  "platform": "instagram",
  "id": "35012240",
  "username": "kristirozez",
  "full_name": "Kristina Trandafilova",
  "url": "https://www.instagram.com/kristirozez",
  "picture": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYW9hcI5BCEiq0C7kKRpNfsgvebcTq2gYILVAqUapR1WwQeKmP7RFesxtCAMaiGhmMzzm1yoCrfVjpru8ymgRWFg%2Bxyy0iVudXYli5ANlF4vA%3D%3D",
  "bio": "Kristi Rozez 💫 🇺🇦 |📍Los Angeles \nDancer • Choreographer • Artist\nTeaching Heels and Jazz funk in LA 👠 \nBloom through dance ✨",
  "is_verified": true,
  "is_official_artist": null,
  "account_type": "creator",
  "gender": "female",
  "age_group": "25-34",
  "language": {
    "code": "en",
    "name": "English"
  },
  "location": {
    "city": null,
    "state": null,
    "country": "United States"
  },
  "updated_at": "2026-11-07T00:35:31.787Z",
  "generated_at": "2026-11-19T12:46:46.343Z",
  "stats": {
    "followers": 14975,
    "following": null,
    "posts": 193,
    "avg_likes": 6553,
    "avg_comments": 27,
    "avg_views": null,
    "avg_reels_views": 5709,
    "avg_shares": 2,
    "avg_saves": null,
    "engagement_rate": 0.437596,
    "hidden_likes_share": 0.556291,
    "sponsored_posts_performance": null,
    "livestream": null
  },
  "content_mix": [
    {
      "type": "reels",
      "share": 0.6
    },
    {
      "type": "carousel",
      "share": 0.4
    }
  ],
  "engagement_benchmark": {
    "percentile": 0.98,
    "median": 0.0059,
    "bins": [
      {
        "min": null,
        "max": 0.000708,
        "creators": 1098535,
        "is_median": false
      },
      {
        "min": 0.000708,
        "max": 0.001555,
        "creators": 878828,
        "is_median": false
      },
      {
        "min": 0.001555,
        "max": 0.002575,
        "creators": 732311,
        "is_median": false
      }
    ]
  },
  "growth": [
    {
      "month": "2026-05",
      "followers": 14709,
      "following": 363,
      "avg_likes": 0,
      "avg_views": null,
      "avg_comments": null,
      "total_views": null,
      "total_likes": null
    },
    {
      "month": "2026-06",
      "followers": 14726,
      "following": 362,
      "avg_likes": 0,
      "avg_views": null,
      "avg_comments": null,
      "total_views": null,
      "total_likes": null
    },
    {
      "month": "2026-07",
      "followers": 14712,
      "following": 369,
      "avg_likes": 0,
      "avg_views": null,
      "avg_comments": null,
      "total_views": null,
      "total_likes": null
    }
  ],
  "pricing": {
    "currency": "USD",
    "estimates": [
      {
        "format": "reels",
        "min": 460,
        "max": 691
      },
      {
        "format": "story",
        "min": 268,
        "max": 403
      },
      {
        "format": "static_post",
        "min": 383,
        "max": 575
      }
    ],
    "factors": [
      {
        "factor": "engagement",
        "level": "Very High",
        "description": "Very high engagement rate increases pricing, reflecting strong connection with audience."
      },
      {
        "factor": "follower_level",
        "level": "Micro Influencer",
        "description": "Micro-influencer status offers balanced pricing, reflecting moderate reach and engagement."
      },
      {
        "factor": "audience_location",
        "level": "Tier 3",
        "description": "Audience is primarily in Tier 3 countries, where purchasing power and prices are lower."
      }
    ],
    "model": null,
    "estimated_gmv": {
      "currency": "USD",
      "min": 3000,
      "max": 5000
    }
  },
  "interests": [
    "Music",
    "Camera & Photography",
    "Clothes, Shoes, Handbags & Accessories"
  ],
  "brand_affinity": [
    "Louis Vuitton",
    "Royal Caribbean"
  ],
  "hashtags": [
    {
      "tag": "#choreography",
      "share": 0.2857
    },
    {
      "tag": "#dance",
      "share": 0.2789
    },
    {
      "tag": "#dancer",
      "share": 0.1701
    }
  ],
  "mentions": [
    {
      "username": "opey2dopey",
      "share": 0.124
    },
    {
      "username": "opey3dopey",
      "share": 0.0775
    },
    {
      "username": "anna_eliseeva_photography",
      "share": 0.0388
    }
  ],
  "topics": [
    {
      "tag": "heelsdance",
      "relevance": 0.159724,
      "usage": 9.978688
    },
    {
      "tag": "heelsclass",
      "relevance": 0.209862,
      "usage": 9.364777
    },
    {
      "tag": "heelsdanceclass",
      "relevance": 0.236966,
      "usage": 8.719971
    }
  ],
  "posts": {
    "top": [
      {
        "type": "video",
        "url": "https://www.instagram.com/p/DfATc9FC7zq/",
        "title": null,
        "caption": "Hunters, it’s your turn!! The full How It’s Done choreography is here for the first time. Learn the moves and show us what you’ve got!\n\n🎥: @reanimefilms \nVFX: @drewerth_g \nSound design: @tonyjax7 \n\n#UnlockHuntrix #NetflixPartner @Netflix @kpopdemonhuntersnetflix #kpopdemonhunters #movie",
        "published_at": "2026-10-27T16:43:13.000Z",
        "thumbnail": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDblVFkog6zUXUYcRIo5CTDY6Y%2Fd3dyNk0N5cPLhILvDiKsSRqV5NsRFnbQk1izSAaonSaYARVt8N2YLVgcK0SIZg%2Bxyy0iVudXYli5ANlF4vA%3D%3D",
        "likes": 12772,
        "comments": 199,
        "views": null,
        "plays": 212841,
        "shares": 981,
        "saves": null,
        "mentions": [
          "reanimefilms",
          "drewerth_g",
          "tonyjax7"
        ]
      },
      {
        "type": "image",
        "url": "https://www.instagram.com/p/CYW5QRhKJ0M/",
        "title": null,
        "caption": "Новая грань меня 😈\n⠀⠀\nMake up and hair: @mary9mur 😍\nPhoto: @melanichvova 📷\nStudio: @lightbox.studio ❤️\n⠀⠀\n#одесса #фотоодесса #sexybody #bodygoals",
        "published_at": "2022-01-05T18:02:31.000Z",
        "thumbnail": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYElzQ8azFJzmu%2FFSX2Dbh4jMmL7ijAR9ZUfFSdHzU4S2%2FeevwKYlvGxhVziIN5jExB1ttvICOZQqp3tbriHG1W544at7LJk2LydmLGyUGCyg%3D%3D",
        "likes": 2654,
        "comments": 156,
        "views": null,
        "plays": null,
        "shares": null,
        "saves": null,
        "mentions": [
          "mary9mur",
          "melanichvova",
          "lightbox.studio"
        ]
      },
      {
        "type": "image",
        "url": "https://www.instagram.com/p/Cs6ciMiOmWi/",
        "title": null,
        "caption": "Stop and stare 💔\n…\n📷: @anna_eliseeva_photography \n💄: @mariya_bilinchuk \n…\n#photoshootmichigan #photo #model",
        "published_at": "2023-05-31T15:52:06.000Z",
        "thumbnail": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYwlvoMIXXfBtQtOY6CqQu3TkzEa%2BpD8uFHAFMXIajhuWCuJ%2FcV6Z3uVWmF72SqzY7EeY9eCJ9k9O%2FZNDRf2tkUgNlJUwVYqIiahjW32e%2BqWA%3D%3D",
        "likes": null,
        "comments": 86,
        "views": null,
        "plays": null,
        "shares": null,
        "saves": null,
        "mentions": [
          "anna_eliseeva_photography",
          "mariya_bilinchuk",
          "mariakohut_mua"
        ]
      }
    ],
    "recent": [
      {
        "type": "image",
        "url": "https://www.instagram.com/p/DfSrpQFEv93/",
        "title": null,
        "caption": "Capturing moments✨\n\n#losangeles #dancer #dancing #photos #model",
        "published_at": "2026-11-03T19:55:37.000Z",
        "thumbnail": "https://imgp.sptds.icu/p2?TtpRtyEyBiyQVjkfk2ItinMSuVxRvDDug4rf%2F%2BCZdgX3jVdG%2BZoijK8HVoboBMnEnMD%2B9gheug32g3e9b38gPA%3D%3D",
        "likes": null,
        "comments": 29,
        "views": null,
        "plays": null,
        "shares": null,
        "saves": null,
        "mentions": [
          "fdphotostudio"
        ]
      },
      {
        "type": "video",
        "url": "https://www.instagram.com/p/DfATc9FC7zq/",
        "title": null,
        "caption": "Hunters, it’s your turn!! The full How It’s Done choreography is here for the first time. Learn the moves and show us what you’ve got!\n\n🎥: @reanimefilms \nVFX: @drewerth_g \nSound design: @tonyjax7 \n\n#UnlockHuntrix #NetflixPartner @Netflix @kpopdemonhuntersnetflix #kpopdemonhunters #movie",
        "published_at": "2026-10-27T16:43:13.000Z",
        "thumbnail": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDblVFkog6zUXUYcRIo5CTDY6Y%2Fd3dyNk0N5cPLhILvDiKsSRqV5NsRFnbQk1izSAaonSaYARVt8N2YLVgcK0SIZg%2Bxyy0iVudXYli5ANlF4vA%3D%3D",
        "likes": 12772,
        "comments": 199,
        "views": null,
        "plays": 212841,
        "shares": 981,
        "saves": null,
        "mentions": [
          "reanimefilms",
          "drewerth_g",
          "tonyjax7"
        ]
      },
      {
        "type": "image",
        "url": "https://www.instagram.com/p/DefvI7imP6I/",
        "title": null,
        "caption": "Matcha vibes 🍵 \nNot a daily thing, just a little treat!🤍\n\n📍 @omake.sc ❤️\n\n#studiocity #losangeles #dancer #photo",
        "published_at": "2026-10-15T01:04:53.000Z",
        "thumbnail": "https://imgp.sptds.icu/p2?TtpRtyEyBiyQVjkfk2Itiphs8vp8QimtI4OtbIUPHXj0R3lQQsofOMTMpq6nkgNXnMD%2B9gheug32g3e9b38gPA%3D%3D",
        "likes": null,
        "comments": 36,
        "views": null,
        "plays": null,
        "shares": 2,
        "saves": null,
        "mentions": [
          "omake.sc",
          "fitrun.ukraine",
          "fitrun_ua"
        ]
      }
    ],
    "sponsored": [
      {
        "type": "image",
        "url": "https://www.instagram.com/p/CQGnQYdDqbU/",
        "title": null,
        "caption": "Как можно пройти мимо этого пиджака?😍 🧥\n⠀⠀\n🧡 @shine_woman_ukraine 🧡\n⬆️\n⠀⠀\n#трендлета #пиджак #одесса",
        "published_at": "2021-06-14T14:06:15.000Z",
        "thumbnail": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYElzQ8azFJzmu%2FFSX2Dbh4ToZY9RfKRH2SoevnxawrVAJBw%2BrQdBNB7CC9PrJIElAEOaMoP2FZtMU1ozBWhwyCnUq3GSkm4SkuDxUTtEqD%2FA%3D%3D",
        "likes": 1152,
        "comments": 0,
        "views": null,
        "plays": null,
        "shares": null,
        "saves": null,
        "mentions": [
          "shine_woman_ukraine"
        ]
      },
      {
        "type": "image",
        "url": "https://www.instagram.com/p/CQBn1Tkjsu_/",
        "title": null,
        "caption": "💜 @bio_gum_ 💜\nПосле месяца приема витамин, я увидела результаты на своих волосах 💇🏽‍♀️ Волосы получали все необходимые витамины и за месяц, знатно отросли и стали гуще. Я буду продолжать восстанавливать волосы после блондинистого цвета, но с витаминами BIO GUM - это будет знатно быстрее ❤️😍\n⠀⠀\n❤️Витаминки полностью натуральные, 100% веганские, без сахара и глютена и в кажды жвачке 15 витамин 😱 а ещё они капец какие вкусные 🙄😂😵‍💫\n⠀⠀\n‼️По моему промокоду «Kristirozez» вы можете получить 30% скидку на 2 баночку‼️\n⠀⠀\n#biogum #уходзасобой #волосы #уходволосы #витамины",
        "published_at": "2021-06-12T15:35:05.000Z",
        "thumbnail": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYElzQ8azFJzmu%2FFSX2Dbh4VMy7o6PIdggLNk2tG5LmXcN4lCr9nG8ScIa7N9gqZmPW4xtqAI4sp%2BCnC10fayCY3SYzAHx%2Ft74%2FogcUBUFZ7A%3D%3D",
        "likes": 1118,
        "comments": 0,
        "views": null,
        "plays": null,
        "shares": null,
        "saves": null,
        "mentions": [
          "bio_gum_"
        ]
      },
      {
        "type": "image",
        "url": "https://www.instagram.com/p/CNSN9NzDGXo/",
        "title": null,
        "caption": "brunette girl 🙆🏽‍♀️💇🏽‍♀️\n⠀⠀\n#dancer #photo #body",
        "published_at": "2021-04-05T12:41:53.000Z",
        "thumbnail": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYElzQ8azFJzmu%2FFSX2Dbh4jDV3bJEEpSLZo3foh7Ptew0J%2Biz4EnHaamxwSViK29XJxjNUr61d5ULz9ADJeEhw29Atg7%2BCHo4rRtzwBsQsmQ%3D%3D",
        "likes": 1496,
        "comments": 0,
        "views": null,
        "plays": null,
        "shares": null,
        "saves": null,
        "mentions": [
          "gogo_dancer_outfits"
        ]
      }
    ]
  },
  "similar_creators": [
    {
      "username": "ashleycokinis",
      "full_name": null,
      "url": "https://www.instagram.com/ashleycokinis",
      "followers": 4452,
      "is_verified": false
    },
    {
      "username": "lorenajuliamedina",
      "full_name": null,
      "url": "https://www.instagram.com/lorenajuliamedina",
      "followers": 42479,
      "is_verified": false
    },
    {
      "username": "georgiefabien",
      "full_name": null,
      "url": "https://www.instagram.com/georgiefabien",
      "followers": 54508,
      "is_verified": false
    }
  ],
  "contacts": [
    {
      "type": "threads",
      "value": "https://threads.net/@kristirozez"
    },
    {
      "type": "tiktok",
      "value": "https://www.tiktok.com/share/user/58439285573423105"
    },
    {
      "type": "youtube",
      "value": "https://www.youtube.com/channel/UCLs9rxGY-M2zlfoU98qCR4g"
    }
  ],
  "audience": {
    "basis": "followers",
    "credibility": 0.6365,
    "credibility_benchmark": {
      "percentile": 0.33,
      "median": null,
      "bins": [
        {
          "min": null,
          "max": 0.3363,
          "creators": 972415,
          "is_median": false
        },
        {
          "min": 0.3363,
          "max": 0.5451,
          "creators": 777932,
          "is_median": false
        },
        {
          "min": 0.5451,
          "max": 0.633826,
          "creators": 648236,
          "is_median": false
        }
      ]
    },
    "follower_types": [
      {
        "type": "mass_followers",
        "share": 0.4113
      },
      {
        "type": "suspicious",
        "share": 0.09
      },
      {
        "type": "influencers",
        "share": 0.0648
      }
    ],
    "countries": [
      {
        "code": "UA",
        "name": "Ukraine",
        "share": 0.292
      },
      {
        "code": "RU",
        "name": "Russia",
        "share": 0.2455
      },
      {
        "code": "US",
        "name": "United States",
        "share": 0.0577
      }
    ],
    "states": [
      {
        "name": "California",
        "share": 0.0107
      },
      {
        "name": "Florida",
        "share": 0.0095
      },
      {
        "name": "New York",
        "share": 0.0052
      }
    ],
    "cities": [
      {
        "name": "Odesa",
        "share": 0.0815,
        "latitude": 46.47747,
        "longitude": 30.73262
      },
      {
        "name": "Kiev",
        "share": 0.0748,
        "latitude": 50.45466,
        "longitude": 30.5238
      },
      {
        "name": "Moscow",
        "share": 0.0453,
        "latitude": 55.75222,
        "longitude": 37.61556
      }
    ],
    "genders": [
      {
        "gender": "male",
        "share": 0.4813
      },
      {
        "gender": "female",
        "share": 0.5187
      }
    ],
    "ages": [
      {
        "range": "13-17",
        "share": 0.0404
      },
      {
        "range": "18-24",
        "share": 0.3677
      },
      {
        "range": "25-34",
        "share": 0.428
      }
    ],
    "gender_ages": [
      {
        "gender": "male",
        "range": "13-17",
        "share": 0.0106
      },
      {
        "gender": "male",
        "range": "18-24",
        "share": 0.12
      },
      {
        "gender": "male",
        "range": "25-34",
        "share": 0.2227
      }
    ],
    "languages": [
      {
        "code": "ru",
        "name": "Russian",
        "share": 0.5109
      },
      {
        "code": "en",
        "name": "English",
        "share": 0.2067
      },
      {
        "code": "uk",
        "name": "Ukrainian",
        "share": 0.0753
      }
    ],
    "ethnicities": [
      {
        "name": "White / Caucasian",
        "share": 0.8056
      },
      {
        "name": "Hispanic",
        "share": 0.0575
      },
      {
        "name": "African American",
        "share": 0.0476
      }
    ],
    "interests": [
      {
        "name": "Clothes, Shoes, Handbags & Accessories",
        "share": 0.3351
      },
      {
        "name": "Travel, Tourism & Aviation",
        "share": 0.2596
      },
      {
        "name": "Friends, Family & Relationships",
        "share": 0.2551
      }
    ],
    "brand_affinity": [
      {
        "name": "Apple",
        "affinity": 0.118075
      },
      {
        "name": "Nike",
        "affinity": 0.060996
      },
      {
        "name": "Adidas",
        "affinity": 0.050923
      }
    ],
    "reachability": [
      {
        "following": "<500",
        "share": 0.3166
      },
      {
        "following": "500-1000",
        "share": 0.1756
      },
      {
        "following": "1000-1500",
        "share": 0.0965
      }
    ],
    "notable_share": 0.1903,
    "notable": [
      {
        "username": "mattsteffanina",
        "full_name": null,
        "url": "https://www.instagram.com/mattsteffanina",
        "followers": 3571358,
        "is_verified": true
      },
      {
        "username": "nataliejane",
        "full_name": null,
        "url": "https://www.instagram.com/nataliejane",
        "followers": 2385523,
        "is_verified": true
      },
      {
        "username": "sirestodance",
        "full_name": null,
        "url": "https://www.instagram.com/sirestodance",
        "followers": 2158931,
        "is_verified": true
      }
    ],
    "similar_audiences": [
      {
        "username": "konanraw",
        "full_name": null,
        "url": "https://www.instagram.com/konanraw",
        "followers": 11940,
        "is_verified": false
      },
      {
        "username": "evelinklapka",
        "full_name": null,
        "url": "https://www.instagram.com/evelinklapka",
        "followers": 11768,
        "is_verified": false
      },
      {
        "username": "iocanto16",
        "full_name": null,
        "url": "https://www.instagram.com/iocanto16",
        "followers": 12273,
        "is_verified": false
      }
    ],
    "not_following_share": null,
    "follower_list_hidden": true
  },
  "engagers": {
    "basis": "likers",
    "credibility": 0.919145,
    "credibility_benchmark": {
      "percentile": 0.93,
      "median": null,
      "bins": [
        {
          "min": null,
          "max": 0.7195,
          "creators": 675982,
          "is_median": false
        },
        {
          "min": 0.7195,
          "max": 0.7746,
          "creators": 540785,
          "is_median": false
        },
        {
          "min": 0.7746,
          "max": 0.803492,
          "creators": 450626,
          "is_median": false
        }
      ]
    },
    "follower_types": [
      {
        "type": "mass_followers",
        "share": 0.1589
      },
      {
        "type": "suspicious",
        "share": 0.0417
      },
      {
        "type": "influencers",
        "share": 0.1159
      }
    ],
    "countries": [
      {
        "code": "UA",
        "name": "Ukraine",
        "share": 0.2857
      },
      {
        "code": "US",
        "name": "United States",
        "share": 0.254
      },
      {
        "code": "RU",
        "name": "Russia",
        "share": 0.0979
      }
    ],
    "states": [
      {
        "name": "California",
        "share": 0.0907
      },
      {
        "name": "Michigan",
        "share": 0.0708
      },
      {
        "name": "Illinois",
        "share": 0.0218
      }
    ],
    "cities": [
      {
        "name": "Odesa",
        "share": 0.0745,
        "latitude": 46.47747,
        "longitude": 30.73262
      },
      {
        "name": "Los Angeles",
        "share": 0.0708,
        "latitude": 34.05223,
        "longitude": -118.24368
      },
      {
        "name": "Kiev",
        "share": 0.0674,
        "latitude": 50.45466,
        "longitude": 30.5238
      }
    ],
    "genders": [
      {
        "gender": "male",
        "share": 0.4461
      },
      {
        "gender": "female",
        "share": 0.5539
      }
    ],
    "ages": [
      {
        "range": "13-17",
        "share": 0.0227
      },
      {
        "range": "18-24",
        "share": 0.2822
      },
      {
        "range": "25-34",
        "share": 0.5118
      }
    ],
    "gender_ages": [
      {
        "gender": "male",
        "range": "13-17",
        "share": 0.0057
      },
      {
        "gender": "male",
        "range": "18-24",
        "share": 0.083
      },
      {
        "gender": "male",
        "range": "25-34",
        "share": 0.2251
      }
    ],
    "languages": [
      {
        "code": "en",
        "name": "English",
        "share": 0.3885
      },
      {
        "code": "ru",
        "name": "Russian",
        "share": 0.2624
      },
      {
        "code": "es",
        "name": "Spanish",
        "share": 0.1207
      }
    ],
    "ethnicities": [
      {
        "name": "White / Caucasian",
        "share": 0.8169
      },
      {
        "name": "Hispanic",
        "share": 0.0591
      },
      {
        "name": "African American",
        "share": 0.0584
      }
    ],
    "interests": [
      {
        "name": "Clothes, Shoes, Handbags & Accessories",
        "share": 0.3891
      },
      {
        "name": "Camera & Photography",
        "share": 0.3453
      },
      {
        "name": "Art & Design",
        "share": 0.3443
      }
    ],
    "brand_affinity": [
      {
        "name": "Nike",
        "affinity": 0.095376
      },
      {
        "name": "Walt Disney",
        "affinity": 0.093931
      },
      {
        "name": "Apple",
        "affinity": 0.08237
      }
    ],
    "reachability": [],
    "notable_share": 0.2244,
    "notable": [
      {
        "username": "delinrod",
        "full_name": null,
        "url": "https://www.instagram.com/delinrod",
        "followers": 365731,
        "is_verified": true
      },
      {
        "username": "arami_danielyan",
        "full_name": null,
        "url": "https://www.instagram.com/arami_danielyan",
        "followers": 194662,
        "is_verified": true
      },
      {
        "username": "lavish.camm",
        "full_name": null,
        "url": "https://www.instagram.com/lavish.camm",
        "followers": 264175,
        "is_verified": false
      }
    ],
    "similar_audiences": [],
    "not_following_share": 0.9434,
    "follower_list_hidden": null
  }
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `creator_not_found`, `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `data_collecting`, `temporarily_unavailable`

## Get a creator report as PDF

`POST /v1/creators/report/pdf`

The creator report as the same branded PDF the app exports (profile, performance, growth, content and the full audience breakdown). Answers the PDF file itself. Takes 5 to 20 seconds; a report not in the index yet is computed first, as for POST /v1/creators/report. **Cost:** 80 (free if the report was paid for in the last 30 days) credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `username` | string | yes | Handle (leomessi or @leomessi) or profile link (https://www.instagram.com/leomessi). YouTube also takes a channel id (UC…). |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/report/pdf' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"leomessi"}'
```

### Response

The report as a PDF file. (application/pdf)

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Get a creator's contact details

`POST /v1/creators/contacts`

Public contact details for one creator: emails, phone numbers and other channels (other social profiles, Linktree...). Empty arrays when the creator lists none; a handle that doesn't exist also answers empty arrays, and either way the call costs nothing. **Cost:** 20 when at least one contact is found, else free credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `username` | string | yes | Handle (leomessi or @leomessi) or profile link (https://www.instagram.com/leomessi). YouTube also takes a channel id (UC…). |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/contacts' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"leomessi"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `username` | string | yes |  |
| `emails` | string[] | yes |  |
| `phones` | string[] | yes |  |
| `links` | object[] | yes | Other public contact channels (socials, Linktree...). |
| `links[].type` | string | yes |  |
| `links[].value` | string | yes |  |

Example (trimmed):

```json
{
  "platform": "instagram",
  "username": "the_vegan_colibri",
  "emails": [
    "name@example.com"
  ],
  "phones": [],
  "links": [
    {
      "type": "linktree",
      "value": "https://linktr.ee/The_vegan_colibri"
    },
    {
      "type": "tiktok",
      "value": "https://www.tiktok.com/share/user/6809622628233020422"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Compare creators' audiences

`POST /v1/creators/audience-overlap`

How much 2 to 10 creators on one platform share their followers: each creator's unique and overlapping share, and the combined reach with shared followers counted once. Use it to avoid paying twice for the same people. Creators without audience data are listed in `skipped`. Usually 2 to 30 seconds. Runs as a job: if it finishes within the wait time (default 30 s; set `Prefer: wait=N` up to 50, or `Prefer: respond-async` to return at once) you get **200** with the result; otherwise **202** with the job, a `Location` header and `Retry-After`, and you poll `GET /v1/jobs/{id}`. The same request from your workspace within the reuse window returns the earlier job instead of running again. **Cost:** 40 per creator compared (creators without audience data are free) credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `usernames` | string[] | yes | 2 to 10 creators on the same platform. — up to 10 items |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/audience-overlap' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","usernames":["natgeo","natgeotravel","nasa"]}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes | Job id, for GET /v1/jobs/{id}. |
| `type` | "audience_overlap" | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes | processing: poll GET /v1/jobs/{id}. completed: result is set. failed: error is set. |
| `created_at` | string | yes |  |
| `completed_at` | string \| null | yes |  |
| `input` | object | yes | The request, as understood (handles resolved, emails normalized). |
| `input.platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `input.usernames` | string[] | yes | 2 to 10 creators on the same platform. — up to 10 items |
| `result` | object \| null | yes |  |
| `error` | object \| null | yes |  |

Example (trimmed):

```json
{
  "id": "job_f5f55df7c8fda02ada03f4f1",
  "type": "audience_overlap",
  "status": "completed",
  "created_at": "2026-11-23T21:35:07.627Z",
  "completed_at": "2026-11-23T21:35:19.981Z",
  "input": {
    "platform": "instagram",
    "usernames": [
      "natgeo",
      "natgeotravel",
      "nasa"
    ]
  },
  "result": {
    "platform": "instagram",
    "total_followers": 416898501,
    "unique_followers": 311386421,
    "overlap_share": 0.2531,
    "creators": [
      {
        "username": "natgeo",
        "id": "787132",
        "followers": 268123304,
        "unique_share": 0.6885,
        "overlap_share": 0.3115
      },
      {
        "username": "nasa",
        "id": "528817151",
        "followers": 104319767,
        "unique_share": 0.4681,
        "overlap_share": 0.5319
      },
      {
        "username": "natgeotravel",
        "id": "23947096",
        "followers": 44455430,
        "unique_share": 0.1995,
        "overlap_share": 0.8005
      }
    ],
    "skipped": []
  },
  "error": null
}
```

### Errors

- 202: Still processing: poll the job at the Location header after Retry-After seconds.
- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 422: Error: `not_enough_creators`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Find creators by email

`POST /v1/creators/email-lookup`

Reverse lookup: the Instagram, TikTok and YouTube profiles linked to up to 25 email addresses (a contact list, CRM or signup list). One email can match profiles on several platforms. Usually a few seconds. Runs as a job: if it finishes within the wait time (default 30 s; set `Prefer: wait=N` up to 50, or `Prefer: respond-async` to return at once) you get **200** with the result; otherwise **202** with the job, a `Location` header and `Retry-After`, and you poll `GET /v1/jobs/{id}`. The same request from your workspace within the reuse window returns the earlier job instead of running again. **Cost:** 5 per matched email credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `emails` | string[] | yes | 1 to 25 email addresses. Case doesn't matter; duplicates are merged. — up to 25 items |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/email-lookup' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"emails":["creator@example.com","nobody@example.com"]}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes | Job id, for GET /v1/jobs/{id}. |
| `type` | "email_lookup" | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes | processing: poll GET /v1/jobs/{id}. completed: result is set. failed: error is set. |
| `created_at` | string | yes |  |
| `completed_at` | string \| null | yes |  |
| `input` | object | yes | The request, as understood (handles resolved, emails normalized). |
| `input.emails` | string[] | yes | 1 to 25 email addresses. Case doesn't matter; duplicates are merged. — up to 25 items |
| `result` | object \| null | yes |  |
| `error` | object \| null | yes |  |

Example (trimmed):

```json
{
  "id": "job_2279d65e8eb7159b1758e4a8",
  "type": "email_lookup",
  "status": "completed",
  "created_at": "2026-11-23T21:35:45.274Z",
  "completed_at": "2026-11-23T21:35:47.530Z",
  "input": {
    "emails": [
      "creator@example.com",
      "nobody@example.com"
    ]
  },
  "result": {
    "matched": [
      {
        "email": "creator@example.com",
        "profiles": [
          {
            "platform": "instagram",
            "username": "mkbhd",
            "full_name": "Marques Brownlee",
            "url": "https://www.instagram.com/mkbhd",
            "picture": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDYW9hcI5BCEiq0C7kKRpNfs9YL2DUny%2BdCeFiHoJvdFD7BChQGxLQ8DNtGPJz7%2BH%2Fdj5DnMYBDaWppVX6ZBWNB4g%2Bxyy0iVudXYli5ANlF4vA%3D%3D",
            "followers": 5302733,
            "is_verified": true
          },
          {
            "platform": "youtube",
            "username": "marquesbrownlee",
            "full_name": "Marques Brownlee",
            "url": "https://www.youtube.com/@marquesbrownlee",
            "picture": "https://yt3.googleusercontent.com/qu4TmIaYUlS41-dJ9gZ7DUR3nilvmB5_11i6OKSdvNnBNiyOusZP1bMN6ICnuxtjFBb6ioKgRQ=s480-c-k-c0x00ffffff-no-rj",
            "followers": 21400000,
            "is_verified": true
          }
        ]
      }
    ],
    "unmatched": [
      "nobody@example.com"
    ],
    "unresolved": []
  },
  "error": null
}
```

### Errors

- 202: Still processing: poll the job at the Location header after Retry-After seconds.
- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Estimate reach and impressions

`POST /v1/creators/reach-estimate`

Instagram only. The estimated reach and impressions of one new reel, post or story by this creator, from their recent performance. A model estimate for planning, not a measurement; estimates for the same creator can vary by a few percent from one run to the next. Usually 3 to 10 seconds. Runs as a job: if it finishes within the wait time (default 30 s; set `Prefer: wait=N` up to 50, or `Prefer: respond-async` to return at once) you get **200** with the result; otherwise **202** with the job, a `Location` header and `Retry-After`, and you poll `GET /v1/jobs/{id}`. The same request from your workspace within the reuse window returns the earlier job instead of running again. **Cost:** 10 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" | yes | instagram (the only platform with estimates). |
| `username` | string | yes | Handle (with or without @) or profile link. |
| `content_type` | "reel" \| "post" \| "story" |  | The kind of content to estimate. — default "reel" |
| `format` | "image" \| "video" |  | Stories only: image or video (default video). Posts are image posts; for a video use content_type reel. Reels take no format. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/reach-estimate' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"natgeo","content_type":"reel"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes | Job id, for GET /v1/jobs/{id}. |
| `type` | "reach_estimate" | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes | processing: poll GET /v1/jobs/{id}. completed: result is set. failed: error is set. |
| `created_at` | string | yes |  |
| `completed_at` | string \| null | yes |  |
| `input` | object | yes | The request, as understood (handles resolved, emails normalized). |
| `input.platform` | "instagram" | yes |  |
| `input.username` | string | yes |  |
| `input.content_type` | "reel" \| "post" \| "story" | yes |  |
| `input.format` | "image" \| "video" \| null | yes |  |
| `result` | object \| null | yes |  |
| `error` | object \| null | yes |  |

Example (trimmed):

```json
{
  "id": "job_dea9a95ee1947e56f0abdceb",
  "type": "reach_estimate",
  "status": "completed",
  "created_at": "2026-11-23T21:38:17.221Z",
  "completed_at": "2026-11-23T21:38:19.500Z",
  "input": {
    "platform": "instagram",
    "username": "natgeo",
    "content_type": "reel",
    "format": null
  },
  "result": {
    "platform": "instagram",
    "username": "natgeo",
    "content_type": "reel",
    "format": null,
    "estimated_reach": 229715,
    "estimated_impressions": 429549
  },
  "error": null
}
```

### Errors

- 202: Still processing: poll the job at the Location header after Retry-After seconds.
- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `creator_not_found`, `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Analyze comments for purchase intent

`POST /v1/creators/purchase-intent`

Reads the comments on a sample of the creator's posts and reports how many show intent to buy (asking for a price, a link, where to buy), their sentiment, and sample comments. Slow by nature: about 5 minutes even for small creators, 10 minutes or more for large ones, so this answers **202** with the job at once (unless you send `Prefer: wait=N`); poll the job every 30 seconds or so. Runs as a job: if it finishes within the wait time (default 30 s; set `Prefer: wait=N` up to 50, or `Prefer: respond-async` to return at once) you get **200** with the result; otherwise **202** with the job, a `Location` header and `Retry-After`, and you poll `GET /v1/jobs/{id}`. The same request from your workspace within the reuse window returns the earlier job instead of running again. **Cost:** 150 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `username` | string | yes | Handle (with or without @) or profile link. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/creators/purchase-intent' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"hudabeauty"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes | Job id, for GET /v1/jobs/{id}. |
| `type` | "purchase_intent" | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes | processing: poll GET /v1/jobs/{id}. completed: result is set. failed: error is set. |
| `created_at` | string | yes |  |
| `completed_at` | string \| null | yes |  |
| `input` | object | yes | The request, as understood (handles resolved, emails normalized). |
| `input.platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `input.username` | string | yes | Handle (with or without @) or profile link. |
| `result` | object \| null | yes |  |
| `error` | object \| null | yes |  |

Example (trimmed):

```json
{
  "id": "job_5c1f0e9a7b3d2c4e6f8a0b1c",
  "type": "purchase_intent",
  "status": "completed",
  "created_at": "2026-11-23T20:24:00.000Z",
  "completed_at": "2026-11-23T20:41:12.000Z",
  "input": {
    "platform": "instagram",
    "username": "hudabeauty"
  },
  "result": {
    "platform": "instagram",
    "username": "hudabeauty",
    "comments_analyzed": 2150,
    "purchase_intent_comments": 125,
    "purchase_intent_share": 0.0581,
    "sentiment": {
      "positive": 1736,
      "neutral": 344,
      "negative": 69,
      "positive_share": 0.8074,
      "neutral_share": 0.16,
      "negative_share": 0.0321
    },
    "posts": [
      {
        "url": "https://www.instagram.com/p/CxikUfLLwvH/",
        "analyzed": true,
        "comments": 81,
        "purchase_intent_comments": 3,
        "positive": 57,
        "neutral": 20,
        "negative": 4
      },
      {
        "url": "https://www.instagram.com/p/CxmdJonN4NV/",
        "analyzed": true,
        "comments": null,
        "purchase_intent_comments": null,
        "positive": null,
        "neutral": null,
        "negative": null
      },
      {
        "url": "https://www.instagram.com/p/C_0mwPfI1uL/",
        "analyzed": true,
        "comments": null,
        "purchase_intent_comments": null,
        "positive": null,
        "neutral": null,
        "negative": null
      },
      {
        "url": "https://www.instagram.com/p/DOGxNWHjRI6/",
        "analyzed": true,
        "comments": null,
        "purchase_intent_comments": null,
        "positive": null,
        "neutral": null,
        "negative": null
      },
      {
        "url": "https://www.instagram.com/p/DcWaSEEi1jF/",
        "analyzed": true,
        "comments": null,
        "purchase_intent_comments": null,
        "positive": null,
        "neutral": null,
        "negative": null
      }
    ]
  },
  "error": null
}
```

### Errors

- 202: Still processing: poll the job at the Location header after Retry-After seconds.
- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `creator_not_found`, `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Find brand collaborations

`POST /v1/brands/collaborations`

Two directions. With `brand`: recent public posts that tag, hashtag or mention the brand, newest first (a few can be older), and the creators behind them: who is talking about a brand right now. Usually 5 to 60 seconds, a few minutes for very popular brands. With `creator`: the brands in the creator's sponsored posts, from their report (answers like a report: immediately when cached, else in seconds). `ad_disclosure` flags posts whose caption carries #ad, #sponsored and the like. Runs as a job: if it finishes within the wait time (default 30 s; set `Prefer: wait=N` up to 50, or `Prefer: respond-async` to return at once) you get **200** with the result; otherwise **202** with the job, a `Location` header and `Retry-After`, and you poll `GET /v1/jobs/{id}`. The same request from your workspace within the reuse window returns the earlier job instead of running again. **Cost:** 20 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `brand` | string |  | A brand: its handle (gymshark, @gymshark), hashtag or name. Returns recent posts about it and the creators behind them. |
| `creator` | string |  | Or a creator: returns the brands in their sponsored posts. Set brand or creator, not both. |
| `match` | "mention" \| "hashtag" \| "keyword" |  | How posts match the brand. mention (Instagram only, the default there): posts that tag @brand. hashtag (default on TikTok and YouTube): #brand. keyword: the words in the caption. |
| `limit` | integer |  | Posts to read, 10 to 100 (brand searches). — default 50, min 10, max 100 |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/brands/collaborations' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","brand":"gymshark","limit":20}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes | Job id, for GET /v1/jobs/{id}. |
| `type` | "brand_collaborations" | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes | processing: poll GET /v1/jobs/{id}. completed: result is set. failed: error is set. |
| `created_at` | string | yes |  |
| `completed_at` | string \| null | yes |  |
| `input` | object | yes | The request, as understood (handles resolved, emails normalized). |
| `input.platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `input.brand` | string \| null | yes |  |
| `input.creator` | string \| null | yes |  |
| `input.match` | "mention" \| "hashtag" \| "keyword" \| null | yes |  |
| `input.limit` | integer \| null | yes |  |
| `result` | object \| null | yes |  |
| `error` | object \| null | yes |  |

Example (trimmed):

```json
{
  "id": "job_dd45a11cb1aedb41295d2314",
  "type": "brand_collaborations",
  "status": "completed",
  "created_at": "2026-11-23T21:40:29.305Z",
  "completed_at": "2026-11-23T21:40:48.440Z",
  "input": {
    "platform": "instagram",
    "brand": "gymshark",
    "creator": null,
    "match": "mention",
    "limit": 20
  },
  "result": {
    "platform": "instagram",
    "brand": "gymshark",
    "creator": null,
    "source": "recent_posts",
    "match": "mention",
    "posts": [
      {
        "url": "https://www.instagram.com/reel/DgGXUrRy-59",
        "type": "reels",
        "published_at": "2026-11-23T21:39:09.000Z",
        "caption": "Made the leap and decided to let go of my years of tried and true @carolinegirvan workouts to jump into the world of @juddlienhard and his fitness shenanigans! Caroline will forever have a place in my heart as my first transition into weightlifting years ago and recovery from all my pregnancies but I felt as I have finally left my years of having kiddos it was time to continue my journey elsewhere as I had hit a plateau with a lot of my goals. I will still hands down recommend her to all my besties trying their hand at weights because she is phenomenal especially for us home gym people because she really did help me big time when I couldn't just up and leave to go to a gym.\n\nAs of my first workout with Judd's Total Body 3x Week program, I got my ass handed to me in the best way 🤣 I haven't done a frog stance on deadlifts before and I figured what better way to see my progression than to post it here and see how my starting point looks. Yea I was absolutely humbled with this stance and closer hand placement immediately 😂 I'll need to get some practice using the Playbook app but the way he has his workouts setup made my entire session flow seamlessly even with the few exercise swaps I had to make and new exercises I had to learn. I can't wait to see what progress we make on this new journey! 💪\n\n⚔️ Frog Stance Deadlift ⚔️\nDropset (185lbs, 155lbs) \n\n💀 Workout Info 💀\nBase workout- @juddlienhard 🕸 Total Body 3x Week 🕸\n💀 Weightloss Progress 💀\n-62lbs\n\n#bodyneutrality #dailyworkout #armday #plussizelifter #homeworkouts",
        "thumbnail": "https://scontent-atl3-2.cdninstagram.com/v/t51.71878-15/922710708_2317754018957581_7324130955684175021_n.jpg?stp=dst-jpg_e15_p360x360_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ig_cache_key=NDAzNzAxNjY5MTkxMjk5NDQyOTMwMjA1MzIwMTM5MDcwMDgz.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjY0MC5zZHIudmlkZW9fdXNlcl9zZWxlY3RlZF90aHVtYm5haWwuQzMifQ%3D%3D&_nc_ohc=4DDDGkz9fYYQ7kNvwFZHEXT&_nc_oc=Adqm3aNiEpsM81Cy5_TfDp47-UxuShbBEcChnC3Wu1sR74v4H8aRvX8nUezqSJWQPsVXJVP1LWSRDl-U3Nzu0Muk&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_gid=_kjs5y3VLywzVL7gjXMDXQ&_nc_ss=7a3ba&_nc_ct=RQosPBUIFQ4lBAAAAA&oh=00_AQRd1OSr06BTmGrBAj--mVQdLlAIqhuYvSS-C_FKLIWKRw&oe=6B0A8A36",
        "likes": 0,
        "comments": 0,
        "views": 0,
        "shares": null,
        "creator": {
          "username": "_theworkinprogress_",
          "url": "https://www.instagram.com/_theworkinprogress_",
          "picture": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-19/642504790_18100672273909758_9007083275107624947_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gFC2q63mRPiRnTcupMnReC6ap6pKYk8W9XBsqHDc5JAtqM-Hxzy7r6QOLfcqgHwLJyOLGlMrhO9389wHdrbTUsm&_nc_ohc=3Q0JKmW1VK8Q7kNvwGiKNv-&_nc_gid=_kjs5y3VLywzVL7gjXMDXQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GFbYSyb_BxUtd05AAPPnJmOElv98bmNDAQAB1501500j-ccb7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQRoCqJqNXd3Ze1vHXWz_LksMjpowXClBenHdvQz2W2CnQ&oe=6B0A8AE3&_nc_sid=10d13b"
        },
        "brands": [
          "garmin",
          "gymshark",
          "gymreapers"
        ],
        "hashtags": [
          "plussizelifter",
          "armday",
          "homeworkouts"
        ],
        "ad_disclosure": false
      },
      {
        "url": "https://www.instagram.com/reel/DgGWcX3oNoc",
        "type": "reels",
        "published_at": "2026-11-23T21:36:47.000Z",
        "caption": "✨️ME & MY MILION FACES DURING 86KM>\nBig thanks everyone, my bros & Daniel!!!\nMuch love from us mwaaah!!! 03.11.2026yo\n-> pot, śmiech, płacz, skakanie, łzy, ananas na pizzy XD 🌬💃🏽\n>next quest ---> ???\n☆\n#run #ultra #birthday #sidequest #love",
        "thumbnail": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-15/920820542_1461200108885893_5493600433648789424_n.jpg?stp=dst-jpg_e15_s640x640_tt6&_nc_cat=105&_nc_map=urlgen_bucketless&ig_cache_key=NDAzNzAxMjgyMjc4MjE3MTY3NjE0NjEyMDAxMDIyMTkyMjc%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjU0MC5zZHIudmlkZW9fdXNlcl91cGxvYWRlZF90aHVtYm5haWwuQzMifQ%3D%3D&_nc_ohc=GDCqPbK66RQQ7kNvwF0sjpc&_nc_oc=Adp3JcbQgn390zo7EuQT7HUczHiSJ7qHSchT1mJJ7fUilB5x6Uhze3wx2IPApYIlv6mpgZavhcakRaVqXUIbdAB6&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_gid=_kjs5y3VLywzVL7gjXMDXQ&_nc_ss=7a3ba&_nc_ct=RQosPBUIFQwlBAAAAA&oh=00_AQTiirKzg2sNQXBgha8O55IT8w19B512cJ6_8fCX8hdm8w&oe=6B0A742C",
        "likes": 4,
        "comments": 0,
        "views": 33,
        "shares": null,
        "creator": {
          "username": "_golobek_",
          "url": "https://www.instagram.com/_golobek_",
          "picture": "https://scontent-atl3-2.cdninstagram.com/v/t51.2885-19/461034868_874415454620233_4065163629627588227_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gGQ8-4dCdxQKSaYA6BjMCPOBrey7pi6Gwp0FvDXOjo6OzJtfxAOEqBHLrRxtr0r6MmNUCkFeyA5vZvNYOLwRSEt&_nc_ohc=YDnn4GVItKoQ7kNvwGDOEUU&_nc_gid=_kjs5y3VLywzVL7gjXMDXQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GHTVehtJCo_2RhsDAIM_ynHIXGo4bkULAAAB1501500j-ccb7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQQWGfCbuZkdY4TZ9afaFDVnLkp8AS0ihJqi3SvZxZyF5g&oe=6B0A8039&_nc_sid=10d13b"
        },
        "brands": [
          "gymshark",
          "poprostudeny",
          "_golobek_being_"
        ],
        "hashtags": [
          "ultra",
          "sidequest",
          "birthday"
        ],
        "ad_disclosure": false
      }
    ],
    "creators": [
      {
        "username": "_theworkinprogress_",
        "url": "https://www.instagram.com/_theworkinprogress_",
        "picture": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-19/642504790_18100672273909758_9007083275107624947_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2gFC2q63mRPiRnTcupMnReC6ap6pKYk8W9XBsqHDc5JAtqM-Hxzy7r6QOLfcqgHwLJyOLGlMrhO9389wHdrbTUsm&_nc_ohc=3Q0JKmW1VK8Q7kNvwGiKNv-&_nc_gid=_kjs5y3VLywzVL7gjXMDXQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GFbYSyb_BxUtd05AAPPnJmOElv98bmNDAQAB1501500j-ccb7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQRoCqJqNXd3Ze1vHXWz_LksMjpowXClBenHdvQz2W2CnQ&oe=6B0A8AE3&_nc_sid=10d13b",
        "posts": 1,
        "likes": 0,
        "comments": 0,
        "views": 0,
        "last_posted_at": "2026-11-23T21:39:09.000Z"
      },
      {
        "username": "_golobek_",
        "url": "https://www.instagram.com/_golobek_",
        "picture": "https://scontent-atl3-2.cdninstagram.com/v/t51.2885-19/461034868_874415454620233_4065163629627588227_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_cat=101&_nc_oc=Q6cZ2gGQ8-4dCdxQKSaYA6BjMCPOBrey7pi6Gwp0FvDXOjo6OzJtfxAOEqBHLrRxtr0r6MmNUCkFeyA5vZvNYOLwRSEt&_nc_ohc=YDnn4GVItKoQ7kNvwGDOEUU&_nc_gid=_kjs5y3VLywzVL7gjXMDXQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GHTVehtJCo_2RhsDAIM_ynHIXGo4bkULAAAB1501500j-ccb7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQQWGfCbuZkdY4TZ9afaFDVnLkp8AS0ihJqi3SvZxZyF5g&oe=6B0A8039&_nc_sid=10d13b",
        "posts": 1,
        "likes": 4,
        "comments": 0,
        "views": 33,
        "last_posted_at": "2026-11-23T21:36:47.000Z"
      },
      {
        "username": "ihrsarodriguez",
        "url": "https://www.instagram.com/ihrsarodriguez",
        "picture": "https://scontent-atl3-2.cdninstagram.com/v/t51.82787-19/687590452_18338026525221863_5871509814867135021_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-atl3-2.cdninstagram.com&_nc_cat=111&_nc_oc=Q6cZ2gEaxXiOgLHV_n7PAFQwTQXsD7TRvgaz6BIVnqwnCvDm4nJ32tcHi3dESD11IS0lgsK_TuO2OtzazRJigeB4oegU&_nc_ohc=3yncibtHk18Q7kNvwEaZwXQ&_nc_gid=_kjs5y3VLywzVL7gjXMDXQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GDTM_yjn4_qEViZBAC0KYGoRy3tRbmNDAQAB1501500j-ccb7-5&_nc_ct=RQAsPBUCFQIAAAA&oh=00_AQRFOoupzr_aw2_Ryu3Q9RMaEPJYammckJPckMbg19S7_Q&oe=6B0A7765&_nc_sid=10d13b",
        "posts": 1,
        "likes": 2,
        "comments": 0,
        "views": 4,
        "last_posted_at": "2026-11-23T21:35:37.000Z"
      }
    ],
    "brands": [
      {
        "name": "gymshark",
        "posts": 20,
        "last_posted_at": "2026-11-23T21:39:09.000Z"
      },
      {
        "name": "gymsharkwomen",
        "posts": 7,
        "last_posted_at": "2026-11-23T21:39:09.000Z"
      },
      {
        "name": "gymsharklifting",
        "posts": 5,
        "last_posted_at": "2026-11-23T21:39:09.000Z"
      }
    ]
  },
  "error": null
}
```

### Errors

- 202: Still processing: poll the job at the Location header after Retry-After seconds.
- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `creator_not_found`, `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `data_collecting`, `temporarily_unavailable`

## Get a job

`GET /v1/jobs/{id}`

The current state of a job started by one of the analysis endpoints. While `status` is `processing`, poll again after the `Retry-After` seconds. Completed jobs keep their result for 30 days. Only jobs from your own workspace are visible.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Job id (job_…). |

### Example

```bash
curl 'https://api.leewou.com/v1/jobs/job_8f2c1d0e9b7a6c5d4e3f2a1b' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes | Job id, for GET /v1/jobs/{id}. |
| `type` | "audience_overlap" | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes | processing: poll GET /v1/jobs/{id}. completed: result is set. failed: error is set. |
| `created_at` | string | yes |  |
| `completed_at` | string \| null | yes |  |
| `input` | object | yes | The request, as understood (handles resolved, emails normalized). |
| `input.platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `input.usernames` | string[] | yes | 2 to 10 creators on the same platform. — up to 10 items |
| `result` | object \| null | yes |  |
| `error` | object \| null | yes |  |
| (by type) |  |  | `input` and `result` take the shape of the job's type: AudienceOverlapJob, EmailLookupJob, ReachEstimateJob, PurchaseIntentJob, BrandCollaborationsJob. Each analysis endpoint's own Response section lists them. |

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## A creator's posts

`POST /v1/live/posts`

The creator's latest posts, read live: Instagram posts, reels, tagged posts or stories; TikTok videos; YouTube videos, shorts or lives. Every post comes with its stats, media and caption. Page sizes vary with the platform and type (1 to about 50 posts): follow `next_cursor`. An empty page still costs its credits. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `username` | string | yes | Handle (with or without @) or profile link. YouTube also takes a channel id (UC…). |
| `type` | "posts" \| "reels" \| "tagged" \| "stories" \| "videos" \| "shorts" \| "lives" |  | Instagram: posts (default), reels, tagged, stories. TikTok: videos (default). YouTube: videos (default), shorts, lives. |
| `sort` | "latest" \| "popular" |  | TikTok and YouTube: latest (default) or popular. — default "latest" |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/posts' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"instagram","username":"hudabeauty","type":"reels"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `posts` | object[] | yes |  |
| `posts[].platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `posts[].id` | string | yes | The post's id on the platform. |
| `posts[].url` | string | yes |  |
| `posts[].type` | "image" \| "carousel" \| "video" \| "reel" \| "story" \| "photo" \| "short" \| "live" | yes | Instagram: image, carousel, video, reel, story. TikTok: video, photo (slideshow). YouTube: video, short, live. |
| `posts[].published_at` | string \| null | yes | UTC, ISO 8601, to the second. |
| `posts[].title` | string \| null | yes | YouTube only. |
| `posts[].caption` | string \| null | yes | Line breaks are kept on Instagram and YouTube; TikTok captions come as one line. |
| `posts[].duration_seconds` | integer \| null | yes | Videos, rounded to the second. |
| `posts[].thumbnail` | string \| null | yes | Platform CDN link (Instagram and TikTok links expire within days). |
| `posts[].media` | object[] | yes | Every image or video in the post, in order (carousel items, slideshow photos). |
| `posts[].media[].type` | "image" \| "video" | yes |  |
| `posts[].media[].url` | string \| null | yes | The image or video file. Platform CDN links expire within days. |
| `posts[].media[].thumbnail` | string \| null | yes |  |
| `posts[].download_url` | string \| null | yes | A direct link to the video file when the platform exposes one (TikTok: without watermark when available). Links expire. |
| `posts[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts[].comments` | integer \| null | yes |  |
| `posts[].views` | integer \| null | yes | Plays on Instagram reels, views on TikTok and YouTube. |
| `posts[].shares` | integer \| null | yes | TikTok; Instagram when available. |
| `posts[].saves` | integer \| null | yes | TikTok, when available. |
| `posts[].is_pinned` | boolean \| null | yes | Pinned to the top of the profile. Null when unknown. |
| `posts[].is_paid_partnership` | boolean \| null | yes | The post carries the platform's paid-partnership label. Null when unknown. |
| `posts[].hashtags` | string[] | yes | From the caption, lowercase, in order. |
| `posts[].mentions` | string[] | yes | @handles in the caption, in order. |
| `posts[].collaborators` | string[] | yes | Co-authors (Instagram collabs). |
| `posts[].audio` | object \| null | yes | The sound used (Instagram reels, TikTok). `id` is the platform's sound id when known; it works with POST /v1/live/audio. |
| `posts[].location` | string \| null | yes |  |
| `posts[].creator` | object \| null | yes | Who posted it. `full_name` and `id` can be null. |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "instagram",
  "posts": [
    {
      "platform": "instagram",
      "id": "4036737139536607057",
      "url": "https://www.instagram.com/p/DgFXwp1tLdR",
      "type": "reel",
      "published_at": "2026-11-23T14:01:58Z",
      "title": null,
      "caption": "all your faves, just smaller and ready for takeoff ✈️",
      "duration_seconds": 24,
      "thumbnail": "https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/924854473_18699105226062?…",
      "media": [
        {
          "type": "video",
          "url": "https://scontent-lga3-3.cdninstagram.com/o1/v/t2/f2/m86/AQOUUshi7WdotVaVHIYZzuC-?…",
          "thumbnail": "https://scontent-lga3-3.cdninstagram.com/v/t51.82787-15/924854473_18699105226062?…"
        }
      ],
      "download_url": "https://scontent-lga3-3.cdninstagram.com/o1/v/t2/f2/m86/AQOUUshi7WdotVaVHIYZzuC-?…",
      "likes": 21118,
      "comments": 738,
      "views": 1245868,
      "shares": null,
      "saves": null,
      "is_pinned": null,
      "is_paid_partnership": false,
      "hashtags": [],
      "mentions": [],
      "collaborators": [],
      "audio": {
        "id": "28979952195020876",
        "title": "Original audio",
        "artist": "hudabeauty"
      },
      "location": null,
      "creator": {
        "username": "hudabeauty",
        "full_name": "HUDA BEAUTY",
        "id": "44222792",
        "picture": "https://scontent-lga3-3.cdninstagram.com/v/t51.82787-19/850131162_18685528273062?…",
        "is_verified": true
      }
    },
    {
      "platform": "instagram",
      "id": "4036059591466011696",
      "url": "https://www.instagram.com/p/DgC9tCBo8ww",
      "type": "reel",
      "published_at": "2026-11-22T13:58:57Z",
      "title": null,
      "caption": "if he doesn’t get you a makeup bouquet, is he even trying? 😤 tag your person so they get the hint 🤪\n\n🎥: @lushluxebouquet",
      "duration_seconds": 6,
      "thumbnail": "https://scontent-lga3-2.cdninstagram.com/v/t51.82787-15/921268092_18698685016062?…",
      "media": [
        {
          "type": "video",
          "url": "https://scontent-lga3-2.cdninstagram.com/o1/v/t2/f2/m367/AQNaaJxbUrqAZjRooWXjBzz?…",
          "thumbnail": "https://scontent-lga3-2.cdninstagram.com/v/t51.82787-15/921268092_18698685016062?…"
        }
      ],
      "download_url": "https://scontent-lga3-2.cdninstagram.com/o1/v/t2/f2/m367/AQNaaJxbUrqAZjRooWXjBzz?…",
      "likes": 70813,
      "comments": 1024,
      "views": 1475050,
      "shares": null,
      "saves": null,
      "is_pinned": null,
      "is_paid_partnership": false,
      "hashtags": [],
      "mentions": [
        "lushluxebouquet"
      ],
      "collaborators": [],
      "audio": {
        "id": "29523137570704272",
        "title": "Original audio",
        "artist": "hudabeauty"
      },
      "location": null,
      "creator": {
        "username": "hudabeauty",
        "full_name": "HUDA BEAUTY",
        "id": "44222792",
        "picture": "https://scontent-lga3-3.cdninstagram.com/v/t51.82787-19/850131162_18685528273062?…",
        "is_verified": true
      }
    }
  ],
  "next_cursor": "c1.eyJzIjoiYSIsImsiOiJwb3N0czppbnN0YWdyY…"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `creator_not_found`, `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## One post

`POST /v1/live/post`

A single post, reel, video or short from its link, with fresh stats, media, caption and (for videos) a download link when the platform exposes one. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `url` | string | yes | The post, reel, video or short link. |
| `platform` | "instagram" \| "tiktok" \| "youtube" |  | Social platform. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/post' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://www.tiktok.com/@khaby.lame/video/7704740944427388191"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `id` | string | yes | The post's id on the platform. |
| `url` | string | yes |  |
| `type` | "image" \| "carousel" \| "video" \| "reel" \| "story" \| "photo" \| "short" \| "live" | yes | Instagram: image, carousel, video, reel, story. TikTok: video, photo (slideshow). YouTube: video, short, live. |
| `published_at` | string \| null | yes | UTC, ISO 8601, to the second. |
| `title` | string \| null | yes | YouTube only. |
| `caption` | string \| null | yes | Line breaks are kept on Instagram and YouTube; TikTok captions come as one line. |
| `duration_seconds` | integer \| null | yes | Videos, rounded to the second. |
| `thumbnail` | string \| null | yes | Platform CDN link (Instagram and TikTok links expire within days). |
| `media` | object[] | yes | Every image or video in the post, in order (carousel items, slideshow photos). |
| `media[].type` | "image" \| "video" | yes |  |
| `media[].url` | string \| null | yes | The image or video file. Platform CDN links expire within days. |
| `media[].thumbnail` | string \| null | yes |  |
| `download_url` | string \| null | yes | A direct link to the video file when the platform exposes one (TikTok: without watermark when available). Links expire. |
| `likes` | integer \| null | yes | Null when the creator hides likes. |
| `comments` | integer \| null | yes |  |
| `views` | integer \| null | yes | Plays on Instagram reels, views on TikTok and YouTube. |
| `shares` | integer \| null | yes | TikTok; Instagram when available. |
| `saves` | integer \| null | yes | TikTok, when available. |
| `is_pinned` | boolean \| null | yes | Pinned to the top of the profile. Null when unknown. |
| `is_paid_partnership` | boolean \| null | yes | The post carries the platform's paid-partnership label. Null when unknown. |
| `hashtags` | string[] | yes | From the caption, lowercase, in order. |
| `mentions` | string[] | yes | @handles in the caption, in order. |
| `collaborators` | string[] | yes | Co-authors (Instagram collabs). |
| `audio` | object \| null | yes | The sound used (Instagram reels, TikTok). `id` is the platform's sound id when known; it works with POST /v1/live/audio. |
| `location` | string \| null | yes |  |
| `creator` | object \| null | yes | Who posted it. `full_name` and `id` can be null. |

Example (trimmed):

```json
{
  "platform": "youtube",
  "id": "KTDJiVpSDTI",
  "url": "https://www.youtube.com/watch?v=KTDJiVpSDTI",
  "type": "video",
  "published_at": "2026-11-17T18:39:57Z",
  "title": "Can You Trust MKBHD?",
  "caption": "Can you trust MKBHD videos? Part 2.\n\nPart 1: https://www.youtube.com/watch?v=5nLWTVTwOhY\n\nMKBHD Merch: http://shop.MKBHD.com\n\nPlaylist of MKBHD Intro music: https://goo.gl/B3AWV5\n\n~\nhttp://twitter.com/MKBHD\nhttp://instagram.com/MKBHD\nhttp://facebook.com/MKBHD",
  "duration_seconds": 859,
  "thumbnail": "https://img.youtube.com/vi/KTDJiVpSDTI/maxresdefault.jpg",
  "media": [
    {
      "type": "video",
      "url": null,
      "thumbnail": "https://img.youtube.com/vi/KTDJiVpSDTI/maxresdefault.jpg"
    }
  ],
  "download_url": null,
  "likes": 91510,
  "comments": null,
  "views": 3898033,
  "shares": null,
  "saves": null,
  "is_pinned": null,
  "is_paid_partnership": false,
  "hashtags": [],
  "mentions": [],
  "collaborators": [],
  "audio": null,
  "location": null,
  "creator": {
    "username": "mkbhd",
    "full_name": "Marques Brownlee",
    "id": "UCBJycsmduvYEL83R_U4JriQ",
    "picture": "https://yt3.ggpht.com/qu4TmIaYUlS41-dJ9gZ7DUR3nilvmB5_11i6OKSdvNnBNiyOusZP1bMN6ICnuxtjFBb6ioKgRQ=s48-c-k-c0x00ffffff-no-rj",
    "is_verified": null
  }
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## A post's comments

`POST /v1/live/comments`

Comments on a post, reel, video or short. Order: `top` (the platform's ranking) or `newest`; by default newest on Instagram, top on TikTok and YouTube. `sort` in the answer says which order you got, and later pages keep it. Each comment carries `replies_ref` to read its replies. A platform's top order can change between calls. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `url` | string | yes | The post, reel, video or short link. |
| `platform` | "instagram" \| "tiktok" \| "youtube" |  | Social platform. |
| `sort` | "top" \| "newest" |  | Preferred order: `top` (the platform's ranking) or `newest`. Default: newest on Instagram, top on TikTok and YouTube. TikTok comments only come in top order. If the preferred order can't be served right now you still get comments, and `sort` in the answer says which order they're in. |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/comments' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://www.youtube.com/watch?v=KTDJiVpSDTI"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `sort` | "top" \| "newest" | yes | The order these comments are in. Later pages keep it. |
| `comments` | object[] | yes |  |
| `comments[].id` | string \| null | yes | The comment's id on the platform. Can be null on YouTube. |
| `comments[].text` | string | yes | Line breaks are kept on Instagram and YouTube. |
| `comments[].published_at` | string \| null | yes | UTC, ISO 8601. YouTube only shows "3 days ago", so YouTube times are estimates from that, and can be null. |
| `comments[].likes` | integer \| null | yes | YouTube rounds likes above 1,000 (24K comes back as 24000). |
| `comments[].replies` | integer \| null | yes | Replies to this comment, when the platform shows the count (often null on Instagram). |
| `comments[].author` | object | yes |  |
| `comments[].author.username` | string \| null | yes |  |
| `comments[].author.display_name` | string \| null | yes |  |
| `comments[].author.picture` | string \| null | yes |  |
| `comments[].author.is_verified` | boolean \| null | yes |  |
| `comments[].replies_ref` | string \| null | yes | Pass to POST /v1/live/comment-replies to read the replies. Null when replies can't be read for this comment. |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "youtube",
  "sort": "top",
  "comments": [
    {
      "id": "UgyvUuFxBkcnHJHjZw54AaABAg",
      "text": "Marques ran out of products to review, so he’s reviewing himself",
      "published_at": "2026-11-18T07:26:21Z",
      "likes": 24000,
      "replies": 69,
      "author": {
        "username": "commenter_1",
        "display_name": null,
        "picture": "https://yt3.ggpht.com/…",
        "is_verified": false
      },
      "replies_ref": "r1.eyJwIjoieW91dHViZSIsInUiOiJodHRwczovL…"
    },
    {
      "id": "UgzNeD6NrEpn88So6wR4AaABAg",
      "text": "For me, it depends on whether it's video A or video B",
      "published_at": "2026-11-18T07:26:21Z",
      "likes": 20000,
      "replies": 65,
      "author": {
        "username": "commenter_2",
        "display_name": null,
        "picture": "https://yt3.ggpht.com/…",
        "is_verified": false
      },
      "replies_ref": "r1.eyJwIjoieW91dHViZSIsInUiOiJodHRwczovL…"
    }
  ],
  "next_cursor": "c1.eyJzIjoiYSIsImsiOiJjb21tZW50czp5b3V0d…"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Replies to a comment

`POST /v1/live/comment-replies`

Replies to one comment: pass the comment's `replies_ref` (all platforms), or the post `url` with `comment_id` (Instagram, TikTok). **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `replies_ref` | string |  | `replies_ref` from a comment (all platforms). |
| `url` | string |  | Or the post link with comment_id (Instagram and TikTok). |
| `comment_id` | string |  |  |
| `platform` | "instagram" \| "tiktok" \| "youtube" |  | Social platform. |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/comment-replies' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://www.tiktok.com/@khaby.lame/video/7704740944427388191","comment_id":"7705818053536449288"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `comments` | object[] | yes |  |
| `comments[].id` | string \| null | yes | The comment's id on the platform. Can be null on YouTube. |
| `comments[].text` | string | yes | Line breaks are kept on Instagram and YouTube. |
| `comments[].published_at` | string \| null | yes | UTC, ISO 8601. YouTube only shows "3 days ago", so YouTube times are estimates from that, and can be null. |
| `comments[].likes` | integer \| null | yes | YouTube rounds likes above 1,000 (24K comes back as 24000). |
| `comments[].replies` | integer \| null | yes | Replies to this comment, when the platform shows the count (often null on Instagram). |
| `comments[].author` | object | yes |  |
| `comments[].author.username` | string \| null | yes |  |
| `comments[].author.display_name` | string \| null | yes |  |
| `comments[].author.picture` | string \| null | yes |  |
| `comments[].author.is_verified` | boolean \| null | yes |  |
| `comments[].replies_ref` | string \| null | yes | Pass to POST /v1/live/comment-replies to read the replies. Null when replies can't be read for this comment. |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "youtube",
  "comments": [
    {
      "id": "UgyvUuFxBkcnHJHjZw54AaABAg.AdK8PBYi0MPAdKSdp64yDC",
      "text": "So Ive been daily driving this body for 30+ years and here is my review",
      "published_at": "2026-11-18T07:26:22Z",
      "likes": 1600,
      "replies": 4,
      "author": {
        "username": "commenter_3",
        "display_name": null,
        "picture": "https://yt3.ggpht.com/…",
        "is_verified": false
      },
      "replies_ref": null
    },
    {
      "id": "UgyvUuFxBkcnHJHjZw54AaABAg.AdK8PBYi0MPAdKhEVc5b7Q",
      "text": "@Abobakeralshegifi 😂😂",
      "published_at": "2026-11-18T07:26:22Z",
      "likes": 29,
      "replies": 0,
      "author": {
        "username": "commenter_4",
        "display_name": null,
        "picture": "https://yt3.ggpht.com/…",
        "is_verified": false
      },
      "replies_ref": null
    }
  ],
  "next_cursor": "c1.eyJzIjoiYSIsImsiOiJyZXBsaWVzOnlvdXR1Y…"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## A video's transcript

`POST /v1/live/transcript`

What is said in a video, reel or short, as text and as timed lines when available. 404 `not_found` when a video has no speech or captions. **Cost:** 4 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `url` | string | yes | A video, reel or short link. |
| `platform` | "instagram" \| "tiktok" \| "youtube" |  | Social platform. |
| `language` | string |  | Preferred language code (YouTube and TikTok), e.g. en. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/transcript' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://www.youtube.com/watch?v=KTDJiVpSDTI"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `url` | string | yes |  |
| `language` | string \| null | yes | As the platform reports it (code or name). |
| `text` | string | yes | The whole transcript. |
| `segments` | object[] | yes | Timed lines, when available. |
| `segments[].start_seconds` | number \| null | yes |  |
| `segments[].end_seconds` | number \| null | yes |  |
| `segments[].text` | string | yes |  |

Example (trimmed):

```json
{
  "platform": "youtube",
  "url": "https://www.youtube.com/watch?v=KTDJiVpSDTI",
  "language": "English",
  "text": "All right, welcome to a video in the form of a question. Can you trust MKBHD? Can you trust me? I actually did a video on this same topic by the same title around six years ago, and that was going through... all of my et…",
  "segments": [
    {
      "start_seconds": 2.914,
      "end_seconds": 4.946,
      "text": "All right, welcome to a video"
    },
    {
      "start_seconds": 5.148,
      "end_seconds": 6.925,
      "text": "in the form of a question."
    },
    {
      "start_seconds": 7.427,
      "end_seconds": 8.275,
      "text": "Can you trust"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## A YouTube playlist

`POST /v1/live/playlist`

The videos in a YouTube playlist, with the playlist's title, owner and size on the first page. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `url` | string |  | A YouTube playlist link (…?list=…). |
| `playlist_id` | string |  | Or the playlist id. |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/playlist' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"playlist_id":"PL7u4lWXQ3wfI_7PgX0C-VTiwLeu0S4v34"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `playlist` | object \| null | yes | On the first page. |
| `posts` | object[] | yes |  |
| `posts[].platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `posts[].id` | string | yes | The post's id on the platform. |
| `posts[].url` | string | yes |  |
| `posts[].type` | "image" \| "carousel" \| "video" \| "reel" \| "story" \| "photo" \| "short" \| "live" | yes | Instagram: image, carousel, video, reel, story. TikTok: video, photo (slideshow). YouTube: video, short, live. |
| `posts[].published_at` | string \| null | yes | UTC, ISO 8601, to the second. |
| `posts[].title` | string \| null | yes | YouTube only. |
| `posts[].caption` | string \| null | yes | Line breaks are kept on Instagram and YouTube; TikTok captions come as one line. |
| `posts[].duration_seconds` | integer \| null | yes | Videos, rounded to the second. |
| `posts[].thumbnail` | string \| null | yes | Platform CDN link (Instagram and TikTok links expire within days). |
| `posts[].media` | object[] | yes | Every image or video in the post, in order (carousel items, slideshow photos). |
| `posts[].media[].type` | "image" \| "video" | yes |  |
| `posts[].media[].url` | string \| null | yes | The image or video file. Platform CDN links expire within days. |
| `posts[].media[].thumbnail` | string \| null | yes |  |
| `posts[].download_url` | string \| null | yes | A direct link to the video file when the platform exposes one (TikTok: without watermark when available). Links expire. |
| `posts[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts[].comments` | integer \| null | yes |  |
| `posts[].views` | integer \| null | yes | Plays on Instagram reels, views on TikTok and YouTube. |
| `posts[].shares` | integer \| null | yes | TikTok; Instagram when available. |
| `posts[].saves` | integer \| null | yes | TikTok, when available. |
| `posts[].is_pinned` | boolean \| null | yes | Pinned to the top of the profile. Null when unknown. |
| `posts[].is_paid_partnership` | boolean \| null | yes | The post carries the platform's paid-partnership label. Null when unknown. |
| `posts[].hashtags` | string[] | yes | From the caption, lowercase, in order. |
| `posts[].mentions` | string[] | yes | @handles in the caption, in order. |
| `posts[].collaborators` | string[] | yes | Co-authors (Instagram collabs). |
| `posts[].audio` | object \| null | yes | The sound used (Instagram reels, TikTok). `id` is the platform's sound id when known; it works with POST /v1/live/audio. |
| `posts[].location` | string \| null | yes |  |
| `posts[].creator` | object \| null | yes | Who posted it. `full_name` and `id` can be null. |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "youtube",
  "playlist": {
    "id": "PLBsP89CPrMeO7uztAu6YxSB10cRMpjgiY",
    "title": "Retro Tech",
    "owner": "Marques Brownlee",
    "videos_count": 11
  },
  "posts": [
    {
      "platform": "youtube",
      "id": "kMtN9KJHn5Y",
      "url": "https://www.youtube.com/watch?v=kMtN9KJHn5Y",
      "type": "video",
      "published_at": null,
      "title": "RETRO TECH: CAMCORDER",
      "caption": null,
      "duration_seconds": 1375,
      "thumbnail": "https://i.ytimg.com/vi/kMtN9KJHn5Y/hqdefault.jpg?…",
      "media": [
        {
          "type": "video",
          "url": null,
          "thumbnail": "https://i.ytimg.com/vi/kMtN9KJHn5Y/hqdefault.jpg?…"
        }
      ],
      "download_url": null,
      "likes": null,
      "comments": null,
      "views": null,
      "shares": null,
      "saves": null,
      "is_pinned": null,
      "is_paid_partnership": null,
      "hashtags": [],
      "mentions": [],
      "collaborators": [],
      "audio": null,
      "location": null,
      "creator": {
        "username": "mkbhd",
        "full_name": "Marques Brownlee",
        "id": null,
        "picture": null,
        "is_verified": null
      }
    },
    {
      "platform": "youtube",
      "id": "BsAmXFcQMQ4",
      "url": "https://www.youtube.com/watch?v=BsAmXFcQMQ4",
      "type": "video",
      "published_at": null,
      "title": "Analog vs. Digital Cameras",
      "caption": null,
      "duration_seconds": 190,
      "thumbnail": "https://i.ytimg.com/vi/BsAmXFcQMQ4/hqdefault.jpg?…",
      "media": [
        {
          "type": "video",
          "url": null,
          "thumbnail": "https://i.ytimg.com/vi/BsAmXFcQMQ4/hqdefault.jpg?…"
        }
      ],
      "download_url": null,
      "likes": null,
      "comments": null,
      "views": null,
      "shares": null,
      "saves": null,
      "is_pinned": null,
      "is_paid_partnership": null,
      "hashtags": [],
      "mentions": [],
      "collaborators": [],
      "audio": null,
      "location": null,
      "creator": {
        "username": "mkbhd",
        "full_name": "Marques Brownlee",
        "id": null,
        "picture": null,
        "is_verified": null
      }
    }
  ],
  "next_cursor": null
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Posts with a hashtag

`POST /v1/live/hashtag`

Recent public posts using a hashtag on Instagram, TikTok or YouTube. To find hashtags themselves, use GET /v1/dictionaries/hashtags. Later pages can repeat a few posts from earlier ones: dedupe on `id`. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `hashtag` | string | yes | With or without #. |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/hashtag' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"tiktok","hashtag":"skincare"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `hashtag` | string | yes |  |
| `posts` | object[] | yes |  |
| `posts[].platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `posts[].id` | string | yes | The post's id on the platform. |
| `posts[].url` | string | yes |  |
| `posts[].type` | "image" \| "carousel" \| "video" \| "reel" \| "story" \| "photo" \| "short" \| "live" | yes | Instagram: image, carousel, video, reel, story. TikTok: video, photo (slideshow). YouTube: video, short, live. |
| `posts[].published_at` | string \| null | yes | UTC, ISO 8601, to the second. |
| `posts[].title` | string \| null | yes | YouTube only. |
| `posts[].caption` | string \| null | yes | Line breaks are kept on Instagram and YouTube; TikTok captions come as one line. |
| `posts[].duration_seconds` | integer \| null | yes | Videos, rounded to the second. |
| `posts[].thumbnail` | string \| null | yes | Platform CDN link (Instagram and TikTok links expire within days). |
| `posts[].media` | object[] | yes | Every image or video in the post, in order (carousel items, slideshow photos). |
| `posts[].media[].type` | "image" \| "video" | yes |  |
| `posts[].media[].url` | string \| null | yes | The image or video file. Platform CDN links expire within days. |
| `posts[].media[].thumbnail` | string \| null | yes |  |
| `posts[].download_url` | string \| null | yes | A direct link to the video file when the platform exposes one (TikTok: without watermark when available). Links expire. |
| `posts[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts[].comments` | integer \| null | yes |  |
| `posts[].views` | integer \| null | yes | Plays on Instagram reels, views on TikTok and YouTube. |
| `posts[].shares` | integer \| null | yes | TikTok; Instagram when available. |
| `posts[].saves` | integer \| null | yes | TikTok, when available. |
| `posts[].is_pinned` | boolean \| null | yes | Pinned to the top of the profile. Null when unknown. |
| `posts[].is_paid_partnership` | boolean \| null | yes | The post carries the platform's paid-partnership label. Null when unknown. |
| `posts[].hashtags` | string[] | yes | From the caption, lowercase, in order. |
| `posts[].mentions` | string[] | yes | @handles in the caption, in order. |
| `posts[].collaborators` | string[] | yes | Co-authors (Instagram collabs). |
| `posts[].audio` | object \| null | yes | The sound used (Instagram reels, TikTok). `id` is the platform's sound id when known; it works with POST /v1/live/audio. |
| `posts[].location` | string \| null | yes |  |
| `posts[].creator` | object \| null | yes | Who posted it. `full_name` and `id` can be null. |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "tiktok",
  "hashtag": "skincare",
  "posts": [
    {
      "platform": "tiktok",
      "id": "7341849029694737696",
      "url": "https://www.tiktok.com/@aamnaadel/video/7341849029694737696",
      "type": "video",
      "published_at": "2024-03-02T19:24:00Z",
      "title": null,
      "caption": "This is the correct order to apply your AM skin routine! 💕🧴✨ #dermatologist #dradel #skintok #skincare #skincareroutine #skincaretips #morningroutine #skincaresteps #foryou #fyp #fypシ",
      "duration_seconds": 15,
      "thumbnail": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast2a-p-0037-euttp/o45gwdfLAslIv?…",
      "media": [
        {
          "type": "video",
          "url": "https://v45.tiktokcdn-eu.com/8c2edfd34a32c82f9ee1aea2638caa24/6b068db3/video/tos?…",
          "thumbnail": "https://p16-common-sign.tiktokcdn-eu.com/tos-useast2a-p-0037-euttp/o45gwdfLAslIv?…"
        }
      ],
      "download_url": "https://v45.tiktokcdn-eu.com/8c2edfd34a32c82f9ee1aea2638caa24/6b068db3/video/tos?…",
      "likes": 92461,
      "comments": 1076,
      "views": 2820227,
      "shares": 4387,
      "saves": 65779,
      "is_pinned": false,
      "is_paid_partnership": false,
      "hashtags": [
        "dermatologist",
        "dradel",
        "skintok",
        "skincare",
        "skincareroutine",
        "skincaretips",
        "morningroutine",
        "skincaresteps",
        "foryou",
        "fyp",
        "fypシ"
      ],
      "mentions": [],
      "collaborators": [],
      "audio": {
        "id": "7341849062623038241",
        "title": "original sound - aamnaadel",
        "artist": "Dr Adel | Dermatologist"
      },
      "location": null,
      "creator": {
        "username": "aamnaadel",
        "full_name": "Dr Adel | Dermatologist",
        "id": "6807857701374411782",
        "picture": "https://p19-common-sign.tiktokcdn-eu.com/tos-useast2a-avt-0068-euttp/d387683192b?…",
        "is_verified": true
      }
    },
    {
      "platform": "tiktok",
      "id": "7480638466926185750",
      "url": "https://www.tiktok.com/@drvanitarattan/video/7480638466926185750",
      "type": "video",
      "published_at": "2025-03-11T19:37:53Z",
      "title": null,
      "caption": "FOLLOW for Skincare Dr Vanita Rattan #skincare #kbeauty #glassskin",
      "duration_seconds": 104,
      "thumbnail": "https://p16-common-sign.tiktokcdn-eu.com/tos-no1a-p-0037-no/ogsQX3yPYZvEi9aiCpRt?…",
      "media": [
        {
          "type": "video",
          "url": "https://v45.tiktokcdn-eu.com/a8b84f53f45814c4899cf7ce16fd796f/6b068e0c/video/tos?…",
          "thumbnail": "https://p16-common-sign.tiktokcdn-eu.com/tos-no1a-p-0037-no/ogsQX3yPYZvEi9aiCpRt?…"
        }
      ],
      "download_url": "https://v45.tiktokcdn-eu.com/a8b84f53f45814c4899cf7ce16fd796f/6b068e0c/video/tos?…",
      "likes": 8786,
      "comments": 72,
      "views": 364839,
      "shares": 3239,
      "saves": 5325,
      "is_pinned": false,
      "is_paid_partnership": false,
      "hashtags": [
        "skincare",
        "kbeauty",
        "glassskin"
      ],
      "mentions": [],
      "collaborators": [],
      "audio": {
        "id": "7480638551287532310",
        "title": "original sound - drvanitarattan",
        "artist": "SkincareByDrV"
      },
      "location": null,
      "creator": {
        "username": "drvanitarattan",
        "full_name": "SkincareByDrV",
        "id": "6735157991278806022",
        "picture": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-avt-0068/15260c2b3dc9fcf4c88?…",
        "is_verified": true
      }
    }
  ],
  "next_cursor": "c1.eyJzIjoiYSIsImsiOiJoYXNodGFnOnRpa3Rva…"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Posts using a sound

`POST /v1/live/audio`

A sound's details and the posts that use it (Instagram reels audio, TikTok music), from the sound's link or id. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `audio` | string | yes | A sound link (instagram.com/reels/audio/…, tiktok.com/music/…) or its id. |
| `platform` | "instagram" \| "tiktok" |  | Required with a bare id; read from the link otherwise. |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/audio' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"audio":"https://www.tiktok.com/music/original-sound-7709194927938325278"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `audio` | object \| null | yes | On the first page. |
| `posts` | object[] | yes |  |
| `posts[].platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `posts[].id` | string | yes | The post's id on the platform. |
| `posts[].url` | string | yes |  |
| `posts[].type` | "image" \| "carousel" \| "video" \| "reel" \| "story" \| "photo" \| "short" \| "live" | yes | Instagram: image, carousel, video, reel, story. TikTok: video, photo (slideshow). YouTube: video, short, live. |
| `posts[].published_at` | string \| null | yes | UTC, ISO 8601, to the second. |
| `posts[].title` | string \| null | yes | YouTube only. |
| `posts[].caption` | string \| null | yes | Line breaks are kept on Instagram and YouTube; TikTok captions come as one line. |
| `posts[].duration_seconds` | integer \| null | yes | Videos, rounded to the second. |
| `posts[].thumbnail` | string \| null | yes | Platform CDN link (Instagram and TikTok links expire within days). |
| `posts[].media` | object[] | yes | Every image or video in the post, in order (carousel items, slideshow photos). |
| `posts[].media[].type` | "image" \| "video" | yes |  |
| `posts[].media[].url` | string \| null | yes | The image or video file. Platform CDN links expire within days. |
| `posts[].media[].thumbnail` | string \| null | yes |  |
| `posts[].download_url` | string \| null | yes | A direct link to the video file when the platform exposes one (TikTok: without watermark when available). Links expire. |
| `posts[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts[].comments` | integer \| null | yes |  |
| `posts[].views` | integer \| null | yes | Plays on Instagram reels, views on TikTok and YouTube. |
| `posts[].shares` | integer \| null | yes | TikTok; Instagram when available. |
| `posts[].saves` | integer \| null | yes | TikTok, when available. |
| `posts[].is_pinned` | boolean \| null | yes | Pinned to the top of the profile. Null when unknown. |
| `posts[].is_paid_partnership` | boolean \| null | yes | The post carries the platform's paid-partnership label. Null when unknown. |
| `posts[].hashtags` | string[] | yes | From the caption, lowercase, in order. |
| `posts[].mentions` | string[] | yes | @handles in the caption, in order. |
| `posts[].collaborators` | string[] | yes | Co-authors (Instagram collabs). |
| `posts[].audio` | object \| null | yes | The sound used (Instagram reels, TikTok). `id` is the platform's sound id when known; it works with POST /v1/live/audio. |
| `posts[].location` | string \| null | yes |  |
| `posts[].creator` | object \| null | yes | Who posted it. `full_name` and `id` can be null. |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "tiktok",
  "audio": {
    "id": "7709194927938325278",
    "title": "original sound - khaby.lame",
    "artist": "Khabane lame",
    "duration_seconds": 27,
    "posts_count": 28,
    "url": "https://www.tiktok.com/music/-7709194927938325278"
  },
  "posts": [
    {
      "platform": "tiktok",
      "id": "7709194461913419038",
      "url": "https://www.tiktok.com/@khaby.lame/video/7709194461913419038",
      "type": "video",
      "published_at": "2026-11-17T17:32:13Z",
      "title": null,
      "caption": "Coach, I’ll be right back… trust me 👀 #learnfromkhaby #comedy #imnotcomingback",
      "duration_seconds": 27,
      "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/o0sVfEB2IICimH9O?…",
      "media": [
        {
          "type": "video",
          "url": "https://v16m.tiktokcdn-us.com/bdd76945f3af83db25a5f04393244fd6/6b0590a4/video/to?…",
          "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/o0sVfEB2IICimH9O?…"
        }
      ],
      "download_url": "https://v16m.tiktokcdn-us.com/bdd76945f3af83db25a5f04393244fd6/6b0590a4/video/to?…",
      "likes": 174889,
      "comments": 3847,
      "views": 1621356,
      "shares": 2507,
      "saves": 8520,
      "is_pinned": false,
      "is_paid_partnership": false,
      "hashtags": [
        "learnfromkhaby",
        "comedy",
        "imnotcomingback"
      ],
      "mentions": [],
      "collaborators": [],
      "audio": {
        "id": "7709194927938325278",
        "title": "original sound - khaby.lame",
        "artist": "Khabane lame"
      },
      "location": null,
      "creator": {
        "username": "khaby.lame",
        "full_name": "Khabane lame",
        "id": "127905465618821121",
        "picture": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057?…",
        "is_verified": true
      }
    },
    {
      "platform": "tiktok",
      "id": "7709329322645015829",
      "url": "https://www.tiktok.com/@m.arslanxbhatti/video/7709329322645015829",
      "type": "video",
      "published_at": "2026-11-18T02:15:22Z",
      "title": null,
      "caption": "Lokan dodo yar bnaye kissa uff nakiti hyee ❤️‍🩹💔🥰#foryoupage❤️❤️ #LIVEIncentiveProgram #LIVEFEST2026 #foryoupage❤️❤️ #LIVEIncentiveProgram #foryoupage❤️❤️ #PaidPartnership #PaidPartnership #LIVEIncentiveProgram #foryoupage❤️❤️ #foryoupage❤️❤️ #PaidPartnership #foryoupage❤️❤️ #LIVECanBeEasy",
      "duration_seconds": 21,
      "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/osAehLReANoGfGTKgQKGvd?…",
      "media": [
        {
          "type": "video",
          "url": "https://v16m.tiktokcdn-us.com/e5e5e51be75e894fa737cdcd09880492/6b05909e/video/to?…",
          "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/osAehLReANoGfGTKgQKGvd?…"
        }
      ],
      "download_url": "https://v16m.tiktokcdn-us.com/e5e5e51be75e894fa737cdcd09880492/6b05909e/video/to?…",
      "likes": 168,
      "comments": 17,
      "views": 518,
      "shares": 4,
      "saves": 6,
      "is_pinned": false,
      "is_paid_partnership": false,
      "hashtags": [
        "foryoupage",
        "liveincentiveprogram",
        "livefest2026",
        "paidpartnership",
        "livecanbeeasy"
      ],
      "mentions": [],
      "collaborators": [],
      "audio": {
        "id": "7709194927938325278",
        "title": "original sound - khaby.lame",
        "artist": "Khabane lame"
      },
      "location": null,
      "creator": {
        "username": "m.arslanxbhatti",
        "full_name": "👑𝕬𝖗𝖘𝖑𝖆𝖓𝖃𝕭𝖍𝖆𝖙𝖙𝖎🖤",
        "id": "7667056351004836885",
        "picture": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/e8624c904332b7a4c5d7?…",
        "is_verified": false
      }
    }
  ],
  "next_cursor": "c1.eyJzIjoiYSIsImsiOiJhdWRpbzp0aWt0b2s6N…"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Search accounts

`POST /v1/live/search`

Accounts matching a name or keyword, live from the platform's own search (YouTube: channels). For filtered creator discovery use POST /v1/creators/search. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `query` | string | yes | A name, handle or keyword. |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/search' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"tiktok","query":"nike"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `query` | string | yes |  |
| `users` | object[] | yes |  |
| `users[].username` | string | yes |  |
| `users[].full_name` | string \| null | yes |  |
| `users[].id` | string \| null | yes |  |
| `users[].url` | string \| null | yes |  |
| `users[].picture` | string \| null | yes |  |
| `users[].followers` | integer \| null | yes | YouTube: subscribers (rounded as YouTube shows them). |
| `users[].is_verified` | boolean \| null | yes |  |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "youtube",
  "query": "tech reviews",
  "users": [
    {
      "username": "SulitTechReviews",
      "full_name": "Sulit Tech Reviews",
      "id": "UCa8g_5cRhATCMNMI7xlLJzQ",
      "url": "https://www.youtube.com/@SulitTechReviews",
      "picture": "https://yt3.googleusercontent.com/ytc/AIdro_kTP-6cHb_UuYGmKoYZ6iTL8Lhbd-D7BI2pzVU-3S8mJB_K=s176-c-k-c0x00ffffff-no-rj-mo",
      "followers": 816000,
      "is_verified": null
    },
    {
      "username": "TechSpurt",
      "full_name": "Tech Spurt",
      "id": "UCVLN0tY51ewH44wUtx3YZTA",
      "url": "https://www.youtube.com/@TechSpurt",
      "picture": "https://yt3.ggpht.com/cHE0REG7vM0_ZDMqkkV7ahQa0ZPBb0H-melZXshyeeWwlwUT6QJyCKKDS4_N7hBaB4dXlfbPPPw=s176-c-k-c0x00ffffff-no-rj-mo",
      "followers": 1410000,
      "is_verified": null
    },
    {
      "username": "QuickTechReviews",
      "full_name": "Quick Tech Reviews",
      "id": "UCh9uGfeFOTFkrE28cyZQa7A",
      "url": "https://www.youtube.com/@QuickTechReviews",
      "picture": "https://yt3.googleusercontent.com/ytc/AIdro_n-cAcDB-P8uN9uKX5L5dgcyYSIeQ0BNutYxG7V_Q2_Cec=s176-c-k-c0x00ffffff-no-rj-mo",
      "followers": 8840,
      "is_verified": null
    }
  ],
  "next_cursor": "c1.eyJzIjoiYSIsImsiOiJzZWFyY2g6eW91dHViZ…"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## A YouTube channel's playlists

`POST /v1/live/channel-playlists`

The playlists on a YouTube channel's Playlists tab: title, link, thumbnail and number of videos. Read a playlist's videos with POST /v1/live/playlist. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "youtube" | yes | youtube (only YouTube channels have playlists). |
| `username` | string | yes | Channel handle (with or without @), channel link or channel id (UC…). |
| `cursor` | string |  | `next_cursor` from the previous page. Omit for the first page. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/channel-playlists' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"youtube","username":"mkbhd"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `playlists` | object[] | yes |  |
| `playlists[].id` | string | yes |  |
| `playlists[].title` | string \| null | yes |  |
| `playlists[].url` | string | yes | Pass to POST /v1/live/playlist to read its videos. |
| `playlists[].thumbnail` | string \| null | yes |  |
| `playlists[].videos_count` | integer \| null | yes |  |
| `next_cursor` | string \| null | yes | Pass as `cursor` for the next page; null when there are no more. |

Example (trimmed):

```json
{
  "platform": "youtube",
  "playlists": [
    {
      "id": "PLBsP89CPrMeMV1oP42Zn2DrWpnFoSaufA",
      "title": "Retro Tech",
      "url": "https://www.youtube.com/playlist?list=PLBsP89CPrMeMV1oP42Zn2DrWpnFoSaufA",
      "thumbnail": "https://i9.ytimg.com/s_p/PLBsP89CPrMeMV1oP42Zn2DrWpnFoSaufA/landscape_maxresdefa?…",
      "videos_count": 6
    },
    {
      "id": "PLBsP89CPrMeP1Xi1zQX87mq3mhkvFHWZ4",
      "title": "Retro Tech",
      "url": "https://www.youtube.com/playlist?list=PLBsP89CPrMeP1Xi1zQX87mq3mhkvFHWZ4",
      "thumbnail": "https://i.ytimg.com/vi/Oy8zSYKkczI/hqdefault.jpg?…",
      "videos_count": 1
    },
    {
      "id": "PLBsP89CPrMeOpNZ7jI7_QWJxLwbDnsiIa",
      "title": "Prime Picks!",
      "url": "https://www.youtube.com/playlist?list=PLBsP89CPrMeOpNZ7jI7_QWJxLwbDnsiIa",
      "thumbnail": "https://i.ytimg.com/vi/fwijCB6cH-0/hqdefault.jpg?…",
      "videos_count": 2
    }
  ],
  "next_cursor": null
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `creator_not_found`, `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Trending posts

`POST /v1/live/trending`

What is popular right now. TikTok: the For You feed read from a country (`region`, default US). Instagram: popular reels from the last 7 days, most played first. YouTube: trending Shorts. Each call returns a fresh batch of about 12 (Instagram, TikTok) or 48 (YouTube Shorts) posts that can overlap with the last one; there are no further pages. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `region` | string |  | TikTok only: two-letter country to read the feed from (default US). Posts lean towards that country but aren't limited to it. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/trending' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"platform":"tiktok","region":"US"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `region` | string \| null | yes | TikTok: the country the feed was read from. |
| `posts` | object[] | yes |  |
| `posts[].platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `posts[].id` | string | yes | The post's id on the platform. |
| `posts[].url` | string | yes |  |
| `posts[].type` | "image" \| "carousel" \| "video" \| "reel" \| "story" \| "photo" \| "short" \| "live" | yes | Instagram: image, carousel, video, reel, story. TikTok: video, photo (slideshow). YouTube: video, short, live. |
| `posts[].published_at` | string \| null | yes | UTC, ISO 8601, to the second. |
| `posts[].title` | string \| null | yes | YouTube only. |
| `posts[].caption` | string \| null | yes | Line breaks are kept on Instagram and YouTube; TikTok captions come as one line. |
| `posts[].duration_seconds` | integer \| null | yes | Videos, rounded to the second. |
| `posts[].thumbnail` | string \| null | yes | Platform CDN link (Instagram and TikTok links expire within days). |
| `posts[].media` | object[] | yes | Every image or video in the post, in order (carousel items, slideshow photos). |
| `posts[].media[].type` | "image" \| "video" | yes |  |
| `posts[].media[].url` | string \| null | yes | The image or video file. Platform CDN links expire within days. |
| `posts[].media[].thumbnail` | string \| null | yes |  |
| `posts[].download_url` | string \| null | yes | A direct link to the video file when the platform exposes one (TikTok: without watermark when available). Links expire. |
| `posts[].likes` | integer \| null | yes | Null when the creator hides likes. |
| `posts[].comments` | integer \| null | yes |  |
| `posts[].views` | integer \| null | yes | Plays on Instagram reels, views on TikTok and YouTube. |
| `posts[].shares` | integer \| null | yes | TikTok; Instagram when available. |
| `posts[].saves` | integer \| null | yes | TikTok, when available. |
| `posts[].is_pinned` | boolean \| null | yes | Pinned to the top of the profile. Null when unknown. |
| `posts[].is_paid_partnership` | boolean \| null | yes | The post carries the platform's paid-partnership label. Null when unknown. |
| `posts[].hashtags` | string[] | yes | From the caption, lowercase, in order. |
| `posts[].mentions` | string[] | yes | @handles in the caption, in order. |
| `posts[].collaborators` | string[] | yes | Co-authors (Instagram collabs). |
| `posts[].audio` | object \| null | yes | The sound used (Instagram reels, TikTok). `id` is the platform's sound id when known; it works with POST /v1/live/audio. |
| `posts[].location` | string \| null | yes |  |
| `posts[].creator` | object \| null | yes | Who posted it. `full_name` and `id` can be null. |

Example (trimmed):

```json
{
  "platform": "tiktok",
  "region": "US",
  "posts": [
    {
      "platform": "tiktok",
      "id": "7711600136312392973",
      "url": "https://www.tiktok.com/@nikio.reads/video/7711600136312392973",
      "type": "video",
      "published_at": "2026-11-24T05:07:32Z",
      "title": null,
      "caption": "be a dork. meet the band. bring a gift. sing sing stand. #waterparks #waterparksband #awstenknight @awstenknight @waterparks @toadsplace",
      "duration_seconds": 13,
      "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/o8R1La15EA58EI2Qw?…",
      "media": [
        {
          "type": "video",
          "url": "https://v16m.tiktokcdn-us.com/d9b3dedda8d16183f9e64ac7b9e52fde/6b059cf3/video/to?…",
          "thumbnail": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-p-0068-tx/o8R1La15EA58EI2Qw?…"
        }
      ],
      "download_url": "https://v16m.tiktokcdn-us.com/d9b3dedda8d16183f9e64ac7b9e52fde/6b059cf3/video/to?…",
      "likes": 57,
      "comments": 3,
      "views": 1134,
      "shares": 0,
      "saves": 4,
      "is_pinned": null,
      "is_paid_partnership": null,
      "hashtags": [
        "waterparks",
        "waterparksband",
        "awstenknight"
      ],
      "mentions": [
        "awstenknight",
        "waterparks",
        "toadsplace"
      ],
      "collaborators": [],
      "audio": {
        "id": "7711600275379489550",
        "title": "original sound - nikio.reads",
        "artist": "niKio.reads"
      },
      "location": null,
      "creator": {
        "username": "nikio.reads",
        "full_name": "niKio.reads",
        "id": "7286556557047727150",
        "picture": "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/2c6cce72f57b2c6?…",
        "is_verified": null
      }
    },
    {
      "platform": "tiktok",
      "id": "7689447582824729863",
      "url": "https://www.tiktok.com/@naianesilva636/video/7689447582824729863",
      "type": "video",
      "published_at": "2026-09-25T12:23:59Z",
      "title": null,
      "caption": null,
      "duration_seconds": 5,
      "thumbnail": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oYHQAfbIhVIzDcVoGFM6IW?…",
      "media": [
        {
          "type": "video",
          "url": "https://v16m.tiktokcdn-us.com/df676309934423838e8f0678367064d8/6b059ceb/video/to?…",
          "thumbnail": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oYHQAfbIhVIzDcVoGFM6IW?…"
        }
      ],
      "download_url": "https://v16m.tiktokcdn-us.com/df676309934423838e8f0678367064d8/6b059ceb/video/to?…",
      "likes": 27625,
      "comments": 311,
      "views": 973029,
      "shares": 13880,
      "saves": 2065,
      "is_pinned": null,
      "is_paid_partnership": null,
      "hashtags": [],
      "mentions": [],
      "collaborators": [],
      "audio": {
        "id": "7689447622432934677",
        "title": "original sound - naianesilva636",
        "artist": "Naiane Silva"
      },
      "location": null,
      "creator": {
        "username": "naianesilva636",
        "full_name": "Naiane Silva",
        "id": "7442048775781401656",
        "picture": "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/2909ab812621647c7be?…",
        "is_verified": null
      }
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## A YouTube video's sponsors

`POST /v1/live/sponsors`

Whether a YouTube video or Short declares a paid promotion (YouTube's own label), and which brands it appears to promote, inferred from the description, its links, promo codes and what is said, each with a confidence and the evidence. Can take up to 50 seconds on long videos (the transcript is checked). **Cost:** 4 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `url` | string | yes | A YouTube video or Short link. |
| `platform` | "instagram" \| "tiktok" \| "youtube" |  | Social platform. |
| `language` | string |  | Two-letter code of the transcript language to check, like en. Default: the video's own. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/sponsors' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://www.youtube.com/watch?v=AVO0ifle-OU"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `platform` | "youtube" | yes |  |
| `id` | string | yes | The video's id. |
| `url` | string | yes |  |
| `title` | string \| null | yes |  |
| `creator` | object \| null | yes |  |
| `is_paid_promotion` | boolean \| null | yes | YouTube's own "Includes paid promotion" label: the creator declared a paid promotion. Null when unknown. |
| `sponsors` | object[] | yes | Brands the video appears to promote, inferred from its description, the links in it, promo codes and what is said. Inferred, not a YouTube field: weigh `confidence` and `evidence`, and expect the creator's own brands or affiliate links now and then. |
| `sponsors[].name` | string | yes |  |
| `sponsors[].website` | string \| null | yes |  |
| `sponsors[].confidence` | "high" \| "medium" \| "low" | yes |  |
| `sponsors[].evidence` | object[] | yes | Up to 3 excerpts that point to this sponsor. |
| `sponsors[].evidence[].source` | "description" \| "description_link" \| "promo_code" \| "transcript" \| "other" | yes |  |
| `sponsors[].evidence[].text` | string | yes |  |
| `transcript_checked` | boolean | yes | Whether what is said in the video was checked too (some videos have no transcript). |

Example (trimmed):

```json
{
  "platform": "youtube",
  "id": "AVO0ifle-OU",
  "url": "https://www.youtube.com/watch?v=AVO0ifle-OU",
  "title": "Why You Should Meal Prep Like A Restaurant",
  "creator": {
    "username": "letsKWOOWK",
    "full_name": "KWOOWK",
    "id": "UC3vQEjRhwgH2HAOBKwLjxNA",
    "picture": "https://yt3.ggpht.com/qmx-SPJT3bDScwd8KC4APZP82cpOoMN1b-kqdl5eASn8pub6jSBxWpq3OO88Wa1fQGWmPVpU=s48-c-k-c0x00ffffff-no-rj",
    "is_verified": null
  },
  "is_paid_promotion": true,
  "sponsors": [
    {
      "name": "Betterhelp",
      "website": "betterhelp.com",
      "confidence": "medium",
      "evidence": [
        {
          "source": "description_link",
          "text": "If you're struggling, consider therapy with our sponsor BetterHelp. Click https://betterhelp.com/KWOOWK for a 10% discount on your first month of therapy with a licensed professional specific to your needs. I bought way"
        }
      ]
    }
  ],
  "transcript_checked": false
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`, `content_unavailable`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## A link-in-bio page

`POST /v1/live/link-in-bio`

A creator's Linktree, Komi, Pillar, lnk.bio or Linkme page, read in one shape: emails, phone numbers, social accounts (with handles you can pass to the creator endpoints), and the other links and products on the page. Find the page in a profile's `links` (POST /v1/creators/profile) or contacts. **Cost:** 2 credits.

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `url` | string | yes | A Linktree, Komi, Pillar, lnk.bio or Linkme page, like https://linktr.ee/name. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/live/link-in-bio' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://linktr.ee/miguelangeles"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `service` | "linktree" \| "komi" \| "pillar" \| "lnk.bio" \| "linkme" | yes |  |
| `url` | string | yes |  |
| `username` | string \| null | yes |  |
| `name` | string \| null | yes |  |
| `bio` | string \| null | yes |  |
| `picture` | string \| null | yes |  |
| `location` | string \| null | yes |  |
| `emails` | string[] | yes | Email addresses shown on the page, lowercase. |
| `phones` | string[] | yes | Phone and WhatsApp numbers shown on the page, digits with a leading + when the page gives the country code. |
| `socials` | object[] | yes | Social accounts on the page: instagram, tiktok, youtube, twitter, facebook, snapchat, threads, twitch, linkedin, pinterest, spotify, soundcloud, apple_music, discord, patreon, telegram, whatsapp… |
| `socials[].platform` | string | yes |  |
| `socials[].url` | string | yes |  |
| `socials[].username` | string \| null | yes | Instagram, TikTok, YouTube, Twitter and Threads handles, without @. |
| `links` | object[] | yes | The page's other links and products, in page order. Hidden items are left out. |
| `links[].title` | string \| null | yes |  |
| `links[].url` | string | yes |  |
| `links[].kind` | "link" \| "product" | yes |  |
| `links[].price` | number \| null | yes | Products only. |
| `links[].currency` | string \| null | yes |  |

Example (trimmed):

```json
{
  "service": "linktree",
  "url": "https://linktr.ee/miguelangeles",
  "username": "miguelangeles",
  "name": null,
  "bio": "☆☆☆☆ IRL ANGEL ☆☆☆☆\nψ EMBRACE CHAOS ψ",
  "picture": "https://ugc.production.linktr.ee/d3141538-f586-4f3f-bc9a-a82fbebab798_DEATHRATTLE-slowed-COVER.jpeg",
  "location": null,
  "emails": [
    "name@example.com"
  ],
  "phones": [],
  "socials": [
    {
      "platform": "instagram",
      "url": "https://instagram.com/miguelangeles",
      "username": "miguelangeles"
    },
    {
      "platform": "tiktok",
      "url": "https://tiktok.com/@irlangel",
      "username": "irlangel"
    },
    {
      "platform": "youtube",
      "url": "https://www.youtube.com/watch?v=xiFUzOJaiC4",
      "username": null
    },
    {
      "platform": "spotify",
      "url": "https://open.spotify.com/artist/14xRX3JR8H4RWh8R7V3fvZ",
      "username": null
    },
    {
      "platform": "soundcloud",
      "url": "https://soundcloud.com/miguelangeles",
      "username": null
    },
    {
      "platform": "apple_music",
      "url": "https://music.apple.com/ca/artist/miguel-angeles/1209423162",
      "username": null
    }
  ],
  "links": [
    {
      "title": "new project \"BEFORE THE SUN RISES & WINTERR ENDS\"",
      "url": "https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG",
      "kind": "link",
      "price": null,
      "currency": null
    },
    {
      "title": "stream \"NOVEMBERR\"",
      "url": "https://open.spotify.com/track/62HnBMEdZjeFCd2T8g37T8",
      "kind": "link",
      "price": null,
      "currency": null
    },
    {
      "title": "watch \"INNOCENCE\" video",
      "url": "https://www.youtube.com/watch?v=JINmh9O-sjU",
      "kind": "link",
      "price": null,
      "currency": null
    },
    {
      "title": "stream \"OBSESSED\"",
      "url": "https://open.spotify.com/track/0ipHYEQf07qoReAWhVC3zO",
      "kind": "link",
      "price": null,
      "currency": null
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
- 503: Error: `temporarily_unavailable`

## Look up creators by handle or name

`GET /v1/creators/lookup`

Typeahead over the index: creators whose handle or name starts with the query. Useful to pick a seed for `similar_to`.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `query` | query | string | yes | Part of a handle or name. |
| `limit` | query | integer |  | Results to return, 1–10. |

### Example

```bash
curl 'https://api.leewou.com/v1/creators/lookup?platform=instagram&query=messi' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `creators` | object[] | yes |  |
| `creators[].id` | string \| null | yes |  |
| `creators[].username` | string | yes |  |
| `creators[].full_name` | string \| null | yes |  |
| `creators[].picture` | string \| null | yes |  |
| `creators[].followers` | integer \| null | yes |  |
| `creators[].is_verified` | boolean | yes |  |

Example (trimmed):

```json
{
  "creators": [
    {
      "id": "427553890",
      "username": "leomessi",
      "full_name": "Leo Messi",
      "picture": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDZ%2Fuc3eREMYRmlucP5lauWcv6msIdJyXoX4InVT7yxdOsz4KE9uiowYNvq28rF0o9UXettqidCaKTJ5EaTYr...",
      "followers": 516768631,
      "is_verified": true
    },
    {
      "id": "57405122195",
      "username": "leomessians",
      "full_name": "LeoMessians",
      "picture": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbcGiYx%2BLDMbnXUNCiki8XndZbm4qFXrE8eif%2BUpk5C0kXbStFyM8Nt%2BnVxn2%2FAFqX%2BMIOcs338f...",
      "followers": 100554,
      "is_verified": false
    },
    {
      "id": "4248051772",
      "username": "leomessidesign",
      "full_name": "🐐 @LeoMessiDesign",
      "picture": "https://imgp.sptds.icu/v2?mb0KwpL92uYofJiSjDn1%2F6peL1lBwv3s%2BUvShHERlDbcGiYx%2BLDMbnXUNCiki8XnEasvlHngI%2FQtX528Y%2BrmdWkkAVwp7mF5eloZG1BYaNEMRc%2FugE7qT6E...",
      "followers": 113434,
      "is_verified": false
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Find locations

`GET /v1/dictionaries/locations`

Countries, regions and cities by name, with the ids search accepts. TikTok and YouTube match countries only, so only countries are returned there.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `query` | query | string | yes | Place name, e.g. "Par". |
| `limit` | query | integer |  | Results to return, 1–50. |

### Example

```bash
curl 'https://api.leewou.com/v1/dictionaries/locations?platform=instagram&query=paris' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `locations` | object[] | yes |  |
| `locations[].id` | integer | yes | Use in creator.locations or audience.locations. |
| `locations[].name` | string | yes |  |
| `locations[].title` | string | yes | Full name, e.g. "Paris, Île-de-France, France". |
| `locations[].type` | "country" \| "state" \| "city" | yes |  |
| `locations[].country_code` | string \| null | yes |  |

Example (trimmed):

```json
{
  "locations": [
    {
      "id": 197171,
      "name": "Paris",
      "title": "Paris, Tennessee, United States",
      "type": "city",
      "country_code": "US"
    },
    {
      "id": 130722,
      "name": "Paris",
      "title": "Paris, Kentucky, United States",
      "type": "city",
      "country_code": "US"
    },
    {
      "id": 126166,
      "name": "Paris",
      "title": "Paris, Illinois, United States",
      "type": "city",
      "country_code": "US"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## List interests

`GET /v1/dictionaries/interests`

The interest categories used by filters.creator.interests and filters.audience.interests (Instagram).

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" |  | Instagram only (the default). |

### Example

```bash
curl 'https://api.leewou.com/v1/dictionaries/interests' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `interests` | object[] | yes |  |
| `interests[].id` | string | yes | Stable id, e.g. fitness_yoga. |
| `interests[].name` | string | yes |  |

Example (trimmed):

```json
{
  "interests": [
    {
      "id": "clothes_shoes_handbags_accessories",
      "name": "Clothes, Shoes, Handbags & Accessories"
    },
    {
      "id": "friends_family_relationships",
      "name": "Friends, Family & Relationships"
    },
    {
      "id": "camera_photography",
      "name": "Camera & Photography"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## List languages

`GET /v1/dictionaries/languages`

Languages creators post in on this platform, most common first, with their ISO 639-1 codes.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |

### Example

```bash
curl 'https://api.leewou.com/v1/dictionaries/languages?platform=instagram' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `languages` | object[] | yes |  |
| `languages[].code` | string | yes | ISO 639-1. |
| `languages[].name` | string | yes |  |

Example (trimmed):

```json
{
  "languages": [
    {
      "code": "en",
      "name": "English"
    },
    {
      "code": "es",
      "name": "Spanish"
    },
    {
      "code": "pt",
      "name": "Portuguese"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Find brands

`GET /v1/dictionaries/brands`

Brands by name, with the ids filters.creator.brands and sponsored_brands accept (Instagram).

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" |  | Instagram only (the default). |
| `query` | query | string | yes | Part of a brand name, e.g. "nik". |
| `limit` | query | integer |  | Results to return, 1–50. |

### Example

```bash
curl 'https://api.leewou.com/v1/dictionaries/brands?query=nike' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `brands` | object[] | yes |  |
| `brands[].id` | integer | yes |  |
| `brands[].name` | string | yes |  |

Example (trimmed):

```json
{
  "brands": [
    {
      "id": 956,
      "name": "Nike"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Find topic tags

`GET /v1/dictionaries/topics`

Topic tags close to a word, for filters.content.topics. Vocabularies differ per platform ("beauty" exists on Instagram but not on TikTok), so look tags up on the platform you search.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `query` | query | string | yes | A word, with or without #. |
| `limit` | query | integer |  | Results to return, 1–50. |

### Example

```bash
curl 'https://api.leewou.com/v1/dictionaries/topics?platform=instagram&query=fitness' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `topics` | object[] | yes |  |
| `topics[].tag` | string | yes | Use as-is in content.topics. |
| `topics[].exact` | boolean | yes | True for the tag that matches the query exactly. |
| `topics[].posts` | integer \| null | yes | Posts using the tag, when the source gives a count; usually null. |

Example (trimmed):

```json
{
  "topics": [
    {
      "tag": "#vegan",
      "exact": true,
      "posts": null
    },
    {
      "tag": "#veganfood",
      "exact": false,
      "posts": null
    },
    {
      "tag": "#vegano",
      "exact": false,
      "posts": null
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Find Instagram account categories

`GET /v1/dictionaries/categories`

Instagram account categories (the label under a profile's name, like "Fitness Trainer" or "Makeup Artist") containing a word, for filters.creator.category. Without a query, the most common ones.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `query` | query | string |  | Part of a category name. |
| `limit` | query | integer |  | Results to return, 1–100. |

### Example

```bash
curl 'https://api.leewou.com/v1/dictionaries/categories' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `categories` | object[] | yes |  |
| `categories[].name` | string | yes | Use as-is in filters.creator.category. |

Example (trimmed):

```json
{
  "categories": [
    {
      "name": "Fitness Trainer"
    },
    {
      "name": "Gym/Physical Fitness Center"
    },
    {
      "name": "Fitness Model"
    },
    {
      "name": "Sports & Fitness Instruction"
    },
    {
      "name": "Fitness Boot Camp"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Find hashtags

`GET /v1/dictionaries/hashtags`

Hashtags close to a word, most literal match first (exact, then starting with it, then containing it), for filters.content.hashtags and exclude_hashtags: the same suggestions as the app's Hashtags filter. Instagram and TikTok (YouTube search has no hashtag filter: use content.keywords or topics).

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" \| "tiktok" | yes | instagram or tiktok. |
| `query` | query | string | yes | A word, with or without #. |
| `limit` | query | integer |  | Results to return, 1–50. |

### Example

```bash
curl 'https://api.leewou.com/v1/dictionaries/hashtags?platform=instagram&query=paris' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `hashtags` | object[] | yes |  |
| `hashtags[].tag` | string | yes | The hashtag, with #. Use in content.hashtags or content.exclude_hashtags (with or without #). |
| `hashtags[].exact` | boolean | yes | True for the hashtag that matches the query exactly. |
| `hashtags[].posts` | integer \| null | yes | Posts using the tag, when the source gives a count; usually null. |

Example (trimmed):

```json
{
  "hashtags": [
    {
      "tag": "#travel",
      "exact": true,
      "posts": null
    },
    {
      "tag": "#travelgram",
      "exact": false,
      "posts": null
    },
    {
      "tag": "#traveling",
      "exact": false,
      "posts": null
    },
    {
      "tag": "#travelblogger",
      "exact": false,
      "posts": null
    },
    {
      "tag": "#traveler",
      "exact": false,
      "posts": null
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## List your lists

`GET /v1/lists`

Your workspace's creator lists (the same as in the app), newest first.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `platform` | query | "instagram" \| "tiktok" \| "youtube" |  | Only lists for this platform. |
| `query` | query | string |  | Part of the list name. |
| `page` | query | integer |  |  |
| `page_size` | query | integer |  |  |

### Example

```bash
curl 'https://api.leewou.com/v1/lists' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `total` | integer | yes |  |
| `page` | integer | yes |  |
| `page_size` | integer | yes |  |
| `has_more` | boolean | yes |  |
| `lists` | object[] | yes |  |
| `lists[].id` | string | yes |  |
| `lists[].name` | string | yes |  |
| `lists[].description` | string \| null | yes |  |
| `lists[].platform` | "instagram" \| "tiktok" \| "youtube" \| null | yes | The platform the list is for; null: creators from any platform. |
| `lists[].creators_count` | integer | yes |  |
| `lists[].created_at` | string \| null | yes |  |
| `lists[].updated_at` | string \| null | yes |  |

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Create a list

`POST /v1/lists`

A new creator list in your workspace. Names are unique per workspace; the plan limits how many lists a workspace has (`limit_reached`).

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `name` | string | yes | Unique in the workspace. |
| `description` | string |  |  |
| `platform` | "instagram" \| "tiktok" \| "youtube" |  | Social platform. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/lists' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"name":"Vegan food creators FR","platform":"instagram"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `name` | string | yes |  |
| `description` | string \| null | yes |  |
| `platform` | "instagram" \| "tiktok" \| "youtube" \| null | yes | The platform the list is for; null: creators from any platform. |
| `creators_count` | integer | yes |  |
| `created_at` | string \| null | yes |  |
| `updated_at` | string \| null | yes |  |

Example (trimmed):

```json
{
  "id": "6b05c8ab5c6411d7d4438cf1",
  "name": "Vegan food creators FR",
  "description": null,
  "platform": "instagram",
  "creators_count": 0,
  "created_at": "2026-11-24T17:26:03.973Z",
  "updated_at": "2026-11-24T17:26:03.973Z"
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`, `limit_reached`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Get a list

`GET /v1/lists/{listId}`

One of your lists.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |

### Example

```bash
curl 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `name` | string | yes |  |
| `description` | string \| null | yes |  |
| `platform` | "instagram" \| "tiktok" \| "youtube" \| null | yes | The platform the list is for; null: creators from any platform. |
| `creators_count` | integer | yes |  |
| `created_at` | string \| null | yes |  |
| `updated_at` | string \| null | yes |  |

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Rename a list

`PATCH /v1/lists/{listId}`

Change a list's name or description.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `name` | string |  |  |
| `description` | string |  |  |

### Example

```bash
curl -X PATCH 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"name":"Vegan food creators FR (Q1)"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `name` | string | yes |  |
| `description` | string \| null | yes |  |
| `platform` | "instagram" \| "tiktok" \| "youtube" \| null | yes | The platform the list is for; null: creators from any platform. |
| `creators_count` | integer | yes |  |
| `created_at` | string \| null | yes |  |
| `updated_at` | string \| null | yes |  |

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Delete a list

`DELETE /v1/lists/{listId}`

Delete a list (for everyone in the workspace, app included). Its creators leave the workspace's All Creators view unless they are in another list; their status, labels and notes are kept and come back if they are saved to a list again. Exports made from the list stay downloadable until they expire.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |

### Example

```bash
curl -X DELETE 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `deleted` | true | yes |  |

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Creators in a list

`GET /v1/lists/{listId}/creators`

The creators in a list with the details saved in the app: profile snapshot, outreach status, labels, notes, and unlocked or added emails.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |
| `query` | query | string |  | Part of a handle or name. |
| `status` | query | string |  | Only creators with this outreach status. |
| `page` | query | integer |  |  |
| `page_size` | query | integer |  |  |

### Example

```bash
curl 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601/creators' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `total` | integer | yes |  |
| `page` | integer | yes |  |
| `page_size` | integer | yes |  |
| `has_more` | boolean | yes |  |
| `creators` | object[] | yes |  |
| `creators[].id` | string | yes | This entry's id in the list (to remove it). |
| `creators[].platform` | "instagram" \| "tiktok" \| "youtube" | yes | Social platform. |
| `creators[].username` | string | yes |  |
| `creators[].creator_id` | string \| null | yes | The creator's id on the platform. |
| `creators[].full_name` | string \| null | yes |  |
| `creators[].picture` | string \| null | yes |  |
| `creators[].url` | string \| null | yes |  |
| `creators[].followers` | integer \| null | yes |  |
| `creators[].avg_likes` | integer \| null | yes |  |
| `creators[].engagement_rate` | number \| null | yes | A fraction (0.0312 = 3.12%). |
| `creators[].is_verified` | boolean \| null | yes |  |
| `creators[].status` | string | yes | Outreach status set in the app (not_started, contacted…). |
| `creators[].labels` | string[] | yes |  |
| `creators[].notes` | string | yes |  |
| `creators[].custom_name` | string \| null | yes |  |
| `creators[].emails` | string[] | yes | Emails unlocked or added in the app. |
| `creators[].added_at` | string \| null | yes |  |

Example (trimmed):

```json
{
  "total": 2,
  "page": 1,
  "page_size": 50,
  "has_more": false,
  "creators": [
    {
      "id": "6b05c8cc5c6411d7d4438cff",
      "platform": "instagram",
      "username": "nasa",
      "creator_id": "528817151",
      "full_name": "NASA",
      "picture": "https://imgp.sptds.icu/v2?…",
      "url": "https://www.instagram.com/nasa/",
      "followers": 104319767,
      "avg_likes": 161027,
      "engagement_rate": 0.0015435952804610845,
      "is_verified": true,
      "status": "not_started",
      "labels": [],
      "notes": "",
      "custom_name": null,
      "emails": [],
      "added_at": "2026-11-24T17:26:36.568Z"
    },
    {
      "id": "6b05c8cc5c6411d7d4438cfb",
      "platform": "instagram",
      "username": "natgeo",
      "creator_id": "787132",
      "full_name": "National Geographic",
      "picture": "https://imgp.sptds.icu/v2?…",
      "url": "https://www.instagram.com/natgeo/",
      "followers": 268123304,
      "avg_likes": 54331,
      "engagement_rate": 0.00020263438197822597,
      "is_verified": true,
      "status": "not_started",
      "labels": [],
      "notes": "",
      "custom_name": null,
      "emails": [],
      "added_at": "2026-11-24T17:26:36.558Z"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Add creators to a list

`POST /v1/lists/{listId}/creators`

Add up to 50 creators by handle or profile link. Each is looked up on its platform first; creators already in the list, on another platform than the list's, or not found come back in `skipped` with the reason.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `creators` | object[] | yes | Up to 50 creators per call. — up to 50 items |
| `creators[].username` | string | yes | Handle (with or without @) or profile link. |
| `creators[].platform` | "instagram" \| "tiktok" \| "youtube" |  | Social platform. |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601/creators' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"creators":[{"username":"natgeo","platform":"instagram"},{"username":"@nasa"}]}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `added` | integer | yes |  |
| `skipped` | object[] | yes | Creators not added, and why (already in the list, wrong platform, not found…). |
| `skipped[].username` | string | yes |  |
| `skipped[].reason` | string | yes |  |
| `list` | object | yes |  |
| `list.id` | string | yes |  |
| `list.name` | string | yes |  |
| `list.description` | string \| null | yes |  |
| `list.platform` | "instagram" \| "tiktok" \| "youtube" \| null | yes | The platform the list is for; null: creators from any platform. |
| `list.creators_count` | integer | yes |  |
| `list.created_at` | string \| null | yes |  |
| `list.updated_at` | string \| null | yes |  |

Example (trimmed):

```json
{
  "added": 2,
  "skipped": [
    {
      "username": "zz_no_such_user_8f3k2q",
      "reason": "No public account with this handle on this platform."
    }
  ],
  "list": {
    "id": "6b05c8ab5c6411d7d4438cf1",
    "name": "Vegan food creators FR",
    "description": null,
    "platform": "instagram",
    "creators_count": 2,
    "created_at": "2026-11-24T17:26:03.973Z",
    "updated_at": "2026-11-24T17:26:36.586Z"
  }
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Remove a creator from a list

`DELETE /v1/lists/{listId}/creators/{entryId}`

Remove one entry (its `id` from the list's creators). Like deleting a list, a creator in no other list leaves All Creators, keeping its status, labels and notes for when it is saved again.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |
| `entryId` | path | string | yes | The creator's entry id in the list (`id` of a ListCreator). |

### Example

```bash
curl -X DELETE 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601/creators/6741f0c2a9e1b2c3d4e5f6aa' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `deleted` | true | yes |  |

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Export a list

`POST /v1/lists/{listId}/exports`

Start a CSV or Excel export of a list: each creator's profile and metrics, labels, status and notes, and the emails your workspace has for them (unlocked or added in the app: the Email column is empty otherwise), the same file the app exports. Social profile columns (Instagram, YouTube, TikTok, X, Linktree…) come with the audience columns. For a creator's public contact details use POST /v1/creators/contacts. Poll GET /v1/lists/{listId}/exports/{exportId} until `status` is `completed`, then download `download_url`. Audience columns are optional (up to 50 creators). Paid in API credits when the export finishes: 2 per creator, plus 80 per creator with audience columns unless you paid for that creator's report in the last 30 days. The most it can cost is held when it starts (`insufficient_credits` if your balance can't cover it); a failed export costs nothing. **Cost:** 2 per creator exported, plus 80 per creator with audience columns (free for creators whose report you paid for in the last 30 days); charged when the export finishes, nothing if it fails credits.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |

### Request body

| field | type | required | description |
| --- | --- | --- | --- |
| `format` | "csv" \| "xlsx" |  | default "csv" |
| `include_audience` | boolean |  | Add audience columns (ages, genders, countries, interests, credibility). Costs a report's price (80 credits) per creator, free for creators whose report you paid for in the last 30 days, and makes their report free for 30 days. Up to 50 creators. — default false |
| `only_not_exported` | boolean |  | Only creators that weren't in a previous export of this list. — default false |

### Example

```bash
curl -X POST 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601/exports' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"format":"csv"}'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `list_id` | string | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes |  |
| `format` | "csv" \| "xlsx" | yes |  |
| `total_creators` | integer | yes |  |
| `processed` | integer | yes |  |
| `credits_charged` | integer \| null | yes | API credits this export cost, once it has finished (0 if it failed); null while it runs. |
| `download_url` | string \| null | yes | When completed: GET this (with your API key) to download the file. |
| `expires_at` | string \| null | yes | When the file stops being downloadable. |
| `errors` | string[] | yes | Creators that couldn't be exported, if any. |

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 402: Error: `insufficient_credits`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 409: Error: `conflict`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Get a list export

`GET /v1/lists/{listId}/exports/{exportId}`

An export's progress; `download_url` once it is completed.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |
| `exportId` | path | string | yes | Export id. |

### Example

```bash
curl 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601/exports/6741f0c2a9e1b2c3d4e5f6bb' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `id` | string | yes |  |
| `list_id` | string | yes |  |
| `status` | "processing" \| "completed" \| "failed" | yes |  |
| `format` | "csv" \| "xlsx" | yes |  |
| `total_creators` | integer | yes |  |
| `processed` | integer | yes |  |
| `credits_charged` | integer \| null | yes | API credits this export cost, once it has finished (0 if it failed); null while it runs. |
| `download_url` | string \| null | yes | When completed: GET this (with your API key) to download the file. |
| `expires_at` | string \| null | yes | When the file stops being downloadable. |
| `errors` | string[] | yes | Creators that couldn't be exported, if any. |

Example (trimmed):

```json
{
  "id": "6b05c8cc5c6411d7d4438d1c",
  "list_id": "6b05c8ab5c6411d7d4438cf1",
  "status": "completed",
  "format": "csv",
  "total_creators": 2,
  "processed": 2,
  "credits_charged": 4,
  "download_url": "https://api.leewou.com/v1/lists/6b05c8ab5c6411d7d4438cf1/exports/6b05c8cc5c6411d7d4438d1c/file",
  "expires_at": "2026-11-25T17:26:36.667Z",
  "errors": []
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Download a list export

`GET /v1/lists/{listId}/exports/{exportId}/file`

The export file (CSV or Excel) of a completed export, while it hasn't expired (`export_expired`).

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `listId` | path | string | yes | List id. |
| `exportId` | path | string | yes | Export id. |

### Example

```bash
curl 'https://api.leewou.com/v1/lists/6741f0c2a9e1b2c3d4e5f601/exports/6741f0c2a9e1b2c3d4e5f6bb/file' \
  -H "Authorization: Bearer $LEEWOU_API_KEY" \
  -o file
```

### Response

The export file. (text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 404: Error: `not_found`
- 410: Error: `export_expired`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Your account

`GET /v1/account`

The workspace and API key behind this request, the workspace's plan, and the rate limits that apply to the key.

### Example

```bash
curl 'https://api.leewou.com/v1/account' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `workspace` | object | yes |  |
| `workspace.id` | string | yes |  |
| `workspace.name` | string \| null | yes |  |
| `api_key` | object | yes | The key making this request. |
| `api_key.id` | string | yes |  |
| `api_key.name` | string | yes |  |
| `plan` | object \| null | yes | The workspace's API plan. Null without one (free credits and packs still work). |
| `rate_limits` | object | yes |  |
| `rate_limits.per_key` | object | yes |  |
| `rate_limits.per_key.per_second` | number | yes |  |
| `rate_limits.per_key.burst` | number | yes |  |
| `rate_limits.per_key.at_once` | number | yes |  |
| `rate_limits.groups` | object[] | yes |  |
| `rate_limits.groups[].group` | string | yes |  |
| `rate_limits.groups[].per_second` | number | yes |  |
| `rate_limits.groups[].burst` | number | yes |  |
| `rate_limits.groups[].at_once` | number | yes |  |
| `rate_limits.groups[].endpoints` | string[] | yes |  |

Example (trimmed):

```json
{
  "workspace": {
    "id": "6af58370afb2b94a316108a3",
    "name": "Acme Agency"
  },
  "api_key": {
    "id": "6b04a7169feb7884e03d6b8f",
    "name": "Production server"
  },
  "plan": {
    "plan": "starter",
    "interval": "month",
    "status": "active",
    "current_period_end": "2026-12-12T09:14:23.998Z",
    "cancel_at_period_end": false
  },
  "rate_limits": {
    "per_key": {
      "per_second": 20,
      "burst": 60,
      "at_once": 30
    },
    "groups": [
      {
        "group": "search",
        "per_second": 3,
        "burst": 10,
        "at_once": 5,
        "endpoints": [
          "POST /v1/creators/search"
        ]
      },
      {
        "group": "profile",
        "per_second": 5,
        "burst": 20,
        "at_once": 8,
        "endpoints": [
          "POST /v1/creators/profile",
          "POST /v1/lists/:listId/creators"
        ]
      },
      {
        "group": "report",
        "per_second": 2,
        "burst": 10,
        "at_once": 5,
        "endpoints": [
          "POST /v1/creators/report",
          "POST /v1/creators/report/pdf"
        ]
      }
    ]
  }
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Credits balance

`GET /v1/account/credits`

The workspace's API credits: the balance, credits set aside for running jobs and exports (`reserved`), where the balance comes from (`grants`, soonest to expire first), and the request count for the current billing period. API calls only ever use these credits, never a Leewou app plan's.

### Example

```bash
curl 'https://api.leewou.com/v1/account/credits' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `charged` | boolean | yes | Whether API calls cost credits. |
| `balance` | integer | yes | API credits available now. |
| `reserved` | integer | yes | Credits set aside by requests, jobs and exports still running (given back if they cost less). |
| `plan` | object \| null | yes | The workspace's API plan. Null without one (free credits and packs still work). |
| `grants` | object[] | yes | Where the balance comes from, soonest to expire first (the order credits are used in). |
| `grants[].source` | "trial" \| "plan" \| "upgrade" \| "pack" \| "topup" \| "manual" | yes |  |
| `grants[].credits` | integer | yes |  |
| `grants[].remaining` | integer | yes |  |
| `grants[].expires_at` | string | yes |  |
| `period_start` | string | yes | The API plan's billing period, else the calendar month. |
| `period_end` | string | yes |  |
| `requests` | integer | yes | API requests this period, all keys of the workspace. |
| `billable_requests` | integer | yes | Successful requests to endpoints that cost credits (not job polls, dictionaries, status or account). |

Example (trimmed):

```json
{
  "charged": true,
  "balance": 21430,
  "reserved": 50,
  "plan": {
    "plan": "starter",
    "interval": "month",
    "status": "active",
    "current_period_end": "2026-12-12T09:14:23.998Z",
    "cancel_at_period_end": false
  },
  "grants": [
    {
      "source": "plan",
      "credits": 20000,
      "remaining": 14430,
      "expires_at": "2027-01-12T09:14:23.998Z"
    },
    {
      "source": "pack",
      "credits": 7000,
      "remaining": 7000,
      "expires_at": "2027-11-20T16:40:02.117Z"
    }
  ],
  "period_start": "2026-11-12T09:14:23.998Z",
  "period_end": "2026-12-12T09:14:23.998Z",
  "requests": 66,
  "billable_requests": 15
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## API usage

`GET /v1/account/usage`

Requests and credits by day and by endpoint, for any date range up to 400 days, for the whole workspace or one key. Credits come from the billing ledger, so jobs and exports count at their final cost and refunds are taken off. Days are UTC; today's request counts can lag by about 10 seconds. For each request on its own, use GET /v1/account/requests.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `from` | query | string |  | First day, YYYY-MM-DD (default: 29 days before `to`). |
| `to` | query | string |  | Last day, YYYY-MM-DD (default: today). |
| `key` | query | "all" \| "current" |  | all: every key of the workspace; current: the key making this request. |
| `operation` | query | string |  | Only this endpoint, by operation id (e.g. getCreatorReport). |

### Example

```bash
curl 'https://api.leewou.com/v1/account/usage' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `from` | string | yes |  |
| `to` | string | yes |  |
| `requests` | integer | yes | All requests, including failed ones and free endpoints. |
| `billable_requests` | integer | yes | Successful requests to endpoints that cost credits. |
| `credits_charged` | integer | yes | Credits charged in the period, jobs and exports included, refunds taken off. |
| `days` | object[] | yes |  |
| `days[].date` | string | yes | UTC day, YYYY-MM-DD. |
| `days[].requests` | integer | yes |  |
| `days[].billable_requests` | integer | yes |  |
| `days[].credits_charged` | integer | yes |  |
| `endpoints` | object[] | yes | Most credits first. |
| `endpoints[].operation` | string | yes | The endpoint's operation id, e.g. getCreatorReport. |
| `endpoints[].endpoint` | string | yes |  |
| `endpoints[].billable` | boolean | yes | Whether calls to it cost credits. |
| `endpoints[].requests` | integer | yes |  |
| `endpoints[].billable_requests` | integer | yes |  |
| `endpoints[].credits_charged` | integer | yes |  |

Example (trimmed):

```json
{
  "from": "2026-10-30",
  "to": "2026-11-28",
  "requests": 412,
  "billable_requests": 96,
  "credits_charged": 1268,
  "days": [
    {
      "date": "2026-11-27",
      "requests": 150,
      "billable_requests": 31,
      "credits_charged": 402
    },
    {
      "date": "2026-11-28",
      "requests": 262,
      "billable_requests": 65,
      "credits_charged": 866
    }
  ],
  "endpoints": [
    {
      "operation": "getCreatorReport",
      "endpoint": "POST /v1/creators/report",
      "billable": true,
      "requests": 14,
      "billable_requests": 12,
      "credits_charged": 800
    },
    {
      "operation": "purchaseIntent",
      "endpoint": "POST /v1/creators/purchase-intent",
      "billable": true,
      "requests": 2,
      "billable_requests": 2,
      "credits_charged": 300
    },
    {
      "operation": "searchCreators",
      "endpoint": "POST /v1/creators/search",
      "billable": true,
      "requests": 31,
      "billable_requests": 28,
      "credits_charged": 168
    },
    {
      "operation": "lookupCreators",
      "endpoint": "GET /v1/creators/lookup",
      "billable": false,
      "requests": 40,
      "billable_requests": 0,
      "credits_charged": 0
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## Request log

`GET /v1/account/requests`

Every request made with the workspace's keys, newest first: when, which endpoint, the status and error code, what it cost, how long it took and where it came from. Kept 400 days. Page with `starting_after` (the `next_cursor` of the page before). Free.

### Parameters

| name | in | type | required | description |
| --- | --- | --- | --- | --- |
| `from` | query | string \| string |  | From this day (YYYY-MM-DD, UTC) or instant (ISO 8601). |
| `to` | query | string \| string |  | Up to and including this day, or up to this instant. |
| `key` | query | "all" \| "current" |  | all: every key of the workspace; current: the key making this request. |
| `operation` | query | string |  | Only this endpoint, by operation id. |
| `outcome` | query | "success" \| "error" |  | success: status below 400; error: 400 and above. |
| `status` | query | integer |  | Only this HTTP status. |
| `limit` | query | integer |  | Results to return, 1–100. |
| `starting_after` | query | string |  | A request id: return the requests before it. |

### Example

```bash
curl 'https://api.leewou.com/v1/account/requests' \
  -H "Authorization: Bearer $LEEWOU_API_KEY"
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `has_more` | boolean | yes |  |
| `next_cursor` | string \| null | yes | Pass as starting_after for the next page. |
| `requests` | object[] | yes |  |
| `requests[].id` | string | yes | The request id (the X-Request-Id header of that response). |
| `requests[].at` | string | yes | When the request arrived (ISO 8601, UTC). |
| `requests[].method` | string | yes |  |
| `requests[].path` | string | yes | The path called, without the query string. |
| `requests[].operation` | string | yes |  |
| `requests[].endpoint` | string \| null | yes |  |
| `requests[].status` | integer | yes | HTTP status of the answer. |
| `requests[].error_code` | string \| null | yes | error.code of a failed request. |
| `requests[].credits_charged` | integer \| null | yes | What the response said it cost (X-Credits-Charged). Jobs and exports settle later: see GET /v1/account/usage for their final cost. |
| `requests[].duration_ms` | integer | yes |  |
| `requests[].replayed` | boolean | yes | An Idempotency-Key replay (never charged). |
| `requests[].ref` | string \| null | yes | The job or export the request started or read. |
| `requests[].api_key_id` | string | yes |  |
| `requests[].ip` | string \| null | yes | The client address the request came from. |

Example (trimmed):

```json
{
  "has_more": true,
  "next_cursor": "req_5d1c0e7a9b3f2a4c6e81",
  "requests": [
    {
      "id": "req_9f2e4b1a7c3d5e6f8a90",
      "at": "2026-11-28T19:02:30.304Z",
      "method": "POST",
      "path": "/v1/creators/report",
      "operation": "getCreatorReport",
      "endpoint": "POST /v1/creators/report",
      "status": 200,
      "error_code": null,
      "credits_charged": 80,
      "duration_ms": 2710,
      "replayed": false,
      "ref": null,
      "api_key_id": "6b0b175e4564badb767ded02",
      "ip": "203.0.113.24"
    },
    {
      "id": "req_5d1c0e7a9b3f2a4c6e81",
      "at": "2026-11-28T19:01:58.117Z",
      "method": "POST",
      "path": "/v1/creators/search",
      "operation": "searchCreators",
      "endpoint": "POST /v1/creators/search",
      "status": 400,
      "error_code": "invalid_request",
      "credits_charged": null,
      "duration_ms": 12,
      "replayed": false,
      "ref": null,
      "api_key_id": "6b0b175e4564badb767ded02",
      "ip": "203.0.113.24"
    }
  ]
}
```

### Errors

- 400: Error: `invalid_request`
- 401: Error: `missing_api_key`, `invalid_api_key`
- 403: Error: `account_inactive`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`

## API status

`GET /v1/status`

Health check. Needs no API key.

### Example

```bash
curl 'https://api.leewou.com/v1/status'
```

### Response

| field | type | required | description |
| --- | --- | --- | --- |
| `status` | "ok" | yes |  |
| `version` | string | yes |  |
| `time` | string | yes |  |

Example (trimmed):

```json
{
  "status": "ok",
  "version": "1.0.0",
  "time": "2026-11-23T18:43:38.079Z"
}
```

### Errors

- 400: Error: `invalid_request`
- 429: Error: `rate_limited`
- 500: Error: `internal_error`
