{"openapi":"3.1.0","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"Handles API","version":"1.0.0","summary":"Public social account data across nine sources over one REST API.","description":"One API key for public social data across X, Instagram, TikTok, YouTube, Telegram, Bluesky, Twitch, Kick and LinkedIn.\n\n## Authentication\n\nEvery request needs an API key. Create one in the dashboard at https://handlesapi.com/dashboard. Send it either way:\n\n    Authorization: Bearer hk_live_xxxxxxxx\n    x-api-key: hk_live_xxxxxxxx\n\nA key is a server-to-server credential. Never ship it in front-end code: anyone who opens devtools can read it, and it spends your credits.\n\n## Envelope\n\nSuccess is always `{ data, meta }`. Failure is always `{ error: { code, message, request_id } }`. Branch on `error.code`, which is stable, never on the message.\n\n## Pagination\n\nList endpoints return `meta.page.next_cursor`. Pass it back as `?cursor=` to continue. Stop when `next_cursor` is `null`; a short page is not the end.\n\n## Credits\n\nCatalog, insights, identity, research and lead reads cost 1 credit. Calls that read the platform live (marked `x-live-call`) cost 2 credits. Every response carries `X-Credits-Cost`, `X-Credits-Remaining` and `X-Credits-Period-End`. Failed calls (4xx you caused, 5xx we caused) are not charged, except `404 not_found` on a lookup, which did the work.\n\n## Rate limits\n\nEach plan has a per-minute ceiling (Free: 10/min, null live calls per day). Over it you get `429 rate_limited` with `Retry-After`. When your plan's credits run out you get `402 quota_exceeded` unless overage is turned on.\n\n## Errors\n\nKeep `request_id` (also in the `X-Request-Id` header): it is the only thing that lets support find your exact call.","contact":{"name":"Handles API support","email":"support@handlesapi.com","url":"https://handlesapi.com/contact"},"termsOfService":"https://handlesapi.com/terms"},"servers":[{"url":"https://api.handlesapi.com/v1","description":"Production"}],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"tags":[{"name":"Accounts","description":"Check one account, on any supported platform, in one shape: does it exist, how big is it, is it verified, when was it created, is it in our catalog and how stale is that reading. The catalog checks are index probes and cost nothing; add /live to read the platform itself.","x-scope":"directory:read","x-endpoint-count":5},{"name":"Directory","description":"The account and channel catalog the crawlers maintain across X, Instagram, TikTok, YouTube, Telegram and Bluesky. Reads are served from our own Postgres, so they are fast, cheap and bounded only by your tier.","x-scope":"directory:read","x-endpoint-count":9},{"name":"X","description":"","x-scope":"scrape:live","x-endpoint-count":25},{"name":"People","description":"Read the account and channel catalog across all every supported platform.","x-scope":"directory:read","x-endpoint-count":2},{"name":"Live scrape","description":"On-demand reads that skip the catalog and fetch from the source right now. Slower and separately metered, because every call costs upstream work. Reach for these when you need one handle fresh, not for bulk enrichment.","x-scope":"scrape:live","x-endpoint-count":5},{"name":"Verify","description":"Prove that the person you are talking to controls the account they claim. The owner places a short code in a field only they can edit and we read it live, on six platforms through one call. This is the check to run before you let a user claim a handle, pay a creator, or list an account for sale.","x-scope":"scrape:live","x-endpoint-count":1},{"name":"Insights","description":"Derived engagement intelligence: engagement rates, top and viral posts, posting patterns and cohort benchmarks computed over the post layer.","x-scope":"insights:read","x-endpoint-count":32},{"name":"Trends","description":"Discovery rather than lookup: who gained or lost the most audience on a given day, ranked from the same daily series the growth history is built on. The catalog answers questions about a handle you already have; this answers the question you ask before you have one.","x-scope":"directory:read","x-endpoint-count":2},{"name":"Identity","description":"The same entity seen from more than one place: the social accounts a company publishes, the company behind a handle, and the several usernames a Telegram channel can hold at once. Every other surface here describes an account you already identified; this one closes the loop between an organisation and its presence.","x-scope":"directory:read","x-endpoint-count":5},{"name":"Graph","description":"Engagement rates, top posts, viral patterns, cohort benchmarks.","x-scope":"insights:read","x-endpoint-count":4},{"name":"Research","description":"Findings, runs and events from the autonomous research engine, which decides on its own which pools to expand and reports what it learned.","x-scope":"research:read","x-endpoint-count":4},{"name":"Tools","description":"The analysis tools behind the public free-tool pages, callable directly: valuation, follower audit, scoring and the rest. Metered like a live call, because each run costs compute or an upstream fetch.","x-scope":"tools:use","x-endpoint-count":24},{"name":"Leads","description":"B2B lead data: LinkedIn companies and decision makers, plus X follower-graph exports. Sensitive by nature, separately scoped, and never granted by default.","x-scope":"leads:read","x-endpoint-count":6}],"paths":{"/accounts/platforms":{"get":{"operationId":"accounts.platforms","summary":"What a check can answer, per platform","description":"The capability map for the account surface: for each of the every supported platform, whether a catalog check is available, which backend the live check reads, how many live reads per minute that source allows across all callers, and whether ownership can be proved with a bio code. Read this once before you integrate - it is static, free, and it tells you which fields will be null on which platform before you discover it in production.\n\nRequired scope: `directory:read` (Directory).\n\n- precision: rounded means the platform rounds before we ever see the number. YouTube has done this to subscriber counts since 2019, so a channel on 1,243,912 reports 1.24M and no amount of polling recovers the rest.\n- catalog.available is false only for LinkedIn, and that is a policy decision rather than a coverage gap: we hold LinkedIn company data under the leads:read scope for our own outreach and do not republish it cheaply. The live check still covers LinkedIn.\n- live.reads_per_minute is a ceiling on the SOURCE, shared across every caller, not a per-key limit. It is null on X and Instagram, where the lookup service in front of the source runs its own concurrency control and your tier's live limit is the only ceiling you will meet. It is a real number on the every supported platform we scrape directly, and it is four a minute on LinkedIn because company pages are heavy and LinkedIn blocks anything that reads them faster.\n- ownership_verification is offered on six of the seven. LinkedIn is the exception, and it is the source rather than the feature: a company page carries no owner-editable text we can read logged out, so there is nothing for a code to live in. It is not offered-but-broken anywhere.\n\nCost: 1 credit per call.","tags":["Accounts"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platforms":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"label":{"type":"string"},"object":{"type":"string"},"audience_metric":{"type":"string"},"precision":{"type":"string"},"catalog":{"type":"object","properties":{"available":{"type":"boolean"},"note":{"description":"Null in the example; the type is not inferable from it."},"fields":{"type":"array","items":{"type":"string"}},"directory_path":{"type":"string"}}},"live":{"type":"object","properties":{"available":{"type":"boolean"},"source":{"type":"string"},"reads_per_minute":{"description":"Null in the example; the type is not inferable from it."},"note":{"type":"string"}}},"ownership_verification":{"type":"object","properties":{"available":{"type":"boolean"},"field":{"type":"string"},"endpoint":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platforms":[{"platform":"x","label":"X","object":"account","audience_metric":"followers","precision":"exact","catalog":{"available":true,"note":null,"fields":["created_at","citation_score","country"],"directory_path":"/best-x-accounts"},"live":{"available":true,"source":"live:xlookup","reads_per_minute":null,"note":"Read live from our own X scraper. Exact follower count, no rounding."},"ownership_verification":{"available":true,"field":"bio","endpoint":"/scrape/x/verify"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["precision: rounded means the platform rounds before we ever see the number. YouTube has done this to subscriber counts since 2019, so a channel on 1,243,912 reports 1.24M and no amount of polling recovers the rest.","catalog.available is false only for LinkedIn, and that is a policy decision rather than a coverage gap: we hold LinkedIn company data under the leads:read scope for our own outreach and do not republish it cheaply. The live check still covers LinkedIn.","live.reads_per_minute is a ceiling on the SOURCE, shared across every caller, not a per-key limit. It is null on X and Instagram, where the lookup service in front of the source runs its own concurrency control and your tier's live limit is the only ceiling you will meet. It is a real number on the every supported platform we scrape directly, and it is four a minute on LinkedIn because company pages are heavy and LinkedIn blocks anything that reads them faster.","ownership_verification is offered on six of the seven. LinkedIn is the exception, and it is the source rather than the feature: a company page carries no owner-editable text we can read logged out, so there is nothing for a code to live in. It is not offered-but-broken anywhere."],"x-scope":"directory:read","x-credits":1}},"/accounts/{platform}/{handle}":{"get":{"operationId":"accounts.check","summary":"Check one account against our catalog","description":"Everything our crawlers know about one handle on one platform, in a shape that is identical across all seven: identity, audience, verification, creation date where the platform publishes one, and how old the reading is. This is the cheap check - one index probe, no upstream, bounded only by your tier. Add /live when you need the number as it is this second.\n\nRequired scope: `directory:read` (Directory).\n\n- exists is true when a source confirmed the account and null when nothing authoritative was asked. It is NEVER set to false by a catalog miss: our crawlers track the accounts worth ranking, which is a small slice of any platform, so catalog.state=absent means we have not indexed it and nothing more. Call /live for a real existence answer.\n- Every count is number or null, and null means not measured. It never means zero.\n- catalog.data_age_s is how stale the reading is. Telegram is the one platform whose freshness comes from a different column, and channels with no stored fetch timestamp report null rather than a guess.\n- created_at is populated on X, Bluesky and YouTube. Instagram, TikTok and Telegram do not publish an account creation date on any surface we read, so it is null there rather than estimated.\n- catalog.metrics carries only what that platform genuinely measures. Instagram is the one catalog whose crawl returns per-post like and comment counts, so it is the one that reports a measured engagement rate; Telegram is the one that gets average post views.\n- Accounts flagged as adult content are excluded from every v2 catalog read, so one reports as absent here.\n- This addresses accounts by HANDLE only. To look one up by its platform id - which survives a rename - use GET /directory/{platform}/{id}, which accepts either.\n\nCost: 1 credit per call.","tags":["Accounts"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"checked_at":{"type":"string","format":"date-time"},"exists":{"type":"boolean"},"evidence":{"type":"string"},"identity":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"url":{"type":"string"},"object":{"type":"string"}}},"audience":{"type":"object","properties":{"count":{"type":"integer"},"metric":{"type":"string"},"precision":{"type":"string"}}},"flags":{"type":"object","properties":{"verified":{"type":"boolean"},"private":{"type":"boolean"},"nsfw":{"type":"boolean"}}},"created_at":{"description":"Null in the example; the type is not inferable from it."},"catalog":{"type":"object","properties":{"state":{"type":"string"},"status":{"type":"string"},"tier":{"type":"string"},"category":{"type":"string"},"language":{"type":"string"},"country":{"description":"Null in the example; the type is not inferable from it."},"last_seen":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"directory_url":{"type":"string"},"metrics":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_comments":{"type":"integer"},"posts_analyzed":{"type":"integer"},"citation_score":{"type":"integer"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"instagram","handle":"nasa","checked_at":"2026-08-30T09:14:02.113Z","exists":true,"evidence":"catalog","identity":{"id":"528817151","handle":"nasa","name":"NASA","avatar_url":"https://scontent.cdninstagram.com/v/t51.2885-19/...","url":"https://www.instagram.com/nasa/","object":"account"},"audience":{"count":104443318,"metric":"followers","precision":"exact"},"flags":{"verified":true,"private":false,"nsfw":false},"created_at":null,"catalog":{"state":"present","status":"active","tier":"a","category":"science","language":"en","country":null,"last_seen":"2026-08-30T04:02:11.000Z","data_age_s":18711,"directory_url":"/best-instagram-accounts/nasa","metrics":{"engagement_rate":0.4213,"avg_likes":402118,"avg_comments":2904,"posts_analyzed":12,"citation_score":91}}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which platform the handle belongs to.","schema":{"type":"string","enum":["x","instagram","tiktok","youtube","telegram","bluesky","kick","twitch","linkedin"],"examples":["instagram"]}},{"name":"handle","in":"path","required":true,"description":"The account handle, with or without the @. Bluesky handles are domains and a bare name is completed to <name>.bsky.social. LinkedIn takes the company slug.","schema":{"type":"string","examples":["nasa"]}}],"x-notes":["exists is true when a source confirmed the account and null when nothing authoritative was asked. It is NEVER set to false by a catalog miss: our crawlers track the accounts worth ranking, which is a small slice of any platform, so catalog.state=absent means we have not indexed it and nothing more. Call /live for a real existence answer.","Every count is number or null, and null means not measured. It never means zero.","catalog.data_age_s is how stale the reading is. Telegram is the one platform whose freshness comes from a different column, and channels with no stored fetch timestamp report null rather than a guess.","created_at is populated on X, Bluesky and YouTube. Instagram, TikTok and Telegram do not publish an account creation date on any surface we read, so it is null there rather than estimated.","catalog.metrics carries only what that platform genuinely measures. Instagram is the one catalog whose crawl returns per-post like and comment counts, so it is the one that reports a measured engagement rate; Telegram is the one that gets average post views.","Accounts flagged as adult content are excluded from every v2 catalog read, so one reports as absent here.","This addresses accounts by HANDLE only. To look one up by its platform id - which survives a rename - use GET /directory/{platform}/{id}, which accepts either."],"x-scope":"directory:read","x-credits":1}},"/accounts/{platform}/{handle}/live":{"get":{"operationId":"accounts.live","summary":"Check one account live, at the source","description":"Reads the platform right now and folds our catalog in behind it, so a single call answers both 'does this account exist and how big is it this second' and 'what have we been watching it do'. This is the endpoint to put in a fraud review, a listing check or a hand-off. It is metered as a live call because every one of them spends real upstream capacity.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- live.state is the whole answer. `live` means the number is real. `not_found` means the source was asked and said no, so exists is false - that is an answer, returned as a 200, not an error. `unreadable` means the account may well exist but the source will not publish the number: a protected X account, a private Instagram profile, a YouTube channel hiding its subscriber count, a Telegram group with no public member count, or a TikTok bot challenge. exists stays null there.\n- 502 and 504 mean our side or the source failed, not that the account is missing. Retry those; never write a not_found into your database on the strength of a 504.\n- On the every supported platform we scrape directly - Telegram, Bluesky, TikTok, YouTube and LinkedIn - this draws on an upstream budget shared with the rest of the product, and a spent budget is a 429 that names the source and its ceiling. Slow down rather than retrying harder; GET /accounts/platforms publishes every ceiling up front. LinkedIn's is four a minute and is not negotiable: company pages are heavy and LinkedIn blocks anything that reads them faster.\n- X and Instagram carry no ceiling of their own here, because the lookup services in front of them already run one across every caller including our crawler. Your tier's live limit is what you will meet there. Both of those reads still cost real upstream capacity that the seller-facing listing flow shares, so treat the catalog as the default and this as the exception.\n- The catalog half is best-effort: if the engine database is busy you still get the live reading, with catalog.state=unavailable.\n- created_at is only ever populated from a live read on X. No other source we read publishes one.\n\nNot available for: instagram (live reads for this platform are paused; the catalog endpoints still serve it).\n\nCost: 2 credits per call.","tags":["Accounts"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"checked_at":{"type":"string","format":"date-time"},"exists":{"type":"boolean"},"evidence":{"type":"string"},"identity":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"url":{"type":"string"},"object":{"type":"string"}}},"audience":{"type":"object","properties":{"count":{"type":"integer"},"metric":{"type":"string"},"precision":{"type":"string"}}},"flags":{"type":"object","properties":{"verified":{"type":"boolean"},"private":{"type":"boolean"},"nsfw":{"type":"boolean"}}},"created_at":{"description":"Null in the example; the type is not inferable from it."},"catalog":{"type":"object","properties":{"state":{"type":"string"},"status":{"type":"string"},"tier":{"type":"string"},"category":{"type":"string"},"language":{"type":"string"},"country":{"description":"Null in the example; the type is not inferable from it."},"last_seen":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"directory_url":{"type":"string"},"metrics":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_comments":{"type":"integer"},"posts_analyzed":{"type":"integer"},"citation_score":{"type":"integer"}}}}},"live":{"type":"object","properties":{"state":{"type":"string"},"source":{"type":"string"},"read_at":{"type":"string","format":"date-time"},"detail":{"description":"Null in the example; the type is not inferable from it."},"secondary":{"type":"object","properties":{"following":{"type":"integer"},"posts":{"type":"integer"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"instagram","handle":"nasa","checked_at":"2026-08-30T09:14:02.113Z","exists":true,"evidence":"live","identity":{"id":"528817151","handle":"nasa","name":"NASA","avatar_url":"https://scontent.cdninstagram.com/v/t51.2885-19/...","url":"https://www.instagram.com/nasa/","object":"account"},"audience":{"count":104451002,"metric":"followers","precision":"exact"},"flags":{"verified":true,"private":false,"nsfw":false},"created_at":null,"catalog":{"state":"present","status":"active","tier":"a","category":"science","language":"en","country":null,"last_seen":"2026-08-30T04:02:11.000Z","data_age_s":18711,"directory_url":"/best-instagram-accounts/nasa","metrics":{"engagement_rate":0.4213,"avg_likes":402118,"avg_comments":2904,"posts_analyzed":12,"citation_score":91}},"live":{"state":"live","source":"live:iglookup","read_at":"2026-08-30T09:14:02.980Z","detail":null,"secondary":{"following":78,"posts":4318}}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which platform the handle belongs to.","schema":{"type":"string","enum":["x","instagram","tiktok","youtube","telegram","bluesky","kick","twitch","linkedin"],"examples":["instagram"]}},{"name":"handle","in":"path","required":true,"description":"The account handle, with or without the @. LinkedIn takes the company slug.","schema":{"type":"string","examples":["nasa"]}},{"name":"catalog","in":"query","required":false,"description":"Include what our catalog knows alongside the live reading. Costs one index probe. Turn it off if you only want the live number.","schema":{"type":"boolean","default":true}}],"x-live-call":true,"x-notes":["live.state is the whole answer. `live` means the number is real. `not_found` means the source was asked and said no, so exists is false - that is an answer, returned as a 200, not an error. `unreadable` means the account may well exist but the source will not publish the number: a protected X account, a private Instagram profile, a YouTube channel hiding its subscriber count, a Telegram group with no public member count, or a TikTok bot challenge. exists stays null there.","502 and 504 mean our side or the source failed, not that the account is missing. Retry those; never write a not_found into your database on the strength of a 504.","On the every supported platform we scrape directly - Telegram, Bluesky, TikTok, YouTube and LinkedIn - this draws on an upstream budget shared with the rest of the product, and a spent budget is a 429 that names the source and its ceiling. Slow down rather than retrying harder; GET /accounts/platforms publishes every ceiling up front. LinkedIn's is four a minute and is not negotiable: company pages are heavy and LinkedIn blocks anything that reads them faster.","X and Instagram carry no ceiling of their own here, because the lookup services in front of them already run one across every caller including our crawler. Your tier's live limit is what you will meet there. Both of those reads still cost real upstream capacity that the seller-facing listing flow shares, so treat the catalog as the default and this as the exception.","The catalog half is best-effort: if the engine database is busy you still get the live reading, with catalog.state=unavailable.","created_at is only ever populated from a live read on X. No other source we read publishes one."],"x-scope":"scrape:live","x-credits":2,"x-unavailable-platforms":["instagram"]}},"/accounts/check":{"post":{"operationId":"accounts.bulk","summary":"Check up to 50 accounts at once","description":"The bulk form of the catalog check: an array of { platform, handle } pairs, each answered independently in the same shape. Built for enriching a list - a CRM export, an influencer roster, a due-diligence sheet - in one round trip instead of fifty.\n\nRequired scope: `directory:read` (Directory).\n\n- One request is one request against your rate limit however many targets it carries. The database work is real per target, so batch to be efficient rather than to evade the limit.\n- The cap is 50 because each target is a probe on a different table and the read pool is shared with every directory page on the site.\n- The envelope stays 200 whenever the request was well formed, even if every target failed. Branch on results[].ok and on check.catalog.state, not on the status code.\n- `found` counts the targets whose catalog state is present. A target that is merely not indexed is not an error.\n- This is the catalog check only. There is no bulk live check, and that is deliberate: fifty upstream reads in one call would spend more of a source's per-minute budget than any single caller is allowed to hold.\n\nCost: 1 credit per call.","tags":["Accounts"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"requested":{"type":"integer"},"found":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"ok":{"type":"boolean"},"check":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"checked_at":{"type":"string","format":"date-time"},"exists":{"type":"boolean"},"evidence":{"type":"string"},"identity":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"url":{"type":"string"},"object":{"type":"string"}}},"audience":{"type":"object","properties":{"count":{"type":"integer"},"metric":{"type":"string"},"precision":{"type":"string"}}},"flags":{"type":"object","properties":{"verified":{"type":"boolean"},"private":{"type":"boolean"},"nsfw":{"type":"boolean"}}},"created_at":{"description":"Null in the example; the type is not inferable from it."},"catalog":{"type":"object","properties":{"state":{"type":"string"},"status":{"type":"string"},"tier":{"type":"string"},"category":{"type":"string"},"language":{"type":"string"},"country":{"description":"Null in the example; the type is not inferable from it."},"last_seen":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"directory_url":{"type":"string"},"metrics":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_comments":{"type":"integer"},"posts_analyzed":{"type":"integer"},"citation_score":{"type":"integer"}}}}}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"requested":2,"found":2,"results":[{"platform":"x","handle":"nasa","ok":true,"check":{"platform":"x","handle":"nasa","checked_at":"2026-08-30T09:14:02.113Z","exists":true,"evidence":"catalog","identity":{"id":"528817151","handle":"nasa","name":"NASA","avatar_url":"https://scontent.cdninstagram.com/v/t51.2885-19/...","url":"https://www.instagram.com/nasa/","object":"account"},"audience":{"count":104443318,"metric":"followers","precision":"exact"},"flags":{"verified":true,"private":false,"nsfw":false},"created_at":null,"catalog":{"state":"present","status":"active","tier":"a","category":"science","language":"en","country":null,"last_seen":"2026-08-30T04:02:11.000Z","data_age_s":18711,"directory_url":"/best-instagram-accounts/nasa","metrics":{"engagement_rate":0.4213,"avg_likes":402118,"avg_comments":2904,"posts_analyzed":12,"citation_score":91}}}},{"platform":"instagram","handle":"nasa","ok":true,"check":{"platform":"instagram","handle":"nasa","checked_at":"2026-08-30T09:14:02.113Z","exists":true,"evidence":"catalog","identity":{"id":"528817151","handle":"nasa","name":"NASA","avatar_url":"https://scontent.cdninstagram.com/v/t51.2885-19/...","url":"https://www.instagram.com/nasa/","object":"account"},"audience":{"count":104443318,"metric":"followers","precision":"exact"},"flags":{"verified":true,"private":false,"nsfw":false},"created_at":null,"catalog":{"state":"present","status":"active","tier":"a","category":"science","language":"en","country":null,"last_seen":"2026-08-30T04:02:11.000Z","data_age_s":18711,"directory_url":"/best-instagram-accounts/nasa","metrics":{"engagement_rate":0.4213,"avg_likes":402118,"avg_comments":2904,"posts_analyzed":12,"citation_score":91}}}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"targets":{"description":"Array of { platform, handle } objects, at most 50. Duplicate pairs are collapsed.","type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"}}},"examples":[[{"platform":"x","handle":"nasa"},{"platform":"instagram","handle":"nasa"}]]}},"required":["targets"]},"example":{"targets":[{"platform":"x","handle":"nasa"},{"platform":"instagram","handle":"nasa"}]}}}},"x-notes":["One request is one request against your rate limit however many targets it carries. The database work is real per target, so batch to be efficient rather than to evade the limit.","The cap is 50 because each target is a probe on a different table and the read pool is shared with every directory page on the site.","The envelope stays 200 whenever the request was well formed, even if every target failed. Branch on results[].ok and on check.catalog.state, not on the status code.","`found` counts the targets whose catalog state is present. A target that is merely not indexed is not an error.","This is the catalog check only. There is no bulk live check, and that is deliberate: fifty upstream reads in one call would spend more of a source's per-minute budget than any single caller is allowed to hold."],"x-scope":"directory:read","x-credits":1}},"/accounts/resolve":{"get":{"operationId":"accounts.resolve","summary":"Find one handle on every platform at once","description":"Takes a handle and checks it against every platform we run - all six catalogs plus LinkedIn - returning the same check shape for each, the combined audience, and the observable evidence for whether they belong to the same owner. One call to open a research task, a brand-protection sweep or an impersonation check.\n\nRequired scope: `directory:read` (Directory).\n\n- This matches a STRING against each catalog. It does not prove one owner: handle collision is common and there is no cross-platform identity key to check against. The summary publishes the evidence - exact handle, verification badge, display-name agreement - and stops there rather than inventing a confidence score.\n- A handle that cannot be valid on a platform is skipped rather than failing the call, and is listed in summary.unavailable with the reason. X caps handles at 15 characters and Instagram at 30, so a 20-character name is a real question about one and not about the other.\n- LinkedIn always answers with catalog.state=not_exposed rather than appearing in summary.unavailable: the check ran, and the answer is that we do not serve LinkedIn company records at this scope.\n- summary.total_audience is reach, not people. The same follower can appear on several platforms and there is no way to de-duplicate them.\n- For the platform-native record rather than the check shape, GET /people/lookup returns the same six catalogs with every column each one carries.\n\nCost: 1 credit per call.","tags":["Accounts"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"checks":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"checked_at":{"type":"string","format":"date-time"},"exists":{"type":"boolean"},"evidence":{"type":"string"},"identity":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"url":{"type":"string"},"object":{"type":"string"}}},"audience":{"type":"object","properties":{"count":{"type":"integer"},"metric":{"type":"string"},"precision":{"type":"string"}}},"flags":{"type":"object","properties":{"verified":{"type":"boolean"},"private":{"type":"boolean"},"nsfw":{"type":"boolean"}}},"created_at":{"description":"Null in the example; the type is not inferable from it."},"catalog":{"type":"object","properties":{"state":{"type":"string"},"status":{"type":"string"},"tier":{"type":"string"},"category":{"type":"string"},"language":{"type":"string"},"country":{"description":"Null in the example; the type is not inferable from it."},"last_seen":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"directory_url":{"type":"string"},"metrics":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_comments":{"type":"integer"},"posts_analyzed":{"type":"integer"},"citation_score":{"type":"integer"}}}}}}}},"summary":{"type":"object","properties":{"found_on":{"type":"array","items":{"type":"string"}},"verified_on":{"type":"array","items":{"type":"string"}},"unavailable":{"type":"array","items":{}},"total_audience":{"type":"integer"},"largest_platform":{"type":"string"},"names":{"type":"array","items":{"type":"string"}},"names_agree":{"type":"boolean"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"nasa","checks":[{"platform":"instagram","handle":"nasa","checked_at":"2026-08-30T09:14:02.113Z","exists":true,"evidence":"catalog","identity":{"id":"528817151","handle":"nasa","name":"NASA","avatar_url":"https://scontent.cdninstagram.com/v/t51.2885-19/...","url":"https://www.instagram.com/nasa/","object":"account"},"audience":{"count":104443318,"metric":"followers","precision":"exact"},"flags":{"verified":true,"private":false,"nsfw":false},"created_at":null,"catalog":{"state":"present","status":"active","tier":"a","category":"science","language":"en","country":null,"last_seen":"2026-08-30T04:02:11.000Z","data_age_s":18711,"directory_url":"/best-instagram-accounts/nasa","metrics":{"engagement_rate":0.4213,"avg_likes":402118,"avg_comments":2904,"posts_analyzed":12,"citation_score":91}}}],"summary":{"found_on":["instagram","x","youtube","tiktok"],"verified_on":["instagram","x","youtube"],"unavailable":[],"total_audience":191204882,"largest_platform":"instagram","names":["nasa"],"names_agree":true}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"query","required":true,"description":"One handle, with or without the @.","schema":{"type":"string","examples":["nasa"]}},{"name":"platforms","in":"query","required":false,"description":"Comma-separated subset to check. Defaults to all seven.","schema":{"type":"string","enum":["x","instagram","tiktok","youtube","telegram","bluesky","kick","twitch","linkedin"],"examples":["x,instagram,tiktok"]}}],"x-notes":["This matches a STRING against each catalog. It does not prove one owner: handle collision is common and there is no cross-platform identity key to check against. The summary publishes the evidence - exact handle, verification badge, display-name agreement - and stops there rather than inventing a confidence score.","A handle that cannot be valid on a platform is skipped rather than failing the call, and is listed in summary.unavailable with the reason. X caps handles at 15 characters and Instagram at 30, so a 20-character name is a real question about one and not about the other.","LinkedIn always answers with catalog.state=not_exposed rather than appearing in summary.unavailable: the check ran, and the answer is that we do not serve LinkedIn company records at this scope.","summary.total_audience is reach, not people. The same follower can appear on several platforms and there is no way to de-duplicate them.","For the platform-native record rather than the check shape, GET /people/lookup returns the same six catalogs with every column each one carries."],"x-scope":"directory:read","x-credits":1}},"/directory":{"get":{"operationId":"directory.index","summary":"Catalog capability map","description":"One machine-readable description per platform: the object type, an estimated catalog size, how fresh the daily rollup is, and every field, sort key, filter and facet that platform accepts. Read this once at integration time and drive your client from it rather than hardcoding field names - the catalogs do not all carry the same columns.\n\nRequired scope: `directory:read` (Directory).\n\n- Catalog sizes are planner row estimates (pg_class.reltuples), not counts. An exact count(*) over an 18M-row catalog takes 15s+ and would time out.\n- freshness.daily_stats_through is the most recent day the engine rollup has written for that platform, which is the honest answer to 'how current is this data'.\n- Cached for 60 seconds.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platforms":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"object":{"type":"string"},"id_field":{"type":"string"},"addressable_by":{"type":"array","items":{"type":"string"}},"catalog":{"type":"object","properties":{"estimated_rows":{"type":"integer"}}},"freshness":{"type":"object","properties":{"daily_stats_through":{"type":"string","format":"date"}}},"fields":{"type":"array","items":{"type":"string"}},"sorts":{"type":"array","items":{"type":"string"}},"default_sort":{"type":"string"},"filters":{"type":"array","items":{"type":"string"}},"search":{"type":"object","properties":{"fulltext":{"type":"boolean"},"substring":{"type":"boolean"}}},"facets":{"type":"object","properties":{"language":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"followers":{"type":"string"}}},"follower_graph":{"type":"object","properties":{"supported":{"type":"boolean"},"kind":{"type":"string"},"note":{"type":"string"}}},"endpoints":{"type":"object","properties":{"list":{"type":"string"},"detail":{"type":"string"},"growth":{"type":"string"},"followers":{"type":"string"},"following":{"type":"string"},"bulk":{"type":"string"},"facets":{"type":"string"}}}}}},"defaults":{"type":"object","properties":{"limit":{"type":"integer"},"max_limit":{"type":"integer"},"scope":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platforms":[{"platform":"x","object":"account","id_field":"username","addressable_by":["username","user_id"],"catalog":{"estimated_rows":18312640},"freshness":{"daily_stats_through":"2026-08-22"},"fields":["user_id","username","name","followers_count","weekly_growth"],"sorts":["id","followers","following","tweets","likes","media","citations","created"],"default_sort":"followers","filters":["category","language","country","tier","min_followers","max_followers"],"search":{"fulltext":true,"substring":true},"facets":{"language":"rollup","country":"rollup","category":"sample","followers":"sample"},"follower_graph":{"supported":true,"kind":"follows","note":"Real follow edges, but only among accounts already in the catalog."},"endpoints":{"list":"/v1/directory/x","detail":"/v1/directory/x/{id}","growth":"/v1/directory/x/{id}/growth","followers":"/v1/directory/x/{id}/followers","following":"/v1/directory/x/{id}/following","bulk":"/v1/directory/x/bulk","facets":"/v1/directory/x/facets"}}],"defaults":{"limit":50,"max_limit":500,"scope":"addressable"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["Catalog sizes are planner row estimates (pg_class.reltuples), not counts. An exact count(*) over an 18M-row catalog takes 15s+ and would time out.","freshness.daily_stats_through is the most recent day the engine rollup has written for that platform, which is the honest answer to 'how current is this data'.","Cached for 60 seconds."],"x-scope":"directory:read","x-credits":1}},"/directory/{platform}":{"get":{"operationId":"directory.list","summary":"List and filter a catalog","description":"The main catalog read: cursor-paginated, filterable and sortable. Pagination is always keyset (never OFFSET), so a full-corpus walk stays the same cost on page 1 and page 100,000 - follow meta.page.next_cursor until it is null.\n\nRequired scope: `directory:read` (Directory).\n\n- Unknown query parameters are rejected with 422 rather than ignored, so a typo in a filter never silently returns the unfiltered catalog.\n- meta.source tells you how the page was produced: `catalog` is a direct index-served read; `catalog:audience_window(20000)` and `catalog:fulltext_window(20000)` mean the result was drawn from a bounded candidate window (see below).\n- Candidate windows: a sort on a column with no index, a substring search, a derived-metric filter (min_follower_ratio, min_posts_per_day) or a full-text query is resolved inside the top 20,000 rows by audience (or the first 20,000 full-text matches). Ranking inside that window is exact; a term matching more rows than the window is ranked from the window, not from the whole catalog. This cap is why these queries answer in ~100ms instead of timing out - an unbounded full-text sort measured 33.5s on this catalog.\n- sort=growth is deliberately not offered: weekly growth is a per-row snapshot lookup, so ordering the catalog by it means computing it for every row. Use /directory/{platform}/{id}/growth for a single account's history.\n- Ranked sorts exclude rows whose sort value is NULL, since a NULL cannot be positioned in a keyset.\n- Telegram's addressable scope is public channels only (type = 'channel'); groups are in the corpus but not in the ranked listing, because the ordered index is built over channels.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"statuses_count":{"type":"integer"},"media_count":{"type":"integer"},"favourites_count":{"type":"integer"},"url":{"description":"Null in the example; the type is not inferable from it."},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"verified_type":{"description":"Null in the example; the type is not inferable from it."},"is_automated":{"type":"boolean"},"location":{"type":"string"},"photo_url":{"type":"string"},"banner_url":{"type":"string"},"account_created_at":{"type":"string","format":"date-time"},"language":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"citation_score":{"type":"integer"},"tier":{"type":"string"},"status":{"type":"string"},"is_nsfw":{"type":"boolean"},"last_seen":{"type":"string","format":"date-time"},"weekly_growth":{"type":"integer"}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":[{"user_id":"44196397","username":"elonmusk","name":"Elon Musk","description":"","followers_count":221384902,"following_count":1102,"statuses_count":79431,"media_count":4612,"favourites_count":152889,"url":null,"is_verified":false,"is_blue_verified":true,"verified_type":null,"is_automated":false,"location":"","photo_url":"https://pbs.twimg.com/profile_images/1936002956/elon_400x400.jpg","banner_url":"https://pbs.twimg.com/profile_banners/44196397/1739948056/1500x500","account_created_at":"2009-06-02T20:12:29+00:00","language":"en","country":"US","category":"technology","citation_score":41882,"tier":"S","status":"active","is_nsfw":false,"last_seen":"2026-08-22T22:14:07+00:00","weekly_growth":412004}],"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to read.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x"]}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1 to 500.","schema":{"type":"integer","default":50,"examples":[100]}},{"name":"cursor","in":"query","required":false,"description":"Opaque keyset position from meta.page.next_cursor. Signed; a hand-written cursor is rejected.","schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"description":"Sort key. `id` walks the primary key and is the cheapest full-corpus order; the platform's audience metric (followers / subscribers) is the default and is index-backed to any depth. Other keys are served from an audience-ordered candidate window - see notes.","schema":{"type":"string","description":"Sort key. `id` walks the primary key and is the cheapest full-corpus order; the platform's audience metric (followers / subscribers) is the default and is index-backed to any depth. Other keys are served from an audience-ordered candidate window - see notes. Default: followers (subscribers on YouTube and Telegram).","examples":["citations"]}},{"name":"order","in":"query","required":false,"description":"Sort direction.","schema":{"type":"string","enum":["asc","desc"],"default":"desc"}},{"name":"q","in":"query","required":false,"description":"Full-text search over name and bio, served by the catalog's GIN index. Available on X, Instagram, TikTok, YouTube and Telegram; Bluesky has no such index and returns 422 with a pointer to `search`.","schema":{"type":"string","examples":["crypto trading"]}},{"name":"search","in":"query","required":false,"description":"Substring match on handle and display name. Unindexed by construction, so it is applied inside the audience-ordered candidate window rather than to the whole catalog.","schema":{"type":"string","examples":["musk"]}},{"name":"fields","in":"query","required":false,"description":"Comma-separated projection. Any field listed by GET /directory for that platform, plus weekly_growth. Omitting weekly_growth skips a per-row snapshot lookup.","schema":{"type":"string","examples":["username,name,followers_count,country"]}},{"name":"scope","in":"query","required":false,"description":"`addressable` (default) is the active, non-NSFW, handled catalog - the rows a public page can link to, and the only scope the ranked indexes cover. `all` is the full corpus including suspended, NSFW and handle-less rows, and can only be walked with sort=id.","schema":{"type":"string","enum":["addressable","all"],"default":"addressable"}},{"name":"min_followers","in":"query","required":false,"description":"Audience floor. Every platform has a min/max pair on its own metric: min_followers (X, Bluesky, TikTok), min_participants (Telegram), min_subscribers (YouTube).","schema":{"type":"integer","examples":[10000]}},{"name":"country","in":"query","required":false,"description":"ISO 3166-1 alpha-2, as inferred by the engine's geo classifier. Not available on TikTok.","schema":{"type":"string","examples":["TR"]}},{"name":"language","in":"query","required":false,"description":"ISO 639-1, as inferred by the engine's language classifier.","schema":{"type":"string","examples":["en"]}},{"name":"category","in":"query","required":false,"description":"Topic category slug.","schema":{"type":"string","examples":["technology"]}}],"x-notes":["Unknown query parameters are rejected with 422 rather than ignored, so a typo in a filter never silently returns the unfiltered catalog.","meta.source tells you how the page was produced: `catalog` is a direct index-served read; `catalog:audience_window(20000)` and `catalog:fulltext_window(20000)` mean the result was drawn from a bounded candidate window (see below).","Candidate windows: a sort on a column with no index, a substring search, a derived-metric filter (min_follower_ratio, min_posts_per_day) or a full-text query is resolved inside the top 20,000 rows by audience (or the first 20,000 full-text matches). Ranking inside that window is exact; a term matching more rows than the window is ranked from the window, not from the whole catalog. This cap is why these queries answer in ~100ms instead of timing out - an unbounded full-text sort measured 33.5s on this catalog.","sort=growth is deliberately not offered: weekly growth is a per-row snapshot lookup, so ordering the catalog by it means computing it for every row. Use /directory/{platform}/{id}/growth for a single account's history.","Ranked sorts exclude rows whose sort value is NULL, since a NULL cannot be positioned in a keyset.","Telegram's addressable scope is public channels only (type = 'channel'); groups are in the corpus but not in the ranked listing, because the ordered index is built over channels."],"x-scope":"directory:read","x-credits":1}},"/directory/{platform}/{id}":{"get":{"operationId":"directory.get","summary":"One account or channel","description":"A single catalog record by handle or by platform id. Use ?include= to fold growth history, the top known followers, engagement and lookalike accounts into the same call instead of making four.\n\nRequired scope: `directory:read` (Directory).\n\n- notable_followers is always null and is kept only so existing clients do not break on a missing key. It was previously computed on every read by ranking an account's entire in-degree, which exceeded the query timeout on well connected accounts and made this endpoint fail for exactly the accounts people look up most. Ask for ?include=followers instead.\n- ?include=followers ranks the largest accounts within a SAMPLE of the inbound edges we hold, not across an account's real follower list, which we do not have. The sample is bounded so the call cannot time out.\n- include=engagement is X-only: xdir_account_engagement is the only engagement table in the catalog. The full engagement surface is under /insights.\n- include=similar matches on audience band (0.4x to 2.5x) and language, ranked by closeness in audience. It is not a content-similarity model.\n- A handle that has been reused resolves to the largest account holding it.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"object":{"type":"string"},"record":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"statuses_count":{"type":"integer"},"media_count":{"type":"integer"},"favourites_count":{"type":"integer"},"url":{"description":"Null in the example; the type is not inferable from it."},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"verified_type":{"description":"Null in the example; the type is not inferable from it."},"is_automated":{"type":"boolean"},"location":{"type":"string"},"photo_url":{"type":"string"},"banner_url":{"type":"string"},"account_created_at":{"type":"string","format":"date-time"},"language":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"citation_score":{"type":"integer"},"tier":{"type":"string"},"status":{"type":"string"},"is_nsfw":{"type":"boolean"},"last_seen":{"type":"string","format":"date-time"},"weekly_growth":{"type":"integer"},"notable_followers":{"description":"Null in the example; the type is not inferable from it."}}},"growth":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"},"delta":{"type":"integer"}}}},"similar":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers_count":{"type":"integer"},"language":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"x","object":"account","record":{"user_id":"44196397","username":"elonmusk","name":"Elon Musk","description":"","followers_count":221384902,"following_count":1102,"statuses_count":79431,"media_count":4612,"favourites_count":152889,"url":null,"is_verified":false,"is_blue_verified":true,"verified_type":null,"is_automated":false,"location":"","photo_url":"https://pbs.twimg.com/profile_images/1936002956/elon_400x400.jpg","banner_url":"https://pbs.twimg.com/profile_banners/44196397/1739948056/1500x500","account_created_at":"2009-06-02T20:12:29+00:00","language":"en","country":"US","category":"technology","citation_score":41882,"tier":"S","status":"active","is_nsfw":false,"last_seen":"2026-08-22T22:14:07+00:00","weekly_growth":412004,"notable_followers":null},"growth":[{"day":"2026-08-21","value":221309004,"delta":41221}],"similar":[{"user_id":"10228272","username":"YouTube","name":"YouTube","followers_count":78112004,"language":"en","country":"US","category":"technology"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to read.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x"]}},{"name":"id","in":"path","required":true,"description":"Handle (case-insensitive, with or without @) or platform id. X, Instagram and TikTok accept the numeric user id, YouTube accepts the channel id, Bluesky accepts the DID, Telegram accepts the numeric peer id.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"include","in":"query","required":false,"description":"Comma-separated extras. growth = last 30 daily points. followers = the largest accounts within a sample of the inbound edges we hold, up to 10. engagement = headline engagement metrics (X only). similar = up to 10 accounts in the same audience band and language.","schema":{"type":"string","enum":["growth","followers","engagement","similar"],"examples":["growth,similar"]}}],"x-notes":["notable_followers is always null and is kept only so existing clients do not break on a missing key. It was previously computed on every read by ranking an account's entire in-degree, which exceeded the query timeout on well connected accounts and made this endpoint fail for exactly the accounts people look up most. Ask for ?include=followers instead.","?include=followers ranks the largest accounts within a SAMPLE of the inbound edges we hold, not across an account's real follower list, which we do not have. The sample is bounded so the call cannot time out.","include=engagement is X-only: xdir_account_engagement is the only engagement table in the catalog. The full engagement surface is under /insights.","include=similar matches on audience band (0.4x to 2.5x) and language, ranked by closeness in audience. It is not a content-similarity model.","A handle that has been reused resolves to the largest account holding it."],"x-scope":"directory:read","x-credits":1}},"/directory/{platform}/{id}/growth":{"get":{"operationId":"directory.growth","summary":"Daily audience history","description":"The engine's end-of-day rollup for one account or channel: a point per day with the day-over-day delta, plus a summary carrying the change, the percentage change and the average daily change over the window.\n\nRequired scope: `directory:read` (Directory).\n\n- Coverage starts when the engine first crawled the account, so a recently discovered account has a short series regardless of ?days=.\n- A missing day means no snapshot was captured that day, not zero growth. Gaps are left as gaps rather than interpolated.\n- delta is the engine's stored day-over-day change; summary.change is computed across the returned window.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"id":{"type":"string"},"metric":{"type":"string"},"days":{"type":"integer"},"points":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"},"delta":{"type":"integer"}}}},"summary":{"type":"object","properties":{"first_day":{"type":"string","format":"date"},"last_day":{"type":"string","format":"date"},"first_value":{"type":"integer"},"last_value":{"type":"integer"},"change":{"type":"integer"},"change_pct":{"type":"number"},"avg_daily_change":{"type":"number"},"days_covered":{"type":"integer"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"x","id":"elonmusk","metric":"followers_count","days":90,"points":[{"day":"2026-05-26","value":219884113,"delta":38902},{"day":"2026-05-27","value":219931450,"delta":47337}],"summary":{"first_day":"2026-05-26","last_day":"2026-08-22","first_value":219884113,"last_value":221384902,"change":1500789,"change_pct":0.68,"avg_daily_change":16675.43,"days_covered":89}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to read.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x"]}},{"name":"id","in":"path","required":true,"description":"Handle (case-insensitive, with or without @) or platform id. X, Instagram and TikTok accept the numeric user id, YouTube accepts the channel id, Bluesky accepts the DID, Telegram accepts the numeric peer id.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"days","in":"query","required":false,"description":"How far back to read, 1 to 365 days.","schema":{"type":"integer","default":90,"examples":[180]}}],"x-notes":["Coverage starts when the engine first crawled the account, so a recently discovered account has a short series regardless of ?days=.","A missing day means no snapshot was captured that day, not zero growth. Gaps are left as gaps rather than interpolated.","delta is the engine's stored day-over-day change; summary.change is computed across the returned window."],"x-scope":"directory:read","x-credits":1}},"/directory/{platform}/{id}/followers":{"get":{"operationId":"directory.followers","summary":"Inbound graph edges","description":"The accounts we know point AT this one. Paginated by peer id so the whole known set can be walked. The response states what the edges mean on that platform, and reports both the audience the platform reports and how many edges we actually hold - they are different numbers and must not be confused.\n\nRequired scope: `directory:read` (Directory).\n\n- known_edges is what WE hold, not the platform's follower count: 37,812 of @elonmusk's 241M followers, 1,725 of @RTErdogan's 19.8M. Never present it as a follower count.\n- Telegram has no follower graph and returns 422. It stores forward and mention edges between channels, which are a citation signal, not a subscriber list.\n- YouTube edges are featured-channel relations, TikTok edges are the suggested-accounts graph and Instagram edges are related profiles. All three are returned under this path with graph.kind saying so - none of them is a subscriber list.\n- Ordered by peer id, which is the only ordering that can be paged to the end of a graph without re-reading it. Ranking by audience within the page is left to the client.\n- known_edges is counted through a 250,000-row cap; known_edges_capped: true means the real in-degree is at least that.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"target":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"reported_metric":{"type":"integer"},"known_edges":{"type":"integer"},"known_edges_capped":{"type":"boolean"}}},"graph":{"type":"object","properties":{"direction":{"type":"string"},"kind":{"type":"string"},"note":{"type":"string"}}},"edges":{"type":"array","items":{"type":"object","properties":{"peer_id":{"type":"string"},"edge_type":{"type":"string"},"weight":{"type":"integer"},"edge_seen":{"type":"string","format":"date-time"},"username":{"type":"string"},"name":{"type":"string"},"followers_count":{"type":"integer"},"language":{"type":"string"},"country":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"target":{"id":"44196397","handle":"elonmusk","name":"Elon Musk","reported_metric":221384902,"known_edges":37812,"known_edges_capped":false},"graph":{"direction":"followers","kind":"follows","note":"Real follow edges, but only among accounts already in the catalog."},"edges":[{"peer_id":"813286","edge_type":"follows","weight":1,"edge_seen":"2026-08-19T04:31:52+00:00","username":"BarackObama","name":"Barack Obama","followers_count":131402119,"language":"en","country":"US"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to read.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x"]}},{"name":"id","in":"path","required":true,"description":"Handle (case-insensitive, with or without @) or platform id. X, Instagram and TikTok accept the numeric user id, YouTube accepts the channel id, Bluesky accepts the DID, Telegram accepts the numeric peer id.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Edges per page, 1 to 500.","schema":{"type":"integer","default":50}},{"name":"cursor","in":"query","required":false,"description":"Keyset position from meta.page.next_cursor.","schema":{"type":"string"}}],"x-notes":["known_edges is what WE hold, not the platform's follower count: 37,812 of @elonmusk's 241M followers, 1,725 of @RTErdogan's 19.8M. Never present it as a follower count.","Telegram has no follower graph and returns 422. It stores forward and mention edges between channels, which are a citation signal, not a subscriber list.","YouTube edges are featured-channel relations, TikTok edges are the suggested-accounts graph and Instagram edges are related profiles. All three are returned under this path with graph.kind saying so - none of them is a subscriber list.","Ordered by peer id, which is the only ordering that can be paged to the end of a graph without re-reading it. Ranking by audience within the page is left to the client.","known_edges is counted through a 250,000-row cap; known_edges_capped: true means the real in-degree is at least that."],"x-scope":"directory:read","x-credits":1}},"/directory/{platform}/{id}/following":{"get":{"operationId":"directory.following","summary":"Outbound graph edges","description":"The accounts this one points AT - the mirror of /followers, served off the edge table's primary key. Same envelope, same caveats about what an edge means per platform.\n\nRequired scope: `directory:read` (Directory).\n\n- The outbound side is served directly by the edge table's primary key, so it pages faster than /followers on high-degree accounts.\n- Telegram returns 422: no follower graph.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"target":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"reported_metric":{"type":"integer"},"known_edges":{"type":"integer"},"known_edges_capped":{"type":"boolean"}}},"graph":{"type":"object","properties":{"direction":{"type":"string"},"kind":{"type":"string"},"note":{"type":"string"}}},"edges":{"type":"array","items":{"type":"object","properties":{"peer_id":{"type":"string"},"edge_type":{"type":"string"},"weight":{"type":"integer"},"edge_seen":{"type":"string","format":"date-time"},"username":{"type":"string"},"name":{"type":"string"},"followers_count":{"type":"integer"},"language":{"type":"string"},"country":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"target":{"id":"44196397","handle":"elonmusk","name":"Elon Musk","reported_metric":221384902,"known_edges":1102,"known_edges_capped":false},"graph":{"direction":"following","kind":"follows","note":"Real follow edges among catalogued accounts."},"edges":[{"peer_id":"1636590253","edge_type":"follows","weight":1,"edge_seen":"2026-08-19T04:31:52+00:00","username":"SpaceX","name":"SpaceX","followers_count":34112009,"language":"en","country":"US"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to read.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x"]}},{"name":"id","in":"path","required":true,"description":"Handle (case-insensitive, with or without @) or platform id. X, Instagram and TikTok accept the numeric user id, YouTube accepts the channel id, Bluesky accepts the DID, Telegram accepts the numeric peer id.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Edges per page, 1 to 500.","schema":{"type":"integer","default":50}},{"name":"cursor","in":"query","required":false,"description":"Keyset position from meta.page.next_cursor.","schema":{"type":"string"}}],"x-notes":["The outbound side is served directly by the edge table's primary key, so it pages faster than /followers on high-degree accounts.","Telegram returns 422: no follower graph."],"x-scope":"directory:read","x-credits":1}},"/directory/{platform}/bulk":{"post":{"operationId":"directory.bulk","summary":"Resolve up to 100 records at once","description":"One round trip for a batch of handles or ids. Returns the records that exist and an explicit `missing` array for the inputs that do not, so a sync job can tell 'not in the catalog' from 'the call failed'.\n\nRequired scope: `directory:read` (Directory).\n\n- Duplicates are collapsed before the lookup; `requested` is the de-duplicated count.\n- Handles are matched on lower(handle), which is the shape every platform's handle index is built on.\n- This endpoint is not paginated - the 100-value cap is the page.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"requested":{"type":"integer"},"found":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"followers_count":{"type":"integer"},"following_count":{"type":"integer"},"statuses_count":{"type":"integer"},"media_count":{"type":"integer"},"favourites_count":{"type":"integer"},"url":{"description":"Null in the example; the type is not inferable from it."},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"verified_type":{"description":"Null in the example; the type is not inferable from it."},"is_automated":{"type":"boolean"},"location":{"type":"string"},"photo_url":{"type":"string"},"banner_url":{"type":"string"},"account_created_at":{"type":"string","format":"date-time"},"language":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"},"citation_score":{"type":"integer"},"tier":{"type":"string"},"status":{"type":"string"},"is_nsfw":{"type":"boolean"},"last_seen":{"type":"string","format":"date-time"},"weekly_growth":{"type":"integer"}}}},"missing":{"type":"array","items":{"type":"string"}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"requested":3,"found":[{"user_id":"44196397","username":"elonmusk","name":"Elon Musk","description":"","followers_count":221384902,"following_count":1102,"statuses_count":79431,"media_count":4612,"favourites_count":152889,"url":null,"is_verified":false,"is_blue_verified":true,"verified_type":null,"is_automated":false,"location":"","photo_url":"https://pbs.twimg.com/profile_images/1936002956/elon_400x400.jpg","banner_url":"https://pbs.twimg.com/profile_banners/44196397/1739948056/1500x500","account_created_at":"2009-06-02T20:12:29+00:00","language":"en","country":"US","category":"technology","citation_score":41882,"tier":"S","status":"active","is_nsfw":false,"last_seen":"2026-08-22T22:14:07+00:00","weekly_growth":412004}],"missing":["thisdoesnotexist"]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to read.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x"]}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"handles":{"description":"Up to 100 handles. Case-insensitive, a leading @ is stripped. Send this or 'ids', not both.","type":"array","items":{"type":"string"},"examples":[["elonmusk","nasa","thisdoesnotexist"]]},"ids":{"description":"Up to 100 platform ids (numeric for X, Instagram, TikTok and Telegram, channel id for YouTube, DID for Bluesky).","type":"array","items":{"type":"string"},"examples":[["44196397","11348282"]]}}},"example":{"handles":["elonmusk","nasa","thisdoesnotexist"]}}}},"x-notes":["Duplicates are collapsed before the lookup; `requested` is the de-duplicated count.","Handles are matched on lower(handle), which is the shape every platform's handle index is built on.","This endpoint is not paginated - the 100-value cap is the page."],"x-scope":"directory:read","x-credits":1}},"/directory/{platform}/facets":{"get":{"operationId":"directory.facets","summary":"Distribution of the catalog","description":"How the addressable catalog splits across language, country, category and audience band. X language and country come from an exact hourly rollup; every other axis is estimated from a block sample and labelled as such.\n\nRequired scope: `directory:read` (Directory).\n\n- APPROXIMATE BY DESIGN. Every axis marked method: sample is a scaled block sample, not a count. An exact count(*) group by over an 18M-row catalog reads the whole table and blows the query timeout - this is the same reason the directory filter chips are precomputed rather than counted per request.\n- Block sampling reads whole pages, so values that cluster by insertion order carry more noise than their share suggests. Treat small buckets as directional and large ones as reliable.\n- X language and country are exact: the engine writes them into xdir_facets hourly.\n- An axis that cannot be produced inside the query budget is returned as available: false with a reason, never as a slow scan or a silent zero.\n- Facets always describe the addressable scope (active, non-NSFW, handled).\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"scope":{"type":"string"},"estimated_rows":{"type":"integer"},"facets":{"type":"object","properties":{"language":{"type":"object","properties":{"available":{"type":"boolean"},"method":{"type":"string"},"approximate":{"type":"boolean"},"values":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"count":{"type":"integer"}}}}}},"followers":{"type":"object","properties":{"available":{"type":"boolean"},"method":{"type":"string"},"approximate":{"type":"boolean"},"sampled_rows":{"type":"integer"},"values":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"count":{"type":"integer"},"sampled":{"type":"integer"}}}}}},"country":{"type":"object","properties":{"available":{"type":"boolean"},"reason":{"type":"string"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"x","scope":"addressable","estimated_rows":18312640,"facets":{"language":{"available":true,"method":"rollup","approximate":false,"values":[{"value":"en","count":7402118},{"value":"tr","count":242483}]},"followers":{"available":true,"method":"sample","approximate":true,"sampled_rows":8904,"values":[{"value":"0-1k","count":11204882,"sampled":5449},{"value":"1k-10k","count":4918330,"sampled":2392}]},"country":{"available":false,"reason":"tiktok has no 'country' in the catalog."}}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to read.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x"]}},{"name":"axes","in":"query","required":false,"description":"Comma-separated axes to compute. Defaults to all four.","schema":{"type":"string","enum":["language","country","category","followers"],"examples":["language,followers"]}}],"x-notes":["APPROXIMATE BY DESIGN. Every axis marked method: sample is a scaled block sample, not a count. An exact count(*) group by over an 18M-row catalog reads the whole table and blows the query timeout - this is the same reason the directory filter chips are precomputed rather than counted per request.","Block sampling reads whole pages, so values that cluster by insertion order carry more noise than their share suggests. Treat small buckets as directional and large ones as reliable.","X language and country are exact: the engine writes them into xdir_facets hourly.","An axis that cannot be produced inside the query budget is returned as available: false with a reason, never as a slow scan or a silent zero.","Facets always describe the addressable scope (active, non-NSFW, handled)."],"x-scope":"directory:read","x-credits":1}},"/directory/search":{"get":{"operationId":"directory.search","summary":"Search every platform at once","description":"One query fanned out across all six catalogs in parallel, returning the top matches per platform by audience. Built for 'find this name anywhere' rather than for paging - use /directory/{platform} with ?q= when you need depth.\n\nRequired scope: `directory:read` (Directory).\n\n- Bluesky is matched by EXACT handle only, trying both the term as given and the term plus .bsky.social. Its catalog has no full-text index (idx_bdir_search was never built) and a substring scan over it is a seq scan, so an exact hit is the honest fast answer. The `method` on each group says which path answered.\n- Each platform's full-text match is drawn from the first 5,000 matching rows and then ranked by audience, so a very common term returns the biggest of a bounded sample rather than the global top.\n- A catalog that fails or times out is reported in `unavailable` and the other platforms still answer; one slow engine never fails the whole search.\n\nCost: 1 credit per call.","tags":["Directory"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"query":{"type":"string"},"results":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"object":{"type":"string"},"method":{"type":"string"},"count":{"type":"integer"},"records":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers_count":{"type":"integer"},"is_verified":{"type":"boolean"},"language":{"type":"string"},"country":{"type":"string"},"category":{"type":"string"}}}}}}},"unavailable":{"type":"array","items":{}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"query":"nasa","results":[{"platform":"x","object":"account","method":"fulltext","count":2,"records":[{"user_id":"11348282","username":"NASA","name":"NASA","followers_count":79204118,"is_verified":true,"language":"en","country":"US","category":"science"}]},{"platform":"bluesky","object":"account","method":"exact_handle","count":0,"records":[]}],"unavailable":[]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"q","in":"query","required":true,"description":"Search term, 2 to 120 characters.","schema":{"type":"string","examples":["nasa"]}},{"name":"limit","in":"query","required":false,"description":"Records per platform, 1 to 25.","schema":{"type":"integer","default":5}},{"name":"platforms","in":"query","required":false,"description":"Comma-separated subset to search. Defaults to all six.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"],"examples":["x,telegram"]}}],"x-notes":["Bluesky is matched by EXACT handle only, trying both the term as given and the term plus .bsky.social. Its catalog has no full-text index (idx_bdir_search was never built) and a substring scan over it is a seq scan, so an exact hit is the honest fast answer. The `method` on each group says which path answered.","Each platform's full-text match is drawn from the first 5,000 matching rows and then ranked by audience, so a very common term returns the biggest of a bounded sample rather than the global top.","A catalog that fails or times out is reported in `unavailable` and the other platforms still answer; one slow engine never fails the whole search."],"x-scope":"directory:read","x-credits":1}},"/x/users/{handle}":{"get":{"operationId":"x.users.get","summary":"One X profile, live","description":"Reads a profile from X right now: the counters, both verification flags, the join date and the images. This is the account as X reports it this second, not as our catalog last saw it - use /directory/x/{id} when you are browsing at volume and do not need the current number.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- is_verified and is_blue_verified are different questions. The first is X's legacy check (government, organisation, grandfathered); the second is the paid subscription, which is a spend signal rather than an identity check.\n- media_count and likes_given are null when X did not report them, never 0. A 0 there would read as 'this account has never posted media', which is a different and false statement.\n- A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"fresh","in":"query","required":false,"description":"Bypass the upstream's 60-second burst cache. Only worth it when you are checking something that changed seconds ago - a bio the owner just edited - because it costs a real pool slot.","schema":{"type":"boolean","default":false}}],"x-live-call":true,"x-notes":["is_verified and is_blue_verified are different questions. The first is X's legacy check (government, organisation, grandfathered); the second is the paid subscription, which is a spend signal rather than an identity check.","media_count and likes_given are null when X did not report them, never 0. A 0 there would read as 'this account has never posted media', which is a different and false statement.","A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/about":{"get":{"operationId":"x.users.about","summary":"X's About this account panel","description":"The panel X itself shows behind a profile: the country the account signs in from, when it joined, and how many times it has changed username. That last field is the reason this endpoint exists - a handle renamed six times is a very different risk from one that never has, and nothing else X publishes exposes it.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- about is passed through in X's own shape. It is the one payload here we do not remap, because the fields are X's, we do not consume them ourselves, and a mapping written against data nobody reads is a second thing to keep in sync. Anything X adds to the panel appears here without a release on our side.\n- 404 means X publishes no panel for that account, which is common for very old or restricted accounts. It is not a statement that the account is missing.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"about":{"type":"object","properties":{"country":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"usernameChangeCount":{"type":"integer"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"elonmusk","about":{"country":"US","createdAt":"2009-06-02T20:12:29+00:00","usernameChangeCount":0}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}}],"x-live-call":true,"x-notes":["about is passed through in X's own shape. It is the one payload here we do not remap, because the fields are X's, we do not consume them ourselves, and a mapping written against data nobody reads is a second thing to keep in sync. Anything X adds to the panel appears here without a release on our side.","404 means X publishes no panel for that account, which is common for very old or restricted accounts. It is not a statement that the account is missing.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/tweets":{"get":{"operationId":"x.users.tweets","summary":"An account's timeline","description":"The account's own posts, newest first, with the full counter set on each. Replies to other people are excluded by default: engagement rates and best-post picks are computed from original posts, and spending the page budget on replies dilutes the sample. Self-replies still come through, which is what makes thread metrics work.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- views is null, never 0, when X did not report impressions - which it does not on older posts. Averaging a null as zero is how an engagement score turns a healthy account into a ghost.\n- conversation_id groups a thread. Measuring a multi-part thread by its first post alone understates it, because X charges the replies to the root.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}},{"name":"include_replies","in":"query","required":false,"description":"Widen to the replies timeline: everything the account posted, including replies to other people.","schema":{"type":"boolean","default":false}}],"x-live-call":true,"x-notes":["views is null, never 0, when X did not report impressions - which it does not on older posts. Averaging a null as zero is how an engagement score turns a healthy account into a ghost.","conversation_id groups a thread. Measuring a multi-part thread by its first post alone understates it, because X charges the replies to the root.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/media":{"get":{"operationId":"x.users.media","summary":"An account's media timeline","description":"Only the posts carrying a photo, video or GIF. Answering the same question off /x/users/{handle}/tweets means paging the whole timeline and discarding most of it; X keeps this index itself, so ask it directly.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- media carries one entry per attachment: photo, video or animated_gif. The bucket order is X's and carries no meaning - count them, do not read them as a sequence.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["media carries one entry per attachment: photo, video or animated_gif. The bucket order is X's and carries no meaning - count them, do not read them as a sequence.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/mentions":{"get":{"operationId":"x.users.mentions","summary":"Posts mentioning an account","description":"Who is talking about this account, newest first. X publishes no mentions timeline on this path, so it is a search for the handle with the account's own posts excluded - which is the right definition anyway: a mention report that counts your own posts inflates every reach number in it.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Search coverage, not archive coverage. X's search index does not go back indefinitely and does not include every post, so this measures recent visible conversation rather than every mention ever made.\n- Each row carries its full author, so a verified-mentioner count needs no second call.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Search coverage, not archive coverage. X's search index does not go back indefinitely and does not include every post, so this measures recent visible conversation rather than every mention ever made.","Each row carries its full author, so a verified-mentioner count needs no second call.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/followers":{"get":{"operationId":"x.users.followers","summary":"Followers, newest first","description":"Follower profiles in reverse chronological order, which is the order that makes an audit possible: a bought batch arrives together and shows up at the top.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Full profiles, which is what makes them expensive. When you only need identity - overlap between two accounts, or a diff against last week - use /x/users/{handle}/followers/ids instead and save two orders of magnitude of upstream work.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"followers":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"followers":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Full profiles, which is what makes them expensive. When you only need identity - overlap between two accounts, or a diff against last week - use /x/users/{handle}/followers/ids instead and save two orders of magnitude of upstream work.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/verified-followers":{"get":{"operationId":"x.users.verifiedFollowers","summary":"Verified followers only","description":"The verified accounts following this one, served from X's own index rather than by filtering follower pages. The difference is the whole point: filtering would mean paging an entire follower list to find the few hundred that qualify, which on a large account is thousands of requests for an answer X hands over in ten.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- 'Verified' is X's own definition, which today means a paid subscription. Read this as a spend signal about the audience, not as an identity check.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"followers":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"followers":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["'Verified' is X's own definition, which today means a paid subscription. Read this as a spend signal about the audience, not as an identity check.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/followers/ids":{"get":{"operationId":"x.users.followerIds","summary":"Follower ids in bulk","description":"The follower list stripped to numeric ids, up to five thousand per call. It exists because the two questions are priced completely differently at the source: this endpoint hands over 5,000 ids in one request where the profile page hands over 200. For audience overlap, a follower diff, or bot-purchase detection, the ids are the whole answer.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- source says which path answered. 'v1.1' is the bulk endpoint; 'graphql' is the fallback, which pages 200 at a time. Both return the same ids - the field is there so you can tell why a page came back smaller than you asked for.\n- Ids are strings. They are past the range JavaScript integers represent exactly, and a number there loses the last digits silently.\n- The two paths do not share a cursor namespace, so cursors are tagged. If the bulk endpoint stops answering part-way through a walk you get a 503 telling you to restart without a cursor, rather than a silent jump back to follower one.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"}},"has_next_page":{"type":"boolean"},"source":{"type":"string"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"ids":["44196397","12","50393960"],"has_next_page":true,"source":"v1.1"},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-5000. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":1000}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["source says which path answered. 'v1.1' is the bulk endpoint; 'graphql' is the fallback, which pages 200 at a time. Both return the same ids - the field is there so you can tell why a page came back smaller than you asked for.","Ids are strings. They are past the range JavaScript integers represent exactly, and a number there loses the last digits silently.","The two paths do not share a cursor namespace, so cursors are tagged. If the bulk endpoint stops answering part-way through a walk you get a 503 telling you to restart without a cursor, rather than a silent jump back to follower one.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/following":{"get":{"operationId":"x.users.following","summary":"Who an account follows","description":"The accounts this one follows, newest follow first. Read in that order it is a far better signal than the raw list: what somebody started following this month says more about what they are doing now than the thousand they followed in 2015.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"following":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"following":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":200}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","A protected account answers 404. The account may exist, but nothing public can be read from it, and that is a final answer rather than a retryable one.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/users/{handle}/relationship":{"get":{"operationId":"x.users.relationship","summary":"Does one account follow another","description":"Both directions of the follow relationship between two accounts, in one call. Deriving this by paging a following list is O(following count) upstream requests for one boolean, and on any account worth asking about that is hundreds of calls that can still end in a maybe if the walk is cut short.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Both directions come back from one call. Read followed_by rather than issuing the mirrored request - it is the same answer for half the cost.\n- following_requested is true when a follow of a protected account is pending approval. It is not the same as following.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"source":{"type":"string"},"target":{"type":"string"},"following":{"type":"boolean"},"followed_by":{"type":"boolean"},"blocking":{"type":"boolean"},"muting":{"type":"boolean"},"following_requested":{"type":"boolean"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"source":"elonmusk","target":"nasa","following":true,"followed_by":true,"blocking":false,"muting":false,"following_requested":false},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"The account the question is asked from: does THIS account follow the target?","schema":{"type":"string","examples":["elonmusk"]}},{"name":"target","in":"query","required":true,"description":"The other account.","schema":{"type":"string","examples":["nasa"]}}],"x-live-call":true,"x-notes":["Both directions come back from one call. Read followed_by rather than issuing the mirrored request - it is the same answer for half the cost.","following_requested is true when a follow of a protected account is pending approval. It is not the same as following.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/tweets/{id}":{"get":{"operationId":"x.tweets.get","summary":"One post","description":"A single post with its counters, its entities and its full author. The nested quote or retweet, when there is one, is reported by id rather than inlined - fetch it explicitly if you need it, so one call can never turn into an unbounded payload.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- views and bookmarks are null, never 0, when X withheld them.\n- 404 covers deleted posts, posts from protected accounts and ids that never existed. X does not distinguish them and neither can we.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric post id - the digits at the end of an x.com/.../status/... link.","schema":{"type":"string","examples":["440322224407314432"]}}],"x-live-call":true,"x-notes":["views and bookmarks are null, never 0, when X withheld them.","404 covers deleted posts, posts from protected accounts and ids that never existed. X does not distinguish them and neither can we.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/tweets":{"get":{"operationId":"x.tweets.batch","summary":"Posts by id, batched","description":"Up to 100 posts in one call. Each id is one upstream request, so this saves round trips rather than upstream work, and the response says how many of the ids it actually carries.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- A short answer is reported as short: compare fetched against requested and read note. Deleted posts are absent rather than null-padded.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"requested":{"type":"integer"},"fetched":{"type":"integer"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}],"requested":2,"fetched":2},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"ids","in":"query","required":true,"description":"Comma-separated numeric post ids, at most 100.","schema":{"type":"string","examples":["20,440322224407314432"]}}],"x-live-call":true,"x-notes":["A short answer is reported as short: compare fetched against requested and read note. Deleted posts are absent rather than null-padded.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/tweets/{id}/replies":{"get":{"operationId":"x.tweets.replies","summary":"Direct replies to a post","description":"The posts whose parent is this one. X returns a whole conversation module - the root, the author's own continuation, unrelated context - and only some of it answers the question, so every row is checked against the parent id before it is counted. A limit of twenty means twenty replies, not twenty rows of which four are replies.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Direct replies only. For the whole conversation - the author's thread plus everything hanging off it - use /x/tweets/{id}/thread.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric post id - the digits at the end of an x.com/.../status/... link.","schema":{"type":"string","examples":["440322224407314432"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Direct replies only. For the whole conversation - the author's thread plus everything hanging off it - use /x/tweets/{id}/thread.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/tweets/{id}/thread":{"get":{"operationId":"x.tweets.thread","summary":"The whole conversation","description":"Every post sharing this post's conversation id: the thread the author wrote plus the replies hanging off it. Where replies answers 'who responded', this answers 'what was the conversation' - and a viral thread's later parts routinely outperform its opening post, so measuring a thread by its root alone understates it.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Any post in a thread resolves to the same conversation, so you do not need the root id to start.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"conversation_id":{"type":"string"},"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"conversation_id":"1908244251923312641","tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric post id - the digits at the end of an x.com/.../status/... link.","schema":{"type":"string","examples":["440322224407314432"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Any post in a thread resolves to the same conversation, so you do not need the root id to start.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/tweets/{id}/quotes":{"get":{"operationId":"x.tweets.quotes","summary":"Quote posts of a post","description":"The posts that quoted this one. X publishes no quotes timeline on this path, so it is served by search - and every result is re-checked against the quoted id before it is returned.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- The re-check is not belt-and-braces. If X ever stops honouring the search operator behind this it will not answer with an error - it will treat the id as free text and hand back posts that merely contain those digits. An empty list is a visible non-answer; a list of unrelated posts labelled 'quotes of this' is a confident wrong one.\n- Search coverage applies: quotes older than X's search window are not reachable this way, whatever the quote counter on the post says.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric post id - the digits at the end of an x.com/.../status/... link.","schema":{"type":"string","examples":["440322224407314432"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["The re-check is not belt-and-braces. If X ever stops honouring the search operator behind this it will not answer with an error - it will treat the id as free text and hand back posts that merely contain those digits. An empty list is a visible non-answer; a list of unrelated posts labelled 'quotes of this' is a confident wrong one.","Search coverage applies: quotes older than X's search window are not reachable this way, whatever the quote counter on the post says.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/tweets/{id}/retweeters":{"get":{"operationId":"x.tweets.retweeters","summary":"Who reposted a post","description":"The accounts that reposted this one, with full profiles - which makes it the cheapest way to characterise an amplification: whether a spike came from real accounts with audiences of their own or from a bought batch is visible in the first page.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Quote posts are not reposts and do not appear here. Use /x/tweets/{id}/quotes for those.\n- An empty list is a real answer - most posts are never reposted - and is cross-checked against pool pressure before it is reported as one.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"users":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric post id - the digits at the end of an x.com/.../status/... link.","schema":{"type":"string","examples":["440322224407314432"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":100}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Quote posts are not reposts and do not appear here. Use /x/tweets/{id}/quotes for those.","An empty list is a real answer - most posts are never reposted - and is cross-checked against pool pressure before it is reported as one.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/search/tweets":{"get":{"operationId":"x.search.tweets","summary":"Advanced post search","description":"X's own advanced search, passed through verbatim: from:, to:, since:, until:, filter:, min_faves:, lang: and the rest all work exactly as they do in the X search box. This is the widest read in the group and the one most integrations start with.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Latest and Top are different questions, not different orderings. Top is filtered by X's ranker, so counting results under Top and calling it volume undercounts - use Latest for anything you intend to measure.\n- X's search index is not an archive. It does not reach back indefinitely and it omits posts, so an empty result means 'not in the index' rather than 'never posted'.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"query","in":"query","required":true,"description":"X advanced-search syntax, at most 500 characters, single line. Passed through untouched.","schema":{"type":"string","examples":["from:elonmusk filter:media min_faves:1000"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}},{"name":"product","in":"query","required":false,"description":"Which search tab to read. Latest is chronological and complete; Top is X's own ranking and deliberately partial; Media returns only posts with attachments.","schema":{"type":"string","enum":["Latest","Top","Media"],"default":"Latest"}}],"x-live-call":true,"x-notes":["Latest and Top are different questions, not different orderings. Top is filtered by X's ranker, so counting results under Top and calling it volume undercounts - use Latest for anything you intend to measure.","X's search index is not an archive. It does not reach back indefinitely and it omits posts, so an empty result means 'not in the index' rather than 'never posted'.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/search/users":{"get":{"operationId":"x.search.users","summary":"People search","description":"X's people search. Beyond finding accounts, it doubles as a suggestion-ban probe: an account that does not come back when you search its exact handle is being hidden from X's own search suggestions.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Ranked by X, not by follower count. The order is theirs and it changes.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"users":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"query","in":"query","required":true,"description":"Search terms, at most 500 characters.","schema":{"type":"string","examples":["space launch"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-100. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Ranked by X, not by follower count. The order is theirs and it changes.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/lists/{id}/tweets":{"get":{"operationId":"x.lists.tweets","summary":"A list's timeline","description":"Posts from the accounts on a public X list. A list is the cheapest high-signal corpus on the platform: somebody has already decided these accounts belong together, so a list timeline is a topic feed with none of the classification work.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Public lists only. A private list answers 404 whoever owns it, because our reader is not a member of it.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric list id - the digits at the end of an x.com/i/lists/... link.","schema":{"type":"string","examples":["1234567890123456789"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Public lists only. A private list answers 404 whoever owns it, because our reader is not a member of it.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/lists/{id}/members":{"get":{"operationId":"x.lists.members","summary":"Who is on a list","description":"The accounts a list contains, with full profiles. The other half of a curated list: not what they posted, but who somebody put on it.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- List followers are not available. X publishes no query for them on this path, and members is the read people actually want.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"users":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric list id.","schema":{"type":"string","examples":["1234567890123456789"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["List followers are not available. X publishes no query for them on this path, and members is the read people actually want.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/communities/{id}":{"get":{"operationId":"x.communities.get","summary":"One X community","description":"A community's record: its name, description, membership count and rules, as X publishes them.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- community is passed through in X's own shape, for the same reason the About panel is: the fields are X's, we do not consume them ourselves, and anything X adds appears here without a release on our side.\n- Read-only. Creating, joining and leaving a community all act on a specific person's account, which is a different product with a different risk profile and is deliberately not offered.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"community_id":{"type":"string"},"community":{"type":"object","properties":{"name":{"type":"string"},"member_count":{"type":"integer"},"is_nsfw":{"type":"boolean"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"community_id":"1493446837214187523","community":{"name":"Build in Public","member_count":218402,"is_nsfw":false}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric community id - the digits at the end of an x.com/i/communities/... link.","schema":{"type":"string","examples":["1493446837214187523"]}}],"x-live-call":true,"x-notes":["community is passed through in X's own shape, for the same reason the About panel is: the fields are X's, we do not consume them ourselves, and anything X adds appears here without a release on our side.","Read-only. Creating, joining and leaving a community all act on a specific person's account, which is a different product with a different risk profile and is deliberately not offered.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/communities/{id}/members":{"get":{"operationId":"x.communities.members","summary":"A community's members","description":"The accounts in a community, with full profiles.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- X pages a community's membership from the top and does not expose the whole roster. Treat this as a sample of a large community, not a census.\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"users":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric community id.","schema":{"type":"string","examples":["1493446837214187523"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["X pages a community's membership from the top and does not expose the whole roster. Treat this as a sample of a large community, not a census.","Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/communities/{id}/moderators":{"get":{"operationId":"x.communities.moderators","summary":"A community's moderators","description":"Who runs a community. A far shorter and far more useful list than its membership: these are the accounts that decide what the community is.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"users":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"users":[{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric community id.","schema":{"type":"string","examples":["1493446837214187523"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/communities/{id}/tweets":{"get":{"operationId":"x.communities.tweets","summary":"A community's posts","description":"Posts made inside a community. These do not appear on their authors' public timelines, so this is the only way to read them.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"lang":{"type":"string"},"source":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"bookmarks":{"type":"integer"},"views":{"type":"integer"},"is_reply":{"type":"boolean"},"is_retweet":{"type":"boolean"},"is_quote":{"type":"boolean"},"conversation_id":{"type":"string"},"in_reply_to_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"quoted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"retweeted_tweet_id":{"description":"Null in the example; the type is not inferable from it."},"hashtags":{"type":"array","items":{}},"mentions":{"type":"array","items":{}},"links":{"type":"array","items":{}},"media":{"type":"array","items":{"type":"string"}},"author":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"media_count":{"type":"integer"},"likes_given":{"type":"integer"},"is_verified":{"type":"boolean"},"is_blue_verified":{"type":"boolean"},"is_protected":{"type":"boolean"},"location":{"description":"Null in the example; the type is not inferable from it."},"avatar_url":{"type":"string"},"header_url":{"description":"Null in the example; the type is not inferable from it."},"created_at":{"type":"string","format":"date-time"},"profile_url":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tweets":[{"tweet_id":"1908244251923312641","url":"https://x.com/elonmusk/status/1908244251923312641","text":"Starship is stacked","created_at":"2026-08-30T16:02:11+00:00","lang":"en","source":"Twitter for iPhone","likes":184221,"retweets":21004,"replies":9118,"quotes":1402,"bookmarks":3889,"views":41882337,"is_reply":false,"is_retweet":false,"is_quote":false,"conversation_id":"1908244251923312641","in_reply_to_tweet_id":null,"quoted_tweet_id":null,"retweeted_tweet_id":null,"hashtags":[],"mentions":[],"links":[],"media":["photo"],"author":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221400112,"following":1104,"tweets":78412,"media_count":9233,"likes_given":148902,"is_verified":false,"is_blue_verified":true,"is_protected":false,"location":null,"avatar_url":"https://pbs.twimg.com/profile_images/1234567890/abc_400x400.jpg","header_url":null,"created_at":"2009-06-02T20:12:29+00:00","profile_url":"https://x.com/elonmusk"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Numeric community id.","schema":{"type":"string","examples":["1493446837214187523"]}},{"name":"limit","in":"query","required":false,"description":"Rows in this page, 1-200. The ceiling is the service's, not yours: asking for more returns the ceiling rather than an error.","schema":{"type":"integer","default":20}},{"name":"cursor","in":"query","required":false,"description":"Opaque token from a previous response's next_cursor.","schema":{"type":"string"}}],"x-live-call":true,"x-notes":["Pagination is an opaque cursor: pass next_cursor back as ?cursor= and stop when has_next_page is false. Cursors are X's own and expire; treat them as good for the next call, not as a bookmark to store.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/x/trends":{"get":{"operationId":"x.trends","summary":"What is trending, by location","description":"X's real trending board for one place, addressed by Yahoo WOEID. Not a proxy assembled from our own corpus and not one global board relabelled per country - this is the list X itself serves to somebody in that location.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Promoted trends are dropped. X marks paid placements, and an advert rendered inside a ranked list titled 'what is trending' is the reader being told something false. Ranks are assigned after the filter, so the board reads 1..N with no holes.\n- query is decoded plain text ready for encodeURIComponent, not X's percent-encoded form. Passing the raw upstream field through would double-encode it and every search link built from it would land on a search for literal percent signs.\n- tweet_volume is null on nearly every location - X stopped populating it years ago. Null means 'no volume data', not 'no posts'.\n- 404 means X has no board for that WOEID, usually because the place id was retired. It is a statement about the location, not about the service.\n- 503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result.\n\nCost: 2 credits per call.","tags":["X"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"woeid":{"type":"integer"},"location":{"type":"string"},"as_of":{"type":"string","format":"date-time"},"trends":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer"},"name":{"type":"string"},"query":{"type":"string"},"tweet_volume":{"description":"Null in the example; the type is not inferable from it."}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"woeid":1,"location":"Worldwide","as_of":"2026-09-02T09:00:04Z","trends":[{"rank":1,"name":"#Starship","query":"#Starship","tweet_volume":null}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50},"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"woeid","in":"query","required":true,"description":"Yahoo place id. 1 is worldwide; 23424969 is Turkey; 23424977 is the United States.","schema":{"type":"integer","default":1,"examples":[1]}},{"name":"limit","in":"query","required":false,"description":"Trends to return, 1-50. X serves 30-50 per location.","schema":{"type":"integer","default":30}}],"x-live-call":true,"x-notes":["Promoted trends are dropped. X marks paid placements, and an advert rendered inside a ranked list titled 'what is trending' is the reader being told something false. Ranks are assigned after the filter, so the board reads 1..N with no holes.","query is decoded plain text ready for encodeURIComponent, not X's percent-encoded form. Passing the raw upstream field through would double-encode it and every search link built from it would land on a search for literal percent signs.","tweet_volume is null on nearly every location - X stopped populating it years ago. Null means 'no volume data', not 'no posts'.","404 means X has no board for that WOEID, usually because the place id was retired. It is a statement about the location, not about the service.","503 with upstream_error or upstream_timeout is worth retrying; 404 is not. A 503 whose message names a rate-limited X endpoint means the answer is unknown, not empty - never cache it as a result."],"x-scope":"scrape:live","x-credits":2}},"/people/lookup":{"get":{"operationId":"people.lookup","summary":"Find one handle across every catalog","description":"Takes a handle and probes all six catalogs for it at once, returning a normalized profile per platform, the combined audience, and the evidence for whether they are the same account owner. Use this to open a research task: one call replaces six list queries and the field-name translation between them.\n\nRequired scope: `directory:read` (Directory).\n\n- This matches a STRING against each catalog. It does not prove one owner: handle collision is common and there is no cross-platform identity key. The `match` block reports the observable evidence (exact handle, verified badge, name agreement) so you can judge; no confidence score is invented.\n- engagement_rate is populated for Instagram only, because it is the one crawl that returns per-post like and comment counts. null means not measured on that platform, not zero.\n- totals.audience adds the platform audiences together. It is reach, not people: the same follower can appear on several platforms.\n- A catalog that times out is listed in `unavailable` and the rest of the answer still returns.\n\nCost: 1 credit per call.","tags":["People"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"entries":{"type":"array","items":{"type":"object","properties":{"handle":{"type":"string"},"profiles":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"object":{"type":"string"},"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"integer"},"audience_metric":{"type":"string"},"verified":{"type":"boolean"},"engagement_rate":{"type":"number"},"language":{"type":"string"},"category":{"type":"string"},"url":{"type":"string"},"record":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"follower_count":{"type":"integer"}}}}}},"totals":{"type":"object","properties":{"platforms":{"type":"integer"},"audience":{"type":"integer"},"largest_platform":{"type":"string"}}},"match":{"type":"object","properties":{"found_on":{"type":"array","items":{"type":"string"}},"verified_on":{"type":"array","items":{"type":"string"}},"names":{"type":"array","items":{"type":"string"}},"names_agree":{"type":"boolean"}}}}}},"unavailable":{"type":"array","items":{}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"entries":[{"handle":"nasa","profiles":[{"platform":"instagram","object":"account","id":"528817151","handle":"nasa","name":"NASA","audience":104443318,"audience_metric":"followers","verified":true,"engagement_rate":0.4213,"language":"en","category":"science","url":"https://instagram.com/nasa","record":{"user_id":"528817151","handle":"nasa","follower_count":104443318}}],"totals":{"platforms":4,"audience":191204882,"largest_platform":"instagram"},"match":{"found_on":["instagram","x","youtube","tiktok"],"verified_on":["instagram","x","youtube"],"names":["nasa"],"names_agree":true}}],"unavailable":[]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"query","required":true,"description":"Handle to resolve, with or without the @. Up to 10, comma-separated.","schema":{"type":"string"}},{"name":"platforms","in":"query","required":false,"description":"Comma-separated subset to probe (x, telegram, bluesky, youtube, tiktok, instagram). Defaults to all six.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"]}}],"x-notes":["This matches a STRING against each catalog. It does not prove one owner: handle collision is common and there is no cross-platform identity key. The `match` block reports the observable evidence (exact handle, verified badge, name agreement) so you can judge; no confidence score is invented.","engagement_rate is populated for Instagram only, because it is the one crawl that returns per-post like and comment counts. null means not measured on that platform, not zero.","totals.audience adds the platform audiences together. It is reach, not people: the same follower can appear on several platforms.","A catalog that times out is listed in `unavailable` and the rest of the answer still returns."],"x-scope":"directory:read","x-credits":1}},"/people/search":{"get":{"operationId":"people.search","summary":"Find accounts matching audience and engagement criteria","description":"Cross-platform discovery: audience band, measured engagement, language, category, verified status and full-text terms, applied to every catalog at once and returned as one ranked group per platform. This is the 'find me creators like this' query, without running it six times.\n\nRequired scope: `directory:read` (Directory).\n\n- A filter a catalog cannot serve is listed in that platform's `ignored` array and the rest of the filters still apply. It is never dropped silently, so a row count is always attributable to the constraints that actually ran.\n- `scan` says how a group was produced: \"ranked\" came off the audience-ordered index and is the true top of that catalog; \"bounded\" came from a capped candidate scan because the filter could not be served in audience order, so it is the best of what was scanned.\n- Results are ranked by audience within each platform. There is no meaningful way to rank a Telegram channel against a YouTube channel on one axis, so the API does not pretend there is.\n- Not paginated: this is a discovery probe, and per_platform caps the work. Page through a single catalog with /directory/{platform} once you know where to look.\n\nCost: 1 credit per call.","tags":["People"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"filters":{"type":"object","properties":{"minAudience":{"type":"integer"},"maxAudience":{"type":"integer"},"minEngagement":{"type":"integer"},"language":{"type":"string"},"category":{"description":"Null in the example; the type is not inferable from it."},"verifiedOnly":{"type":"boolean"},"q":{"description":"Null in the example; the type is not inferable from it."}}},"groups":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"count":{"type":"integer"},"scan":{"type":"string"},"ignored":{"type":"array","items":{}},"people":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"integer"},"audience_metric":{"type":"string"},"verified":{"type":"boolean"},"engagement_rate":{"type":"number"},"language":{"type":"string"},"category":{"type":"string"},"url":{"type":"string"}}}}}}},"unavailable":{"type":"array","items":{}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"filters":{"minAudience":10000,"maxAudience":100000,"minEngagement":3,"language":"en","category":null,"verifiedOnly":false,"q":null},"groups":[{"platform":"instagram","count":10,"scan":"bounded","ignored":[],"people":[{"platform":"instagram","handle":"example","name":"Example Creator","audience":48120,"audience_metric":"followers","verified":false,"engagement_rate":5.8102,"language":"en","category":"fitness","url":"https://instagram.com/example"}]},{"platform":"x","count":10,"scan":"ranked","ignored":[{"filter":"min_engagement","reason":"Engagement is only measured where the crawl returns per-post counts, which today is Instagram."}],"people":[]}],"unavailable":[]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"min_audience","in":"query","required":false,"description":"Lower bound on followers / subscribers / participants.","schema":{"type":"integer"}},{"name":"max_audience","in":"query","required":false,"description":"Upper bound on the same metric.","schema":{"type":"integer"}},{"name":"min_engagement","in":"query","required":false,"description":"Minimum measured engagement rate, percent. Instagram only; reported as ignored elsewhere.","schema":{"type":"number"}},{"name":"language","in":"query","required":false,"description":"ISO 639-1 language code, as classified from the profile text.","schema":{"type":"string"}},{"name":"category","in":"query","required":false,"description":"Cross-platform category from the shared classifier.","schema":{"type":"string"}},{"name":"verified","in":"query","required":false,"description":"Restrict to verified accounts.","schema":{"type":"boolean"}},{"name":"q","in":"query","required":false,"description":"Full-text terms over name and bio. Skipped on catalogs with no full-text index.","schema":{"type":"string"}},{"name":"platforms","in":"query","required":false,"description":"Comma-separated subset to search. Defaults to all six.","schema":{"type":"string","enum":["x","telegram","bluesky","youtube","tiktok","instagram","kick","twitch"]}},{"name":"per_platform","in":"query","required":false,"description":"Rows per platform, 1-25. Default 10.","schema":{"type":"integer"}}],"x-notes":["A filter a catalog cannot serve is listed in that platform's `ignored` array and the rest of the filters still apply. It is never dropped silently, so a row count is always attributable to the constraints that actually ran.","`scan` says how a group was produced: \"ranked\" came off the audience-ordered index and is the true top of that catalog; \"bounded\" came from a capped candidate scan because the filter could not be served in audience order, so it is the best of what was scanned.","Results are ranked by audience within each platform. There is no meaningful way to rank a Telegram channel against a YouTube channel on one axis, so the API does not pretend there is.","Not paginated: this is a discovery probe, and per_platform caps the work. Page through a single catalog with /directory/{platform} once you know where to look."],"x-scope":"directory:read","x-credits":1}},"/scrape/x/user":{"get":{"operationId":"scrape.x.user","summary":"Live X profile","description":"\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- A protected or suspended account answers 404: the account may exist, but no public profile can be read, and that is a final answer rather than a retryable one.\n- 504 means the upstream timed out and 502 means the pool is down. Both are worth retrying; a 404 is not.\n- meta.cache_age_s is 0 when the answer came from a live fetch.\n\nCost: 2 credits per call.","tags":["Live scrape"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"is_verified":{"type":"boolean"},"avatar_url":{"type":"string"},"header_url":{"type":"string"},"account_age_days":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"source":{"type":"string"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221384902,"following":1102,"tweets":79431,"is_verified":true,"avatar_url":"https://pbs.twimg.com/profile_images/1936002956/elon_400x400.jpg","header_url":"https://pbs.twimg.com/profile_banners/44196397/1739948056/1500x500","account_age_days":6290,"created_at":"2009-06-02T20:12:29.000Z","source":"xlookup"},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"query","required":true,"description":"X handle, with or without @. A full x.com URL is accepted and stripped.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"fresh","in":"query","required":false,"description":"Bypass the upstream's 60-second burst cache. Only worth it when you are checking something that changed seconds ago; it costs a real pool slot.","schema":{"type":"boolean","default":false}}],"x-live-call":true,"x-notes":["A protected or suspended account answers 404: the account may exist, but no public profile can be read, and that is a final answer rather than a retryable one.","504 means the upstream timed out and 502 means the pool is down. Both are worth retrying; a 404 is not.","meta.cache_age_s is 0 when the answer came from a live fetch."],"x-scope":"scrape:live","x-credits":2}},"/scrape/x/users":{"post":{"operationId":"scrape.x.users","summary":"Live X profiles, batched","description":"Up to 25 handles in one call, fetched with bounded concurrency and returned with a per-handle verdict. One bad handle never fails the batch.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- One request is one live call against your rate limit however many handles it carries, which is the reason to batch rather than loop over /scrape/x/user. The upstream work is real per handle, so use it to be efficient, not to evade the limit.\n- Concurrency is capped at 5 because the upstream pool is shared with the marketplace's own listing flow; pushing harder only queues behind yourself.\n- The batch always uses the burst cache. If you need guaranteed-fresh reads, call /scrape/x/user with fresh=1 per handle and accept the slower pace.\n- The envelope stays 200 whenever the request was well formed, even if every handle failed. Branch on results[].ok, not on the status code.\n\nCost: 2 credits per call.","tags":["Live scrape"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"requested":{"type":"integer"},"succeeded":{"type":"integer"},"failed":{"type":"integer"},"results":{"type":"array","items":{"type":"object","properties":{"handle":{"type":"string"},"ok":{"type":"boolean"},"profile":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"bio":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"tweets":{"type":"integer"},"is_verified":{"type":"boolean"},"avatar_url":{"type":"string"},"header_url":{"type":"string"},"account_age_days":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"source":{"type":"string"}}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"requested":3,"succeeded":2,"failed":1,"results":[{"handle":"elonmusk","ok":true,"profile":{"user_id":"44196397","handle":"elonmusk","display_name":"Elon Musk","bio":"","followers":221384902,"following":1102,"tweets":79431,"is_verified":true,"avatar_url":"https://pbs.twimg.com/profile_images/1936002956/elon_400x400.jpg","header_url":"https://pbs.twimg.com/profile_banners/44196397/1739948056/1500x500","account_age_days":6290,"created_at":"2009-06-02T20:12:29.000Z","source":"xlookup"}},{"handle":"handle_that_does_not_exist","ok":false,"error":{"code":"not_found","message":"No X account with that handle."}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handles":{"description":"Array of X handles, at most 25. Duplicates are collapsed.","type":"array","items":{"type":"string"},"examples":[["elonmusk","nasa","handle_that_does_not_exist"]]}},"required":["handles"]},"example":{"handles":["elonmusk","nasa","handle_that_does_not_exist"]}}}},"x-live-call":true,"x-notes":["One request is one live call against your rate limit however many handles it carries, which is the reason to batch rather than loop over /scrape/x/user. The upstream work is real per handle, so use it to be efficient, not to evade the limit.","Concurrency is capped at 5 because the upstream pool is shared with the marketplace's own listing flow; pushing harder only queues behind yourself.","The batch always uses the burst cache. If you need guaranteed-fresh reads, call /scrape/x/user with fresh=1 per handle and accept the slower pace.","The envelope stays 200 whenever the request was well formed, even if every handle failed. Branch on results[].ok, not on the status code."],"x-scope":"scrape:live","x-credits":2}},"/scrape/telegram/channel":{"get":{"operationId":"scrape.telegram.channel","summary":"Live Telegram channel read","description":"Current title, description, type and member count for a public Telegram channel or group, read through the Bot API, enriched with whatever our catalog already knows about it.\n\nRequired scope: `scrape:live` (Live scrape).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Public channels only. A private chat is invisible to the Bot API unless our bot has been added as an admin, and answers 404 with that explanation.\n- member_count_source says where the number came from: `bot` is live from Telegram, `directory` is our last crawl, `none` means neither could answer.\n- photo_url is a proxy path on this domain, not a Telegram file URL - the real one embeds the bot token and is never returned.\n- The `directory` block is null for a channel the crawler has not reached yet; that is a coverage gap, not an error.\n\nCost: 2 credits per call.","tags":["Live scrape"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"username":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"members":{"type":"integer"},"photo_url":{"type":"string"},"invite_link":{"description":"Null in the example; the type is not inferable from it."},"directory":{"type":"object","properties":{"participants":{"type":"integer"},"is_verified":{"type":"boolean"},"category":{"type":"string"},"language":{"type":"string"},"country":{"description":"Null in the example; the type is not inferable from it."},"avg_views":{"type":"integer"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"username":"durov","title":"Du rove","description":"Thoughts from the Telegram founder.","type":"channel","members":1402882,"photo_url":"/api/tg-pp/durov","invite_link":null,"directory":{"participants":1401119,"is_verified":true,"category":"technology","language":"en","country":null,"avg_views":402118}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"username","in":"query","required":true,"description":"Public @username or a t.me link.","schema":{"type":"string","examples":["durov"]}}],"x-live-call":true,"x-notes":["Public channels only. A private chat is invisible to the Bot API unless our bot has been added as an admin, and answers 404 with that explanation.","member_count_source says where the number came from: `bot` is live from Telegram, `directory` is our last crawl, `none` means neither could answer.","photo_url is a proxy path on this domain, not a Telegram file URL - the real one embeds the bot token and is never returned.","The `directory` block is null for a channel the crawler has not reached yet; that is a coverage gap, not an error."],"x-scope":"scrape:live","x-credits":2}},"/insights/x/{handle}":{"get":{"operationId":"insights.x.dossier","summary":"Complete intelligence dossier for one X account","description":"Everything we hold on one X account in a single call: catalog profile, engagement rates against both followers and impressions, posting-volume profile, permanently kept best posts, the virality patterns measured inside the account's own follower decile, and where its engagement rate lands on the cohort ladder. Sections degrade independently - an account the tweet engine has not reached still returns its profile plus coverage.tweets=false rather than a 404.\n\nRequired scope: `insights:read` (Insights).\n\n- Tweet-level coverage is a subset of the X catalog. Scanning cadence is follower-weighted, so the accounts with a reliable sample are the very large ones: the smallest account in the measured cohort sits near 1.7M followers and its tenth percentile near 1.8M. Call GET /insights/x/coverage for the live denominator, and read benchmark.population before quoting any rate.\n- An account needs 8 captured original posts before its medians are treated as settled. Below that, coverage.reliable is false and the numbers are an early reading.\n- Impressions are present on about 96% of captured original posts, so view_engagement_rate and reach_ratio rest on a slightly smaller sample than the follower-based rates.\n- viral_patterns is cut inside the account's own follower decile when the engine assigned one, and falls back to the whole tracked cohort otherwise. peer_group tells you which.\n- leaders, coverage and compare are reserved sub-paths under /insights/x and shadow X handles of the same name.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"tier":{"type":"string"},"is_blue_verified":{"type":"boolean"},"language":{"type":"string"},"country":{"type":"string"},"profile_url":{"type":"string"}}},"coverage":{"type":"object","properties":{"tweets":{"type":"boolean"},"reliable":{"type":"boolean"},"originals_sampled":{"type":"integer"},"tweets_sampled":{"type":"integer"},"window_days":{"type":"integer"},"computed_at":{"type":"string","format":"date-time"},"min_reliable_sample":{"type":"integer"},"note":{"type":"string"}}},"engagement":{"type":"object","properties":{"window_days":{"type":"integer"},"originals_sampled":{"type":"integer"},"rates":{"type":"object","properties":{"engagement_rate":{"type":"number"},"view_engagement_rate":{"type":"number"},"bookmark_rate":{"type":"number"},"reach_ratio":{"type":"number"}}},"medians":{"type":"object","properties":{"median_engagement":{"type":"integer"},"median_views":{"type":"integer"}}},"peer":{"type":"object","properties":{"peer_group":{"type":"string"},"peer_group_label":{"type":"string"},"peer_percentile":{"type":"integer"},"band":{"type":"string"}}}}},"benchmark":{"type":"object","properties":{"engagement_rate":{"type":"number"},"percentile":{"type":"integer"},"band":{"type":"string"},"population":{"type":"object","properties":{"accounts":{"type":"integer"},"min_followers":{"type":"integer"},"median_followers":{"type":"integer"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"user_id":"44196397","username":"elonmusk","name":"Elon Musk","followers":241382119,"tier":"S","is_blue_verified":true,"language":"en","country":"US","profile_url":"https://x.com/elonmusk"},"coverage":{"tweets":true,"reliable":true,"originals_sampled":42,"tweets_sampled":187,"window_days":30,"computed_at":"2026-08-19T02:41:07.000Z","min_reliable_sample":8,"note":"Measured over a sample large enough to state as a reading."},"engagement":{"window_days":30,"originals_sampled":42,"rates":{"engagement_rate":0.0471,"view_engagement_rate":0.7425,"bookmark_rate":0.0219,"reach_ratio":1.67},"medians":{"median_engagement":113804,"median_views":15320411},"peer":{"peer_group":"d10","peer_group_label":"Accounts of similar size (decile 10 of 10)","peer_percentile":94,"band":"Top 10% for its size"}},"benchmark":{"engagement_rate":0.0471,"percentile":75,"band":"Top 25%","population":{"accounts":3162,"min_followers":1687752,"median_followers":2840444}}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @. 1-15 characters, letters, digits and underscore.","schema":{"type":"string","examples":["elonmusk"]}},{"name":"include","in":"query","required":false,"description":"Comma-separated sections to return, from: engagement, volume, top_tweets, viral_patterns, benchmark, narrative. Omit for all of them. account and coverage are always present.","schema":{"type":"string","examples":["engagement,benchmark"]}},{"name":"metric","in":"query","required":false,"description":"Which question the viral_patterns section answers.","schema":{"type":"string","enum":["engagement","views","engagement_per_view","bookmarks"],"default":"engagement"}}],"x-notes":["Tweet-level coverage is a subset of the X catalog. Scanning cadence is follower-weighted, so the accounts with a reliable sample are the very large ones: the smallest account in the measured cohort sits near 1.7M followers and its tenth percentile near 1.8M. Call GET /insights/x/coverage for the live denominator, and read benchmark.population before quoting any rate.","An account needs 8 captured original posts before its medians are treated as settled. Below that, coverage.reliable is false and the numbers are an early reading.","Impressions are present on about 96% of captured original posts, so view_engagement_rate and reach_ratio rest on a slightly smaller sample than the follower-based rates.","viral_patterns is cut inside the account's own follower decile when the engine assigned one, and falls back to the whole tracked cohort otherwise. peer_group tells you which.","leaders, coverage and compare are reserved sub-paths under /insights/x and shadow X handles of the same name."],"x-scope":"insights:read","x-credits":1}},"/insights/x/{handle}/engagement":{"get":{"operationId":"insights.x.engagement","summary":"Engagement metrics for one X account","description":"The engagement aggregate on its own: rates against followers and against impressions, the save rate, reach ratio, averages and medians, and the account's percentile inside its own follower decile. Same numbers as the engagement section of the dossier, without the rest of the payload.\n\nRequired scope: `insights:read` (Insights).\n\n- An account needs 8 captured original posts before its medians are treated as settled. Below that, coverage.reliable is false and the numbers are an early reading.\n- engagement_rate divides by FOLLOWERS and view_engagement_rate divides by IMPRESSIONS. The two differ by roughly two orders of magnitude across the cohort, so never compare one against a figure quoted with the other denominator.\n- peer_percentile is uniform by construction: 50 really is the middle of the same-size cohort and 90 really is the top tenth.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"username":{"type":"string"},"followers":{"type":"integer"},"tier":{"type":"string"}}},"coverage":{"type":"object","properties":{"tweets":{"type":"boolean"},"reliable":{"type":"boolean"},"originals_sampled":{"type":"integer"},"window_days":{"type":"integer"}}},"engagement":{"type":"object","properties":{"computed_at":{"type":"string","format":"date-time"},"rates":{"type":"object","properties":{"engagement_rate":{"type":"number"},"view_engagement_rate":{"type":"number"},"bookmark_rate":{"type":"number"},"reach_ratio":{"type":"number"}}},"averages":{"type":"object","properties":{"avg_likes":{"type":"integer"},"avg_retweets":{"type":"integer"},"avg_views":{"type":"integer"}}},"medians":{"type":"object","properties":{"median_likes":{"type":"integer"},"median_engagement":{"type":"integer"}}},"peer":{"type":"object","properties":{"peer_group":{"type":"string"},"peer_percentile":{"type":"integer"},"band":{"type":"string"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"username":"NASA","followers":96204881,"tier":"S"},"coverage":{"tweets":true,"reliable":true,"originals_sampled":31,"window_days":30},"engagement":{"computed_at":"2026-08-19T02:41:07.000Z","rates":{"engagement_rate":0.0117,"view_engagement_rate":0.7425,"bookmark_rate":0.0142,"reach_ratio":1.66},"averages":{"avg_likes":14902,"avg_retweets":2118,"avg_views":1604233},"medians":{"median_likes":9441,"median_engagement":11308},"peer":{"peer_group":"d09","peer_percentile":62,"band":"Middle of its size range"}}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @.","schema":{"type":"string","examples":["NASA"]}}],"x-notes":["An account needs 8 captured original posts before its medians are treated as settled. Below that, coverage.reliable is false and the numbers are an early reading.","engagement_rate divides by FOLLOWERS and view_engagement_rate divides by IMPRESSIONS. The two differ by roughly two orders of magnitude across the cohort, so never compare one against a figure quoted with the other denominator.","peer_percentile is uniform by construction: 50 really is the middle of the same-size cohort and 90 really is the top tenth."],"x-scope":"insights:read","x-credits":1}},"/insights/x/{handle}/top-tweets":{"get":{"operationId":"insights.x.topTweets","summary":"The account's permanently kept best posts","description":"The best-performing original posts the engine keeps forever for this account, with each post's viral multiple against the author's own median. The raw tweet stream is on a sliding retention window and is deliberately not read here, so these rows do not disappear as old data ages out.\n\nRequired scope: `insights:read` (Insights).\n\n- The kept set is capped at 20 posts per account by the engine (XTWEETS_TOP_N).\n- sort values other than engagement reorder the kept set in memory. They are not a ranking over the account's whole history.\n- viral_multiple is engagement divided by the author's own median post, so 3.0 means triple their norm rather than anything about the catalog.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"username":{"type":"string"},"followers":{"type":"integer"}}},"coverage":{"type":"object","properties":{"tweets":{"type":"boolean"},"reliable":{"type":"boolean"},"originals_sampled":{"type":"integer"}}},"sort":{"type":"string"},"tweets":{"type":"array","items":{"type":"object","properties":{"tweet_id":{"type":"string"},"rank":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"url":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"views":{"type":"integer"},"engagement":{"type":"integer"},"viral_multiple":{"type":"number"},"has_media":{"type":"boolean"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"username":"BillGates","followers":65130442},"coverage":{"tweets":true,"reliable":true,"originals_sampled":24},"sort":"engagement","tweets":[{"tweet_id":"1908244251923312641","rank":1,"created_at":"2026-06-14T16:02:11.000Z","url":"https://x.com/BillGates/status/1908244251923312641","likes":184221,"retweets":21004,"replies":9118,"views":41882337,"engagement":214343,"viral_multiple":9.4,"has_media":true}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @.","schema":{"type":"string","examples":["BillGates"]}},{"name":"limit","in":"query","required":false,"description":"Rows to return, 1-100. The engine keeps at most 20 posts per account, so a higher limit simply returns everything there is.","schema":{"type":"integer","default":10,"examples":[20]}},{"name":"sort","in":"query","required":false,"description":"Order within the kept set. engagement is the engine's own ranking; the others reorder the same rows.","schema":{"type":"string","enum":["engagement","likes","retweets","replies","recent"],"default":"engagement"}}],"x-notes":["The kept set is capped at 20 posts per account by the engine (XTWEETS_TOP_N).","sort values other than engagement reorder the kept set in memory. They are not a ranking over the account's whole history.","viral_multiple is engagement divided by the author's own median post, so 3.0 means triple their norm rather than anything about the catalog."],"x-scope":"insights:read","x-credits":1}},"/insights/x/{handle}/viral-patterns":{"get":{"operationId":"insights.x.viralPatterns","summary":"What makes this account's posts perform","description":"The measured effect of timing, format, length, media, links, hashtags, mentions and posting client, cut inside the account's own follower decile, plus a format-fit table lining the account's posting mix up against those catalog-wide effects. Every bucket carries its 95% interval, its per-account vote and whether it clears the publication bar.\n\nRequired scope: `insights:read` (Insights).\n\n- A bucket is only publishable when its 95% interval clears zero after a Benjamini-Hochberg correction and at least 30 independent accounts contributed a paired comparison. Measured on 2026-08-19, 137 of 904 rows that pass the uncorrected test do not survive the correction.\n- accounts_sampled is the evidence, not sample_size. Tweets inside one account are not independent observations of how X behaves; accounts are.\n- format_fit applies CATALOG-wide effects to this account's own posting mix. We keep one median per account, not one per format per account, so it cannot tell you how video performs for this specific account.\n- not_measured=true on a dimension means the comparison could not be run at all, which is a different statement from a measured null result.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"username":{"type":"string"},"followers":{"type":"integer"}}},"coverage":{"type":"object","properties":{"tweets":{"type":"boolean"},"reliable":{"type":"boolean"},"originals_sampled":{"type":"integer"}}},"viral_patterns":{"type":"object","properties":{"metric":{"type":"string"},"peer_group":{"type":"string"},"peer_group_label":{"type":"string"},"highlights":{"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string"},"bucket":{"type":"string"},"lift_pct":{"type":"integer"},"interval":{"type":"string"},"accounts_sampled":{"type":"integer"},"account_vote":{"type":"string"}}}},"timing":{"type":"object","properties":{"hours_summary":{"type":"string"}}},"format_fit":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"account_share_pct":{"type":"integer"},"catalog_lift_pct":{"type":"number"},"catalog_accounts":{"type":"integer"},"strength":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"username":"naval","followers":2641009},"coverage":{"tweets":true,"reliable":true,"originals_sampled":19},"viral_patterns":{"metric":"engagement","peer_group":"d08","peer_group_label":"Accounts of similar size (decile 8 of 10)","highlights":[{"dimension":"link","bucket":"no","lift_pct":106,"interval":"+95% to +115%","accounts_sampled":1732,"account_vote":"1,426 of 1,732 accounts"}],"timing":{"hours_summary":"Across 62,293 posts, 23:00 UTC is the strongest hour at +10% and 06:00 UTC the weakest at -11%."},"format_fit":[{"label":"Image or video","account_share_pct":34,"catalog_lift_pct":52.6,"catalog_accounts":1805,"strength":"strong"}]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @.","schema":{"type":"string","examples":["naval"]}},{"name":"metric","in":"query","required":false,"description":"Which question the buckets answer. Media moves engagement by roughly +53% while leaving reach flat, so the metric matters.","schema":{"type":"string","enum":["engagement","views","engagement_per_view","bookmarks"],"default":"engagement"}},{"name":"peer_group","in":"query","required":false,"description":"Override the decile the patterns are cut inside. d01 (smallest) to d10, or * for every tracked account. Defaults to the account's own decile.","schema":{"type":"string","examples":["*"]}}],"x-notes":["A bucket is only publishable when its 95% interval clears zero after a Benjamini-Hochberg correction and at least 30 independent accounts contributed a paired comparison. Measured on 2026-08-19, 137 of 904 rows that pass the uncorrected test do not survive the correction.","accounts_sampled is the evidence, not sample_size. Tweets inside one account are not independent observations of how X behaves; accounts are.","format_fit applies CATALOG-wide effects to this account's own posting mix. We keep one median per account, not one per format per account, so it cannot tell you how video performs for this specific account.","not_measured=true on a dimension means the comparison could not be run at all, which is a different statement from a measured null result."],"x-scope":"insights:read","x-credits":1}},"/insights/x/{handle}/benchmark":{"get":{"operationId":"insights.x.benchmark","summary":"This account against its follower cohort","description":"Where the account's engagement rate lands on the live percentile ladder of the tracked cohort, with the ladder itself, the population it is built from and the reach counterweight. The ladder is a distribution of per-account rates, so a placement is a rank among real accounts rather than a comparison against an average of averages.\n\nRequired scope: `insights:read` (Insights).\n\n- The reference population is NOT X as a whole. It is the accounts our crawl has scanned often enough to measure, and every one of them is large - the floor sits near 1.7M followers.\n- Engagement rate falls as follower counts rise, so a smaller account will place higher on this ladder than the comparison really justifies. Use it to locate a large account among peers, not to grade a new one.\n- The ladder is rebuilt from live percentiles on every cache refresh, never hardcoded, so a placement is against today's cohort.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"username":{"type":"string"},"followers":{"type":"integer"}}},"coverage":{"type":"object","properties":{"tweets":{"type":"boolean"},"reliable":{"type":"boolean"},"originals_sampled":{"type":"integer"}}},"benchmark":{"type":"object","properties":{"engagement_rate":{"type":"number"},"percentile":{"type":"integer"},"band":{"type":"string"},"sentence":{"type":"string"},"population":{"type":"object","properties":{"accounts":{"type":"integer"},"min_followers":{"type":"integer"},"median_followers":{"type":"integer"},"median_view_rate":{"type":"number"},"median_reach_pct":{"type":"number"}}},"percentiles":{"type":"array","items":{"type":"object","properties":{"p":{"type":"integer"},"rate":{"type":"number"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"username":"Cristiano","followers":114902338},"coverage":{"tweets":true,"reliable":true,"originals_sampled":27},"benchmark":{"engagement_rate":0.0476,"percentile":75,"band":"Top 25%","sentence":"At 0.048%, Cristiano sits above the 75th percentile of the 3,162 accounts in this comparison.","population":{"accounts":3162,"min_followers":1687752,"median_followers":2840444,"median_view_rate":0.7425,"median_reach_pct":1.66},"percentiles":[{"p":10,"rate":0.0003},{"p":25,"rate":0.0018},{"p":50,"rate":0.0117},{"p":75,"rate":0.0476},{"p":90,"rate":0.1458},{"p":99,"rate":0.7742}]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @.","schema":{"type":"string","examples":["Cristiano"]}}],"x-notes":["The reference population is NOT X as a whole. It is the accounts our crawl has scanned often enough to measure, and every one of them is large - the floor sits near 1.7M followers.","Engagement rate falls as follower counts rise, so a smaller account will place higher on this ladder than the comparison really justifies. Use it to locate a large account among peers, not to grade a new one.","The ladder is rebuilt from live percentiles on every cache refresh, never hardcoded, so a placement is against today's cohort."],"x-scope":"insights:read","x-credits":1}},"/insights/x/leaders":{"get":{"operationId":"insights.x.leaders","summary":"Accounts ranked by how well they engage","description":"The engagement leaderboard: accounts ranked by percentile inside their own size cohort, by raw engagement rate, by engagement per impression, or by absolute median engagement. Only accounts with a reliable sample are eligible, so the ranking cannot be won by a single lucky post.\n\nRequired scope: `insights:read` (Insights).\n\n- Eligibility requires at least 8 captured original posts and a non-null engagement rate.\n- Pagination is depth-capped at 500 rows per filter combination. Narrow with tier, category or min_followers to reach further.\n- Language and country are not filterable here. The leaderboard is keyed on the engagement rollup, which carries a primary language but has no index to filter it at this scale - use the directory endpoints when you need those axes.\n- Tweet-level coverage is a subset of the X catalog. Scanning cadence is follower-weighted, so the accounts with a reliable sample are the very large ones: the smallest account in the measured cohort sits near 1.7M followers and its tenth percentile near 1.8M. Call GET /insights/x/coverage for the live denominator, and read benchmark.population before quoting any rate.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"sort":{"type":"string"},"leaders":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"tier":{"type":"string"},"engagement_rate":{"type":"number"},"view_engagement_rate":{"type":"number"},"peer_group":{"type":"string"},"peer_percentile":{"type":"number"},"median_engagement":{"type":"integer"},"tweets_per_day":{"type":"number"},"originals_sampled":{"type":"integer"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"sort":"authenticity","leaders":[{"user_id":"44196397","username":"elonmusk","name":"Elon Musk","followers":241382119,"tier":"S","engagement_rate":0.0471,"view_engagement_rate":0.7425,"peer_group":"d10","peer_percentile":99.7,"median_engagement":113804,"tweets_per_day":24.1,"originals_sampled":42}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"sort","in":"query","required":false,"description":"authenticity ranks by percentile against same-size accounts, rate by raw engagement rate, views by engagement per impression, engagement by absolute median engagement.","schema":{"type":"string","enum":["authenticity","rate","engagement","views"],"default":"authenticity"}},{"name":"tier","in":"query","required":false,"description":"Follower band from the catalog. S is the largest.","schema":{"type":"string","enum":["S","A","B","C"],"examples":["S"]}},{"name":"category","in":"query","required":false,"description":"Catalog category slug. Empty on most rows, so a filter here narrows hard.","schema":{"type":"string","examples":["crypto"]}},{"name":"min_followers","in":"query","required":false,"description":"Follower floor.","schema":{"type":"integer","default":5000,"examples":[1000000]}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1-200.","schema":{"type":"integer","default":50}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next_cursor.","schema":{"type":"string"}}],"x-notes":["Eligibility requires at least 8 captured original posts and a non-null engagement rate.","Pagination is depth-capped at 500 rows per filter combination. Narrow with tier, category or min_followers to reach further.","Language and country are not filterable here. The leaderboard is keyed on the engagement rollup, which carries a primary language but has no index to filter it at this scale - use the directory endpoints when you need those axes.","Tweet-level coverage is a subset of the X catalog. Scanning cadence is follower-weighted, so the accounts with a reliable sample are the very large ones: the smallest account in the measured cohort sits near 1.7M followers and its tenth percentile near 1.8M. Call GET /insights/x/coverage for the live denominator, and read benchmark.population before quoting any rate."],"x-scope":"insights:read","x-credits":1}},"/insights/x/coverage":{"get":{"operationId":"insights.x.coverage","summary":"How much of the catalog has tweet-level coverage","description":"The honest denominator behind every other insights endpoint: how many accounts carry an engagement aggregate, how many of those have a sample large enough to state as fact, how many posts sit behind them, and the cohort medians. Read this before quoting any figure from this domain.\n\nRequired scope: `insights:read` (Insights).\n\n- median_reach_ratio is the single most quotable number in the dataset: for the median tracked account a typical post is seen by about 1.67% of its follower count.\n- view_coverage_pct is the share of sampled originals that carried an impression count, measured at about 96%.\n- These figures describe the measured cohort, which is follower-weighted and large. They are not a sample of X as a whole.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"accounts_measured":{"type":"integer"},"accounts_reliable":{"type":"integer"},"reliable_share_pct":{"type":"number"},"tweets_behind_aggregates":{"type":"integer"},"median_engagement_rate":{"type":"number"},"median_view_engagement_rate":{"type":"number"},"median_reach_ratio":{"type":"number"},"view_coverage_pct":{"type":"integer"},"last_computed_at":{"type":"string","format":"date-time"},"min_reliable_sample":{"type":"integer"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"accounts_measured":5492,"accounts_reliable":3162,"reliable_share_pct":57.6,"tweets_behind_aggregates":241629,"median_engagement_rate":0.0117,"median_view_engagement_rate":0.7425,"median_reach_ratio":1.67,"view_coverage_pct":96,"last_computed_at":"2026-08-19T02:41:07.000Z","min_reliable_sample":8},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["median_reach_ratio is the single most quotable number in the dataset: for the median tracked account a typical post is seen by about 1.67% of its follower count.","view_coverage_pct is the share of sampled originals that carried an impression count, measured at about 96%.","These figures describe the measured cohort, which is follower-weighted and large. They are not a sample of X as a whole."],"x-scope":"insights:read","x-credits":1}},"/insights/x/compare":{"post":{"operationId":"insights.x.compare","summary":"Side-by-side metrics for up to ten accounts","description":"Competitive analysis in one call: the same engagement block and cohort placement for every handle in the body, plus a ranking by engagement rate so follower count does not decide the answer. Handles we have not measured come back with null metrics and their coverage marker rather than being dropped.\n\nRequired scope: `insights:read` (Insights).\n\n- At most 10 handles per call.\n- Ranking excludes handles with no tweet coverage; they are still present in accounts with coverage.tweets=false.\n- Rates are only comparable between accounts of similar size. peer_percentile is the size-adjusted number and is the fairer column to sort a competitive set on.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"requested":{"type":"integer"},"resolved":{"type":"integer"},"ranking":{"type":"array","items":{"type":"object","properties":{"handle":{"type":"string"},"engagement_rate":{"type":"number"},"peer_percentile":{"type":"number"},"followers":{"type":"integer"}}}},"accounts":{"type":"array","items":{"type":"object","properties":{"handle":{"type":"string"},"found":{"type":"boolean"},"coverage":{"type":"object","properties":{"tweets":{"type":"boolean"},"reliable":{"type":"boolean"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"requested":3,"resolved":3,"ranking":[{"handle":"elonmusk","engagement_rate":0.0471,"peer_percentile":99.7,"followers":241382119},{"handle":"BillGates","engagement_rate":0.0142,"peer_percentile":71,"followers":65130442},{"handle":"NASA","engagement_rate":0.0117,"peer_percentile":62,"followers":96204881}],"accounts":[{"handle":"elonmusk","found":true,"coverage":{"tweets":true,"reliable":true}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handles":{"description":"Array of X handles without the @, 1-10 of them, for example [\"elonmusk\",\"BillGates\",\"NASA\"]. Duplicates are collapsed case-insensitively before they take a slot.","type":"array","items":{"type":"string"}},"metric":{"description":"Echoed onto the response for clients that batch several metrics.","type":"string","enum":["engagement","views","engagement_per_view","bookmarks"],"default":"engagement"}},"required":["handles"]}}}},"x-notes":["At most 10 handles per call.","Ranking excludes handles with no tweet coverage; they are still present in accounts with coverage.tweets=false.","Rates are only comparable between accounts of similar size. peer_percentile is the size-adjusted number and is the fairer column to sort a competitive set on."],"x-scope":"insights:read","x-credits":1}},"/insights/instagram/{handle}/top-posts":{"get":{"operationId":"insights.instagram.top-posts","summary":"An account's best performing posts","description":"The posts the crawl holds for one account, ranked by likes, with per-post comment and view counts, the format Instagram assigned and the caption. Instagram is one of the few catalogs where post-level numbers are read rather than modelled, so these are measurements and not estimates.\n\nRequired scope: `insights:read` (Insights).\n\n- followers is null for any account whose follower count the crawl has not captured, which is about two thirds of the Instagram catalog. Null means unknown; it never means an account with no followers. Use GET /accounts/instagram/{handle} when you need the count itself.\n- posts_held is how many posts the crawl actually retains for this account. It averages about 12 across the catalog but varies widely by account, so read the number rather than assuming one. Ranking is within that sample, not across the account's whole history.\n- views is null on image posts. That is an absent measurement, not a view count of zero.\n- Ranked by likes because it is the field Instagram populates on every post type. Comments and views are returned so a caller can rank differently.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"user_id":{"type":"string"},"followers":{"type":"integer"},"posts_held":{"type":"integer"},"posts":{"type":"array","items":{"type":"object","properties":{"shortcode":{"type":"string"},"url":{"type":"string"},"posted_at":{"type":"string","format":"date-time"},"format":{"type":"string"},"product_type":{"type":"string"},"likes":{"type":"integer"},"comments":{"type":"integer"},"views":{"type":"integer"},"caption":{"type":"string"},"location":{"description":"Null in the example; the type is not inferable from it."},"thumbnail_url":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"nasa","user_id":"528817151","followers":98412330,"posts_held":12,"posts":[{"shortcode":"C8xYz1AbcDe","url":"https://www.instagram.com/p/C8xYz1AbcDe/","posted_at":"2026-08-14T16:02:11.000Z","format":"reel","product_type":"clips","likes":1204882,"comments":8431,"views":24118007,"caption":"A new view of the Pillars of Creation.","location":null,"thumbnail_url":"https://scontent.cdninstagram.com/..."}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Instagram handle, without the @.","schema":{"type":"string","examples":["nasa"]}},{"name":"limit","in":"query","required":false,"description":"Posts to return, 1 to 50.","schema":{"type":"integer","default":10}}],"x-notes":["followers is null for any account whose follower count the crawl has not captured, which is about two thirds of the Instagram catalog. Null means unknown; it never means an account with no followers. Use GET /accounts/instagram/{handle} when you need the count itself.","posts_held is how many posts the crawl actually retains for this account. It averages about 12 across the catalog but varies widely by account, so read the number rather than assuming one. Ranking is within that sample, not across the account's whole history.","views is null on image posts. That is an absent measurement, not a view count of zero.","Ranked by likes because it is the field Instagram populates on every post type. Comments and views are returned so a caller can rank differently."],"x-scope":"insights:read","x-credits":1}},"/insights/instagram/{handle}/content-mix":{"get":{"operationId":"insights.instagram.content-mix","summary":"Which post format actually works on this account","description":"Splits an account's sampled posts by format - reel, carousel, image - and reports what each one earns against that account's own average. Reels and carousels behave differently on every account, and the only honest way to say which is working is to compare an account with itself rather than with a benchmark.\n\nRequired scope: `insights:read` (Insights).\n\n- followers is null for any account whose follower count the crawl has not captured, which is about two thirds of the Instagram catalog. Null means unknown; it never means an account with no followers. Use GET /accounts/instagram/{handle} when you need the count itself.\n- vs_account_avg_pct compares a format against the account's own weighted average interactions, so +25 means that format earns a quarter more than this account typically does. It is null for any format seen fewer than twice: two posts is not a trend and a percentage from one post reads far more authoritative than it is.\n- posts_analysed is the real denominator for this account and varies: about 12 on average across the catalog, but some accounts hold 90 or more and some only a handful. Treat the split as a recent tendency rather than a complete history, and read posts_analysed before trusting a percentage.\n- avg_views is null for image formats, which have no view count at all.\n- Formats are Instagram's own product types translated into plain words: clips is a reel, carousel_container is a carousel. The raw value is returned on each post by the top-posts endpoint.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"user_id":{"type":"string"},"followers":{"type":"integer"},"posts_analysed":{"type":"integer"},"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"account_avg_interactions":{"type":"integer"},"formats":{"type":"array","items":{"type":"object","properties":{"format":{"type":"string"},"posts":{"type":"integer"},"share_pct":{"type":"number"},"avg_likes":{"type":"integer"},"avg_comments":{"type":"integer"},"avg_views":{"type":["integer","null"]},"vs_account_avg_pct":{"type":"number"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"nasa","user_id":"528817151","followers":98412330,"posts_analysed":12,"from":"2026-06-02T11:20:00.000Z","to":"2026-08-29T18:41:00.000Z","account_avg_interactions":412907,"formats":[{"format":"reel","posts":7,"share_pct":58.3,"avg_likes":512004,"avg_comments":4120,"avg_views":12884102,"vs_account_avg_pct":25.1},{"format":"carousel","posts":5,"share_pct":41.7,"avg_likes":288311,"avg_comments":2004,"avg_views":null,"vs_account_avg_pct":-29.6}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Instagram handle, without the @.","schema":{"type":"string","examples":["nasa"]}}],"x-notes":["followers is null for any account whose follower count the crawl has not captured, which is about two thirds of the Instagram catalog. Null means unknown; it never means an account with no followers. Use GET /accounts/instagram/{handle} when you need the count itself.","vs_account_avg_pct compares a format against the account's own weighted average interactions, so +25 means that format earns a quarter more than this account typically does. It is null for any format seen fewer than twice: two posts is not a trend and a percentage from one post reads far more authoritative than it is.","posts_analysed is the real denominator for this account and varies: about 12 on average across the catalog, but some accounts hold 90 or more and some only a handful. Treat the split as a recent tendency rather than a complete history, and read posts_analysed before trusting a percentage.","avg_views is null for image formats, which have no view count at all.","Formats are Instagram's own product types translated into plain words: clips is a reel, carousel_container is a carousel. The raw value is returned on each post by the top-posts endpoint."],"x-scope":"insights:read","x-credits":1}},"/insights/instagram/{handle}/cadence":{"get":{"operationId":"insights.instagram.cadence","summary":"How often an account posts, and whether it has gone quiet","description":"Posting rhythm measured from real post timestamps: how often, how regularly, how long since the last one, and whether that is normal for this account. This is the only account-level Instagram insight that works across the whole catalog, because it needs timestamps rather than a follower count.\n\nRequired scope: `insights:read` (Insights).\n\n- The rhythm figures come from the most recent 30 posts only, and window says exactly which ones. The crawl keeps the posts it has seen rather than a complete history, so an older stretch can contain long holes that are crawl artefacts and not quiet periods. primevideo holds 101 posts reaching back to 2021 with a 960-day hole in the middle, which is why no longest-gap figure is published.\n- activity compares the account with its own median gap, not with a fixed number of days: active within twice the median gap, slowing within six times it, dormant beyond that, with floors of 3 and 14 days. activity_basis states the arithmetic on every response.\n- profile_complete is false for 8,409 of the 10,947 catalog rows. Instagram's profile endpoint stopped answering anonymous callers, so those accounts reached us through the feed fallback: posts and timestamps arrive, follower count and bio do not. Cadence still works on them, which is the point of this endpoint; followers is null there and null means unknown, never zero.\n- timing.by_hour_utc and by_weekday are returned only for accounts holding at least 20 posts, which is 568 of 10,918. Below that the block is null and timing.note says so rather than returning a histogram of six posts across 24 buckets.\n- No best hour to post is named anywhere in this response. Which hour an account posts in is a count we can make; which hour earns more is a claim about engagement that 30 posts across 24 hours cannot support. The per-hour interaction averages are returned so a caller can look for themselves.\n- data_age_s is the age of the crawl, not of the posts. Read it before trusting days_since_last_post: if the crawl last looked a week ago, the account may have posted since.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"user_id":{"type":"string"},"followers":{"type":"integer"},"profile_complete":{"type":"boolean"},"crawled_at":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"posts_held":{"type":"integer"},"window":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"},"posts":{"type":"integer"},"span_days":{"type":"number"}}},"posts_per_week":{"type":"number"},"gap_hours":{"type":"object","properties":{"p25":{"type":"number"},"p50":{"type":"number"},"p75":{"type":"number"}}},"days_since_last_post":{"type":"number"},"activity":{"type":"string"},"activity_basis":{"type":"string"},"timing":{"type":"object","properties":{"sample":{"type":"integer"},"sufficient":{"type":"boolean"},"busiest_hour_utc":{"type":"integer"},"busiest_weekday":{"type":"integer"},"by_hour_utc":{"type":"array","items":{"type":"object","properties":{"hour_utc":{"type":"integer"},"posts":{"type":"integer"},"avg_interactions":{"type":"integer"}}}},"by_weekday":{"type":"array","items":{"type":"object","properties":{"weekday":{"type":"integer"},"name":{"type":"string"},"posts":{"type":"integer"},"avg_interactions":{"type":"integer"}}}},"note":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"primevideo","user_id":"1684102154","followers":7003795,"profile_complete":true,"crawled_at":"2026-08-29T14:56:49.216Z","data_age_s":164582,"posts_held":101,"window":{"from":"2026-08-26T14:00:06.000Z","to":"2026-08-30T17:00:08.000Z","posts":30,"span_days":4.13},"posts_per_week":49.21,"gap_hours":{"p25":0.33,"p50":0.99,"p75":2.14},"days_since_last_post":0.82,"activity":"active","activity_basis":"Last post was 0.82 days ago against a median gap of 0.04 days across the last 30 posts.","timing":{"sample":101,"sufficient":true,"busiest_hour_utc":17,"busiest_weekday":4,"by_hour_utc":[{"hour_utc":15,"posts":10,"avg_interactions":30993},{"hour_utc":17,"posts":17,"avg_interactions":25955},{"hour_utc":19,"posts":11,"avg_interactions":15036}],"by_weekday":[{"weekday":4,"name":"Thursday","posts":19,"avg_interactions":21408}],"note":"Hours are UTC. busiest_hour_utc is where this account posts most often, which is a count. No best hour is named: which hour earns more is a claim about engagement and this sample cannot support it."}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Instagram handle, without the @.","schema":{"type":"string","examples":["nasa"]}}],"x-notes":["The rhythm figures come from the most recent 30 posts only, and window says exactly which ones. The crawl keeps the posts it has seen rather than a complete history, so an older stretch can contain long holes that are crawl artefacts and not quiet periods. primevideo holds 101 posts reaching back to 2021 with a 960-day hole in the middle, which is why no longest-gap figure is published.","activity compares the account with its own median gap, not with a fixed number of days: active within twice the median gap, slowing within six times it, dormant beyond that, with floors of 3 and 14 days. activity_basis states the arithmetic on every response.","profile_complete is false for 8,409 of the 10,947 catalog rows. Instagram's profile endpoint stopped answering anonymous callers, so those accounts reached us through the feed fallback: posts and timestamps arrive, follower count and bio do not. Cadence still works on them, which is the point of this endpoint; followers is null there and null means unknown, never zero.","timing.by_hour_utc and by_weekday are returned only for accounts holding at least 20 posts, which is 568 of 10,918. Below that the block is null and timing.note says so rather than returning a histogram of six posts across 24 buckets.","No best hour to post is named anywhere in this response. Which hour an account posts in is a count we can make; which hour earns more is a claim about engagement that 30 posts across 24 hours cannot support. The per-hour interaction averages are returned so a caller can look for themselves.","data_age_s is the age of the crawl, not of the posts. Read it before trusting days_since_last_post: if the crawl last looked a week ago, the account may have posted since."],"x-scope":"insights:read","x-credits":1}},"/insights/instagram/benchmarks":{"get":{"operationId":"insights.instagram.benchmarks","summary":"Measured engagement rates by follower band","description":"Engagement-rate percentiles for each follower band, computed over our own Instagram catalog rather than quoted from the industry rules of thumb every competitor ships. Every band publishes the number of accounts behind it and whether that number is enough to trust.\n\nRequired scope: `insights:read` (Insights).\n\n- Measured medians on 2026-08-31: 14.28 percent under 10K, 5.09 at 10K-100K, 3.42 at 100K-1M, 1.67 at 1M-10M, 0.92 above 10M. The decline is monotonic across every band, which is the shape the field expects and the cheapest evidence that the pipeline behind it is sound.\n- The population is 2,535 accounts, not the full 10,947 catalog. Only 2,538 rows carry a follower count: Instagram's profile endpoint stopped answering anonymous callers, so the rest reached us through the feed fallback and have posts but no profile. catalog.coverage_pct states this on every response.\n- reliable is false for any band holding fewer than 100 accounts. The under-10K band holds 59 and is returned anyway, flagged, rather than dropped: a caller who asked for it deserves the number and the reason not to lean on it.\n- Upper percentiles are wide and genuinely so. An account whose posts reach far beyond its own followers can exceed 100 percent, which is a real measurement of an account whose reach outruns its follower count, not an error. Lead with p50.\n- oldest_measurement and newest_measurement bound the whole measured population. Every follower count in the benchmark was read within that window, so the bands are a snapshot of that window rather than a long-run average.\n- This path shadows the handle route: an Instagram account literally named 'benchmarks' would not be reachable at /insights/instagram/benchmarks. Use GET /accounts/instagram/{handle} for that one account.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"metric":{"type":"string"},"definition":{"type":"string"},"catalog":{"type":"object","properties":{"accounts_total":{"type":"integer"},"accounts_measured":{"type":"integer"},"coverage_pct":{"type":"number"},"oldest_measurement":{"type":"string","format":"date-time"},"newest_measurement":{"type":"string","format":"date-time"}}},"min_sample_for_reliable":{"type":"integer"},"bands":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"followers_from":{"type":"integer"},"followers_to":{"type":"integer"},"sample_size":{"type":"integer"},"reliable":{"type":"boolean"},"observed_followers_min":{"type":"integer"},"observed_followers_max":{"type":"integer"},"p25":{"type":"number"},"p50":{"type":"number"},"p75":{"type":"number"},"p90":{"type":"number"},"avg_posts_analysed":{"type":"number"}}}},"your_band":{"description":"Null in the example; the type is not inferable from it."}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"metric":"engagement_rate_pct","definition":"(mean likes + mean comments) per post, divided by followers, times 100. Computed from the posts the crawl retains for each account, not from a sampled subset chosen at query time.","catalog":{"accounts_total":10975,"accounts_measured":2536,"coverage_pct":23.1,"oldest_measurement":"2026-08-29T13:01:34.350Z","newest_measurement":"2026-08-31T12:37:54.495Z"},"min_sample_for_reliable":100,"bands":[{"band":"100k_1m","followers_from":100000,"followers_to":1000000,"sample_size":754,"reliable":true,"observed_followers_min":100199,"observed_followers_max":998021,"p25":0.95,"p50":3.425,"p75":9.483,"p90":22.62,"avg_posts_analysed":11.8},{"band":"under_10k","followers_from":0,"followers_to":10000,"sample_size":59,"reliable":false,"observed_followers_min":212,"observed_followers_max":9844,"p25":2.866,"p50":14.28,"p75":74.963,"p90":360.726,"avg_posts_analysed":11.6}],"your_band":null},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"followers","in":"query","required":false,"description":"Optional. A follower count to locate in the bands; the response then names which band it falls in.","schema":{"type":"integer","examples":[250000]}}],"x-notes":["Measured medians on 2026-08-31: 14.28 percent under 10K, 5.09 at 10K-100K, 3.42 at 100K-1M, 1.67 at 1M-10M, 0.92 above 10M. The decline is monotonic across every band, which is the shape the field expects and the cheapest evidence that the pipeline behind it is sound.","The population is 2,535 accounts, not the full 10,947 catalog. Only 2,538 rows carry a follower count: Instagram's profile endpoint stopped answering anonymous callers, so the rest reached us through the feed fallback and have posts but no profile. catalog.coverage_pct states this on every response.","reliable is false for any band holding fewer than 100 accounts. The under-10K band holds 59 and is returned anyway, flagged, rather than dropped: a caller who asked for it deserves the number and the reason not to lean on it.","Upper percentiles are wide and genuinely so. An account whose posts reach far beyond its own followers can exceed 100 percent, which is a real measurement of an account whose reach outruns its follower count, not an error. Lead with p50.","oldest_measurement and newest_measurement bound the whole measured population. Every follower count in the benchmark was read within that window, so the bands are a snapshot of that window rather than a long-run average.","This path shadows the handle route: an Instagram account literally named 'benchmarks' would not be reachable at /insights/instagram/benchmarks. Use GET /accounts/instagram/{handle} for that one account."],"x-scope":"insights:read","x-credits":1}},"/insights/instagram/{handle}/coverage":{"get":{"operationId":"insights.instagram.coverage","summary":"What we hold on a handle, before you pay for a lookup","description":"Counts what the catalog actually holds for one Instagram handle - posts, snapshots, daily stats, related-profile edges - and lists which endpoints will return real data for it. Reads the catalog only and never touches an upstream, so it is not metered as a live call.\n\nRequired scope: `insights:read` (Insights).\n\n- Built for the decision a caller makes before spending a live call: ask what a catalog read would give you, then decide whether POST /scrape/instagram/user is worth the meter.\n- in_catalog true does not mean the account is fully known. 8,409 of 10,947 rows are content-only, with posts but no follower count, because the crawl reached them through Instagram's feed fallback. profile_complete separates the two, and unavailable_endpoints names each endpoint that would return nulls and why.\n- available_endpoints is computed from the rows that exist right now, not from a static list per platform. An account with two posts will not have the cadence endpoint listed.\n- posts is null only when the account is absent from the catalog entirely. For a known account with no posts it is 0, which is a measured zero rather than an unknown.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"platform":{"type":"string"},"in_catalog":{"type":"boolean"},"user_id":{"type":"string"},"profile_complete":{"type":"boolean"},"crawled_at":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"first_seen":{"type":"string","format":"date-time"},"followers":{"type":"integer"},"holdings":{"type":"object","properties":{"posts":{"type":"integer"},"posts_from":{"type":"string","format":"date-time"},"posts_to":{"type":"string","format":"date-time"},"snapshots":{"type":"integer"},"snapshots_from":{"type":"string","format":"date-time"},"snapshots_to":{"type":"string","format":"date-time"},"daily_stat_days":{"type":"integer"},"edges_out":{"type":"integer"},"edges_in":{"type":"integer"}}},"available_endpoints":{"type":"array","items":{"type":"string"}},"unavailable_endpoints":{"type":"array","items":{}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"primevideo","platform":"instagram","in_catalog":true,"user_id":"1684102154","profile_complete":true,"crawled_at":"2026-08-29T14:56:49.216Z","data_age_s":164582,"first_seen":"2026-08-29T14:05:12.194Z","followers":7003795,"holdings":{"posts":101,"posts_from":"2021-08-29T01:01:57.000Z","posts_to":"2026-08-30T17:00:08.000Z","snapshots":1,"snapshots_from":"2026-08-29T14:56:49.210Z","snapshots_to":"2026-08-29T14:56:49.210Z","daily_stat_days":1,"edges_out":50,"edges_in":11},"available_endpoints":["/insights/instagram/{handle}/top-posts","/insights/instagram/{handle}/content-mix","/insights/instagram/{handle}/cadence","/insights/instagram/{handle}","/accounts/instagram/{handle}"],"unavailable_endpoints":[]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Instagram handle, without the @.","schema":{"type":"string","examples":["nasa"]}}],"x-notes":["Built for the decision a caller makes before spending a live call: ask what a catalog read would give you, then decide whether POST /scrape/instagram/user is worth the meter.","in_catalog true does not mean the account is fully known. 8,409 of 10,947 rows are content-only, with posts but no follower count, because the crawl reached them through Instagram's feed fallback. profile_complete separates the two, and unavailable_endpoints names each endpoint that would return nulls and why.","available_endpoints is computed from the rows that exist right now, not from a static list per platform. An account with two posts will not have the cadence endpoint listed.","posts is null only when the account is absent from the catalog entirely. For a known account with no posts it is 0, which is a measured zero rather than an unknown."],"x-scope":"insights:read","x-credits":1}},"/insights/tiktok/{handle}/growth":{"get":{"operationId":"insights.tiktok.growth","summary":"Follower, like and posting velocity from the snapshot series","description":"The snapshot history for one TikTok account, with a velocity for each counter. Every reading carries the precision it was actually measured at, and velocity is computed only from exact readings, because TikTok rounded its own counters until 2026-08-24 and a series that ignores that reports rounding as growth.\n\nRequired scope: `insights:read` (Insights).\n\n- Until 2026-08-24 11:00 UTC the crawler read TikTok's rendered counters - one decimal place and a unit, so 12.3M - and truncated the like total to a signed int32 on top of that. From that hour it reads statsV2, which is an exact int64. The cutover was verified hour by hour against production: 461 of 461 readings rounded in the 10:00 hour, 0 of 251 in the 11:00 hour.\n- followers_step, hearts_step and videos_step are the rounding unit each reading was measured at. 1 means exact; 100,000 means the true value was anywhere within 50,000 of what is shown. A change smaller than the step is not a measurement.\n- Because the rounding was proportional, which counters survive the older window depends on account size, not on date. video_count is exact for 16,123 of 16,190 accounts, so posting velocity is measurable across the whole history for almost everyone. follower_count is exact for 8,357 pre-cutover and heart_count for only 4,158.\n- A worked example of why this matters. mohsinbahim reads 628500 flat for five days to 2026-08-23, then 628516 on the 24th, then drifts down to 628510. A naive series calls that a five-day plateau and a jump. The account is in fact slowly losing followers and the jump is the rounding coming off. This endpoint excludes those points and returns the decline.\n- Velocity spans the first exact reading to the last rather than summing consecutive deltas, because a hole in the series is a missed snapshot and not a period of zero change.\n- measurable is false, and every figure null, when a counter has fewer than two exact readings in the window. Null is an absent measurement; it is never a change of zero.\n- Depth varies enormously. About 2,900 accounts hold 40 or more snapshots and 13,080 hold fewer than 10. GET /insights/tiktok/{handle}/coverage says which kind an account is before you read it.\n- Reads scraper.tt_snapshots directly rather than the daily rollup, because the rollup inherited the same rounding: 97.9 percent of pre-cutover hearts_eod rows above 1M are multiples of 100,000.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"user_id":{"type":"string"},"current":{"type":"object","properties":{"followers":{"type":"integer"},"hearts":{"type":"integer"},"videos":{"type":"integer"},"captured_at":{"type":"string","format":"date-time"}}},"crawled_at":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"exact_counts_from":{"type":"string","format":"date-time"},"window_days":{"type":"integer"},"series":{"type":"array","items":{"type":"object","properties":{"captured_at":{"type":"string","format":"date-time"},"followers":{"type":"integer"},"followers_step":{"type":"integer"},"hearts":{"type":"integer"},"hearts_step":{"type":"integer"},"videos":{"type":"integer"},"videos_step":{"type":"integer"}}}},"growth":{"type":"object","properties":{"followers":{"type":"object","properties":{"measurable":{"type":"boolean"},"change":{"type":"integer"},"per_day":{"type":"number"},"change_pct":{"type":"number"},"measured_from":{"type":"string","format":"date-time"},"measured_to":{"type":"string","format":"date-time"},"points_used":{"type":"integer"},"points_excluded_rounded":{"type":"integer"},"note":{"type":"string"}}},"hearts":{"type":"object","properties":{"measurable":{"type":"boolean"},"change":{"type":"integer"},"per_day":{"type":"integer"},"change_pct":{"type":"integer"},"measured_from":{"type":"string","format":"date-time"},"measured_to":{"type":"string","format":"date-time"},"points_used":{"type":"integer"},"points_excluded_rounded":{"type":"integer"},"note":{"type":"string"}}},"videos":{"type":"object","properties":{"measurable":{"type":"boolean"},"change":{"type":"integer"},"per_day":{"type":"integer"},"change_pct":{"type":"integer"},"measured_from":{"type":"string","format":"date-time"},"measured_to":{"type":"string","format":"date-time"},"points_used":{"type":"integer"},"points_excluded_rounded":{"type":"integer"},"note":{"type":"string"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"mohsinbahim","user_id":"6743139527352910850","current":{"followers":628510,"hearts":14516013,"videos":1334,"captured_at":"2026-08-30T22:39:28.441Z"},"crawled_at":"2026-08-30T22:39:28.448Z","data_age_s":50713,"exact_counts_from":"2026-08-24T11:00:00.000Z","window_days":30,"series":[{"captured_at":"2026-08-23T19:36:22.782Z","followers":628500,"followers_step":100,"hearts":14500000,"hearts_step":100000,"videos":1334,"videos_step":1},{"captured_at":"2026-08-30T22:39:28.441Z","followers":628510,"followers_step":1,"hearts":14516013,"hearts_step":1,"videos":1334,"videos_step":1}],"growth":{"followers":{"measurable":true,"change":-6,"per_day":-0.99,"change_pct":-0.001,"measured_from":"2026-08-24T20:34:41.317Z","measured_to":"2026-08-30T22:39:28.441Z","points_used":7,"points_excluded_rounded":22,"note":"Measured across 7 exact readings. 22 earlier points were excluded because TikTok had rounded the follower count at capture time; including them would have produced a step change that is rounding coming off, not movement."},"hearts":{"measurable":true,"change":0,"per_day":0,"change_pct":0,"measured_from":"2026-08-24T20:34:41.317Z","measured_to":"2026-08-30T22:39:28.441Z","points_used":7,"points_excluded_rounded":22,"note":"Measured across 7 exact readings. 22 earlier points were excluded because TikTok had rounded the like total at capture time; including them would have produced a step change that is rounding coming off, not movement."},"videos":{"measurable":true,"change":0,"per_day":0,"change_pct":0,"measured_from":"2026-08-01T21:12:44.000Z","measured_to":"2026-08-30T22:39:28.441Z","points_used":29,"points_excluded_rounded":0,"note":"Measured across all 29 readings in the window; every one was exact."}}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"TikTok handle, without the @.","schema":{"type":"string","examples":["mohsinbahim"]}},{"name":"days","in":"query","required":false,"description":"Window to read, 1 to 365 days.","schema":{"type":"integer","default":30}}],"x-notes":["Until 2026-08-24 11:00 UTC the crawler read TikTok's rendered counters - one decimal place and a unit, so 12.3M - and truncated the like total to a signed int32 on top of that. From that hour it reads statsV2, which is an exact int64. The cutover was verified hour by hour against production: 461 of 461 readings rounded in the 10:00 hour, 0 of 251 in the 11:00 hour.","followers_step, hearts_step and videos_step are the rounding unit each reading was measured at. 1 means exact; 100,000 means the true value was anywhere within 50,000 of what is shown. A change smaller than the step is not a measurement.","Because the rounding was proportional, which counters survive the older window depends on account size, not on date. video_count is exact for 16,123 of 16,190 accounts, so posting velocity is measurable across the whole history for almost everyone. follower_count is exact for 8,357 pre-cutover and heart_count for only 4,158.","A worked example of why this matters. mohsinbahim reads 628500 flat for five days to 2026-08-23, then 628516 on the 24th, then drifts down to 628510. A naive series calls that a five-day plateau and a jump. The account is in fact slowly losing followers and the jump is the rounding coming off. This endpoint excludes those points and returns the decline.","Velocity spans the first exact reading to the last rather than summing consecutive deltas, because a hole in the series is a missed snapshot and not a period of zero change.","measurable is false, and every figure null, when a counter has fewer than two exact readings in the window. Null is an absent measurement; it is never a change of zero.","Depth varies enormously. About 2,900 accounts hold 40 or more snapshots and 13,080 hold fewer than 10. GET /insights/tiktok/{handle}/coverage says which kind an account is before you read it.","Reads scraper.tt_snapshots directly rather than the daily rollup, because the rollup inherited the same rounding: 97.9 percent of pre-cutover hearts_eod rows above 1M are multiples of 100,000."],"x-scope":"insights:read","x-credits":1}},"/insights/tiktok/benchmarks":{"get":{"operationId":"insights.tiktok.benchmarks","summary":"Measured likes per video by follower band","description":"What a TikTok account of a given size normally earns per video, as percentiles over our own catalog. Every one of the 16,190 accounts carries the three counters this is built from, so every band is backed by hundreds of accounts rather than a rule of thumb.\n\nRequired scope: `insights:read` (Insights).\n\n- Sample sizes measured 2026-08-31: 7,851 accounts under 10K, 3,784 at 10K-100K, 2,346 at 100K-1M, 1,224 at 1M-10M and 426 above 10M. Every band clears the 100-account floor, the smallest by more than four times.\n- Coverage is the TikTok catalog's advantage over the Instagram one: all 16,190 accounts carry a follower count, a like total and a video count. The measured population is smaller only because accounts with no videos yet are excluded, since dividing by zero videos is not a benchmark.\n- Median likes per video as a percent of followers falls monotonically with size - 21.8 percent under 10K, 5.46, 3.38, 2.22, 2.13 above 10M - which is the shape the field expects and the cheapest evidence the pipeline is sound.\n- This is a lifetime ratio and describes an account's whole history rather than its current form. An account that was large three years ago and is quiet now still reports well. Pair it with GET /insights/tiktok/{handle}/growth to see which way the account is moving.\n- The pre-2026-08-24 counter rounding does not reach these numbers: they read the current account row, which has been refreshed from statsV2 since the cutover.\n- This path shadows the handle route: a TikTok account named 'benchmarks' would not be reachable at /insights/tiktok/benchmarks. Use GET /accounts/tiktok/{handle} for that one account.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"metric":{"type":"string"},"definition":{"type":"string"},"catalog":{"type":"object","properties":{"accounts_total":{"type":"integer"},"accounts_measured":{"type":"integer"},"coverage_pct":{"type":"number"},"oldest_measurement":{"type":"string","format":"date-time"},"newest_measurement":{"type":"string","format":"date-time"}}},"min_sample_for_reliable":{"type":"integer"},"bands":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"followers_from":{"type":"integer"},"followers_to":{"type":["integer","null"]},"sample_size":{"type":"integer"},"reliable":{"type":"boolean"},"median_followers":{"type":"integer"},"median_videos":{"type":"integer"},"likes_per_video":{"type":"object","properties":{"p25":{"type":"integer"},"p50":{"type":"integer"},"p75":{"type":"integer"},"p90":{"type":"integer"}}},"likes_per_video_pct_of_followers":{"type":"object","properties":{"p25":{"type":"number"},"p50":{"type":"number"},"p75":{"type":"number"},"p90":{"type":"number"}}}}}},"caveats":{"type":"array","items":{}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"metric":"likes_per_video","definition":"Lifetime like total divided by lifetime video count, reported both absolutely and as a percent of followers. TikTok publishes no per-post data and no view counts to a logged-out reader, so this is the only engagement signal available at account level.","catalog":{"accounts_total":16190,"accounts_measured":15631,"coverage_pct":96.5,"oldest_measurement":"2026-06-24T22:40:12.204Z","newest_measurement":"2026-08-31T12:44:41.432Z"},"min_sample_for_reliable":100,"bands":[{"band":"100k_1m","followers_from":100000,"followers_to":1000000,"sample_size":2346,"reliable":true,"median_followers":261201,"median_videos":653,"likes_per_video":{"p25":3884,"p50":9667,"p75":26183,"p90":67410},"likes_per_video_pct_of_followers":{"p25":1.497,"p50":3.381,"p75":8.713,"p90":21.221}},{"band":"over_10m","followers_from":10000000,"followers_to":null,"sample_size":426,"reliable":true,"median_followers":17272708,"median_videos":1371,"likes_per_video":{"p25":219493,"p50":392601,"p75":798479,"p90":1775785},"likes_per_video_pct_of_followers":{"p25":1.228,"p50":2.131,"p75":3.598,"p90":7.029}}],"caveats":[]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["Sample sizes measured 2026-08-31: 7,851 accounts under 10K, 3,784 at 10K-100K, 2,346 at 100K-1M, 1,224 at 1M-10M and 426 above 10M. Every band clears the 100-account floor, the smallest by more than four times.","Coverage is the TikTok catalog's advantage over the Instagram one: all 16,190 accounts carry a follower count, a like total and a video count. The measured population is smaller only because accounts with no videos yet are excluded, since dividing by zero videos is not a benchmark.","Median likes per video as a percent of followers falls monotonically with size - 21.8 percent under 10K, 5.46, 3.38, 2.22, 2.13 above 10M - which is the shape the field expects and the cheapest evidence the pipeline is sound.","This is a lifetime ratio and describes an account's whole history rather than its current form. An account that was large three years ago and is quiet now still reports well. Pair it with GET /insights/tiktok/{handle}/growth to see which way the account is moving.","The pre-2026-08-24 counter rounding does not reach these numbers: they read the current account row, which has been refreshed from statsV2 since the cutover.","This path shadows the handle route: a TikTok account named 'benchmarks' would not be reachable at /insights/tiktok/benchmarks. Use GET /accounts/tiktok/{handle} for that one account."],"x-scope":"insights:read","x-credits":1}},"/insights/tiktok/{handle}/coverage":{"get":{"operationId":"insights.tiktok.coverage","summary":"What we hold on a handle, before you pay for a lookup","description":"Counts what the catalog holds for one TikTok handle - snapshots, rollup days, suggested-account edges - and lists which endpoints will return real data for it. Reads the catalog only and never touches an upstream, so it is not metered as a live call.\n\nRequired scope: `insights:read` (Insights).\n\n- holdings.posts is always null for TikTok. The engine holds no post table for this platform at all, and null says we do not measure it rather than reporting a count of zero. The same field carries a real count on the Instagram counterpart, which shares this response shape.\n- Snapshot depth is bimodal and worth checking before reading a growth series: about 2,900 accounts hold 40 or more snapshots while 13,080 hold fewer than 10.\n- When every snapshot held for an account predates the 2026-08-24 statsV2 cutover, unavailable_endpoints carries a separate entry saying the series is readable but its follower and like velocity will not be.\n- Built for the decision a caller makes before spending a live call: ask what a catalog read would give you, then decide whether a live fetch is worth the meter.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"platform":{"type":"string"},"in_catalog":{"type":"boolean"},"user_id":{"type":"string"},"profile_complete":{"type":"boolean"},"crawled_at":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"},"first_seen":{"type":"string","format":"date-time"},"followers":{"type":"integer"},"holdings":{"type":"object","properties":{"posts":{"description":"Null in the example; the type is not inferable from it."},"posts_from":{"description":"Null in the example; the type is not inferable from it."},"posts_to":{"description":"Null in the example; the type is not inferable from it."},"snapshots":{"type":"integer"},"snapshots_from":{"type":"string","format":"date-time"},"snapshots_to":{"type":"string","format":"date-time"},"daily_stat_days":{"type":"integer"},"edges_out":{"type":"integer"},"edges_in":{"type":"integer"}}},"available_endpoints":{"type":"array","items":{"type":"string"}},"unavailable_endpoints":{"type":"array","items":{}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"mohsinbahim","platform":"tiktok","in_catalog":true,"user_id":"6743139527352910850","profile_complete":true,"crawled_at":"2026-08-30T22:39:28.448Z","data_age_s":50713,"first_seen":"2026-06-24T23:14:48.552Z","followers":628510,"holdings":{"posts":null,"posts_from":null,"posts_to":null,"snapshots":50,"snapshots_from":"2026-06-24T23:14:48.553Z","snapshots_to":"2026-08-30T22:39:28.441Z","daily_stat_days":50,"edges_out":0,"edges_in":0},"available_endpoints":["/insights/tiktok/{handle}/growth","/insights/tiktok/{handle}/activity","/accounts/tiktok/{handle}"],"unavailable_endpoints":[]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"TikTok handle, without the @.","schema":{"type":"string","examples":["mohsinbahim"]}}],"x-notes":["holdings.posts is always null for TikTok. The engine holds no post table for this platform at all, and null says we do not measure it rather than reporting a count of zero. The same field carries a real count on the Instagram counterpart, which shares this response shape.","Snapshot depth is bimodal and worth checking before reading a growth series: about 2,900 accounts hold 40 or more snapshots while 13,080 hold fewer than 10.","When every snapshot held for an account predates the 2026-08-24 statsV2 cutover, unavailable_endpoints carries a separate entry saying the series is readable but its follower and like velocity will not be.","Built for the decision a caller makes before spending a live call: ask what a catalog read would give you, then decide whether a live fetch is worth the meter."],"x-scope":"insights:read","x-credits":1}},"/trends/{platform}/movers":{"get":{"operationId":"trends.movers","summary":"Biggest audience gains and losses for a day","description":"Ranks the accounts that gained or lost the most audience on the freshest day the engine has finished. This is the discovery counterpart to the catalog: it answers who moved, for a caller who does not have a handle to look up yet. The day ranked is chosen by the server and returned in the response, so a client always knows which day it is reading.\n\nRequired scope: `directory:read` (Directory).\n\n- Ranks a single day, not a rolling window. Daily movement is what the engine records and what the supporting index covers.\n- change_pct is the engine's own percentage for that day and is null when the previous day is unknown. It is never derived from change and audience, because those can disagree after a platform restates a count.\n- There is no follower floor or category filter, and that is deliberate: neither is in the index this endpoint depends on, and adding one would turn a 100ms ranking into a scan of the whole day.\n- Only accounts already in the catalog can appear. An account nobody has ever asked us about has no daily series to rank.\n\nCost: 1 credit per call.","tags":["Trends"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"direction":{"type":"string"},"day":{"type":"string","format":"date"},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"integer"},"change":{"type":"integer"},"change_pct":{"type":"number"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"x","direction":"rising","day":"2026-08-30","rows":[{"id":"44196397","handle":"elonmusk","name":"Elon Musk","audience":241493123,"change":118402,"change_pct":0.049}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"path","required":true,"description":"Which catalog to rank. Bluesky and LinkedIn are not available here; GET /trends/platforms says why.","schema":{"type":"string","enum":["x","instagram","tiktok","youtube","telegram"],"examples":["x"]}},{"name":"direction","in":"query","required":false,"description":"rising returns the biggest gains, falling the biggest losses.","schema":{"type":"string","enum":["rising","falling"],"default":"rising"}},{"name":"limit","in":"query","required":false,"description":"Rows to return, 1 to 100.","schema":{"type":"integer","default":25}}],"x-notes":["Ranks a single day, not a rolling window. Daily movement is what the engine records and what the supporting index covers.","change_pct is the engine's own percentage for that day and is null when the previous day is unknown. It is never derived from change and audience, because those can disagree after a platform restates a count.","There is no follower floor or category filter, and that is deliberate: neither is in the index this endpoint depends on, and adding one would turn a 100ms ranking into a scan of the whole day.","Only accounts already in the catalog can appear. An account nobody has ever asked us about has no daily series to rank."],"x-scope":"directory:read","x-credits":1}},"/trends/platforms":{"get":{"operationId":"trends.platforms","summary":"Which platforms can be ranked, and how fresh each is","description":"Coverage for the movers endpoint: which platforms are rankable, the freshest finished day for each, and a plain reason for every platform that is not. Discovering coverage at runtime means a client does not break when a platform is added or withdrawn.\n\nRequired scope: `directory:read` (Directory).\n\n- latest_day is null when freshness could not be read. That means unknown, not stale.\n\nCost: 1 credit per call.","tags":["Trends"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platforms":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"supported":{"type":"boolean"},"latest_day":{"type":"string","format":"date"},"reason":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platforms":[{"platform":"x","supported":true,"latest_day":"2026-08-30"},{"platform":"bluesky","supported":false,"reason":"The Bluesky daily-stats table has no growth index, so ranking a day would be a full scan. Reads are refused rather than served slowly."}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["latest_day is null when freshness could not be read. That means unknown, not stale."],"x-scope":"directory:read","x-credits":1}},"/identity/graph":{"get":{"operationId":"identity.graph","summary":"One organisation's accounts across every network, from any one of them","description":"Cross-platform identity resolution. Give a handle on any of nine networks, a website domain, or a LinkedIn company slug, and get the same organisation's accounts everywhere else we can prove it, with the proof attached. Every link was read off the company's own website by our enrichment crawl, so each one is a first-party claim rather than a name-similarity guess, and the response says which company published it, how many companies publish that same handle, and how safely it can be attributed.\n\nRequired scope: `directory:read` (Directory).\n\n- Exactly one of handle (with platform), domain or company is required. Passing more than one is rejected rather than silently ranked.\n- Every link comes from the company's own website. The enrichment crawl fetches only that host and only paths robots.txt permits, so provenance is always the organisation publishing about itself.\n- confidence is high when one company publishes the handle and it matches the company's domain label exactly, medium when one company publishes it without that agreement, and low when several companies publish the same handle. 7,357 handle pairs are shared this way and all claimants are returned rather than one being picked.\n- in_our_catalog is coverage, not corroboration. The engine matches by string equality against our own directories, and handles that do not match are seeded back into those crawl queues, so an account can be in our catalog because this table put it there. It drives the follower figure and deliberately does not drive confidence.\n- followers is null wherever we do not carry the account. Null means unknown; it is never a zero audience. Per-network match coverage is in coverage.catalog_match_coverage: 97 percent on TikTok, 65 percent on X, and 0 percent on Instagram, Facebook, LinkedIn and GitHub, where the matching pass has not run.\n- url is constructed from the platform and handle, not stored. It is null for YouTube rows whose handle is a lower-cased channel ID, because channel IDs are case sensitive and the case is not recoverable.\n- 57,490 companies have at least one published account and 48,470 have two or more, so a graph with a single entry is a normal answer rather than a failure.\n- Corporate identifiers only. No staff counts, no locations, no contacts and no people, which is why this is gated on directory:read rather than leads:read.\n\nCost: 1 credit per call.","tags":["Identity"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"query":{"type":"object","properties":{"mode":{"type":"string"},"platform":{"type":"string"},"handle":{"type":"string"},"domain":{"description":"Null in the example; the type is not inferable from it."},"company":{"description":"Null in the example; the type is not inferable from it."}}},"entities":{"type":"array","items":{"type":"object","properties":{"company":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"website":{"type":"string"},"website_domain":{"type":"string"},"linkedin_url":{"type":"string"}}},"matched_via":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"}}},"platforms":{"type":"array","items":{"type":"string"}},"accounts":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"url":{"type":"string"},"followers":{"type":"integer"},"in_our_catalog":{"type":"boolean"},"catalog_ref":{"type":"string"},"first_seen":{"type":"string","format":"date-time"},"last_seen":{"type":"string","format":"date-time"},"link":{"type":"object","properties":{"provenance":{"type":"string"},"published_on_domain":{"type":"string"},"claimed_by_companies":{"type":"integer"},"exclusive":{"type":"boolean"},"domain_affinity":{"type":"string"}}},"confidence":{"type":"string"}}}}}}},"coverage":{"type":"object","properties":{"measured_at":{"type":"string","format":"date"},"companies_with_any_account":{"type":"integer"},"companies_with_two_or_more_platforms":{"type":"integer"},"links_total":{"type":"integer"},"links_matched_to_our_catalog":{"type":"integer"},"catalog_match_coverage":{"type":"object","properties":{"x":{"type":"integer"},"tiktok":{"type":"integer"},"instagram":{"type":"integer"}}},"entities_returned":{"type":"integer"},"accounts_returned":{"type":"integer"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"query":{"mode":"handle","platform":"x","handle":"dropbox","domain":null,"company":null},"entities":[{"company":{"slug":"dropbox","name":"Dropbox","website":"http://www.dropbox.com","website_domain":"dropbox.com","linkedin_url":"https://www.linkedin.com/company/dropbox"},"matched_via":{"platform":"x","handle":"dropbox"},"platforms":["x","facebook","youtube"],"accounts":[{"platform":"x","handle":"dropbox","url":"https://x.com/dropbox","followers":3272392,"in_our_catalog":true,"catalog_ref":"14749606","first_seen":"2026-08-22T20:26:09.435Z","last_seen":"2026-08-22T20:26:09.435Z","link":{"provenance":"company_website","published_on_domain":"dropbox.com","claimed_by_companies":1,"exclusive":true,"domain_affinity":"exact"},"confidence":"high"}]}],"coverage":{"measured_at":"2026-08-31","companies_with_any_account":57490,"companies_with_two_or_more_platforms":48470,"links_total":178191,"links_matched_to_our_catalog":25393,"catalog_match_coverage":{"x":65,"tiktok":97,"instagram":0},"entities_returned":1,"accounts_returned":3}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"query","required":false,"description":"Network the handle belongs to. Required with handle, ignored otherwise.","schema":{"type":"string","enum":["linkedin","instagram","facebook","x","youtube","tiktok","github","bluesky","telegram"],"examples":["x"]}},{"name":"handle","in":"query","required":false,"description":"Account handle, an @handle, or a full profile URL. Normalised before lookup.","schema":{"type":"string","examples":["dropbox"]}},{"name":"domain","in":"query","required":false,"description":"Company website domain. A bare host, a full URL or an email address all work.","schema":{"type":"string","examples":["dropbox.com"]}},{"name":"company","in":"query","required":false,"description":"LinkedIn company slug, as it appears in the company page URL.","schema":{"type":"string","examples":["dropbox"]}}],"x-notes":["Exactly one of handle (with platform), domain or company is required. Passing more than one is rejected rather than silently ranked.","Every link comes from the company's own website. The enrichment crawl fetches only that host and only paths robots.txt permits, so provenance is always the organisation publishing about itself.","confidence is high when one company publishes the handle and it matches the company's domain label exactly, medium when one company publishes it without that agreement, and low when several companies publish the same handle. 7,357 handle pairs are shared this way and all claimants are returned rather than one being picked.","in_our_catalog is coverage, not corroboration. The engine matches by string equality against our own directories, and handles that do not match are seeded back into those crawl queues, so an account can be in our catalog because this table put it there. It drives the follower figure and deliberately does not drive confidence.","followers is null wherever we do not carry the account. Null means unknown; it is never a zero audience. Per-network match coverage is in coverage.catalog_match_coverage: 97 percent on TikTok, 65 percent on X, and 0 percent on Instagram, Facebook, LinkedIn and GitHub, where the matching pass has not run.","url is constructed from the platform and handle, not stored. It is null for YouTube rows whose handle is a lower-cased channel ID, because channel IDs are case sensitive and the case is not recoverable.","57,490 companies have at least one published account and 48,470 have two or more, so a graph with a single entry is a normal answer rather than a failure.","Corporate identifiers only. No staff counts, no locations, no contacts and no people, which is why this is gated on directory:read rather than leads:read."],"x-scope":"directory:read","x-credits":1}},"/identity/graph/bulk":{"post":{"operationId":"identity.graph.bulk","summary":"Resolve up to 100 handles to their companies in one call","description":"The batch form of the reverse lookup, for enriching a list rather than a record. Send platform and handle pairs, get the company behind each one with the same confidence rule the single lookup uses. Pairs that resolve to nothing come back with found false rather than being dropped, so a caller can reconcile the batch positionally.\n\nRequired scope: `directory:read` (Directory).\n\n- Maximum 100 pairs per call. The batch is one statement with an index probe per pair: 0.45ms for 50 pairs and 2.4ms for 100, measured on production.\n- Results are returned in request order, one row per input pair, duplicates included. A pair that matched nothing is present with found false, because silence and failure look identical to a client otherwise.\n- A handle can resolve to more than one company. companies is a list and the confidence on each says low when the handle is shared.\n- The single-record form, GET /identity/graph, returns the full cross-platform footprint. This one deliberately returns only the company, because 100 full footprints in one response is a different product with a different cost.\n\nCost: 1 credit per call.","tags":["Identity"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"found":{"type":"boolean"},"companies":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"website_domain":{"type":"string"},"confidence":{"type":"string"}}}}}}},"requested":{"type":"integer"},"resolved":{"type":"integer"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"results":[{"platform":"x","handle":"dropbox","found":true,"companies":[{"slug":"dropbox","name":"Dropbox","website_domain":"dropbox.com","confidence":"high"}]},{"platform":"bluesky","handle":"notacompany","found":false,"companies":[]}],"requested":2,"resolved":1},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accounts":{"description":"Up to 100 objects with platform and handle. Handles are normalised the same way the single lookup normalises them.","type":"array","items":{"type":"object","required":["platform","handle"],"properties":{"platform":{"type":"string","example":"x"},"handle":{"type":"string","example":"nasa"}}},"maxItems":100}},"required":["accounts"]}}}},"x-notes":["Maximum 100 pairs per call. The batch is one statement with an index probe per pair: 0.45ms for 50 pairs and 2.4ms for 100, measured on production.","Results are returned in request order, one row per input pair, duplicates included. A pair that matched nothing is present with found false, because silence and failure look identical to a client otherwise.","A handle can resolve to more than one company. companies is a list and the confidence on each says low when the handle is shared.","The single-record form, GET /identity/graph, returns the full cross-platform footprint. This one deliberately returns only the company, because 100 full footprints in one response is a different product with a different cost."],"x-scope":"directory:read","x-credits":1}},"/identity/company/{slug}":{"get":{"operationId":"identity.company","summary":"Every social account a company publishes","description":"The social handles one company links from its own website, across nine networks, with audience figures on the networks we crawl. This is the join a B2B enrichment product needs and cannot make from account data alone: it connects an organisation to its presence rather than describing one more handle.\n\nRequired scope: `directory:read` (Directory).\n\n- Nine networks are recorded: LinkedIn, Instagram, Facebook, X, YouTube, TikTok, GitHub, Bluesky and Telegram. That is wider than the seven we crawl, because these links are read from company websites rather than from the networks themselves.\n- followers is null on any network we do not crawl, which includes Facebook, GitHub and most LinkedIn rows. Null means unknown, never zero.\n- url is constructed from the platform and handle rather than stored. The table has a url column and it is NULL on all 178,191 rows, so this field used to be permanently null while this example showed a link. It is null for YouTube rows whose handle is a lower-cased channel ID, because that case is not recoverable.\n- GET /identity/graph answers the same question and adds link provenance, exclusivity and a confidence tier, and accepts a domain or a handle on any network as the input. Prefer it for new integrations.\n- This endpoint returns corporate identifiers only. It selects no staff counts, no locations and no contacts, so it is not a lead export and is not gated behind leads:read.\n- Coverage is a company that published a link we could read. An absent network means we did not find one, not that the company has no account there.\n\nCost: 1 credit per call.","tags":["Identity"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"website":{"type":"string"},"accounts":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"url":{"type":"string"},"followers":{"type":["integer","null"]},"source":{"type":"string"},"first_seen":{"type":"string","format":"date-time"},"last_seen":{"type":"string","format":"date-time"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"slug":"stripe","name":"Stripe","website":"https://stripe.com","accounts":[{"platform":"x","handle":"stripe","url":"https://x.com/stripe","followers":1284003,"source":"website","first_seen":"2026-08-22T10:04:11.000Z","last_seen":"2026-08-29T22:18:40.000Z"},{"platform":"github","handle":"stripe","url":"https://github.com/stripe","followers":null,"source":"website","first_seen":"2026-08-22T10:04:11.000Z","last_seen":"2026-08-29T22:18:40.000Z"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"slug","in":"path","required":true,"description":"The company slug, as it appears on its LinkedIn company page URL.","schema":{"type":"string","examples":["stripe"]}}],"x-notes":["Nine networks are recorded: LinkedIn, Instagram, Facebook, X, YouTube, TikTok, GitHub, Bluesky and Telegram. That is wider than the seven we crawl, because these links are read from company websites rather than from the networks themselves.","followers is null on any network we do not crawl, which includes Facebook, GitHub and most LinkedIn rows. Null means unknown, never zero.","url is constructed from the platform and handle rather than stored. The table has a url column and it is NULL on all 178,191 rows, so this field used to be permanently null while this example showed a link. It is null for YouTube rows whose handle is a lower-cased channel ID, because that case is not recoverable.","GET /identity/graph answers the same question and adds link provenance, exclusivity and a confidence tier, and accepts a domain or a handle on any network as the input. Prefer it for new integrations.","This endpoint returns corporate identifiers only. It selects no staff counts, no locations and no contacts, so it is not a lead export and is not gated behind leads:read.","Coverage is a company that published a link we could read. An absent network means we did not find one, not that the company has no account there."],"x-scope":"directory:read","x-credits":1}},"/identity/resolve":{"get":{"operationId":"identity.resolve","summary":"Which company publishes this handle","description":"The reverse lookup: give a platform and a handle, get the company that links to it from its own website. Answers the enrichment question a follower count cannot, which is who is behind an account.\n\nRequired scope: `directory:read` (Directory).\n\n- More than one company can publish the same handle, usually a shared regional or product account, so the response is a list rather than a single match.\n- An empty list means we hold no company that links to that handle. It is not evidence that the account is unaffiliated.\n- One index-backed probe, 0.077ms measured. Handles are normalised before the lookup - an @handle and a full profile URL both work - because every handle in the catalog is stored lower-cased and stripped, so the normalised form is an exact index match.\n- GET /identity/graph answers this question and also returns what else the company runs, with the link provenance and a confidence tier attached. Prefer it for new integrations; this endpoint stays for compatibility.\n\nCost: 1 credit per call.","tags":["Identity"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"matches":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"website":{"type":"string"},"matched_handle":{"type":"string"},"followers":{"type":"integer"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"matches":[{"slug":"stripe","name":"Stripe","website":"https://stripe.com","matched_handle":"stripe","followers":1284003}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"query","required":true,"description":"Network the handle belongs to.","schema":{"type":"string","enum":["linkedin","instagram","facebook","x","youtube","tiktok","github","bluesky","telegram"],"examples":["x"]}},{"name":"handle","in":"query","required":true,"description":"The account handle. An @handle or a full profile URL is accepted and normalised to the stored form before lookup.","schema":{"type":"string","examples":["stripe"]}}],"x-notes":["More than one company can publish the same handle, usually a shared regional or product account, so the response is a list rather than a single match.","An empty list means we hold no company that links to that handle. It is not evidence that the account is unaffiliated.","One index-backed probe, 0.077ms measured. Handles are normalised before the lookup - an @handle and a full profile URL both work - because every handle in the catalog is stored lower-cased and stripped, so the normalised form is an exact index match.","GET /identity/graph answers this question and also returns what else the company runs, with the link provenance and a confidence tier attached. Prefer it for new integrations; this endpoint stays for compatibility."],"x-scope":"directory:read","x-credits":1}},"/identity/telegram/{username}/aliases":{"get":{"operationId":"identity.telegram.aliases","summary":"Every username a Telegram channel holds","description":"All usernames the engine has seen for one channel, with the window each was observed in. Useful for finding a channel under a name it no longer advertises, and for spotting the pattern where one channel holds many unrelated handles at once.\n\nRequired scope: `directory:read` (Directory).\n\n- These are not necessarily renames. Telegram allows a channel to hold several usernames simultaneously, so overlapping windows mean the names were held together rather than changed between. The endpoint reports the dates and draws no conclusion.\n- Across a 200,000 row sample, 99.2 percent of channels hold exactly one username. A long list of unrelated handles is unusual and worth looking at, which is most of this endpoint's value.\n- Only usernames observed by our crawler are listed. A name dropped before we first saw the channel is not recoverable.\n\nCost: 1 credit per call.","tags":["Identity"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"chat_id":{"type":"string"},"title":{"type":"string"},"current_username":{"type":"string"},"aliases":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"first_seen":{"type":"string","format":"date-time"},"last_seen":{"type":"string","format":"date-time"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"chat_id":"-1001234567890","title":"Example Channel","current_username":"example","aliases":[{"username":"example","first_seen":"2026-06-24T00:00:00.000Z","last_seen":"2026-08-29T00:00:00.000Z"},{"username":"example_old","first_seen":"2026-06-24T00:00:00.000Z","last_seen":"2026-07-02T00:00:00.000Z"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"username","in":"path","required":true,"description":"Any username the channel holds, without the @.","schema":{"type":"string","examples":["durov"]}}],"x-notes":["These are not necessarily renames. Telegram allows a channel to hold several usernames simultaneously, so overlapping windows mean the names were held together rather than changed between. The endpoint reports the dates and draws no conclusion.","Across a 200,000 row sample, 99.2 percent of channels hold exactly one username. A long list of unrelated handles is unusual and worth looking at, which is most of this endpoint's value.","Only usernames observed by our crawler are listed. A name dropped before we first saw the channel is not recoverable."],"x-scope":"directory:read","x-credits":1}},"/insights/telegram/{username}/audience-quality":{"get":{"operationId":"insights.telegram.audienceQuality","summary":"Whether a channel's subscribers and its post views moved together","description":"The Telegram rollup records a channel's subscriber count and its average post views on the same row of the same day, and this is the only endpoint that reads the pair. Separately they are already served: activity is the views axis and growth-quality is the subscriber axis. Neither can say whether the two moved together, which is the actual question. Subscribers climbing while views sit still means people were added who do not open the channel. Subscribers falling while views climb means dormant accounts are being shed. Both shapes are here and nowhere else.\n\nRequired scope: `insights:read` (Insights).\n\n- Only days carrying BOTH columns take part. A day the crawler could not read the channel's public preview has no avg_views, and it is dropped rather than read as zero: pairing across it would attribute one series' movement to the other's absence. Read window.days_observed as the denominator for everything else.\n- shape is two signs and a sentence, never a verdict. A channel whose subscribers rose while views fell has the same shape whether it bought a subscriber list or had a viral week that has since passed, and this endpoint will not pretend to tell those apart. change_pct sits beside each direction so the caller can judge the size.\n- projection is the one derived number here. It takes the views-per-subscriber ratio measured on the FIRST observed day, applies it to the subscriber count on the LAST, and reports the difference against what the channel actually pulls. A large negative gap means the audience added since the first day is not watching at the rate the earlier audience did.\n- A ratio above 1.0 is common and is not proof of a real audience: forwards, cross-posts and paid promotion all deliver views from outside the subscriber list. For the ratio ranked against channels of the same size, use GET /insights/telegram/{username}/reach.\n- measurable is false with reason not_a_channel for groups, because Telegram publishes no per-post view count for them, and with reason insufficient_paired_history under four paired days. Neither is an error and neither is scored as zero.\n- Coverage measured on production 2026-08-31: 480 of the 500 largest channels (96%) hold at least seven paired days inside a 30 day window, at a mean of 22.0 paired days each. Across the whole daily table 84.4% of the rows written in the last seven days carry avg_views.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"username":{"type":"string"},"chat_id":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"subscribers":{"type":"integer"},"avg_views":{"type":"integer"},"posts_per_day":{"type":"number"},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"number"},"longest_gap_days":{"type":"integer"}}},"measurable":{"type":"boolean"},"reason":{"description":"Null in the example; the type is not inferable from it."},"audience":{"type":"object","properties":{"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"change":{"type":"integer"},"change_pct":{"type":"number"},"direction":{"type":"string"}}},"reach":{"type":"object","properties":{"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"change":{"type":"integer"},"change_pct":{"type":"number"},"direction":{"type":"string"}}},"reach_ratio":{"type":"object","properties":{"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"number"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"number"}}},"change":{"type":"number"},"change_pct":{"type":"number"},"direction":{"type":"string"},"median":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"}}},"shape":{"type":"object","properties":{"audience":{"type":"string"},"reach":{"type":"string"},"key":{"type":"string"},"statement":{"type":"string"}}},"projection":{"type":"object","properties":{"basis_day":{"type":"string","format":"date"},"basis_ratio":{"type":"number"},"expected_reach":{"type":"integer"},"actual_reach":{"type":"integer"},"gap":{"type":"integer"},"gap_pct":{"type":"number"}}},"freshness":{"type":"object","properties":{"last_observed_day":{"type":"string","format":"date"},"data_age_days":{"type":"integer"},"channel_last_seen":{"type":"string","format":"date-time"}}},"series":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"subscribers":{"type":"integer"},"avg_views":{"type":"integer"},"reach_ratio":{"type":"number"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"username":"toncoin","chat_id":"-1001233043722","title":"Gram of TON","type":"channel","status":"active","subscribers":6863255,"avg_views":383000,"posts_per_day":0.17,"window":{"requested_days":30,"from":"2026-08-01","to":"2026-08-31","days_observed":23,"days_spanned":31,"coverage_pct":74.2,"longest_gap_days":7},"measurable":true,"reason":null,"audience":{"first":{"day":"2026-08-01","value":7142642},"latest":{"day":"2026-08-31","value":6863735},"change":-278907,"change_pct":-3.9,"direction":"down"},"reach":{"first":{"day":"2026-08-01","value":340776},"latest":{"day":"2026-08-31","value":382882},"change":42106,"change_pct":12.36,"direction":"up"},"reach_ratio":{"first":{"day":"2026-08-01","value":0.04771},"latest":{"day":"2026-08-31","value":0.05578},"change":0.00807,"change_pct":16.92,"direction":"up","median":0.05277,"min":0.04771,"max":0.05578},"shape":{"audience":"down","reach":"up","key":"audience_down_reach_up","statement":"Subscribers fell while post views rose. The list is shrinking and what remains is more attentive, which is what shedding dormant accounts looks like."},"projection":{"basis_day":"2026-08-01","basis_ratio":0.04771,"expected_reach":327469,"actual_reach":382882,"gap":55413,"gap_pct":16.92},"freshness":{"last_observed_day":"2026-08-31","data_age_days":0,"channel_last_seen":"2026-08-31T12:09:24.441Z"},"series":[{"day":"2026-08-30","subscribers":6878417,"avg_views":381352,"reach_ratio":0.05544},{"day":"2026-08-31","subscribers":6863735,"avg_views":382882,"reach_ratio":0.05578}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"username","in":"path","required":true,"description":"Public @username or a t.me link.","schema":{"type":"string","examples":["toncoin"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no channel can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["Only days carrying BOTH columns take part. A day the crawler could not read the channel's public preview has no avg_views, and it is dropped rather than read as zero: pairing across it would attribute one series' movement to the other's absence. Read window.days_observed as the denominator for everything else.","shape is two signs and a sentence, never a verdict. A channel whose subscribers rose while views fell has the same shape whether it bought a subscriber list or had a viral week that has since passed, and this endpoint will not pretend to tell those apart. change_pct sits beside each direction so the caller can judge the size.","projection is the one derived number here. It takes the views-per-subscriber ratio measured on the FIRST observed day, applies it to the subscriber count on the LAST, and reports the difference against what the channel actually pulls. A large negative gap means the audience added since the first day is not watching at the rate the earlier audience did.","A ratio above 1.0 is common and is not proof of a real audience: forwards, cross-posts and paid promotion all deliver views from outside the subscriber list. For the ratio ranked against channels of the same size, use GET /insights/telegram/{username}/reach.","measurable is false with reason not_a_channel for groups, because Telegram publishes no per-post view count for them, and with reason insufficient_paired_history under four paired days. Neither is an error and neither is scored as zero.","Coverage measured on production 2026-08-31: 480 of the 500 largest channels (96%) hold at least seven paired days inside a 30 day window, at a mean of 22.0 paired days each. Across the whole daily table 84.4% of the rows written in the last seven days carry avg_views."],"x-scope":"insights:read","x-credits":1}},"/insights/telegram/{username}/name-history":{"get":{"operationId":"insights.telegram.nameHistory","summary":"Every username a channel has held, and which ones it gave up","description":"Telegram lets a channel change its public username and lets it hold several at once, and the two look identical in a flat list of aliases. This separates them. A name still seen in the newest crawl is an alias the channel holds; a name whose last sighting stopped while another kept moving is a name the channel dropped, which is a rename. A channel that has traded its name is a different asset from one that has not, and the response carries the measured base rate so a caller knows how unusual the answer is.\n\nRequired scope: `insights:read` (Insights).\n\n- first_seen is when the ENGINE first saw the name, never when the channel adopted it. observation.engine_watching_since is 2026-06-09 and a rename that happened before that date is invisible here. Treat a first_seen equal to that date as 'at least this old' rather than as an origin.\n- latest_drop_observed_at is an upper bound, not a date. It is the last crawl that still saw a dropped name in use, so the change happened at or after it. The channel's crawl cadence sets how tight that bound is.\n- status is held when a name was seen in the same crawl as the newest name (within one hour of it) and dropped otherwise. The crawler writes all of a channel's usernames in one pass, sub-second apart, so an hour separates the two cases without being sensitive to where the boundary sits.\n- Holding several usernames at once is normal and is not a rename. renamed is true only when a name stopped being seen while another kept being seen.\n- The base rate is what makes the answer readable. Measured over the 2,000 largest channels on 2026-08-31: 1,849 (92.5%) hold exactly one username, 151 (7.6%) hold more than one, and 81 (4.1%) no longer use the first name the engine recorded. It is re-measured by hand rather than live, because the catalog-wide version of that scan does not finish inside a request.\n- This addresses a channel by its CURRENT username. Looking up a name a channel has already given up needs an index on lower(username) over tgdir_chat_usernames that does not exist yet: today that lookup is a sequential scan of 3.13M rows, measured at 9.9s.\n- GET /identity/telegram/{username}/aliases returns the same rows as a flat array without the held / dropped split, and is the right call when all you want is the list.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"username":{"type":"string"},"chat_id":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"subscribers":{"type":"integer"},"current_username":{"type":"string"},"names_recorded":{"type":"integer"},"names_held":{"type":"integer"},"names_dropped":{"type":"integer"},"renamed":{"type":"boolean"},"latest_drop_observed_at":{"type":"string","format":"date-time"},"names":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"is_current":{"type":"boolean"},"status":{"type":"string"},"first_seen":{"type":"string","format":"date-time"},"last_seen":{"type":"string","format":"date-time"},"last_seen_days_ago":{"type":"integer"}}}},"observation":{"type":"object","properties":{"first_seen":{"type":"string","format":"date-time"},"last_seen":{"type":"string","format":"date-time"},"engine_watching_since":{"type":"string","format":"date"}}},"base_rate":{"type":"object","properties":{"measured_on":{"type":"string","format":"date"},"sample":{"type":"string"},"sample_size":{"type":"integer"},"one_name_pct":{"type":"number"},"more_than_one_name_pct":{"type":"number"},"no_longer_original_name_pct":{"type":"number"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"username":"toncoin","chat_id":"-1001233043722","title":"Gram of TON","type":"channel","status":"active","subscribers":6863255,"current_username":"toncoin","names_recorded":2,"names_held":1,"names_dropped":1,"renamed":true,"latest_drop_observed_at":"2026-08-01T00:03:16.620Z","names":[{"username":"toncoin","is_current":true,"status":"held","first_seen":"2026-06-09T12:13:05.037Z","last_seen":"2026-08-31T12:09:24.653Z","last_seen_days_ago":0},{"username":"gram","is_current":false,"status":"dropped","first_seen":"2026-06-22T13:40:20.657Z","last_seen":"2026-08-01T00:03:16.620Z","last_seen_days_ago":30}],"observation":{"first_seen":"2026-06-09T12:13:05.037Z","last_seen":"2026-08-31T12:09:24.653Z","engine_watching_since":"2026-06-09"},"base_rate":{"measured_on":"2026-08-31","sample":"the 2,000 largest channels by subscribers","sample_size":2000,"one_name_pct":92.5,"more_than_one_name_pct":7.6,"no_longer_original_name_pct":4.1}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"username","in":"path","required":true,"description":"Public @username or a t.me link. The channel's CURRENT username.","schema":{"type":"string","examples":["toncoin"]}}],"x-notes":["first_seen is when the ENGINE first saw the name, never when the channel adopted it. observation.engine_watching_since is 2026-06-09 and a rename that happened before that date is invisible here. Treat a first_seen equal to that date as 'at least this old' rather than as an origin.","latest_drop_observed_at is an upper bound, not a date. It is the last crawl that still saw a dropped name in use, so the change happened at or after it. The channel's crawl cadence sets how tight that bound is.","status is held when a name was seen in the same crawl as the newest name (within one hour of it) and dropped otherwise. The crawler writes all of a channel's usernames in one pass, sub-second apart, so an hour separates the two cases without being sensitive to where the boundary sits.","Holding several usernames at once is normal and is not a rename. renamed is true only when a name stopped being seen while another kept being seen.","The base rate is what makes the answer readable. Measured over the 2,000 largest channels on 2026-08-31: 1,849 (92.5%) hold exactly one username, 151 (7.6%) hold more than one, and 81 (4.1%) no longer use the first name the engine recorded. It is re-measured by hand rather than live, because the catalog-wide version of that scan does not finish inside a request.","This addresses a channel by its CURRENT username. Looking up a name a channel has already given up needs an index on lower(username) over tgdir_chat_usernames that does not exist yet: today that lookup is a sequential scan of 3.13M rows, measured at 9.9s.","GET /identity/telegram/{username}/aliases returns the same rows as a flat array without the held / dropped split, and is the right call when all you want is the list."],"x-scope":"insights:read","x-credits":1}},"/insights/youtube/{handle}/benchmark":{"get":{"operationId":"insights.youtube.benchmark","summary":"A channel's view velocity, ranked against channels its own size","description":"YouTube subscriber counts are rounded at the source and lifetime view counts are not, so views are the only exact series this platform gives us. Differencing them across a fortnight gives views per day, and this ranks that figure inside the percentile ladder for channels in the same subscriber band. It answers the question the activity endpoint deliberately leaves open: whether 1.8 million views a day is a lot for a channel this size.\n\nRequired scope: `insights:read` (Insights).\n\n- The floor is one million subscribers and it is a measurement, not a pricing decision. Daily-series coverage in the 30 days to 2026-08-31: every one of the 463 channels above 10M and all 4,425 between 1M and 10M had 14 or more observed days; of the 10,421 channels between 300k and 1M only 261 did; below 100k not a single channel had one. The crawler writes 5,000 to 8,000 rows a day against a 35,149 channel catalog and spends them at the head. A percentile from the 300k-1M band would rank a channel against the fifth of its peers that happen to be crawled, so the endpoint refuses instead, with placement.reason = below_coverage_floor.\n- views_per_day is (last observed total - first observed total) / days spanned, not a mean of daily deltas. Two consecutive rows carrying an identical lifetime view count are common and mean the upstream returned a cached figure, not that the channel had a day with no views. Endpoint differencing is immune to that; averaging deltas is not.\n- cohort.quantiles is a 101 point ladder, p0 through p100, and placement.percentile is read off it rather than interpolated between the five headline figures. cohort.measured is the ladder's real n; quote it rather than cohort.channels.\n- The bottom of every ladder reads zero, and that is a real measurement rather than a missing one: 15 of the 463 channels above 10M subscribers (3.2%), 34 of 1,426 in 3M-10M (2.4%) and 81 of 2,999 in 1M-3M (2.7%) added no views at all across the 14 days to 2026-08-31. A channel that stopped is still a channel in the band, so it stays in the population being ranked against.\n- The ladder is rebuilt at most every thirty minutes and ladder_computed_at says when. It moves slowly: the 10M+ median measured 1,772,605 views a day over a 14 day window and 1,731,396 over a 7 day one.\n- views_per_day_per_1k_subscribers divides an exact number by a rounded one and inherits the rounding, which is exactly why the ladder is built on views_per_day instead. Use it to compare a channel with itself, not with another channel.\n- views_per_video is a lifetime average over the whole back catalogue, so it is dominated by whatever the channel published years ago. It is a level, it is not part of the ladder, and it is not a measure of current performance.\n- There is no subscriber growth endpoint for YouTube for the same reason: every subscriber count we hold is a multiple of ten. GET /insights/activity/platforms carries that measurement in full.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel_id":{"type":"string"},"handle":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"subscribers":{"type":"integer"},"subscribers_precision":{"type":"string"},"hidden_subscribers":{"type":"boolean"},"lifetime_views":{"type":"integer"},"videos":{"type":"integer"},"views_per_video":{"type":"number"},"published_at":{"type":"string","format":"date-time"},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"integer"},"longest_gap_days":{"type":"integer"}}},"velocity":{"type":"object","properties":{"measured":{"type":"boolean"},"reason":{"description":"Null in the example; the type is not inferable from it."},"views_per_day":{"type":"number"},"views_per_day_per_1k_subscribers":{"type":"number"},"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}}}},"cohort":{"type":"object","properties":{"band":{"type":"string"},"label":{"type":"string"},"min_subscribers":{"type":"integer"},"max_subscribers":{"description":"Null in the example; the type is not inferable from it."},"channels":{"type":"integer"},"measured":{"type":"integer"},"coverage_pct":{"type":"integer"},"percentiles":{"type":"object","properties":{"p10":{"type":"number"},"p25":{"type":"integer"},"p50":{"type":"number"},"p75":{"type":"number"},"p90":{"type":"number"}}},"quantiles":{"type":"array","items":{"type":"integer"}}}},"placement":{"type":"object","properties":{"benchmarked":{"type":"boolean"},"reason":{"description":"Null in the example; the type is not inferable from it."},"percentile":{"type":"integer"},"vs_median":{"type":"number"},"ladder_computed_at":{"type":"string","format":"date-time"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel_id":"UCHnyfMqiRRG1u-2MsSQLbXA","handle":"veritasium","title":"Veritasium","status":"active","subscribers":21200000,"subscribers_precision":"rounded","hidden_subscribers":false,"lifetime_views":4504635300,"videos":515,"views_per_video":8746864.7,"published_at":"2010-07-21T07:18:02.000Z","window":{"requested_days":14,"from":"2026-08-17","to":"2026-08-31","days_observed":15,"days_spanned":15,"coverage_pct":100,"longest_gap_days":0},"velocity":{"measured":true,"reason":null,"views_per_day":1868892.7,"views_per_day_per_1k_subscribers":88.15,"first":{"day":"2026-08-17","value":4478470802},"latest":{"day":"2026-08-31","value":4504635300}},"cohort":{"band":"10m_plus","label":"10M+ subscribers","min_subscribers":10000000,"max_subscribers":null,"channels":463,"measured":463,"coverage_pct":100,"percentiles":{"p10":80274.7,"p25":547474,"p50":1772605.1,"p75":4170286.6,"p90":10412050.8},"quantiles":[0,0,0,0]},"placement":{"benchmarked":true,"reason":null,"percentile":51,"vs_median":1.054,"ladder_computed_at":"2026-08-31T14:20:11.402Z"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"YouTube handle without the @, or a UC... channel id.","schema":{"type":"string","examples":["veritasium"]}}],"x-notes":["The floor is one million subscribers and it is a measurement, not a pricing decision. Daily-series coverage in the 30 days to 2026-08-31: every one of the 463 channels above 10M and all 4,425 between 1M and 10M had 14 or more observed days; of the 10,421 channels between 300k and 1M only 261 did; below 100k not a single channel had one. The crawler writes 5,000 to 8,000 rows a day against a 35,149 channel catalog and spends them at the head. A percentile from the 300k-1M band would rank a channel against the fifth of its peers that happen to be crawled, so the endpoint refuses instead, with placement.reason = below_coverage_floor.","views_per_day is (last observed total - first observed total) / days spanned, not a mean of daily deltas. Two consecutive rows carrying an identical lifetime view count are common and mean the upstream returned a cached figure, not that the channel had a day with no views. Endpoint differencing is immune to that; averaging deltas is not.","cohort.quantiles is a 101 point ladder, p0 through p100, and placement.percentile is read off it rather than interpolated between the five headline figures. cohort.measured is the ladder's real n; quote it rather than cohort.channels.","The bottom of every ladder reads zero, and that is a real measurement rather than a missing one: 15 of the 463 channels above 10M subscribers (3.2%), 34 of 1,426 in 3M-10M (2.4%) and 81 of 2,999 in 1M-3M (2.7%) added no views at all across the 14 days to 2026-08-31. A channel that stopped is still a channel in the band, so it stays in the population being ranked against.","The ladder is rebuilt at most every thirty minutes and ladder_computed_at says when. It moves slowly: the 10M+ median measured 1,772,605 views a day over a 14 day window and 1,731,396 over a 7 day one.","views_per_day_per_1k_subscribers divides an exact number by a rounded one and inherits the rounding, which is exactly why the ladder is built on views_per_day instead. Use it to compare a channel with itself, not with another channel.","views_per_video is a lifetime average over the whole back catalogue, so it is dominated by whatever the channel published years ago. It is a level, it is not part of the ladder, and it is not a measure of current performance.","There is no subscriber growth endpoint for YouTube for the same reason: every subscriber count we hold is a multiple of ten. GET /insights/activity/platforms carries that measurement in full."],"x-scope":"insights:read","x-credits":1}},"/insights/youtube/view-velocity-bands":{"get":{"operationId":"insights.youtube.velocityBands","summary":"The view-velocity ladders every YouTube benchmark is read against","description":"The three subscriber bands a channel's views per day is ranked inside, each with its percentile ladder, how many channels stand behind it, what share of those carry a usable series, and when it was last rebuilt. Published so a percentile is never a number with an invisible population behind it.\n\nRequired scope: `insights:read` (Insights).\n\n- measured is the ladder's real n and channels is the whole band. Both are returned because coverage is the thing a caller has to decide whether to trust, and an inner join would have reported 100% coverage of the channels that happen to be covered.\n- quantiles is 101 points, p0 through p100, in views per day. The example truncates it to the first four, which really are zero or close to it: 2.4% to 3.2% of the channels in each band added no views at all across the 14 days to 2026-08-31, and a channel that stopped is still a channel in the band.\n- There is no band below one million subscribers. Coverage collapses there: 261 of 10,421 channels between 300k and 1M had 14 or more observed days in the 30 to 2026-08-31, and zero of the 19,779 channels below 100k had any. GET /insights/youtube/{handle}/benchmark answers below_coverage_floor rather than ranking against a fifth of a band.\n- An empty bands array is a defined state rather than an error: it means the daily rollup has not written anything in this environment, and every benchmark will answer band_not_built until it has.\n- The window is 14 days. Every channel placed against these ladders is measured over the same 14 days with the same minimum of five observed days, so the comparison is like for like.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"window_days":{"type":"integer"},"floor_subscribers":{"type":"integer"},"computed_at":{"type":"string","format":"date-time"},"bands":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"label":{"type":"string"},"min_subscribers":{"type":"integer"},"max_subscribers":{"type":"integer"},"channels":{"type":"integer"},"measured":{"type":"integer"},"coverage_pct":{"type":"integer"},"percentiles":{"type":"object","properties":{"p10":{"type":"number"},"p25":{"type":"number"},"p50":{"type":"number"},"p75":{"type":"number"},"p90":{"type":"number"}}},"quantiles":{"type":"array","items":{"type":"number"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"window_days":14,"floor_subscribers":1000000,"computed_at":"2026-08-31T14:20:11.402Z","bands":[{"band":"1m_3m","label":"1M-3M subscribers","min_subscribers":1000000,"max_subscribers":3000000,"channels":2999,"measured":2999,"coverage_pct":100,"percentiles":{"p10":2770.8,"p25":21300,"p50":89497.4,"p75":274534.9,"p90":664581},"quantiles":[0,0,0,100.4]},{"band":"3m_10m","label":"3M-10M subscribers","min_subscribers":3000000,"max_subscribers":10000000,"channels":1426,"measured":1426,"coverage_pct":100,"percentiles":{"p10":12939.3,"p25":85835.8,"p50":346805.3,"p75":961722,"p90":2067246.3},"quantiles":[0,0,0,744.1]}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["measured is the ladder's real n and channels is the whole band. Both are returned because coverage is the thing a caller has to decide whether to trust, and an inner join would have reported 100% coverage of the channels that happen to be covered.","quantiles is 101 points, p0 through p100, in views per day. The example truncates it to the first four, which really are zero or close to it: 2.4% to 3.2% of the channels in each band added no views at all across the 14 days to 2026-08-31, and a channel that stopped is still a channel in the band.","There is no band below one million subscribers. Coverage collapses there: 261 of 10,421 channels between 300k and 1M had 14 or more observed days in the 30 to 2026-08-31, and zero of the 19,779 channels below 100k had any. GET /insights/youtube/{handle}/benchmark answers below_coverage_floor rather than ranking against a fifth of a band.","An empty bands array is a defined state rather than an error: it means the daily rollup has not written anything in this environment, and every benchmark will answer band_not_built until it has.","The window is 14 days. Every channel placed against these ladders is measured over the same 14 days with the same minimum of five observed days, so the comparison is like for like."],"x-scope":"insights:read","x-credits":1}},"/insights/bluesky/{handle}/posting-impact":{"get":{"operationId":"insights.bluesky.postingImpact","summary":"What an account gains on the days it posts against the days it does not","description":"The Bluesky rollup records an account's follower count and its post count on the same row of the same day, so every day in the window can be labelled as one the account published on or one it stayed quiet on, and the follower gain on each group compared. Bluesky publishes no per-post view or like count, so nothing here says how a post performed. What it does say is whether publishing moves this account's follower number at all, measured against the account itself rather than against a cohort.\n\nRequired scope: `insights:read` (Insights).\n\n- Only steps between two CONSECUTIVE observed days are used. A step spanning a crawl gap cannot be attributed to a posting day or a silent one, so it is excluded and counted in steps_skipped_over_gaps rather than folded into either group.\n- This is association, not causation, and the sample is one account over at most 90 days. A high median_ratio says the account's follower number moved more on its publishing days across this window; it does not establish that the posts caused it, and a single news cycle can produce the same reading.\n- An empty group carries nulls, never zeros. An account that published every day in the window has silent_days: 0 and every silent-day statistic null, because not measured and no gain are different claims.\n- A day where the post count went DOWN is a day of deletions. It belongs in neither group and is reported on its own as deleting_days.\n- posts_published is the sum of the daily increases, so a day that both published and deleted is under-counted. It is the net movement of the account's own post counter, which is the only thing the engine records.\n- Bluesky follower counts are exact to the digit. On the freshest day 89.9% of 36,975 values were not multiples of ten, which is what chance gives for unrounded integers, so these gains are measurements rather than rounding steps.\n- Measured support for the split, on production 2026-08-31 over the 300 largest accounts and their 8,991 consecutive-day steps in a 30 day window: 5,156 steps published at least one post, 3,815 published none, 20 went backwards on a deletion, and 245 of the 300 accounts had at least one silent day.\n- Bluesky handles are rented and can move between accounts. The largest matching account wins the lookup, matching GET /directory/bluesky/{id}. Pass a did:plc: identifier to address one account for certain.\n- measurable is false with reason insufficient_history under six usable steps. 35,279 of the 134,530 accounts that have any series at all had 30 or more observed days on 2026-08-30, and 4,992 of the top 5,000 by followers did.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"did":{"type":"string"},"handle":{"type":"string"},"display_name":{"type":"string"},"status":{"type":"string"},"followers":{"type":"integer"},"follows":{"type":"integer"},"posts":{"type":"integer"},"account_created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"integer"},"longest_gap_days":{"type":"integer"}}},"measurable":{"type":"boolean"},"reason":{"description":"Null in the example; the type is not inferable from it."},"cadence":{"type":"object","properties":{"steps_used":{"type":"integer"},"steps_skipped_over_gaps":{"type":"integer"},"posting_days":{"type":"integer"},"silent_days":{"type":"integer"},"deleting_days":{"type":"integer"},"active_day_pct":{"type":"number"},"posts_published":{"type":"integer"},"posts_per_active_day":{"type":"number"},"longest_silence_days":{"type":"integer"}}},"follower_gain":{"type":"object","properties":{"on_posting_days":{"type":"object","properties":{"days":{"type":"integer"},"median":{"type":"integer"},"mean":{"type":"number"},"total":{"type":"integer"},"best":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"}}},"worst":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"}}}}},"on_silent_days":{"type":"object","properties":{"days":{"type":"integer"},"median":{"type":"integer"},"mean":{"type":"number"},"total":{"type":"integer"},"best":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"}}},"worst":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"}}}}},"median_difference":{"type":"integer"},"median_ratio":{"type":"number"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"did":"did:plc:lotavzt36yanhfy3j3gpysyj","handle":"jamesgunn.bsky.social","display_name":"James Gunn","status":"active","followers":352753,"follows":77,"posts":1195,"account_created_at":"2023-04-23T19:37:16.346Z","account_age_days":1226,"window":{"requested_days":30,"from":"2026-08-01","to":"2026-08-31","days_observed":31,"days_spanned":31,"coverage_pct":100,"longest_gap_days":0},"measurable":true,"reason":null,"cadence":{"steps_used":30,"steps_skipped_over_gaps":0,"posting_days":11,"silent_days":19,"deleting_days":0,"active_day_pct":36.7,"posts_published":15,"posts_per_active_day":1.36,"longest_silence_days":4},"follower_gain":{"on_posting_days":{"days":11,"median":58,"mean":59.8,"total":658,"best":{"day":"2026-08-12","change":105},"worst":{"day":"2026-08-17","change":30}},"on_silent_days":{"days":19,"median":39,"mean":39.8,"total":756,"best":{"day":"2026-08-09","change":74},"worst":{"day":"2026-08-11","change":20}},"median_difference":19,"median_ratio":1.487}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Bluesky handle such as nytimes.com, or a did:plc: identifier.","schema":{"type":"string","examples":["jamesgunn.bsky.social"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no account can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["Only steps between two CONSECUTIVE observed days are used. A step spanning a crawl gap cannot be attributed to a posting day or a silent one, so it is excluded and counted in steps_skipped_over_gaps rather than folded into either group.","This is association, not causation, and the sample is one account over at most 90 days. A high median_ratio says the account's follower number moved more on its publishing days across this window; it does not establish that the posts caused it, and a single news cycle can produce the same reading.","An empty group carries nulls, never zeros. An account that published every day in the window has silent_days: 0 and every silent-day statistic null, because not measured and no gain are different claims.","A day where the post count went DOWN is a day of deletions. It belongs in neither group and is reported on its own as deleting_days.","posts_published is the sum of the daily increases, so a day that both published and deleted is under-counted. It is the net movement of the account's own post counter, which is the only thing the engine records.","Bluesky follower counts are exact to the digit. On the freshest day 89.9% of 36,975 values were not multiples of ten, which is what chance gives for unrounded integers, so these gains are measurements rather than rounding steps.","Measured support for the split, on production 2026-08-31 over the 300 largest accounts and their 8,991 consecutive-day steps in a 30 day window: 5,156 steps published at least one post, 3,815 published none, 20 went backwards on a deletion, and 245 of the 300 accounts had at least one silent day.","Bluesky handles are rented and can move between accounts. The largest matching account wins the lookup, matching GET /directory/bluesky/{id}. Pass a did:plc: identifier to address one account for certain.","measurable is false with reason insufficient_history under six usable steps. 35,279 of the 134,530 accounts that have any series at all had 30 or more observed days on 2026-08-30, and 4,992 of the top 5,000 by followers did."],"x-scope":"insights:read","x-credits":1}},"/insights/instagram/{handle}":{"get":{"operationId":"insights.instagram.engagement","summary":"Measured Instagram engagement, placed against its cohort","description":"Instagram is the one catalog whose crawl returns per-post like and comment counts, so this rate is measured rather than modelled. The response pairs the account's own numbers with the distribution of accounts its own size, because 'is 4.2% good' is only answerable next to the population it is being compared with - and that population is published alongside the answer rather than assumed.\n\nRequired scope: `insights:read` (Insights).\n\n- engagement.measured is false when the crawl has not been able to read this account's posts. Every number in the block is then null: not measured is not the same claim as zero engagement, and this API never collapses the two.\n- rate is interactions per follower per post, in percent, over the twelve most recent posts the crawl read. It is not a lifetime average.\n- cohort is a bounded sample, not a census: up to 5,000 accounts in the 0.4x-2.5x follower band around this one, read in follower order. `scanned` is how many rows were read and `measured` is how many of those carry a rate - the percentiles' real n. Quote `measured`, not `scanned`.\n- The mean is carried beside the median deliberately. On a distribution this skewed the mean sits well above it, and that gap is the reason to quote the median.\n- An account the catalog has never reached answers 404. Use GET /accounts/instagram/{handle}/live to read one directly.\n- There is no equivalent endpoint for Bluesky, YouTube or TikTok. Those engines store profile counters and daily snapshots but nothing post-level, so any engagement rate we published for them would be a follower ratio wearing a measurement's clothes.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"account":{"type":"object","properties":{"user_id":{"type":"string"},"handle":{"type":"string"},"full_name":{"type":"string"},"url":{"type":"string"},"avatar_url":{"type":"string"},"followers":{"type":"integer"},"following":{"type":"integer"},"posts":{"type":"integer"},"verified":{"type":"boolean"},"private":{"type":"boolean"},"business":{"type":"boolean"},"ig_category":{"type":"string"},"category":{"type":"string"},"language":{"type":"string"},"tier":{"type":"string"},"status":{"type":"string"},"last_post_at":{"type":"string","format":"date-time"},"last_seen":{"type":"string","format":"date-time"},"data_age_s":{"type":"integer"}}},"engagement":{"type":"object","properties":{"measured":{"type":"boolean"},"rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_comments":{"type":"integer"},"avg_interactions":{"type":"integer"},"posts_analyzed":{"type":"integer"}}},"cohort":{"type":"object","properties":{"band":{"type":"object","properties":{"min_followers":{"type":"integer"},"max_followers":{"type":"integer"}}},"scanned":{"type":"integer"},"measured":{"type":"integer"},"percentile":{"type":"integer"},"percentiles":{"type":"object","properties":{"p10":{"type":"number"},"p25":{"type":"number"},"p50":{"type":"number"},"p75":{"type":"number"},"p90":{"type":"number"}}},"mean":{"type":"number"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"nasa","account":{"user_id":"528817151","handle":"nasa","full_name":"NASA","url":"https://www.instagram.com/nasa/","avatar_url":"https://scontent.cdninstagram.com/v/t51.2885-19/...","followers":104443318,"following":78,"posts":4318,"verified":true,"private":false,"business":true,"ig_category":"Government Organization","category":"science","language":"en","tier":"a","status":"active","last_post_at":"2026-08-29T18:02:44.000Z","last_seen":"2026-08-30T04:02:11.000Z","data_age_s":18711},"engagement":{"measured":true,"rate":0.4213,"avg_likes":402118,"avg_comments":2904,"avg_interactions":405022,"posts_analyzed":12},"cohort":{"band":{"min_followers":41777327,"max_followers":261108295},"scanned":812,"measured":774,"percentile":63,"percentiles":{"p10":0.0611,"p25":0.1402,"p50":0.3118,"p75":0.7204,"p90":1.4402},"mean":0.6119}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Instagram handle, with or without the @.","schema":{"type":"string","examples":["nasa"]}}],"x-notes":["engagement.measured is false when the crawl has not been able to read this account's posts. Every number in the block is then null: not measured is not the same claim as zero engagement, and this API never collapses the two.","rate is interactions per follower per post, in percent, over the twelve most recent posts the crawl read. It is not a lifetime average.","cohort is a bounded sample, not a census: up to 5,000 accounts in the 0.4x-2.5x follower band around this one, read in follower order. `scanned` is how many rows were read and `measured` is how many of those carry a rate - the percentiles' real n. Quote `measured`, not `scanned`.","The mean is carried beside the median deliberately. On a distribution this skewed the mean sits well above it, and that gap is the reason to quote the median.","An account the catalog has never reached answers 404. Use GET /accounts/instagram/{handle}/live to read one directly.","There is no equivalent endpoint for Bluesky, YouTube or TikTok. Those engines store profile counters and daily snapshots but nothing post-level, so any engagement rate we published for them would be a follower ratio wearing a measurement's clothes."],"x-scope":"insights:read","x-credits":1}},"/insights/telegram/{username}/reach":{"get":{"operationId":"insights.telegram.reach","summary":"How many subscribers actually see a Telegram post","description":"Telegram publishes per-post view counts, which makes it the one platform where the gap between an audience and its attention is directly observable. This scores a channel's average views against its own subscriber count and ranks that ratio inside the percentile ladder for channels of the same size. It is the strongest signal we have anywhere that a subscriber list was bought rather than earned.\n\nRequired scope: `insights:read` (Insights).\n\n- score.scored is false whenever the ratio cannot be ranked, and `reason` says which of four things happened: no_view_sample (the crawler has never seen a post view count), not_a_channel (Telegram publishes no per-post views for groups), below_floor (under 1,000 subscribers the ratio is too noisy to rank) and no_benchmark (the ladder for that size has not been built). None of those is an error and none of them is scored as zero.\n- ratio is average views divided by subscribers. It is computed from the two stored inputs rather than read from the engine's own engagement column, which is still being backfilled and would make the score appear for some channels and not others for no visible reason.\n- A ratio above 1.0 is common and is not proof of a real audience: forwards, cross-posts and paid promotion all deliver views from outside the subscriber list. That is what the `amplified` verdict says out loud.\n- The percentile is against tracked channels in the same size band, not against Telegram. GET /insights/telegram/reach-bands publishes those ladders with their sample sizes and rebuild timestamps.\n- This lookup deliberately does not apply the directory's active/channel scope: someone checking a handle wants to hear 'this is a group' or 'this channel is no longer public' rather than a blank miss.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"username":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"subscribers":{"type":"integer"},"avg_views":{"type":"integer"},"posts_per_day":{"type":"number"},"last_seen":{"type":"string","format":"date-time"},"score":{"type":"object","properties":{"scored":{"type":"boolean"},"ratio":{"type":"number"},"percentile":{"type":"integer"},"verdict":{"type":"string"},"verdict_label":{"type":"string"},"verdict_summary":{"type":"string"},"avg_views":{"type":"integer"},"subscribers":{"type":"integer"},"band":{"type":"object","properties":{"band":{"type":"string"},"min_subs":{"type":"integer"},"max_subs":{"description":"Null in the example; the type is not inferable from it."},"sample_size":{"type":"integer"},"exact":{"type":"boolean"},"median":{"type":"number"},"computed_at":{"type":"string","format":"date-time"}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"username":"durov","title":"Du rove","type":"channel","subscribers":1402882,"avg_views":402118,"posts_per_day":1.4,"last_seen":"2026-08-30T02:14:00.000Z","score":{"scored":true,"ratio":0.2866,"percentile":94,"verdict":"amplified","verdict_label":"Pushed from outside","verdict_summary":"Each post is seen far more times than this channel has subscribers, so most of the reach is arriving from outside the subscriber list.","avg_views":402118,"subscribers":1402882,"band":{"band":"500k+","min_subs":500000,"max_subs":null,"sample_size":1193,"exact":true,"median":0.0383,"computed_at":"2026-08-29T03:00:00.000Z"}}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"username","in":"path","required":true,"description":"Public @username or a t.me link.","schema":{"type":"string","examples":["durov"]}}],"x-notes":["score.scored is false whenever the ratio cannot be ranked, and `reason` says which of four things happened: no_view_sample (the crawler has never seen a post view count), not_a_channel (Telegram publishes no per-post views for groups), below_floor (under 1,000 subscribers the ratio is too noisy to rank) and no_benchmark (the ladder for that size has not been built). None of those is an error and none of them is scored as zero.","ratio is average views divided by subscribers. It is computed from the two stored inputs rather than read from the engine's own engagement column, which is still being backfilled and would make the score appear for some channels and not others for no visible reason.","A ratio above 1.0 is common and is not proof of a real audience: forwards, cross-posts and paid promotion all deliver views from outside the subscriber list. That is what the `amplified` verdict says out loud.","The percentile is against tracked channels in the same size band, not against Telegram. GET /insights/telegram/reach-bands publishes those ladders with their sample sizes and rebuild timestamps.","This lookup deliberately does not apply the directory's active/channel scope: someone checking a handle wants to hear 'this is a group' or 'this channel is no longer public' rather than a blank miss."],"x-scope":"insights:read","x-credits":1}},"/insights/telegram/reach-bands":{"get":{"operationId":"insights.telegram.reachBands","summary":"The reach percentile ladders every Telegram score is read against","description":"The five size bands the reach score ranks a channel inside, each with its full 101-point percentile ladder, the number of channels behind it and when the engine last rebuilt it. Published so a percentile is never a number with an invisible population behind it.\n\nRequired scope: `insights:read` (Insights).\n\n- exact: false means the ladder was built from a TABLESAMPLE of the band rather than the whole of it. The shape is sound; a percentile from it is an estimate.\n- An empty bands array is a defined state, not an error: it means the rollup has not built the ladders in this environment, and every reach score will answer scored: false with reason no_benchmark until it has.\n- floor is the subscriber count below which the ratio is too noisy to rank at all.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"floor":{"type":"integer"},"bands":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"min_subs":{"type":"integer"},"max_subs":{"type":"integer"},"sample_size":{"type":"integer"},"exact":{"type":"boolean"},"median":{"type":"number"},"computed_at":{"type":"string","format":"date-time"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"floor":1000,"bands":[{"band":"20k-100k","min_subs":20000,"max_subs":100000,"sample_size":1116,"exact":false,"median":0.0908,"computed_at":"2026-08-29T03:00:00.000Z"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["exact: false means the ladder was built from a TABLESAMPLE of the band rather than the whole of it. The shape is sound; a percentile from it is an estimate.","An empty bands array is a defined state, not an error: it means the rollup has not built the ladders in this environment, and every reach score will answer scored: false with reason no_benchmark until it has.","floor is the subscriber count below which the ratio is too noisy to rank at all."],"x-scope":"insights:read","x-credits":1}},"/insights/youtube/{handle}/activity":{"get":{"operationId":"insights.youtube.activity","summary":"Daily views earned by one account","description":"The daily history of this account's lifetime channel views, differenced into what it earned each day. The audience count says how many people follow; this says what the account actually got while that number sat still, which is the half that prices a sponsorship.\n\nRequired scope: `insights:read` (Insights).\n\n- views_eod is exact and subscriber counts are not. Across 72,264 daily rows in the ten days to 2026-08-30 every subscriber value we hold was a multiple of ten, because YouTube publishes the count rounded to three significant figures. Views are the number to trust on this platform, which is why this endpoint reads them.\n- The count is the channel's lifetime total, so a day's change is views arriving on everything the channel has ever published, not on that day's upload. It is a measure of ongoing attention, not of one video.\n- per_day_per_1k_audience is views per day for every thousand subscribers. It compares a channel with itself over time; it is not a cross-channel benchmark and there is no cohort behind it.\n- change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.\n- A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.\n- window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.\n- audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.\n- Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"object","properties":{"metric":{"type":"string"},"latest":{"type":"integer"},"precision":{"type":"string"}}},"metric":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string"},"measures":{"type":"string"},"precision":{"type":"string"}}},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"integer"},"longest_gap_days":{"type":"integer"}}},"summary":{"type":"object","properties":{"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"change":{"type":"integer"},"change_pct":{"type":"number"},"per_day":{"type":"integer"},"best_day":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"},"days_covered":{"type":"integer"},"per_day":{"type":"integer"}}},"peak":{"description":"Null in the example; the type is not inferable from it."},"trough":{"description":"Null in the example; the type is not inferable from it."},"per_day_per_1k_audience":{"type":"number"}}},"series":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"},"change":{"type":"integer"},"days_covered":{"type":"integer"},"per_day":{"type":"integer"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"youtube","id":"UCX6OQ3DkcsbYNE6H8uQQuVA","handle":"mrbeast","name":"MrBeast","audience":{"metric":"subscribers","latest":515000000,"precision":"rounded"},"metric":{"key":"views","label":"Lifetime channel views","kind":"cumulative_total","measures":"Views added across the channel's whole back catalogue on that day, not views on new uploads alone.","precision":"exact"},"window":{"requested_days":30,"from":"2026-08-01","to":"2026-08-30","days_observed":30,"days_spanned":30,"coverage_pct":100,"longest_gap_days":0},"summary":{"first":{"day":"2026-08-01","value":135311004112},"latest":{"day":"2026-08-30","value":138536017550},"change":3225013438,"change_pct":2.38,"per_day":111207360,"best_day":{"day":"2026-08-24","change":179293284,"days_covered":1,"per_day":179293284},"peak":null,"trough":null,"per_day_per_1k_audience":215.9},"series":[{"day":"2026-08-29","value":138398053404,"change":111478231,"days_covered":1,"per_day":111478231},{"day":"2026-08-30","value":138536017550,"change":137964146,"days_covered":1,"per_day":137964146}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"YouTube handle without the @, or a UC... channel id.","schema":{"type":"string","examples":["mrbeast"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no account can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["views_eod is exact and subscriber counts are not. Across 72,264 daily rows in the ten days to 2026-08-30 every subscriber value we hold was a multiple of ten, because YouTube publishes the count rounded to three significant figures. Views are the number to trust on this platform, which is why this endpoint reads them.","The count is the channel's lifetime total, so a day's change is views arriving on everything the channel has ever published, not on that day's upload. It is a measure of ongoing attention, not of one video.","per_day_per_1k_audience is views per day for every thousand subscribers. It compares a channel with itself over time; it is not a cross-channel benchmark and there is no cohort behind it.","change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.","A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.","window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.","audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.","Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up."],"x-scope":"insights:read","x-credits":1}},"/insights/tiktok/{handle}/activity":{"get":{"operationId":"insights.tiktok.activity","summary":"Daily likes earned by one account","description":"The daily history of this account's lifetime likes received, differenced into what it earned each day. The audience count says how many people follow; this says what the account actually got while that number sat still, which is the half that prices a sponsorship.\n\nRequired scope: `insights:read` (Insights).\n\n- hearts_eod is exact and follower counts on this platform were not until recently. TikTok follower counts above one million were rounded to the nearest hundred thousand until 2026-08-24 and have been exact at every size since 2026-08-25, so a follower delta straddling that date carries the correction as well as real movement. Likes carry no such break.\n- The count is the account's lifetime total across every video still published, so a day's change is likes arriving on the whole back catalogue. Deleting videos can push it down.\n- History is thinnest here of the four platforms: 2,809 accounts had 30 or more observed days on 2026-08-30, and 2,804 of those are in the top 5,000 by followers. Read window.days_observed before trusting a per-day figure.\n- change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.\n- A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.\n- window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.\n- audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.\n- Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"object","properties":{"metric":{"type":"string"},"latest":{"type":"integer"},"precision":{"type":"string"}}},"metric":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string"},"measures":{"type":"string"},"precision":{"type":"string"}}},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"integer"},"longest_gap_days":{"type":"integer"}}},"summary":{"type":"object","properties":{"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"change":{"type":"integer"},"change_pct":{"type":"number"},"per_day":{"type":"integer"},"best_day":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"},"days_covered":{"type":"integer"},"per_day":{"type":"integer"}}},"peak":{"description":"Null in the example; the type is not inferable from it."},"trough":{"description":"Null in the example; the type is not inferable from it."},"per_day_per_1k_audience":{"type":"number"}}},"series":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"},"change":{"type":"integer"},"days_covered":{"type":"integer"},"per_day":{"type":"integer"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"youtube","id":"UCX6OQ3DkcsbYNE6H8uQQuVA","handle":"mrbeast","name":"MrBeast","audience":{"metric":"subscribers","latest":515000000,"precision":"rounded"},"metric":{"key":"views","label":"Lifetime channel views","kind":"cumulative_total","measures":"Views added across the channel's whole back catalogue on that day, not views on new uploads alone.","precision":"exact"},"window":{"requested_days":30,"from":"2026-08-01","to":"2026-08-30","days_observed":30,"days_spanned":30,"coverage_pct":100,"longest_gap_days":0},"summary":{"first":{"day":"2026-08-01","value":135311004112},"latest":{"day":"2026-08-30","value":138536017550},"change":3225013438,"change_pct":2.38,"per_day":111207360,"best_day":{"day":"2026-08-24","change":179293284,"days_covered":1,"per_day":179293284},"peak":null,"trough":null,"per_day_per_1k_audience":215.9},"series":[{"day":"2026-08-29","value":138398053404,"change":111478231,"days_covered":1,"per_day":111478231},{"day":"2026-08-30","value":138536017550,"change":137964146,"days_covered":1,"per_day":137964146}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"TikTok handle, without the @.","schema":{"type":"string","examples":["khaby.lame"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no account can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["hearts_eod is exact and follower counts on this platform were not until recently. TikTok follower counts above one million were rounded to the nearest hundred thousand until 2026-08-24 and have been exact at every size since 2026-08-25, so a follower delta straddling that date carries the correction as well as real movement. Likes carry no such break.","The count is the account's lifetime total across every video still published, so a day's change is likes arriving on the whole back catalogue. Deleting videos can push it down.","History is thinnest here of the four platforms: 2,809 accounts had 30 or more observed days on 2026-08-30, and 2,804 of those are in the top 5,000 by followers. Read window.days_observed before trusting a per-day figure.","change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.","A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.","window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.","audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.","Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up."],"x-scope":"insights:read","x-credits":1}},"/insights/bluesky/{handle}/activity":{"get":{"operationId":"insights.bluesky.activity","summary":"Daily posts earned by one account","description":"The daily history of this account's lifetime posts published, differenced into what it earned each day. The audience count says how many people follow; this says what the account actually got while that number sat still, which is the half that prices a sponsorship.\n\nRequired scope: `insights:read` (Insights).\n\n- posts_eod is the account's post count, so change is posts published minus posts deleted. A negative day is a clean-up, not a bug, and it is reported rather than clamped to zero.\n- This measures OUTPUT, not attention. Bluesky publishes no per-post view count and we do not hold per-post likes for it, so nothing here says how a post performed. Use it to see whether an account is still active and at what tempo.\n- Coverage is the best of the four at the head of the catalog: 4,992 of the top 5,000 accounts by followers had 30 or more observed days on 2026-08-30. Across the whole 3.9M-account catalog only 134,530 have any series at all.\n- change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.\n- A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.\n- window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.\n- audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.\n- Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"object","properties":{"metric":{"type":"string"},"latest":{"type":"integer"},"precision":{"type":"string"}}},"metric":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string"},"measures":{"type":"string"},"precision":{"type":"string"}}},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"integer"},"longest_gap_days":{"type":"integer"}}},"summary":{"type":"object","properties":{"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"change":{"type":"integer"},"change_pct":{"type":"number"},"per_day":{"type":"integer"},"best_day":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"},"days_covered":{"type":"integer"},"per_day":{"type":"integer"}}},"peak":{"description":"Null in the example; the type is not inferable from it."},"trough":{"description":"Null in the example; the type is not inferable from it."},"per_day_per_1k_audience":{"type":"number"}}},"series":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"},"change":{"type":"integer"},"days_covered":{"type":"integer"},"per_day":{"type":"integer"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"youtube","id":"UCX6OQ3DkcsbYNE6H8uQQuVA","handle":"mrbeast","name":"MrBeast","audience":{"metric":"subscribers","latest":515000000,"precision":"rounded"},"metric":{"key":"views","label":"Lifetime channel views","kind":"cumulative_total","measures":"Views added across the channel's whole back catalogue on that day, not views on new uploads alone.","precision":"exact"},"window":{"requested_days":30,"from":"2026-08-01","to":"2026-08-30","days_observed":30,"days_spanned":30,"coverage_pct":100,"longest_gap_days":0},"summary":{"first":{"day":"2026-08-01","value":135311004112},"latest":{"day":"2026-08-30","value":138536017550},"change":3225013438,"change_pct":2.38,"per_day":111207360,"best_day":{"day":"2026-08-24","change":179293284,"days_covered":1,"per_day":179293284},"peak":null,"trough":null,"per_day_per_1k_audience":215.9},"series":[{"day":"2026-08-29","value":138398053404,"change":111478231,"days_covered":1,"per_day":111478231},{"day":"2026-08-30","value":138536017550,"change":137964146,"days_covered":1,"per_day":137964146}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Bluesky handle such as nytimes.com, or a did:plc: identifier.","schema":{"type":"string","examples":["nytimes.com"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no account can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["posts_eod is the account's post count, so change is posts published minus posts deleted. A negative day is a clean-up, not a bug, and it is reported rather than clamped to zero.","This measures OUTPUT, not attention. Bluesky publishes no per-post view count and we do not hold per-post likes for it, so nothing here says how a post performed. Use it to see whether an account is still active and at what tempo.","Coverage is the best of the four at the head of the catalog: 4,992 of the top 5,000 accounts by followers had 30 or more observed days on 2026-08-30. Across the whole 3.9M-account catalog only 134,530 have any series at all.","change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.","A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.","window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.","audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.","Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up."],"x-scope":"insights:read","x-credits":1}},"/insights/telegram/{username}/activity":{"get":{"operationId":"insights.telegram.activity","summary":"How a channel's per-post reach has moved, day by day","description":"The daily history of a channel's average post views. Subscriber counts and attention move independently on Telegram, and a channel whose participant count climbs while its view average falls is the single clearest sign that a subscriber list was bought. This is the series behind that comparison.\n\nRequired scope: `insights:read` (Insights).\n\n- avg_views is a level rather than a running total, so it is never differenced into a per-day rate: per_day and best_day are always null here, and peak and trough are returned instead.\n- It is the mean of the posts visible on the channel's public preview at crawl time, roughly the last twenty. How fast it responds therefore depends on how often the channel posts: a channel posting five times a day turns that window over in four days, one posting weekly takes months, so a flat line on a quiet channel is not evidence that nothing changed.\n- Present on about 84 percent of Telegram daily rows. It is absent for groups, for channels with no public preview and for channels whose visible posts carry no view counter, and those days are left out of the series rather than read as zero.\n- For the ratio of views to subscribers, and its percentile against channels of the same size, use GET /insights/telegram/{username}/reach. This endpoint is the time axis that one does not have.\n- change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.\n- A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.\n- window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.\n- audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.\n- Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"object","properties":{"metric":{"type":"string"},"latest":{"type":"integer"},"precision":{"type":"string"}}},"metric":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string"},"measures":{"type":"string"},"precision":{"type":"string"}}},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"number"},"longest_gap_days":{"type":"integer"}}},"summary":{"type":"object","properties":{"first":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"latest":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"change":{"type":"integer"},"change_pct":{"type":"number"},"per_day":{"description":"Null in the example; the type is not inferable from it."},"best_day":{"description":"Null in the example; the type is not inferable from it."},"peak":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"trough":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"}}},"per_day_per_1k_audience":{"description":"Null in the example; the type is not inferable from it."}}},"series":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","format":"date"},"value":{"type":"integer"},"change":{"type":"integer"},"days_covered":{"type":"integer"},"per_day":{"description":"Null in the example; the type is not inferable from it."}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"telegram","id":"-1001488156064","handle":"bloomberg","name":"Bloomberg","audience":{"metric":"participants","latest":171943,"precision":"exact"},"metric":{"key":"reach","label":"Mean views of the recent posts","kind":"recent_average","measures":"The mean view count of the posts visible on the channel's public preview when it was crawled, roughly the last twenty. It is a level, not a total, so it is never differenced into a per-day rate.","precision":"exact"},"window":{"requested_days":30,"from":"2026-08-03","to":"2026-08-30","days_observed":20,"days_spanned":28,"coverage_pct":71.4,"longest_gap_days":7},"summary":{"first":{"day":"2026-08-03","value":69130},"latest":{"day":"2026-08-30","value":71560},"change":2430,"change_pct":3.51,"per_day":null,"best_day":null,"peak":{"day":"2026-08-30","value":71560},"trough":{"day":"2026-08-03","value":69130},"per_day_per_1k_audience":null},"series":[{"day":"2026-08-29","value":71300,"change":260,"days_covered":1,"per_day":null},{"day":"2026-08-30","value":71560,"change":260,"days_covered":1,"per_day":null}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"username","in":"path","required":true,"description":"Public Telegram username, with or without the @. A t.me link is accepted.","schema":{"type":"string","examples":["durov"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no account can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["avg_views is a level rather than a running total, so it is never differenced into a per-day rate: per_day and best_day are always null here, and peak and trough are returned instead.","It is the mean of the posts visible on the channel's public preview at crawl time, roughly the last twenty. How fast it responds therefore depends on how often the channel posts: a channel posting five times a day turns that window over in four days, one posting weekly takes months, so a flat line on a quiet channel is not evidence that nothing changed.","Present on about 84 percent of Telegram daily rows. It is absent for groups, for channels with no public preview and for channels whose visible posts carry no view counter, and those days are left out of the series rather than read as zero.","For the ratio of views to subscribers, and its percentile against channels of the same size, use GET /insights/telegram/{username}/reach. This endpoint is the time axis that one does not have.","change is measured against the previous OBSERVED day, and days_covered says how many calendar days that step spans. A crawl gap therefore never disappears into a single day's number: use per_day, or days_covered, rather than reading change as a daily rate.","A day with no value is left out rather than carried forward. A missing day is a day nobody looked, not a day nothing happened.","window.days_observed is the real denominator and it varies a lot by account. Read it before trusting a per-day figure: history begins 2026-06-09 and the deepest account in any of these catalogs held 80 days on 2026-08-30.","audience.precision says whether the follower or subscriber number on this platform can be trusted digit for digit. GET /insights/activity/platforms carries the full explanation for each.","Only accounts already in the catalog have a series. An account nobody has asked us about has never been rolled up."],"x-scope":"insights:read","x-credits":1}},"/insights/telegram/{username}/growth-quality":{"get":{"operationId":"insights.telegram.growthQuality","summary":"The shape of a channel's subscriber growth","description":"Describes HOW a channel gained its subscribers over the window rather than how many: gross gains against gross losses, how many days moved up and how many down, the median day, and what share of all the growth arrived on the single biggest day. Bought subscribers arrive in one delivery and organic ones do not, and that difference is visible in the shape without anyone having to call it fraud.\n\nRequired scope: `insights:read` (Insights).\n\n- No verdict, no score. Every field is a count or a sum over the observed days and the interpretation is the caller's. A high top_step_share_pct on a channel that was covered in the press is a news cycle, not a purchase.\n- measurable is false with reason insufficient_history when fewer than 7 days were observed in the window. That is most of the Telegram catalog: 67,244 of 3,062,001 channels had 30 or more observed days on 2026-08-30. It is not most of the channels anyone asks about: 4,271 of the top 5,000 by subscribers did.\n- Steps are between consecutive OBSERVED days, so up_steps + down_steps + flat_steps equals days_observed - 1 and never the number of calendar days. days_covered on each extreme says how much ground that step spanned.\n- Deltas are recomputed here rather than read from the rollup's daily_growth column, which lags the previous STORED day and so reports a whole crawl gap as one day's growth.\n- Available for Telegram and Bluesky only. GET /insights/activity/platforms says why YouTube and TikTok are refused.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"object","properties":{"metric":{"type":"string"},"latest":{"type":"integer"},"precision":{"type":"string"},"precision_note":{"type":"string"}}},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"integer"},"longest_gap_days":{"type":"integer"}}},"measurable":{"type":"boolean"},"reason":{"description":"Null in the example; the type is not inferable from it."},"movement":{"type":"object","properties":{"steps":{"type":"integer"},"net_change":{"type":"integer"},"gross_gains":{"type":"integer"},"gross_losses":{"type":"integer"},"churn_ratio":{"type":"number"},"up_steps":{"type":"integer"},"down_steps":{"type":"integer"},"flat_steps":{"type":"integer"},"median_step_change":{"type":"integer"},"largest_gain":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"},"days_covered":{"type":"integer"}}},"largest_loss":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"},"days_covered":{"type":"integer"}}},"top_step_share_pct":{"type":"number"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"telegram","id":"did:plc:eclio37ymobqex2ncko63h4r","handle":"nytimes.com","name":"The New York Times","audience":{"metric":"followers","latest":1344054,"precision":"exact","precision_note":"Follower counts are exact. On the freshest day 89.9 percent of 36,975 values were not multiples of ten, which is what chance gives for unrounded integers."},"window":{"requested_days":30,"from":"2026-08-01","to":"2026-08-30","days_observed":30,"days_spanned":30,"coverage_pct":100,"longest_gap_days":0},"measurable":true,"reason":null,"movement":{"steps":29,"net_change":5112,"gross_gains":5204,"gross_losses":-92,"churn_ratio":0.018,"up_steps":27,"down_steps":1,"flat_steps":1,"median_step_change":172,"largest_gain":{"day":"2026-08-27","change":493,"days_covered":1},"largest_loss":{"day":"2026-08-12","change":-92,"days_covered":1},"top_step_share_pct":9.5}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"username","in":"path","required":true,"description":"Public Telegram username, with or without the @. A t.me link is accepted.","schema":{"type":"string","examples":["durov"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no account can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["No verdict, no score. Every field is a count or a sum over the observed days and the interpretation is the caller's. A high top_step_share_pct on a channel that was covered in the press is a news cycle, not a purchase.","measurable is false with reason insufficient_history when fewer than 7 days were observed in the window. That is most of the Telegram catalog: 67,244 of 3,062,001 channels had 30 or more observed days on 2026-08-30. It is not most of the channels anyone asks about: 4,271 of the top 5,000 by subscribers did.","Steps are between consecutive OBSERVED days, so up_steps + down_steps + flat_steps equals days_observed - 1 and never the number of calendar days. days_covered on each extreme says how much ground that step spanned.","Deltas are recomputed here rather than read from the rollup's daily_growth column, which lags the previous STORED day and so reports a whole crawl gap as one day's growth.","Available for Telegram and Bluesky only. GET /insights/activity/platforms says why YouTube and TikTok are refused."],"x-scope":"insights:read","x-credits":1}},"/insights/bluesky/{handle}/growth-quality":{"get":{"operationId":"insights.bluesky.growthQuality","summary":"The shape of an account's follower growth","description":"Describes HOW an account gained its followers over the window rather than how many: gross gains against gross losses, how many days moved up and how many down, the median day, and what share of all the growth arrived on the single biggest day. Bluesky follower counts are exact to the digit, so the churn and concentration figures are measurements rather than estimates.\n\nRequired scope: `insights:read` (Insights).\n\n- No verdict, no score. Every field is a count or a sum over the observed days and the interpretation is the caller's.\n- measurable is false with reason insufficient_history when fewer than 7 days were observed in the window. 35,279 of the 134,530 accounts that have any series had 30 or more observed days on 2026-08-30, and 4,992 of the top 5,000 by followers did.\n- Bluesky handles are rented and can move between accounts: lower(handle) = 'nytimes.com' matched 63 rows on 2026-08-30. The largest account wins the lookup, matching GET /directory/bluesky/{id}. Pass a did:plc: identifier to address one account for certain.\n- Steps are between consecutive OBSERVED days, so up_steps + down_steps + flat_steps equals days_observed - 1 and never the number of calendar days.\n- Available for Telegram and Bluesky only. GET /insights/activity/platforms says why YouTube and TikTok are refused.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"audience":{"type":"object","properties":{"metric":{"type":"string"},"latest":{"type":"integer"},"precision":{"type":"string"},"precision_note":{"type":"string"}}},"window":{"type":"object","properties":{"requested_days":{"type":"integer"},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"days_observed":{"type":"integer"},"days_spanned":{"type":"integer"},"coverage_pct":{"type":"integer"},"longest_gap_days":{"type":"integer"}}},"measurable":{"type":"boolean"},"reason":{"description":"Null in the example; the type is not inferable from it."},"movement":{"type":"object","properties":{"steps":{"type":"integer"},"net_change":{"type":"integer"},"gross_gains":{"type":"integer"},"gross_losses":{"type":"integer"},"churn_ratio":{"type":"number"},"up_steps":{"type":"integer"},"down_steps":{"type":"integer"},"flat_steps":{"type":"integer"},"median_step_change":{"type":"integer"},"largest_gain":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"},"days_covered":{"type":"integer"}}},"largest_loss":{"type":"object","properties":{"day":{"type":"string","format":"date"},"change":{"type":"integer"},"days_covered":{"type":"integer"}}},"top_step_share_pct":{"type":"number"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"bluesky","id":"did:plc:eclio37ymobqex2ncko63h4r","handle":"nytimes.com","name":"The New York Times","audience":{"metric":"followers","latest":1344054,"precision":"exact","precision_note":"Follower counts are exact. On the freshest day 89.9 percent of 36,975 values were not multiples of ten, which is what chance gives for unrounded integers."},"window":{"requested_days":30,"from":"2026-08-01","to":"2026-08-30","days_observed":30,"days_spanned":30,"coverage_pct":100,"longest_gap_days":0},"measurable":true,"reason":null,"movement":{"steps":29,"net_change":5112,"gross_gains":5204,"gross_losses":-92,"churn_ratio":0.018,"up_steps":27,"down_steps":1,"flat_steps":1,"median_step_change":172,"largest_gain":{"day":"2026-08-27","change":493,"days_covered":1},"largest_loss":{"day":"2026-08-12","change":-92,"days_covered":1},"top_step_share_pct":9.5}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"Bluesky handle such as nytimes.com, or a did:plc: identifier.","schema":{"type":"string","examples":["nytimes.com"]}},{"name":"days","in":"query","required":false,"description":"Calendar days of history to read back from today, 1 to 90. The rollup begins 2026-06-09, so no account can answer for more than that.","schema":{"type":"integer","default":30}}],"x-notes":["No verdict, no score. Every field is a count or a sum over the observed days and the interpretation is the caller's.","measurable is false with reason insufficient_history when fewer than 7 days were observed in the window. 35,279 of the 134,530 accounts that have any series had 30 or more observed days on 2026-08-30, and 4,992 of the top 5,000 by followers did.","Bluesky handles are rented and can move between accounts: lower(handle) = 'nytimes.com' matched 63 rows on 2026-08-30. The largest account wins the lookup, matching GET /directory/bluesky/{id}. Pass a did:plc: identifier to address one account for certain.","Steps are between consecutive OBSERVED days, so up_steps + down_steps + flat_steps equals days_observed - 1 and never the number of calendar days.","Available for Telegram and Bluesky only. GET /insights/activity/platforms says why YouTube and TikTok are refused."],"x-scope":"insights:read","x-credits":1}},"/insights/activity/platforms":{"get":{"operationId":"insights.activity.platforms","summary":"What each platform measures, how precise it is, and how deep","description":"Coverage for the activity and growth-quality endpoints: which column each platform's second series reads, whether that platform's audience count is exact or rounded at the source and why, whether growth quality can be described at all, the freshest finished day, and the measured history depth. Reading precision at runtime is what stops a client from silently trusting a rounded number after a source changes.\n\nRequired scope: `insights:read` (Insights).\n\n- latest_day is read live. null means freshness could not be read, which is unknown rather than stale.\n- The history counts are a measurement taken on the date they carry, not a live count: counting accounts by series length is a full scan of the daily table and took 56 seconds on Telegram, four times the pool's statement timeout. They move slowly and are re-measured by hand.\n- precision is about the SOURCE, not about our storage. A rounded count is what the platform published; nothing is rounded on the way in.\n- Instagram and X are absent because they are served elsewhere: X has a post layer behind /insights/x, and the Instagram daily rollup held 2,262 rows on 2026-08-30, which is not yet a series. LinkedIn has no account catalog with an audience over time at all.\n\nCost: 1 credit per call.","tags":["Insights"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platforms":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"metric":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string"},"measures":{"type":"string"}}},"audience":{"type":"object","properties":{"metric":{"type":"string"},"precision":{"type":"string"},"precision_note":{"type":"string"}}},"growth_quality":{"type":"object","properties":{"supported":{"type":"boolean"},"reason":{"type":"string"}}},"latest_day":{"type":"string","format":"date"},"history":{"type":"object","properties":{"measured_on":{"type":"string","format":"date"},"accounts_with_series":{"type":"integer"},"with_7_days":{"type":"integer"},"with_30_days":{"type":"integer"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platforms":[{"platform":"youtube","metric":{"key":"views","label":"Lifetime channel views","kind":"cumulative_total","measures":"Views added across the channel's whole back catalogue on that day, not views on new uploads alone."},"audience":{"metric":"subscribers","precision":"rounded","precision_note":"YouTube publishes subscriber counts rounded to three significant figures and we store what it publishes. Across 72,264 daily rows in the ten days to 2026-08-30 not one value was a non-multiple of ten. Subscriber deltas are therefore either zero or a whole rounding step, never a real day's gain."},"growth_quality":{"supported":false,"reason":"Every YouTube subscriber count we hold is rounded, so the shape of the series would be the shape of the rounding. GET /insights/youtube/{handle}/activity reads views instead, which are exact."},"latest_day":"2026-08-30","history":{"measured_on":"2026-08-30","accounts_with_series":23068,"with_7_days":9201,"with_30_days":5010}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["latest_day is read live. null means freshness could not be read, which is unknown rather than stale.","The history counts are a measurement taken on the date they carry, not a live count: counting accounts by series length is a full scan of the daily table and took 56 seconds on Telegram, four times the pool's statement timeout. They move slowly and are re-measured by hand.","precision is about the SOURCE, not about our storage. A rounded count is what the platform published; nothing is rounded on the way in.","Instagram and X are absent because they are served elsewhere: X has a post layer behind /insights/x, and the Instagram daily rollup held 2,262 rows on 2026-08-30, which is not yet a series. LinkedIn has no account catalog with an audience over time at all."],"x-scope":"insights:read","x-credits":1}},"/graph/x/overlap":{"get":{"operationId":"graph.x.overlap","summary":"Audience overlap between two X accounts","description":"How much of one account's audience also follows the other, measured directly on 83M follow edges rather than inferred. Returns the shared-follower count, the share of each side, a Jaccard index, a lift against the panel base rate, and the most-followed accounts inside the shared set. This is the question an advertiser, a media buyer or an account buyer asks first, and it was not answerable through this API before.\n\nRequired scope: `insights:read` (Insights).\n\n- Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.\n- Each audience is read up to 1,000 edges. overlap.exact is true when neither side was capped, which holds for the large majority of pairs: 98.1% of catalog accounts carry fewer than 50 indexed followers.\n- When one side is far larger than the other the query is driven from the smaller side, and the larger side's own denominator is not counted. share_of_b_pct and jaccard_pct are then null, never zero.\n- First call for a given pair or handle reads the edge table from disk and can take several seconds; the result is then cached for 24 hours and answers in well under half a second. Sized so the worst case stays inside the read pool's 15s statement timeout.\n- overlap is a reserved sub-path under /graph/x and shadows an X handle of the same name.\n\nCost: 1 credit per call.","tags":["Graph"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"a":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"profile_url":{"type":"string"},"known_followers_scanned":{"type":"integer"},"known_followers_estimate":{"type":"integer"},"scan_truncated":{"type":"boolean"},"in_panel":{"type":"boolean"}}},"b":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"profile_url":{"type":"string"},"known_followers_scanned":{"type":"integer"},"known_followers_estimate":{"type":"integer"},"scan_truncated":{"type":"boolean"},"in_panel":{"type":"boolean"}}},"overlap":{"type":"object","properties":{"shared_followers":{"type":"integer"},"share_of_a_pct":{"type":"number"},"share_of_b_pct":{"type":"number"},"jaccard_pct":{"type":"number"},"lift":{"type":"number"},"exact":{"type":"boolean"},"comparable":{"type":"boolean"},"not_comparable_reason":{"description":"Null in the example; the type is not inferable from it."},"measured_against":{"type":"string"}}},"top_shared":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"profile_url":{"type":"string"},"citation_score":{"type":"integer"},"in_panel":{"type":"boolean"}}}},"panel":{"type":"object","properties":{"size":{"type":"integer"},"measured_at":{"type":"string","format":"date"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"a":{"user_id":"4686835494","username":"vercel","name":"Vercel","followers":451669,"is_verified":true,"profile_url":"https://x.com/vercel","known_followers_scanned":375,"known_followers_estimate":381,"scan_truncated":false,"in_panel":true},"b":{"user_id":"1467726470533754880","username":"nextjs","name":"Next.js","followers":290945,"is_verified":true,"profile_url":"https://x.com/nextjs","known_followers_scanned":118,"known_followers_estimate":119,"scan_truncated":false,"in_panel":true},"overlap":{"shared_followers":67,"share_of_a_pct":17.87,"share_of_b_pct":56.78,"jaccard_pct":15.73,"lift":717.5,"exact":true,"comparable":true,"not_comparable_reason":null,"measured_against":"vercel"},"top_shared":[{"user_id":"1010101","username":"rauchg","name":"Guillermo Rauch","followers":831868,"is_verified":true,"profile_url":"https://x.com/rauchg","citation_score":1460,"in_panel":true}],"panel":{"size":477868,"measured_at":"2026-08-31"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"a","in":"query","required":true,"description":"First X handle, without the @.","schema":{"type":"string","examples":["vercel"]}},{"name":"b","in":"query","required":true,"description":"Second X handle, without the @.","schema":{"type":"string","examples":["nextjs"]}},{"name":"limit","in":"query","required":false,"description":"How many shared accounts to return, 0 to 100.","schema":{"type":"integer","default":25,"examples":[10]}}],"x-notes":["Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.","Each audience is read up to 1,000 edges. overlap.exact is true when neither side was capped, which holds for the large majority of pairs: 98.1% of catalog accounts carry fewer than 50 indexed followers.","When one side is far larger than the other the query is driven from the smaller side, and the larger side's own denominator is not counted. share_of_b_pct and jaccard_pct are then null, never zero.","First call for a given pair or handle reads the edge table from disk and can take several seconds; the result is then cached for 24 hours and answers in well under half a second. Sized so the worst case stays inside the read pool's 15s statement timeout.","overlap is a reserved sub-path under /graph/x and shadows an X handle of the same name."],"x-scope":"insights:read","x-credits":1}},"/graph/x/{handle}/similar":{"get":{"operationId":"graph.x.similar","summary":"Lookalike X accounts by shared audience","description":"Accounts whose audience most resembles this one, found by sampling the account's followers and reading what else they follow. Graph-neighbourhood similarity, not bio or topic matching. Ranked by lift against the panel base rate, so the answer is a real neighbourhood rather than a list of whoever is globally largest.\n\nRequired scope: `insights:read` (Insights).\n\n- Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.\n- Built from at most 250 of the account's indexed followers, taken in crawl order rather than at random, then normalised against the panel base rate. sample.truncated says whether the whole audience fitted.\n- Accounts with fewer than min_shared followers in the sample are not scored at all, so a very thinly indexed account can return an empty list. That is a coverage answer, not a similarity answer.\n- First call for a given pair or handle reads the edge table from disk and can take several seconds; the result is then cached for 24 hours and answers in well under half a second. Sized so the worst case stays inside the read pool's 15s statement timeout.\n\nCost: 1 credit per call.","tags":["Graph"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"profile_url":{"type":"string"}}},"coverage":{"type":"object","properties":{"indexed_followers_estimate":{"type":"integer"},"measurable":{"type":"boolean"}}},"sample":{"type":"object","properties":{"followers_sampled":{"type":"integer"},"sample_cap":{"type":"integer"},"truncated":{"type":"boolean"},"min_shared_followers":{"type":"integer"},"candidates_considered":{"type":"integer"},"candidate_cap":{"type":"integer"}}},"panel":{"type":"object","properties":{"size":{"type":"integer"},"measured_at":{"type":"string","format":"date"}}},"similar":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"integer"},"account":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"profile_url":{"type":"string"},"citation_score":{"type":"integer"},"in_panel":{"type":"boolean"}}},"shared_followers":{"type":"integer"},"share_of_sample_pct":{"type":"number"},"known_followers_estimate":{"type":"integer"},"lift":{"type":"number"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"user_id":"4686835494","username":"vercel","name":"Vercel","followers":451669,"is_verified":true,"profile_url":"https://x.com/vercel"},"coverage":{"indexed_followers_estimate":381,"measurable":true},"sample":{"followers_sampled":250,"sample_cap":250,"truncated":true,"min_shared_followers":4,"candidates_considered":200,"candidate_cap":200},"panel":{"size":477868,"measured_at":"2026-08-31"},"similar":[{"rank":1,"account":{"user_id":"1467726470533754880","username":"nextjs","name":"Next.js","followers":290945,"is_verified":true,"profile_url":"https://x.com/nextjs","citation_score":190,"in_panel":true},"shared_followers":40,"share_of_sample_pct":16,"known_followers_estimate":119,"lift":642.5},{"rank":2,"account":{"user_id":"2020202","username":"tailwindcss","name":"Tailwind CSS","followers":288005,"is_verified":true,"profile_url":"https://x.com/tailwindcss","citation_score":102,"in_panel":false},"shared_followers":12,"share_of_sample_pct":4.8,"known_followers_estimate":64,"lift":358.4}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @. 1-15 characters.","schema":{"type":"string","examples":["vercel"]}},{"name":"limit","in":"query","required":false,"description":"How many lookalikes to return, 1 to 100.","schema":{"type":"integer","default":25,"examples":[20]}},{"name":"min_shared","in":"query","required":false,"description":"Minimum shared followers inside the sample before a candidate is scored, 2 to 100. Higher is stricter and returns fewer, more confident rows.","schema":{"type":"integer","default":4,"examples":[6]}}],"x-notes":["Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.","Built from at most 250 of the account's indexed followers, taken in crawl order rather than at random, then normalised against the panel base rate. sample.truncated says whether the whole audience fitted.","Accounts with fewer than min_shared followers in the sample are not scored at all, so a very thinly indexed account can return an empty list. That is a coverage answer, not a similarity answer.","First call for a given pair or handle reads the edge table from disk and can take several seconds; the result is then cached for 24 hours and answers in well under half a second. Sized so the worst case stays inside the read pool's 15s statement timeout."],"x-scope":"insights:read","x-credits":1}},"/graph/x/{handle}/notable-followers":{"get":{"operationId":"graph.x.notableFollowers","summary":"Followers of an X account ranked by their own influence","description":"Who follows this account, ordered by how much of the panel follows them in turn rather than by the order the crawler happened to find them. Carries a graph-side quality read on the same slice: median follower size, verified share, how many of the followers are themselves cited in the graph, and how old the follow edges are.\n\nRequired scope: `insights:read` (Insights).\n\n- Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.\n- Ranked inside the first 1,000 indexed followers. Above that ceiling this is the most influential of the slice, not of the whole audience.\n- This is an insights read of the top of an audience, not an export. The full follower list with filters lives at GET /leads/x/followers under the sensitive leads:read scope.\n- First call for a given pair or handle reads the edge table from disk and can take several seconds; the result is then cached for 24 hours and answers in well under half a second. Sized so the worst case stays inside the read pool's 15s statement timeout.\n\nCost: 1 credit per call.","tags":["Graph"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"profile_url":{"type":"string"}}},"scan":{"type":"object","properties":{"edges_scanned":{"type":"integer"},"edges_resolved":{"type":"integer"},"scan_truncated":{"type":"boolean"},"edge_scan_cap":{"type":"integer"},"known_followers_estimate":{"type":"integer"},"sort":{"type":"string"}}},"audience_quality":{"type":"object","properties":{"median_followers":{"type":"integer"},"p90_followers":{"type":"integer"},"median_citation_score":{"type":"integer"},"verified_pct":{"type":"number"},"median_account_age_days":{"type":"number"},"new_accounts_pct":{"type":"number"},"accounts_with_creation_date":{"type":"integer"},"median_edge_age_days":{"type":"number"}}},"followers":{"type":"array","items":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"profile_url":{"type":"string"},"citation_score":{"type":"integer"},"in_panel":{"type":"boolean"},"account_created_at":{"type":"string","format":"date-time"},"edge_seen":{"type":"string","format":"date-time"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"user_id":"745273","username":"naval","name":"Naval","followers":3980483,"is_verified":true,"profile_url":"https://x.com/naval"},"scan":{"edges_scanned":1000,"edges_resolved":1000,"scan_truncated":true,"edge_scan_cap":1000,"known_followers_estimate":2784,"sort":"influence"},"audience_quality":{"median_followers":77655,"p90_followers":438218,"median_citation_score":122,"verified_pct":76.1,"median_account_age_days":4709.8,"new_accounts_pct":0.2,"accounts_with_creation_date":1000,"median_edge_age_days":26.9},"followers":[{"user_id":"33836629","username":"karpathy","name":"Andrej Karpathy","followers":4047784,"is_verified":true,"profile_url":"https://x.com/karpathy","citation_score":6170,"in_panel":true,"account_created_at":"2009-04-21T06:49:15.000Z","edge_seen":"2026-07-25T03:18:17.343Z"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @. 1-15 characters.","schema":{"type":"string","examples":["naval"]}},{"name":"sort","in":"query","required":false,"description":"influence ranks by graph citation, followers by the count X reports, recent by when the edge was last confirmed.","schema":{"type":"string","enum":["influence","followers","recent"],"default":"influence"}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1 to 500.","schema":{"type":"integer","default":50,"examples":[25]}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next_cursor.","schema":{"type":"string"}}],"x-notes":["Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.","Ranked inside the first 1,000 indexed followers. Above that ceiling this is the most influential of the slice, not of the whole audience.","This is an insights read of the top of an audience, not an export. The full follower list with filters lives at GET /leads/x/followers under the sensitive leads:read scope.","First call for a given pair or handle reads the edge table from disk and can take several seconds; the result is then cached for 24 hours and answers in well under half a second. Sized so the worst case stays inside the read pool's 15s statement timeout."],"x-scope":"insights:read","x-credits":1}},"/graph/x/{handle}":{"get":{"operationId":"graph.x.card","summary":"Follow-graph coverage for one X account","description":"How much of this account's follow graph we actually hold, and how fresh it is. The cheap preflight for the rest of this group: it says whether an overlap or a lookalike for this handle will rest on 12 edges or 12,000, so a thin answer is recognised as thin coverage rather than read as a real result.\n\nRequired scope: `insights:read` (Insights).\n\n- Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.\n- known_followers is exact when the scan did not hit its ceiling and null when it did. It is never reported as zero on a capped scan.\n- in_panel false means we have never expanded this account, so we do not know who it follows. That is the normal case: 477,868 of 19.1M catalog accounts are in the panel.\n- overlap is a reserved sub-path under /graph/x and shadows an X handle of the same name.\n\nCost: 1 credit per call.","tags":["Graph"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"account":{"type":"object","properties":{"user_id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string"},"followers":{"type":"integer"},"is_verified":{"type":"boolean"},"language":{"type":"string"},"country":{"type":"string"},"profile_url":{"type":"string"}}},"graph":{"type":"object","properties":{"known_followers":{"type":"integer"},"known_followers_estimate":{"type":"integer"},"scan_truncated":{"type":"boolean"},"edge_scan_cap":{"type":"integer"},"following_known":{"type":"integer"},"in_panel":{"type":"boolean"},"citation_score":{"type":"integer"}}},"coverage":{"type":"object","properties":{"followers_reported":{"type":"integer"},"known_share_pct":{"type":"number"},"panel_size":{"type":"integer"},"panel_measured_at":{"type":"string","format":"date"}}},"freshness":{"type":"object","properties":{"oldest_edge":{"type":"string","format":"date-time"},"newest_edge":{"type":"string","format":"date-time"},"edges_confirmed_last_30d":{"type":"integer"},"profile_last_seen":{"type":"string","format":"date-time"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"account":{"user_id":"4686835494","username":"vercel","name":"Vercel","followers":451669,"is_verified":true,"language":"en","country":"US","profile_url":"https://x.com/vercel"},"graph":{"known_followers":375,"known_followers_estimate":381,"scan_truncated":false,"edge_scan_cap":1000,"following_known":11,"in_panel":true,"citation_score":610},"coverage":{"followers_reported":451669,"known_share_pct":0.083,"panel_size":477868,"panel_measured_at":"2026-08-31"},"freshness":{"oldest_edge":"2026-06-09T22:19:07.407Z","newest_edge":"2026-08-28T23:32:29.023Z","edges_confirmed_last_30d":44,"profile_last_seen":"2026-08-30T04:11:02.000Z"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"path","required":true,"description":"X handle without the @. 1-15 characters.","schema":{"type":"string","examples":["vercel"]}}],"x-notes":["Every count here is measured against our follow-graph panel, not against X. An edge exists because we expanded an account and read its following list, so the panel is the 477,868 accounts whose following lists we hold. @elonmusk has 39,055 indexed followers against 241M reported. Read shares and lifts, which are comparable because both sides sit on the same panel; do not read the absolute counts as real follower numbers.","known_followers is exact when the scan did not hit its ceiling and null when it did. It is never reported as zero on a capped scan.","in_panel false means we have never expanded this account, so we do not know who it follows. That is the normal case: 477,868 of 19.1M catalog accounts are in the panel.","overlap is a reserved sub-path under /graph/x and shadows an X handle of the same name."],"x-scope":"insights:read","x-credits":1}},"/tools":{"get":{"operationId":"tools.catalog","summary":"List every analysis tool","description":"The tool catalog: id, platform, method and path, what each tool takes and returns, whether a call spends an upstream credit, and a typical latency. Free to call and safe to poll; it reads no upstream.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Every tool with cost.billable = true spends real money per call. Budget accordingly.\n- typical_latency_ms is a warm-upstream estimate, not a guarantee. The AI tools are the slow ones.\n\nCost: 1 credit per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"tools":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"platform":{"type":"string"},"method":{"type":"string"},"path":{"type":"string"},"description":{"type":"string"},"input":{"type":"array","items":{"type":"string"}},"output":{"type":"array","items":{"type":"string"}},"cost":{"type":"object","properties":{"billable":{"type":"boolean"},"upstream":{"type":"string"},"unit":{"type":"string"}}},"typical_latency_ms":{"type":"integer"},"live":{"type":"boolean"}}}},"count":{"type":"integer"},"billable_count":{"type":"integer"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"tools":[{"id":"valuation","name":"Account valuation","platform":"x","method":"POST","path":"/tools/valuation","description":"Dollar value range for an X account, from followers, engagement, age, authority, activity and profile completeness.","input":["handle"],"output":["profile","metrics","engagement","valuation","scores","factors","summary"],"cost":{"billable":true,"upstream":"","unit":""},"typical_latency_ms":3500,"live":true}],"count":19,"billable_count":17},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"x-notes":["Every tool with cost.billable = true spends real money per call. Budget accordingly.","typical_latency_ms is a warm-upstream estimate, not a guarantee. The AI tools are the slow ones."],"x-scope":"tools:use","x-credits":1}},"/tools/valuation":{"post":{"operationId":"tools.valuation","summary":"Value an X account","description":"Estimates what an X account is worth in dollars. Reads the profile plus a sample of recent posts, scores followers, engagement, account age, authority, activity and profile completeness, and returns a low/expected/high range with the multiplier behind each factor.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Values are USD, not cents.\n- Results are cached in-process for a short window, so two calls on the same handle within that window may return the same numbers without a second upstream charge.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"twitter_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"banner_url":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"}}},"metrics":{"type":"object","properties":{"followers":{"type":"integer"},"following":{"type":"integer"},"total_posts":{"type":"integer"},"total_likes":{"type":"integer"},"media_count":{"type":"integer"},"follower_following_ratio":{"type":"number"},"posts_per_day":{"type":"number"}}},"engagement":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_retweets":{"type":"integer"},"avg_replies":{"type":"integer"},"avg_views":{"type":"integer"},"posts_sampled":{"type":"integer"}}},"valuation":{"type":"object","properties":{"estimated_value_usd":{"type":"integer"},"value_low_usd":{"type":"integer"},"value_high_usd":{"type":"integer"},"score":{"type":"integer"},"rating":{"type":"string"}}},"scores":{"type":"object","properties":{"follower":{"type":"integer"},"engagement":{"type":"integer"},"age":{"type":"integer"},"authority":{"type":"integer"},"activity":{"type":"integer"},"profile":{"type":"integer"}}},"factors":{"type":"object","properties":{"base_follower_value_usd":{"type":"integer"},"engagement_multiplier":{"type":"number"},"age_multiplier":{"type":"number"},"authority_multiplier":{"type":"number"},"activity_multiplier":{"type":"number"},"profile_multiplier":{"type":"number"}}},"summary":{"type":"object","properties":{"size_category":{"type":"string"},"engagement_rating":{"type":"string"},"strengths":{"type":"array","items":{"type":"string"}},"weaknesses":{"type":"array","items":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"naval","twitter_id":"745273","name":"Naval","avatar_url":"https://pbs.twimg.com/profile_images/1256841238298292232/ycqwaMI2.jpg","verified":true,"banner_url":"https://pbs.twimg.com/profile_banners/745273/1584485471","bio":"Angel Philosopher","location":"San Francisco","created_at":"2007-02-05T18:07:40.000Z","account_age_days":7139},"metrics":{"followers":2418702,"following":2114,"total_posts":32180,"total_likes":12844,"media_count":1290,"follower_following_ratio":1144.1,"posts_per_day":4.5},"engagement":{"engagement_rate":0.4172,"avg_likes":8940,"avg_retweets":1216,"avg_replies":934,"avg_views":412800,"posts_sampled":20},"valuation":{"estimated_value_usd":48600,"value_low_usd":36450,"value_high_usd":65610,"score":88,"rating":"exceptional"},"scores":{"follower":100,"engagement":82,"age":100,"authority":95,"activity":74,"profile":100},"factors":{"base_follower_value_usd":36000,"engagement_multiplier":1.25,"age_multiplier":1.15,"authority_multiplier":1.1,"activity_multiplier":0.95,"profile_multiplier":1.05},"summary":{"size_category":"Mega Account","engagement_rating":"Good","strengths":["Very large, established audience","Account is over 15 years old","Strong follower to following ratio"],"weaknesses":["Posting cadence has slowed in the last 30 days"]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"X handle. Accepts a bare name, @name, or a profile URL. Also accepted as `username`.","type":"string","examples":["elonmusk"]}},"required":["handle"]},"example":{"handle":"elonmusk"}}}},"x-live-call":true,"x-notes":["Values are USD, not cents.","Results are cached in-process for a short window, so two calls on the same handle within that window may return the same numbers without a second upstream charge."],"x-scope":"tools:use","x-credits":2}},"/tools/shadowban-check":{"post":{"operationId":"tools.shadowbanCheck","summary":"Check an X account for visibility filtering","description":"Runs four independent probes and reports each as pass, warn or fail with the evidence behind it: ghost ban (the account's posts missing from public timelines), search ban (the account missing from search), reply deboosting (replies hidden behind Show more), and search suggestion ban (the handle missing from typeahead).\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- A warn is not proof of a penalty. Search indexing lags by minutes, so a very fresh post can look filtered when it is not.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"twitter_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"followers":{"type":"integer"},"following":{"type":"integer"},"total_posts":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"}}},"checks":{"type":"object","properties":{"ghost_ban":{"type":"object","properties":{"status":{"type":"string"},"detail":{"type":"string"}}},"search_ban":{"type":"object","properties":{"status":{"type":"string"},"detail":{"type":"string"}}},"reply_deboosting":{"type":"object","properties":{"status":{"type":"string"},"detail":{"type":"string"}}},"search_suggestion_ban":{"type":"object","properties":{"status":{"type":"string"},"detail":{"type":"string"}}}}},"verdict":{"type":"object","properties":{"clean":{"type":"boolean"},"flag_count":{"type":"integer"}}},"checked_at":{"type":"string","format":"date-time"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"jack","twitter_id":"12","name":"jack","avatar_url":"https://pbs.twimg.com/profile_images/1661201415899951105/N-hnbGgse.jpg","verified":false,"followers":6512884,"following":4102,"total_posts":29640,"created_at":"2006-03-21T20:50:14.000Z","account_age_days":7460},"checks":{"ghost_ban":{"status":"pass","detail":"Recent posts appear in public search results."},"search_ban":{"status":"pass","detail":"Account is discoverable in search."},"reply_deboosting":{"status":"warn","detail":"2 of 15 sampled replies were not returned by public search."},"search_suggestion_ban":{"status":"pass","detail":"Handle appears in user search."}},"verdict":{"clean":false,"flag_count":1},"checked_at":"2026-08-23T09:14:02.881Z"},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"X handle. Accepts a bare name, @name, or a profile URL. Also accepted as `username`.","type":"string","examples":["elonmusk"]}},"required":["handle"]},"example":{"handle":"elonmusk"}}}},"x-live-call":true,"x-notes":["A warn is not proof of a penalty. Search indexing lags by minutes, so a very fresh post can look filtered when it is not."],"x-scope":"tools:use","x-credits":2}},"/tools/follower-audit":{"post":{"operationId":"tools.followerAudit","summary":"Audit an X account's followers for fakes","description":"Samples the follower graph and classifies each sampled account as real, suspicious, bot or inactive, then reports the split, the signals that drove the flags, and four component scores (follower quality, engagement, account health, sample quality).\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- sample_size is what the upstream returned, typically the first page of followers. It is a sample, not a census; treat the percentages as estimates with sampling error.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"twitter_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"followers":{"type":"integer"},"following":{"type":"integer"},"total_posts":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"}}},"composition":{"type":"object","properties":{"real_percent":{"type":"number"},"suspicious_percent":{"type":"number"},"bot_percent":{"type":"number"},"inactive_percent":{"type":"number"}}},"engagement":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_retweets":{"type":"integer"},"avg_replies":{"type":"integer"},"avg_views":{"type":"integer"}}},"scores":{"type":"object","properties":{"quality":{"type":"integer"},"engagement":{"type":"integer"},"account_health":{"type":"integer"},"follower_sample":{"type":"integer"}}},"verdict":{"type":"string"},"sample_size":{"type":"integer"},"top_signals":{"type":"array","items":{"type":"object","properties":{"signal":{"type":"string"},"count":{"type":"integer"},"label":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"vercel","twitter_id":"1531841848","name":"Vercel","avatar_url":"https://pbs.twimg.com/profile_images/1767351110131445760/9nAA4mQ0.jpg","verified":true,"followers":412903,"following":361,"total_posts":8912,"created_at":"2013-06-18T14:22:11.000Z","account_age_days":4814},"composition":{"real_percent":71.4,"suspicious_percent":14.2,"bot_percent":6.8,"inactive_percent":7.6},"engagement":{"engagement_rate":0.086,"avg_likes":214,"avg_retweets":31,"avg_replies":12,"avg_views":41200},"scores":{"quality":72,"engagement":48,"account_health":91,"follower_sample":80},"verdict":"good","sample_size":200,"top_signals":[{"signal":"no_avatar","count":24,"label":"Default profile picture"},{"signal":"never_posted","count":19,"label":"Has never posted"},{"signal":"follow_ratio","count":11,"label":"Follows far more than it is followed"}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"X handle. Accepts a bare name, @name, or a profile URL. Also accepted as `username`.","type":"string","examples":["elonmusk"]}},"required":["handle"]},"example":{"handle":"elonmusk"}}}},"x-live-call":true,"x-notes":["sample_size is what the upstream returned, typically the first page of followers. It is a sample, not a census; treat the percentages as estimates with sampling error."],"x-scope":"tools:use","x-credits":2}},"/tools/engagement-calculator":{"post":{"operationId":"tools.engagementCalculator","summary":"Measure an X account's engagement rate","description":"Computes the true engagement rate from recent posts rather than from follower count alone. Returns per-interaction rates, size-adjusted benchmarks, the best and worst performing post, a recent trend, and the full sampled post list with per-post rates.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- engagement_rate is a share of followers. view_rate is a share of followers too, so it exceeds 100 for accounts whose reach is larger than their following.\n- `posts` carries every sampled post; it is the largest part of the payload.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"twitter_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"followers":{"type":"integer"},"following":{"type":"integer"},"total_posts":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"}}},"engagement":{"type":"object","properties":{"engagement_rate":{"type":"number"},"median_engagement_rate":{"type":"number"},"consistency":{"type":"integer"},"avg_likes":{"type":"integer"},"avg_retweets":{"type":"integer"},"avg_replies":{"type":"integer"},"avg_quotes":{"type":"integer"},"avg_views":{"type":"integer"},"avg_bookmarks":{"type":"integer"},"avg_engagement_per_post":{"type":"integer"},"total_engagement":{"type":"integer"}}},"rates":{"type":"object","properties":{"like_rate":{"type":"number"},"retweet_rate":{"type":"number"},"reply_rate":{"type":"number"},"view_rate":{"type":"number"},"bookmark_rate":{"type":"number"},"virality_rate":{"type":"number"},"conversation_rate":{"type":"number"},"view_to_engagement_rate":{"type":"number"},"like_dominance":{"type":"number"}}},"rating":{"type":"string"},"rating_score":{"type":"integer"},"benchmarks":{"type":"object","properties":{"excellent":{"type":"number"},"good":{"type":"number"},"average":{"type":"number"},"below":{"type":"number"}}},"reach":{"type":"object","properties":{"estimated_reach":{"type":"integer"},"follower_following_ratio":{"type":"number"},"posting_frequency":{"type":"number"}}},"posts_analyzed":{"type":"integer"},"trend":{"type":"string"},"best_post":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"views":{"type":"integer"},"bookmarks":{"type":"integer"},"engagement_rate":{"type":"number"},"created_at":{"type":"string","format":"date-time"}}},"worst_post":{"description":"Null in the example; the type is not inferable from it."},"posts":{"type":"array","items":{}},"summary":{"type":"object","properties":{"size_category":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"levelsio","twitter_id":"10634622","name":"levelsio","avatar_url":"https://pbs.twimg.com/profile_images/1719614758452781056/6Qt3xLpc.jpg","verified":true,"followers":612440,"following":1832,"total_posts":61204,"created_at":"2007-11-27T09:12:44.000Z","account_age_days":6844},"engagement":{"engagement_rate":1.24,"median_engagement_rate":0.92,"consistency":61,"avg_likes":5420,"avg_retweets":388,"avg_replies":612,"avg_quotes":74,"avg_views":481200,"avg_bookmarks":402,"avg_engagement_per_post":6496,"total_engagement":129920},"rates":{"like_rate":0.885,"retweet_rate":0.063,"reply_rate":0.1,"view_rate":78.5,"bookmark_rate":0.066,"virality_rate":0.075,"conversation_rate":9.4,"view_to_engagement_rate":1.35,"like_dominance":83.4},"rating":"excellent","rating_score":88,"benchmarks":{"excellent":1.2,"good":0.7,"average":0.35,"below":0.15},"reach":{"estimated_reach":481200,"follower_following_ratio":334.3,"posting_frequency":8.9},"posts_analyzed":20,"trend":"improving","best_post":{"id":"1789231114023874812","text":"Shipped it.","likes":24100,"retweets":1420,"replies":918,"quotes":210,"views":2140000,"bookmarks":1802,"engagement_rate":1.24,"created_at":"2026-08-11T07:40:12.000Z"},"worst_post":null,"posts":[],"summary":{"size_category":"100K-1M followers"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"X handle. Accepts a bare name, @name, or a profile URL. Also accepted as `username`.","type":"string","examples":["elonmusk"]}},"required":["handle"]},"example":{"handle":"elonmusk"}}}},"x-live-call":true,"x-notes":["engagement_rate is a share of followers. view_rate is a share of followers too, so it exceeds 100 for accounts whose reach is larger than their following.","`posts` carries every sampled post; it is the largest part of the payload."],"x-scope":"tools:use","x-credits":2}},"/tools/best-posting-time":{"post":{"operationId":"tools.bestPostingTime","summary":"Find when an X account should post","description":"Builds a 7x24 engagement heatmap from an account's post history, estimates its posting timezone, and returns the best and worst slots, per-day and per-hour summaries, the posting pattern (cadence, consistency, weekday versus weekend), and a 0-100 timing score.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- This tool pages the post history and can spend up to five upstream calls, more than any other X tool here.\n- The timezone is inferred from posting behaviour, not from the account. `heatmap` hours are in that inferred timezone.\n- heatmap contains only slots the account has actually posted in, not a padded 168-cell grid.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"twitter_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"followers":{"type":"integer"},"following":{"type":"integer"},"total_posts":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"}}},"posts_analyzed":{"type":"integer"},"date_range":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}}},"timezone":{"type":"object","properties":{"estimated":{"type":"string"},"utc_offset":{"type":"integer"}}},"heatmap":{"type":"array","items":{"type":"object","properties":{"day":{"type":"integer"},"hour":{"type":"integer"},"posts":{"type":"integer"},"avg_engagement":{"type":"integer"},"avg_likes":{"type":"integer"},"avg_retweets":{"type":"integer"},"avg_replies":{"type":"integer"},"avg_views":{"type":"integer"},"total_engagement":{"type":"integer"}}}},"best_times":{"type":"array","items":{"type":"object","properties":{"day":{"type":"integer"},"day_name":{"type":"string"},"hour":{"type":"integer"},"hour_label":{"type":"string"},"avg_engagement":{"type":"integer"},"avg_views":{"type":"integer"},"posts":{"type":"integer"}}}},"worst_times":{"type":"array","items":{"type":"object","properties":{"day":{"type":"integer"},"day_name":{"type":"string"},"hour":{"type":"integer"},"hour_label":{"type":"string"},"avg_engagement":{"type":"integer"},"avg_views":{"type":"integer"},"posts":{"type":"integer"}}}},"best_day":{"type":"object","properties":{"day":{"type":"integer"},"day_name":{"type":"string"},"posts":{"type":"integer"},"avg_engagement":{"type":"integer"},"avg_views":{"type":"integer"},"total_engagement":{"type":"integer"}}},"worst_day":{"type":"object","properties":{"day":{"type":"integer"},"day_name":{"type":"string"},"posts":{"type":"integer"},"avg_engagement":{"type":"integer"},"avg_views":{"type":"integer"},"total_engagement":{"type":"integer"}}},"best_hour":{"type":"object","properties":{"hour":{"type":"integer"},"posts":{"type":"integer"},"avg_engagement":{"type":"integer"},"avg_views":{"type":"integer"},"total_engagement":{"type":"integer"}}},"worst_hour":{"type":"object","properties":{"hour":{"type":"integer"},"posts":{"type":"integer"},"avg_engagement":{"type":"integer"},"avg_views":{"type":"integer"},"total_engagement":{"type":"integer"}}},"day_summaries":{"type":"array","items":{}},"hour_summaries":{"type":"array","items":{}},"pattern":{"type":"object","properties":{"posts_per_day":{"type":"number"},"posts_per_week":{"type":"number"},"most_active_day":{"type":"string"},"most_active_hour":{"type":"string"},"consistency":{"type":"string"},"avg_hours_between_posts":{"type":"number"},"weekday_vs_weekend":{"type":"object","properties":{"weekday_avg_engagement":{"type":"integer"},"weekend_avg_engagement":{"type":"integer"},"weekday_posts":{"type":"integer"},"weekend_posts":{"type":"integer"},"winner":{"type":"string"},"difference":{"type":"number"}}}}},"engagement":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes":{"type":"integer"},"avg_retweets":{"type":"integer"},"avg_replies":{"type":"integer"},"avg_views":{"type":"integer"}}},"timing_score":{"type":"integer"},"timing_grade":{"type":"string"},"summary":{"type":"object","properties":{"recommendations":{"type":"array","items":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"swyx","twitter_id":"33521530","name":"swyx","avatar_url":"https://pbs.twimg.com/profile_images/1610205747724443648/0DVR0Xnw.jpg","verified":true,"followers":118420,"following":2412,"total_posts":41208,"created_at":"2009-04-19T15:02:33.000Z","account_age_days":6335},"posts_analyzed":180,"date_range":{"from":"2026-05-02T11:20:00.000Z","to":"2026-08-22T18:44:00.000Z"},"timezone":{"estimated":"UTC-8 (US Pacific)","utc_offset":-8},"heatmap":[{"day":2,"hour":9,"posts":14,"avg_engagement":412,"avg_likes":318,"avg_retweets":44,"avg_replies":50,"avg_views":28400,"total_engagement":5768}],"best_times":[{"day":2,"day_name":"Tuesday","hour":9,"hour_label":"9:00 AM","avg_engagement":412,"avg_views":28400,"posts":14}],"worst_times":[{"day":6,"day_name":"Saturday","hour":23,"hour_label":"11:00 PM","avg_engagement":38,"avg_views":2900,"posts":4}],"best_day":{"day":2,"day_name":"Tuesday","posts":31,"avg_engagement":366,"avg_views":24800,"total_engagement":11346},"worst_day":{"day":0,"day_name":"Sunday","posts":12,"avg_engagement":92,"avg_views":7100,"total_engagement":1104},"best_hour":{"hour":9,"posts":27,"avg_engagement":388,"avg_views":26100,"total_engagement":10476},"worst_hour":{"hour":23,"posts":6,"avg_engagement":41,"avg_views":3100,"total_engagement":246},"day_summaries":[],"hour_summaries":[],"pattern":{"posts_per_day":1.6,"posts_per_week":11.2,"most_active_day":"Tuesday","most_active_hour":"9:00 AM","consistency":"consistent","avg_hours_between_posts":14.8,"weekday_vs_weekend":{"weekday_avg_engagement":318,"weekend_avg_engagement":121,"weekday_posts":142,"weekend_posts":38,"winner":"weekday","difference":162.8}},"engagement":{"engagement_rate":0.31,"avg_likes":284,"avg_retweets":38,"avg_replies":44,"avg_views":21400},"timing_score":74,"timing_grade":"good","summary":{"recommendations":["Tuesday 9:00 AM is this account's strongest slot by a wide margin.","Weekend posts earn 62% less engagement. Move them into the week."]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"X handle. Accepts a bare name, @name, or a profile URL. Also accepted as `username`.","type":"string","examples":["elonmusk"]}},"required":["handle"]},"example":{"handle":"elonmusk"}}}},"x-live-call":true,"x-notes":["This tool pages the post history and can spend up to five upstream calls, more than any other X tool here.","The timezone is inferred from posting behaviour, not from the account. `heatmap` hours are in that inferred timezone.","heatmap contains only slots the account has actually posted in, not a padded 168-cell grid."],"x-scope":"tools:use","x-credits":2}},"/tools/algorithm-score":{"post":{"operationId":"tools.algorithmScore","summary":"Score an X account against the ranking signals","description":"Grades an account 0-100 on the five behaviours X's ranking model rewards: bookmark power, conversation spark, virality factor, reach efficiency and account authority. Each category returns its score, the raw measurement behind it and how that measurement should be read.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- A category can come back with metric.kind = \"unavailable\" when the upstream did not return the inputs for it (view counts are the usual gap). Its score is then excluded rather than guessed.\n- This is a model of the public ranking signals, not X's actual ranker.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"twitter_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"followers":{"type":"integer"},"following":{"type":"integer"},"total_posts":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"}}},"overall_score":{"type":"integer"},"tier":{"type":"object","properties":{"name":{"type":"string"},"min":{"type":"integer"},"max":{"type":"integer"},"description":{"type":"string"}}},"categories":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"score":{"type":"integer"},"value":{"type":"number"},"metric":{"type":"object","properties":{"kind":{"type":"string"},"fraction_digits":{"type":"integer"},"out_of":{"type":"integer"}}},"label":{"type":"string"},"description":{"type":"string"}}}},"averages":{"type":"object","properties":{"avg_views":{"type":"integer"},"avg_likes":{"type":"integer"},"avg_bookmarks":{"type":"integer"},"avg_replies":{"type":"integer"},"avg_retweets":{"type":"integer"},"avg_quotes":{"type":"integer"}}},"posts_analyzed":{"type":"integer"},"checked_at":{"type":"string","format":"date-time"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"dhh","twitter_id":"5943622","name":"DHH","avatar_url":"https://pbs.twimg.com/profile_images/1734635298264395776/8Xw2fPQK.jpg","verified":true,"followers":582104,"following":412,"total_posts":54120,"created_at":"2007-05-14T02:12:44.000Z","account_age_days":6976},"overall_score":71,"tier":{"name":"Amplified","min":70,"max":84,"description":"The algorithm actively pushes this account beyond its follower base."},"categories":[{"key":"bookmark_power","score":64,"value":0.084,"metric":{"kind":"rate","fraction_digits":3},"label":"Bookmark power","description":"Bookmarks per view. The strongest single quality signal X tracks."},{"key":"conversation_spark","score":82,"value":0.142,"metric":{"kind":"rate","fraction_digits":3},"label":"Conversation spark","description":"Replies per view. Rewarded heavily; reply chains extend distribution."},{"key":"account_authority","score":88,"value":22,"metric":{"kind":"score","out_of":25},"label":"Account authority","description":"Age, verification and follower-to-following ratio combined."}],"averages":{"avg_views":214000,"avg_likes":3120,"avg_bookmarks":180,"avg_replies":304,"avg_retweets":288,"avg_quotes":61},"posts_analyzed":20,"checked_at":"2026-08-23T09:20:41.204Z"},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"X handle. Accepts a bare name, @name, or a profile URL. Also accepted as `username`.","type":"string","examples":["elonmusk"]}},"required":["handle"]},"example":{"handle":"elonmusk"}}}},"x-live-call":true,"x-notes":["A category can come back with metric.kind = \"unavailable\" when the upstream did not return the inputs for it (view counts are the usual gap). Its score is then excluded rather than guessed.","This is a model of the public ranking signals, not X's actual ranker."],"x-scope":"tools:use","x-credits":2}},"/tools/tweet-analyzer":{"post":{"operationId":"tools.tweetAnalyzer","summary":"Analyze a single X post","description":"Breaks one post down: raw metrics, engagement rate against views (or followers when view counts are missing), a 0-100 virality score with a grade, the composition of engagement by interaction type, amplification and save rates, and a sample of the accounts that retweeted it with their combined reach.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- engagement_basis tells you the denominator. Older posts often have no view count, and the rate then falls back to followers, which is not comparable across posts.\n- retweeters.top is a sample of the first page, not the full amplifier list.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"post":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"text":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}},"author":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"followers":{"type":"integer"},"verified":{"type":"boolean"}}},"metrics":{"type":"object","properties":{"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"quotes":{"type":"integer"},"views":{"type":"integer"},"bookmarks":{"type":"integer"},"total_engagement":{"type":"integer"}}},"engagement_rate":{"type":"number"},"engagement_basis":{"type":"string"},"virality_score":{"type":"integer"},"virality_grade":{"type":"string"},"composition":{"type":"object","properties":{"like_share":{"type":"number"},"retweet_share":{"type":"number"},"reply_share":{"type":"number"},"quote_share":{"type":"number"},"bookmark_share":{"type":"number"}}},"amplification_rate":{"type":"integer"},"save_rate":{"type":"number"},"views_per_follower":{"type":"number"},"retweeters":{"type":"object","properties":{"sampled":{"type":"integer"},"combined_reach":{"type":"integer"},"top":{"type":"array","items":{"type":"object","properties":{"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"followers":{"type":"integer"},"verified":{"type":"boolean"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"post":{"id":"1002103360646823936","url":"https://x.com/naval/status/1002103360646823936","text":"How to Get Rich (without getting lucky):","created_at":"2018-05-31T13:52:11.000Z"},"author":{"id":"745273","handle":"naval","name":"Naval","avatar_url":"https://pbs.twimg.com/profile_images/1256841238298292232/ycqwaMI2.jpg","followers":2418702,"verified":true},"metrics":{"likes":128400,"retweets":34120,"replies":4210,"quotes":2840,"views":18400000,"bookmarks":61200,"total_engagement":230770},"engagement_rate":1.254,"engagement_basis":"views","virality_score":94,"virality_grade":"viral","composition":{"like_share":55.6,"retweet_share":14.8,"reply_share":1.8,"quote_share":1.2,"bookmark_share":26.5},"amplification_rate":16,"save_rate":26.5,"views_per_follower":7.6,"retweeters":{"sampled":100,"combined_reach":4820140,"top":[{"handle":"balajis","name":"Balaji","avatar_url":"https://pbs.twimg.com/profile_images/1626469429208670209/kL0Kbn8L.jpg","followers":1042800,"verified":true}]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"tweet":{"description":"Numeric post id or a full x.com/<user>/status/<id> URL. Also accepted as `tweet_url` or `tweet_id`.","type":"string","examples":["https://x.com/naval/status/1002103360646823936"]}},"required":["tweet"]},"example":{"tweet":"https://x.com/naval/status/1002103360646823936"}}}},"x-live-call":true,"x-notes":["engagement_basis tells you the denominator. Older posts often have no view count, and the rate then falls back to followers, which is not comparable across posts.","retweeters.top is a sample of the first page, not the full amplifier list."],"x-scope":"tools:use","x-credits":2}},"/tools/mention-checker":{"post":{"operationId":"tools.mentionChecker","summary":"See who is mentioning an X account","description":"Pulls recent public mentions of a handle and aggregates them: how many, from how many distinct accounts, how many of those are verified, the combined follower reach behind them, and the single highest-engagement mention and highest-reach mentioner.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Only recent public mentions are visible to the upstream. An account with no recent mentions returns 422 invalid_request rather than an empty success, so a silent zero is never mistaken for a working query.\n- combined_reach sums the mentioners' follower counts. It double counts overlapping audiences and is an upper bound, not impressions.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"twitter_id":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"followers":{"type":"integer"}}},"totals":{"type":"object","properties":{"mentions":{"type":"integer"},"unique_mentioners":{"type":"integer"},"verified_mentioners":{"type":"integer"},"combined_reach":{"type":"integer"},"total_engagement":{"type":"integer"},"avg_engagement":{"type":"integer"}}},"biggest_reach_handle":{"type":"string"},"top_mention":{"type":"object","properties":{"id":{"type":"string"},"text":{"type":"string"},"url":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"author":{"type":"object","properties":{"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"followers":{"type":"integer"},"verified":{"type":"boolean"}}},"metrics":{"type":"object","properties":{"likes":{"type":"integer"},"retweets":{"type":"integer"},"replies":{"type":"integer"},"views":{"type":"integer"},"total_engagement":{"type":"integer"}}}}},"top_mentioner":{"description":"Null in the example; the type is not inferable from it."},"mentions":{"type":"array","items":{}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"supabase","twitter_id":"1225654873178435584","name":"Supabase","avatar_url":"https://pbs.twimg.com/profile_images/1visible/supabase.jpg","verified":true,"followers":182400},"totals":{"mentions":48,"unique_mentioners":41,"verified_mentioners":12,"combined_reach":2140800,"total_engagement":9420,"avg_engagement":196},"biggest_reach_handle":"vercel","top_mention":{"id":"1798412008841203712","text":"Shipped our whole auth layer on @supabase in a weekend.","url":"https://x.com/vercel/status/1798412008841203712","created_at":"2026-08-21T16:04:33.000Z","author":{"handle":"vercel","name":"Vercel","avatar_url":"https://pbs.twimg.com/profile_images/1767351110131445760/9nAA4mQ0.jpg","followers":412903,"verified":true},"metrics":{"likes":2140,"retweets":188,"replies":96,"views":184000,"total_engagement":2424}},"top_mentioner":null,"mentions":[]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"X handle. Accepts a bare name, @name, or a profile URL. Also accepted as `username`.","type":"string","examples":["elonmusk"]}},"required":["handle"]},"example":{"handle":"elonmusk"}}}},"x-live-call":true,"x-notes":["Only recent public mentions are visible to the upstream. An account with no recent mentions returns 422 invalid_request rather than an empty success, so a silent zero is never mistaken for a working query.","combined_reach sums the mentioners' follower counts. It double counts overlapping audiences and is an upper bound, not impressions."],"x-scope":"tools:use","x-credits":2}},"/tools/growth-simulator":{"post":{"operationId":"tools.growthSimulator","summary":"Project how long a follower target takes","description":"Runs the growth model behind the website's simulator: a daily gain derived from content quality, niche weighting, posting cadence and an audience-size scaling ladder, compounded until the target is hit. Returns the time to target, the milestones passed on the way, and the model inputs so the projection can be audited.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Free: this endpoint reaches no upstream and spends no credit. It is metered as a normal call, not a live one.\n- The website's version multiplies each simulated day by a random 0.8-1.2 jitter. The API runs the same model at the jitter's expected value so identical input always returns an identical answer.\n- The model stops after 30 simulated years. An unreachable target returns projection.reached_target = false with null durations rather than a fabricated number.\n- This is a planning heuristic, not a forecast of any specific account.\n\nCost: 1 credit per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"input":{"type":"object","properties":{"current_followers":{"type":"integer"},"target_followers":{"type":"integer"},"niche":{"type":"string"},"quality":{"type":"string"},"posts_per_day":{"type":"integer"}}},"projection":{"type":"object","properties":{"total_days":{"type":"integer"},"years":{"type":"integer"},"months":{"type":"integer"},"total_posts":{"type":"integer"},"total_hours":{"type":"integer"},"reached_target":{"type":"boolean"}}},"daily_followers_gained_at_start":{"type":"number"},"milestones":{"type":"array","items":{"type":"object","properties":{"followers":{"type":"integer"},"days_from_start":{"type":"integer"}}}},"model":{"type":"object","properties":{"niche_multiplier":{"type":"number"},"quality_base_followers_per_day":{"type":"integer"},"posting_bonus":{"type":"number"},"deterministic":{"type":"boolean"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"input":{"current_followers":1200,"target_followers":100000,"niche":"crypto","quality":"professional","posts_per_day":5},"projection":{"total_days":892,"years":2,"months":5,"total_posts":4460,"total_hours":2230,"reached_target":true},"daily_followers_gained_at_start":6.53,"milestones":[{"followers":2500,"days_from_start":199},{"followers":5000,"days_from_start":359},{"followers":10000,"days_from_start":559},{"followers":25000,"days_from_start":700},{"followers":50000,"days_from_start":795},{"followers":100000,"days_from_start":892}],"model":{"niche_multiplier":1.4,"quality_base_followers_per_day":25,"posting_bonus":1.697,"deterministic":true}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"current_followers":{"description":"Follower count today. 0 to 100000000.","type":"integer","examples":[1200]},"target_followers":{"description":"Follower goal. Must be greater than current_followers.","type":"integer","examples":[100000]},"niche":{"description":"Topic weighting applied to daily growth.","type":"string","enum":["tech","finance","crypto","entertainment","sports","politics","general"],"default":"general","examples":["crypto"]},"quality":{"description":"Content quality tier. Sets the baseline daily gain and the minutes spent per post.","type":"string","enum":["casual","good","professional"],"default":"good","examples":["professional"]},"posts_per_day":{"description":"Posting cadence, 1 to 100. Applied as a log2 bonus, so doubling output is worth less each time.","type":"integer","default":3,"examples":[5]}},"required":["current_followers","target_followers"]},"example":{"current_followers":1200,"target_followers":100000,"niche":"crypto","quality":"professional","posts_per_day":5}}}},"x-notes":["Free: this endpoint reaches no upstream and spends no credit. It is metered as a normal call, not a live one.","The website's version multiplies each simulated day by a random 0.8-1.2 jitter. The API runs the same model at the jitter's expected value so identical input always returns an identical answer.","The model stops after 30 simulated years. An unreachable target returns projection.reached_target = false with null durations rather than a fabricated number.","This is a planning heuristic, not a forecast of any specific account."],"x-scope":"tools:use","x-credits":1}},"/tools/profile-pic":{"get":{"operationId":"tools.profilePic","summary":"Fetch an X profile picture URL","description":"Resolves an X handle to its full-resolution avatar URL. Returns found = false with a null URL when the upstream answered but had no picture, so a missing avatar is distinguishable from a failed call.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Avatar URLs are served by X's CDN and rotate when the user changes their picture. Do not treat one as a permanent identifier.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"handle":{"type":"string"},"avatar_url":{"type":"string"},"found":{"type":"boolean"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"handle":"naval","avatar_url":"https://pbs.twimg.com/profile_images/1256841238298292232/ycqwaMI2.jpg","found":true},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"handle","in":"query","required":true,"description":"X handle. Accepts a bare name, @name, or a profile URL.","schema":{"type":"string","examples":["naval"]}}],"x-live-call":true,"x-notes":["Avatar URLs are served by X's CDN and rotate when the user changes their picture. Do not treat one as a permanent identifier."],"x-scope":"tools:use","x-credits":2}},"/tools/audience-finder":{"get":{"operationId":"tools.audienceFinder","summary":"Search the Telegram, TikTok and X catalog","description":"Discovery search over our own directory: filter by audience size, language, category and free text, plus X-only quality filters for account age, follower ratio and posting activity. Reads the catalog we already crawl, so it costs nothing upstream.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Free: served from our own catalog and cached for 30 minutes. Metered as a normal call, not a live one.\n- Bios are contact-stripped before they leave the catalog: email addresses and phone numbers are replaced with placeholders. This is a discovery surface, not a contact database.\n- No total count is returned. An exact count over the X catalog does not finish inside the query timeout, and an estimate that disagrees with the visible rows reads as a bug. Page with has_more.\n- Depth is capped at 20 pages (1000 rows) per filter combination. Narrow the filters to reach further.\n- YouTube and Bluesky are deliberately absent: YouTube data cannot be redistributed under the API terms, and the Bluesky catalog is too stale to be useful here.\n- A failed catalog query returns 502 upstream_error rather than an empty page, so a database problem is never mistaken for no matches.\n\nCost: 1 credit per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"platform":{"type":"string"},"rows":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"bio":{"type":"string"},"audience":{"type":"integer"},"language":{"type":"string"},"category":{"type":"string"},"verified":{"type":"boolean"},"avatar_url":{"type":"string"},"profile_url":{"type":"string"},"weekly_growth":{"type":"integer"},"tier":{"type":"string"},"last_seen":{"type":"string","format":"date-time"},"avg_views":{"description":"Null in the example; the type is not inferable from it."},"posts_per_day":{"description":"Null in the example; the type is not inferable from it."},"total_likes":{"description":"Null in the example; the type is not inferable from it."},"video_count":{"description":"Null in the example; the type is not inferable from it."},"bio_link":{"description":"Null in the example; the type is not inferable from it."},"post_count":{"type":"integer"},"account_created_at":{"type":"string","format":"date-time"},"location":{"type":"string"}}}},"page":{"type":"integer"},"has_more":{"type":"boolean"}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"platform":"x","rows":[{"id":"44196397","handle":"cz_binance","name":"CZ","bio":"Ex-Binance. Building. [email hidden]","audience":9124800,"language":"en","category":"crypto","verified":true,"avatar_url":"https://pbs.twimg.com/profile_images/1739231242/cz.jpg","profile_url":"https://x.com/cz_binance","weekly_growth":18402,"tier":"S","last_seen":"2026-08-22T04:10:33.000Z","avg_views":null,"posts_per_day":null,"total_likes":null,"video_count":null,"bio_link":null,"post_count":41208,"account_created_at":"2009-06-02T20:12:29.000Z","location":"Dubai"}],"page":1,"has_more":true},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"platform","in":"query","required":true,"description":"Which catalog to search.","schema":{"type":"string","enum":["telegram","tiktok","x"],"examples":["x"]}},{"name":"q","in":"query","required":false,"description":"Full-text search over name and bio. Capped at 80 characters.","schema":{"type":"string","examples":["solidity"]}},{"name":"min_audience","in":"query","required":false,"description":"Minimum followers (X, TikTok) or members (Telegram).","schema":{"type":"integer","examples":[10000]}},{"name":"max_audience","in":"query","required":false,"description":"Maximum followers or members.","schema":{"type":"integer","examples":[500000]}},{"name":"language","in":"query","required":false,"description":"ISO language code as classified by our engine, e.g. en, tr, es.","schema":{"type":"string","examples":["en"]}},{"name":"category","in":"query","required":false,"description":"Category slug as classified by our engine, e.g. ai, crypto, news.","schema":{"type":"string","examples":["crypto"]}},{"name":"sort","in":"query","required":false,"description":"Ordering. X supports followers only. Telegram supports subscribers, reach, posts. TikTok supports followers, likes, videos.","schema":{"type":"string","examples":["followers"]}},{"name":"page","in":"query","required":false,"description":"1-based page. 50 rows per page, 20 pages maximum.","schema":{"type":"integer","default":1,"examples":[2]}},{"name":"age","in":"query","required":false,"description":"X only. Account creation window.","schema":{"type":"string","enum":["all","pre2013","pre2016","pre2020","post2023"],"examples":["pre2016"]}},{"name":"ratio","in":"query","required":false,"description":"X only. Minimum follower-to-following ratio.","schema":{"type":"string","enum":["all","r1","r10","r100"],"examples":["r10"]}},{"name":"activity","in":"query","required":false,"description":"X only. Posts per day band.","schema":{"type":"string","enum":["all","low","normal","high"],"examples":["normal"]}}],"x-notes":["Free: served from our own catalog and cached for 30 minutes. Metered as a normal call, not a live one.","Bios are contact-stripped before they leave the catalog: email addresses and phone numbers are replaced with placeholders. This is a discovery surface, not a contact database.","No total count is returned. An exact count over the X catalog does not finish inside the query timeout, and an estimate that disagrees with the visible rows reads as a bug. Page with has_more.","Depth is capped at 20 pages (1000 rows) per filter combination. Narrow the filters to reach further.","YouTube and Bluesky are deliberately absent: YouTube data cannot be redistributed under the API terms, and the Bluesky catalog is too stale to be useful here.","A failed catalog query returns 502 upstream_error rather than an empty page, so a database problem is never mistaken for no matches."],"x-scope":"tools:use","x-credits":1}},"/tools/tiktok/engagement":{"post":{"operationId":"tools.tiktokEngagement","summary":"Measure a TikTok account's engagement","description":"Computes engagement from lifetime hearts divided by video count against the follower base, the standard follower-based TikTok rate, and grades it against benchmarks for the account's size band.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.\n- Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.\n- TikTok's profile endpoint returns lifetime aggregates, not per-video data, so this is a lifetime average rather than a recent-content rate. It reacts slowly to a change in performance.\n- Profiles are cached in-process for 5 minutes, so a repeat call on the same handle inside that window does not spend a second credit.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"private":{"type":"boolean"},"bio":{"type":"string"},"bio_link":{"description":"Null in the example; the type is not inferable from it."},"followers":{"type":"integer"},"following":{"type":"integer"},"friends":{"type":"integer"},"total_likes":{"type":"integer"},"video_count":{"type":"integer"},"created_at":{"type":"string","format":"date-time"},"account_age_days":{"type":"integer"},"follower_following_ratio":{"type":"number"}}},"engagement":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes_per_video":{"type":"integer"},"likes_per_follower":{"type":"number"}}},"rating":{"type":"string"},"rating_score":{"type":"integer"},"benchmarks":{"type":"object","properties":{"below":{"type":"number"},"average":{"type":"integer"},"good":{"type":"integer"},"excellent":{"type":"number"}}},"summary":{"type":"object","properties":{"size_category":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"khaby.lame","name":"Khabane lame","avatar_url":"https://p16-sign-va.tiktokcdn.com/khaby.jpeg","verified":true,"private":false,"bio":"If you want to laugh you're in the right place","bio_link":null,"followers":162400000,"following":82,"friends":61,"total_likes":2510000000,"video_count":1284,"created_at":"2020-03-14T00:00:00.000Z","account_age_days":2354,"follower_following_ratio":1980487.8},"engagement":{"engagement_rate":1.2,"avg_likes_per_video":1954828,"likes_per_follower":15.46},"rating":"good","rating_score":71,"benchmarks":{"below":0.4,"average":1,"good":2,"excellent":3.5},"summary":{"size_category":"10M+ followers · Mega Influencer"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"TikTok username. Accepts @name or a profile URL. Also accepted as `username`.","type":"string","examples":["khaby.lame"]}},"required":["handle"]},"example":{"handle":"khaby.lame"}}}},"x-live-call":true,"x-notes":["No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.","Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.","TikTok's profile endpoint returns lifetime aggregates, not per-video data, so this is a lifetime average rather than a recent-content rate. It reacts slowly to a change in performance.","Profiles are cached in-process for 5 minutes, so a repeat call on the same handle inside that window does not spend a second credit."],"x-scope":"tools:use","x-credits":2}},"/tools/tiktok/money":{"post":{"operationId":"tools.tiktokMoney","summary":"Estimate TikTok brand-deal earnings","description":"Estimates sponsored-post, monthly and yearly earnings from follower count and engagement, with the posting cadence derived from lifetime output over the account's age and capped to a realistic sponsored range.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.\n- Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.\n- The engagement multiplier is clamped to 0.6x-1.6x around a 3.5% TikTok baseline, so very large accounts with a diluted lifetime rate land at the floor.\n- Assumes roughly a quarter of posts are monetized. That is the model's assumption, not the account's actual deal flow.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"profile":{"type":"object","properties":{"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"followers":{"type":"integer"},"total_likes":{"type":"integer"},"video_count":{"type":"integer"},"account_age_days":{"type":"integer"}}},"engagement":{"type":"object","properties":{"engagement_rate":{"type":"number"},"avg_likes_per_video":{"type":"integer"},"posts_per_month":{"type":"integer"}}},"earnings_usd":{"type":"object","properties":{"per_post":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"monthly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"}}},"yearly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"}}}}},"tier":{"type":"string"},"engagement_multiplier":{"type":"number"},"engagement_quality":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"profile":{"handle":"zachking","name":"Zach King","avatar_url":"https://p16-sign-va.tiktokcdn.com/zachking.jpeg","verified":true,"followers":82100000,"total_likes":1080000000,"video_count":812,"account_age_days":2988},"engagement":{"engagement_rate":1.62,"avg_likes_per_video":1330049,"posts_per_month":8},"earnings_usd":{"per_post":{"low":631170,"high":1262340,"avg":946760},"monthly":{"low":1262340,"high":2524680},"yearly":{"low":15148080,"high":30296160}},"tier":"mega","engagement_multiplier":0.6,"engagement_quality":"weak","summary":{"tier_label":"Mega Influencer"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"TikTok username. Accepts @name or a profile URL. Also accepted as `username`.","type":"string","examples":["zachking"]}},"required":["handle"]},"example":{"handle":"zachking"}}}},"x-live-call":true,"x-notes":["No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.","Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.","The engagement multiplier is clamped to 0.6x-1.6x around a 3.5% TikTok baseline, so very large accounts with a diluted lifetime rate land at the floor.","Assumes roughly a quarter of posts are monetized. That is the model's assumption, not the account's actual deal flow."],"x-scope":"tools:use","x-credits":2}},"/tools/youtube/money":{"post":{"operationId":"tools.youtubeMoney","summary":"Estimate YouTube ad earnings","description":"Estimates ad revenue per video, per month and per year from lifetime views spread over the channel's age, using a net RPM band. Returns the RPM band used so the arithmetic can be checked.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.\n- Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.\n- est_monthly_views spreads lifetime views evenly across the channel's age. For a channel whose output changed sharply it will be wrong in both directions.\n- The $1-$5 RPM band is a broad net figure. Real RPM swings by an order of magnitude between niches and audience countries.\n- Ad revenue only. Sponsorships, memberships and merch are not modelled.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"channel_id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"country":{"type":"string"},"subscribers":{"type":"integer"},"total_views":{"type":"integer"},"video_count":{"type":"integer"},"account_age_days":{"type":"integer"},"joined_date_text":{"type":"string"}}},"views":{"type":"object","properties":{"avg_views_per_video":{"type":"integer"},"est_monthly_views":{"type":"integer"}}},"rpm_usd":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"}}},"earnings_usd":{"type":"object","properties":{"per_video":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"}}},"monthly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"}}},"yearly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"}}}}},"tier":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"channel_id":"UCBJycsmduvYEL83R_U4JriQ","handle":"mkbhd","name":"Marques Brownlee","avatar_url":"https://yt3.googleusercontent.com/mkbhd.jpg","verified":true,"country":"US","subscribers":20100000,"total_views":4280000000,"video_count":1684,"account_age_days":6841,"joined_date_text":"Joined Mar 21, 2008"},"views":{"avg_views_per_video":2541567,"est_monthly_views":19024889},"rpm_usd":{"low":1,"high":5},"earnings_usd":{"per_video":{"low":2540,"high":12710},"monthly":{"low":19020,"high":95120},"yearly":{"low":228240,"high":1141440}},"tier":"mega","summary":{"tier_label":"Mega Influencer"}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"YouTube @handle, UC… channel id, or channel URL. Also accepted as `channel` or `url`.","type":"string","examples":["mkbhd"]}},"required":["handle"]},"example":{"handle":"mkbhd"}}}},"x-live-call":true,"x-notes":["No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.","Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.","est_monthly_views spreads lifetime views evenly across the channel's age. For a channel whose output changed sharply it will be wrong in both directions.","The $1-$5 RPM band is a broad net figure. Real RPM swings by an order of magnitude between niches and audience countries.","Ad revenue only. Sponsorships, memberships and merch are not modelled."],"x-scope":"tools:use","x-credits":2}},"/tools/youtube/channel-value":{"post":{"operationId":"tools.youtubeChannelValue","summary":"Estimate what a YouTube channel is worth","description":"Estimates a sale price range for a channel by blending an earnings multiple (18-36x estimated monthly profit) with a per-subscriber asset value, and grades the channel 0-100 on subscribers, views, output volume and upload consistency.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.\n- Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.\n- The valuation rests on est_monthly_earnings_usd, which itself rests on a mid-band RPM and an evenly-spread view history. Errors there flow straight through to the price.\n- This is a desk estimate for triage, not an appraisal. A real sale prices watch time, audience geography, sponsor history and channel strikes, none of which are visible here.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"channel_id":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"country":{"type":"string"},"subscribers":{"type":"integer"},"total_views":{"type":"integer"},"video_count":{"type":"integer"},"account_age_days":{"type":"integer"},"joined_date_text":{"type":"string"}}},"views":{"type":"object","properties":{"avg_views_per_video":{"type":"integer"},"est_monthly_views":{"type":"integer"},"est_monthly_earnings_usd":{"type":"integer"}}},"valuation":{"type":"object","properties":{"estimated_value_usd":{"type":"integer"},"value_low_usd":{"type":"integer"},"value_high_usd":{"type":"integer"},"score":{"type":"integer"},"rating":{"type":"string"}}},"scores":{"type":"object","properties":{"subscriber":{"type":"integer"},"view":{"type":"integer"},"activity":{"type":"integer"},"consistency":{"type":"integer"}}},"summary":{"type":"object","properties":{"strengths":{"type":"array","items":{"type":"string"}},"weaknesses":{"type":"array","items":{"type":"string"}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"channel_id":"UCHnyfMqiRRG1u-2MsSQLbXA","handle":"veritasium","name":"Veritasium","avatar_url":"https://yt3.googleusercontent.com/veritasium.jpg","verified":true,"country":"US","subscribers":17800000,"total_views":3140000000,"video_count":412,"account_age_days":6210,"joined_date_text":"Joined Jul 21, 2010"},"views":{"avg_views_per_video":7621359,"est_monthly_views":15169082,"est_monthly_earnings_usd":37920},"valuation":{"estimated_value_usd":690000,"value_low_usd":519300,"value_high_usd":860800,"score":84,"rating":"premium"},"scores":{"subscriber":38,"view":28,"activity":12,"consistency":6},"summary":{"strengths":["Mega Influencer subscriber base","High average views per video","Established channel with long history","Verified channel"],"weaknesses":["Infrequent uploads"]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"YouTube @handle, UC… channel id, or channel URL. Also accepted as `channel` or `url`.","type":"string","examples":["veritasium"]}},"required":["handle"]},"example":{"handle":"veritasium"}}}},"x-live-call":true,"x-notes":["No per-call charge. TikTok and Instagram are answered from our own catalog when it holds a recent measurement, otherwise by one live read of the public profile through our own readers; YouTube is one YouTube Data API quota unit. Metered as a live call. The response meta says which source answered.","Returns 404 not_found for an unknown or private account, 422 invalid_request when the account has too little public data to measure, 502 upstream_error when the platform refused the read (retry shortly), and 504 upstream_timeout when it did not answer in time. It never returns an empty 200.","The valuation rests on est_monthly_earnings_usd, which itself rests on a mid-band RPM and an evenly-spread view history. Errors there flow straight through to the price.","This is a desk estimate for triage, not an appraisal. A real sale prices watch time, audience geography, sponsor history and channel strikes, none of which are visible here."],"x-scope":"tools:use","x-credits":2}},"/tools/kick/money":{"post":{"operationId":"tools.kickMoney","summary":"Estimate Kick streamer earnings","description":"Estimates a month and a year of income for a Kick channel from its average concurrent viewership: subscriptions at Kick's published 95/5 split, the ad share, tips and sponsorship, each as a band. Takes a channel name, or the viewership numbers directly.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.\n- The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.\n- 422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.\n- Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.\n- Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.\n- Kick has no bits and its ad share reaches a small minority of channels, so both lines floor at zero. What Kick's audience does instead is tip, and its sponsorship market pays more per viewer than Twitch's because the sponsors bidding for it are different.\n- The 95% subscription split has no band because it is a published term, not a negotiated one: every Kick streamer gets it.\n- Coverage: 50,064 active non-NSFW Kick channels are tracked, 44,847 with a measured average CCV. The median tracked channel averages 2 concurrent viewers and p90 is 72, so a handle you have heard of will be far out on the tail.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"badge":{"type":"string"},"followers":{"type":"integer"},"channel_url":{"type":"string"}}},"viewership":{"type":"object","properties":{"avg_ccv":{"type":"integer"},"hours_streamed_30d":{"type":"number"},"hours_watched_30d":{"type":"integer"},"ccv_percentile":{"type":"integer"}}},"estimated_subscribers":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"earnings_usd":{"type":"object","properties":{"subscriptions":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"bits":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"ads":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"tips":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"sponsorship":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"monthly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"yearly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"per_stream_hour":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}}}},"tier":{"type":"string"},"computed_from":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"},"rate_card_headline":{"type":"string"},"assumptions":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"note":{"type":["string","null"]}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"platform":"kick","handle":"xqc","name":"xQc","avatar_url":"https://files.kick.com/images/user/676/profile_image/conversion/xqc-fullsize.webp","verified":true,"badge":"Verified","followers":1104153,"channel_url":"https://kick.com/xqc"},"viewership":{"avg_ccv":1770,"hours_streamed_30d":51.7,"hours_watched_30d":91509,"ccv_percentile":99},"estimated_subscribers":{"low":443,"high":1416,"avg":929},"earnings_usd":{"subscriptions":{"low":2100,"high":6710,"avg":4410},"bits":{"low":0,"high":0,"avg":0},"ads":{"low":0,"high":915,"avg":458},"tips":{"low":1830,"high":9150,"avg":5490},"sponsorship":{"low":2660,"high":8850,"avg":5760},"monthly":{"low":6590,"high":25630,"avg":16110},"yearly":{"low":79080,"high":307560,"avg":193320},"per_stream_hour":{"low":127,"high":496,"avg":312}},"tier":"professional","computed_from":"lookup","summary":{"tier_label":"Full-time streamer","rate_card_headline":"Kick pays 95% of every subscription to the streamer and takes 5%.","assumptions":[{"label":"Subscription split","value":"95% of $4.99","note":"Kick pays 95% of every subscription to the streamer and takes 5%."},{"label":"Subscribers per average viewer","value":"0.25-0.8","note":"Paying subscribers are counted against concurrent viewers, not followers."},{"label":"Hours watched","value":"91,509 h","note":"1770 average viewers across 51.7 hours on air."},{"label":"Tips per viewer-hour","value":"$0.02-$0.1","note":null},{"label":"Ad share per viewer-hour","value":"$0-$0.01","note":"Kick's ad share reaches a small share of channels, so the floor is nothing."},{"label":"Sponsorship per average viewer","value":"$1.5-$5 a month","note":null}]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"Kick channel name. Accepts a bare name, @name, or a channel URL. Required unless avg_ccv and hours_streamed are supplied. Also accepted as `channel` or `username`.","type":"string","examples":["xqc"]},"avg_ccv":{"description":"Average concurrent viewers over the month. Supplying this together with hours_streamed answers from the numbers and spends no live read.","type":"number","examples":[1770]},"hours_streamed":{"description":"HOURS PER MONTH on air, 0 to 744 - not per week and not per stream. Required alongside avg_ccv. When the channel is looked up instead, we derive this from the daily rollup as a rate and scale it to a month.","type":"number","examples":[51.7]},"followers":{"description":"Follower count. Used only for the audience signal and the turnout line - it contributes nothing to the earnings maths, because a follower who does not watch pays nobody.","type":"integer","examples":[1104153]},"hours_watched":{"description":"Viewer-hours in the same month. Defaults to avg_ccv x hours_streamed, which is the identity our rollup uses.","type":"number","examples":[91509]}}},"example":{"handle":"xqc"}}}},"x-live-call":true,"x-notes":["Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.","The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.","422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.","Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.","Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.","Kick has no bits and its ad share reaches a small minority of channels, so both lines floor at zero. What Kick's audience does instead is tip, and its sponsorship market pays more per viewer than Twitch's because the sponsors bidding for it are different.","The 95% subscription split has no band because it is a published term, not a negotiated one: every Kick streamer gets it.","Coverage: 50,064 active non-NSFW Kick channels are tracked, 44,847 with a measured average CCV. The median tracked channel averages 2 concurrent viewers and p90 is 72, so a handle you have heard of will be far out on the tail."],"x-scope":"tools:use","x-credits":2}},"/tools/kick/channel-value":{"post":{"operationId":"tools.kickChannelValue","summary":"Estimate what a Kick channel is worth","description":"Values a Kick channel as an earning asset: a 12-24 month multiple of estimated income plus the standing audience behind it, with a 0-100 score across viewership, audience, consistency and platform status.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.\n- The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.\n- 422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.\n- Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.\n- Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.\n- This is NOT a sale price. Kick forbids transferring an account, so the figure is what the channel is worth to its owner as an earning asset. Any surface that prints it has to say so; summary.disclaimer carries the wording.\n- Kick publishes no registration date at any level, so channel.age_years is always null here and the age component of the status score is always zero. The Twitch endpoint does have it, which is why the same score is not comparable across the two platforms.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"badge":{"type":"string"},"followers":{"type":"integer"},"age_years":{"description":"Null in the example; the type is not inferable from it."},"channel_url":{"type":"string"}}},"viewership":{"type":"object","properties":{"avg_ccv":{"type":"integer"},"peak_ccv":{"type":"integer"},"hours_streamed_30d":{"type":"number"},"hours_watched_30d":{"type":"integer"},"ccv_percentile":{"type":"integer"}}},"earnings_usd":{"type":"object","properties":{"monthly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"yearly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}}}},"valuation":{"type":"object","properties":{"estimated_value_usd":{"type":"integer"},"value_low_usd":{"type":"integer"},"value_high_usd":{"type":"integer"},"multiple_low_months":{"type":"integer"},"multiple_high_months":{"type":"integer"},"audience_value_usd":{"type":"integer"},"score":{"type":"integer"},"rating":{"type":"string"}}},"scores":{"type":"object","properties":{"viewership":{"type":"integer"},"audience":{"type":"integer"},"consistency":{"type":"integer"},"status":{"type":"integer"}}},"tier":{"type":"string"},"computed_from":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"},"rating_label":{"type":"string"},"strengths":{"type":"array","items":{"type":"string"}},"weaknesses":{"type":"array","items":{"type":"string"}},"assumptions":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"note":{"type":["string","null"]}}}},"disclaimer":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"platform":"kick","handle":"xqc","name":"xQc","avatar_url":"https://files.kick.com/images/user/676/profile_image/conversion/xqc-fullsize.webp","verified":true,"badge":"Verified","followers":1104153,"age_years":null,"channel_url":"https://kick.com/xqc"},"viewership":{"avg_ccv":1770,"peak_ccv":4890,"hours_streamed_30d":51.7,"hours_watched_30d":91509,"ccv_percentile":99},"earnings_usd":{"monthly":{"low":6590,"high":25630,"avg":16110},"yearly":{"low":79080,"high":307560,"avg":193320}},"valuation":{"estimated_value_usd":481960,"value_low_usd":160000,"value_high_usd":803920,"multiple_low_months":12,"multiple_high_months":24,"audience_value_usd":134860,"score":76,"rating":"premium"},"scores":{"viewership":28,"audience":21,"consistency":17,"status":10},"tier":"professional","computed_from":"lookup","summary":{"tier_label":"Full-time streamer","rating_label":"Premium","strengths":["Averages 1770 concurrent viewers, ahead of 99% of the Kick channels we track.","Verified on Kick."],"weaknesses":["Only 0.16% of followers are watching at any moment - a large but inactive follower base."],"assumptions":[{"label":"Income multiple","value":"12-24 months","note":"Where creator businesses trade. This is earning power, not a sale price - neither platform allows a channel to change hands."},{"label":"Audience value","value":"$45 per average viewer, $0.05 per follower","note":null}],"disclaimer":"Earning power, not a sale price. Neither Kick nor Twitch allows a channel to change hands, so this is what the channel is worth to its owner as an earning asset."}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"Kick channel name. Accepts a bare name, @name, or a channel URL. Required unless avg_ccv and hours_streamed are supplied. Also accepted as `channel` or `username`.","type":"string","examples":["xqc"]},"avg_ccv":{"description":"Average concurrent viewers over the month. Supplying this together with hours_streamed answers from the numbers and spends no live read.","type":"number","examples":[1770]},"hours_streamed":{"description":"HOURS PER MONTH on air, 0 to 744 - not per week and not per stream. Required alongside avg_ccv. When the channel is looked up instead, we derive this from the daily rollup as a rate and scale it to a month.","type":"number","examples":[51.7]},"followers":{"description":"Follower count. Used only for the audience signal and the turnout line - it contributes nothing to the earnings maths, because a follower who does not watch pays nobody.","type":"integer","examples":[1104153]},"hours_watched":{"description":"Viewer-hours in the same month. Defaults to avg_ccv x hours_streamed, which is the identity our rollup uses.","type":"number","examples":[91509]},"peak_ccv":{"description":"Peak concurrent viewers in the window. Used to flag an event-driven audience; it does not move the valuation.","type":"number","examples":[4890]}}},"example":{"handle":"xqc"}}}},"x-live-call":true,"x-notes":["Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.","The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.","422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.","Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.","Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.","This is NOT a sale price. Kick forbids transferring an account, so the figure is what the channel is worth to its owner as an earning asset. Any surface that prints it has to say so; summary.disclaimer carries the wording.","Kick publishes no registration date at any level, so channel.age_years is always null here and the age component of the status score is always zero. The Twitch endpoint does have it, which is why the same score is not comparable across the two platforms."],"x-scope":"tools:use","x-credits":2}},"/tools/kick/rank":{"post":{"operationId":"tools.kickRank","summary":"Rank a Kick channel by followers and viewership","description":"Places a Kick channel on two ladders at once: its follower count against every Kick channel in our catalog, and its average concurrent viewership against every channel we have measured streaming. Returns both percentiles, an estimated position and the follower-to-viewer turnout between them.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Free to answer from numbers: with `followers` (optionally plus `avg_ccv`) this reads no upstream and no database, because both ladders are baked constants. With `handle` it looks the channel up and is metered as a live call.\n- The two halves are independent on purpose. The follower ladder says how big the audience is; the CCV ladder says how much of it shows up. Measured follower-to-viewer turnout has a median of 2.18% on Kick and 1.09% on Twitch, so the two percentiles routinely disagree - which is the point.\n- Percentiles are against the channels in our catalog, not against every channel on the platform. estimated_rank is derived from the ladder rather than counted, and is null below its resolution.\n- A channel we have never caught live still ranks on followers: only the avg_ccv half comes back null. Unlike the money and channel-value endpoints, an unmeasured channel is not a 422 here.\n- Kick's ladders are measured over 50,064 active non-NSFW channels: 22,771 carry a follower count and 44,847 carry a measured average CCV. The viewership set is the larger of the two because the live sweep reaches channels the follower pass has not.\n- Kick reference points: followers p50 249, p90 7,078, p99 72,125. Average CCV p50 2, p90 72, p99 1,028.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"badge":{"type":"string"},"is_live":{"type":"boolean"},"category":{"type":"string"},"channel_url":{"type":"string"},"profile_path":{"type":"string"}}},"followers":{"type":"object","properties":{"value":{"type":"integer"},"percentile":{"type":"number"},"estimated_rank":{"type":"integer"},"tier":{"type":"string"},"sample_size":{"type":"integer"},"indexed_total":{"type":"integer"},"computed_at":{"type":"string","format":"date"}}},"avg_ccv":{"type":"object","properties":{"value":{"type":"integer"},"percentile":{"type":"integer"},"sample_size":{"type":"integer"},"computed_at":{"type":"string","format":"date"}}},"follower_to_viewer_turnout_percent":{"type":"number"},"computed_from":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"},"sentence":{"type":"string"},"basis":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"platform":"kick","handle":"xqc","name":"xQc","avatar_url":"https://files.kick.com/images/user/676/profile_image/conversion/xqc-fullsize.webp","verified":true,"badge":"Verified","is_live":false,"category":"Just Chatting","channel_url":"https://kick.com/xqc","profile_path":"/best-kick-channels/xqc"},"followers":{"value":1104153,"percentile":99.3,"estimated_rank":351,"tier":"elite","sample_size":22771,"indexed_total":50064,"computed_at":"2026-09-02"},"avg_ccv":{"value":1770,"percentile":99,"sample_size":44847,"computed_at":"2026-09-02"},"follower_to_viewer_turnout_percent":0.16,"computed_from":"lookup","summary":{"tier_label":"Top tier","sentence":"Kick channel xqc has 1,104,153 followers, ahead of 99.3% of the 50,064 Kick channels we track, and 1,770 average concurrent viewers, ahead of 99% of the 44,847 we have measured streaming as of 2026-09-02.","basis":"Percentiles are against the Kick channels in the Handles API catalog, not against every channel on Kick."}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"Kick channel name. Required unless followers is supplied. Also accepted as `channel` or `username`.","type":"string","examples":["xqc"]},"followers":{"description":"A bare follower count to place on the ladder. Answers without any lookup at all.","type":"integer","examples":[1104153]},"avg_ccv":{"description":"Optional average concurrent viewers, placed on the viewership ladder at the same time. Also free.","type":"number","examples":[1770]}}},"example":{"handle":"xqc"}}}},"x-live-call":true,"x-notes":["Free to answer from numbers: with `followers` (optionally plus `avg_ccv`) this reads no upstream and no database, because both ladders are baked constants. With `handle` it looks the channel up and is metered as a live call.","The two halves are independent on purpose. The follower ladder says how big the audience is; the CCV ladder says how much of it shows up. Measured follower-to-viewer turnout has a median of 2.18% on Kick and 1.09% on Twitch, so the two percentiles routinely disagree - which is the point.","Percentiles are against the channels in our catalog, not against every channel on the platform. estimated_rank is derived from the ladder rather than counted, and is null below its resolution.","A channel we have never caught live still ranks on followers: only the avg_ccv half comes back null. Unlike the money and channel-value endpoints, an unmeasured channel is not a 422 here.","Kick's ladders are measured over 50,064 active non-NSFW channels: 22,771 carry a follower count and 44,847 carry a measured average CCV. The viewership set is the larger of the two because the live sweep reaches channels the follower pass has not.","Kick reference points: followers p50 249, p90 7,078, p99 72,125. Average CCV p50 2, p90 72, p99 1,028."],"x-scope":"tools:use","x-credits":2}},"/tools/twitch/money":{"post":{"operationId":"tools.twitchMoney","summary":"Estimate Twitch streamer earnings","description":"Estimates a month and a year of income for a Twitch channel from its average concurrent viewership: subscriptions across the 50/50 to 70/30 split range, bits, the ad share, tips and sponsorship, each as a band. Takes a channel name, or the viewership numbers directly.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.\n- The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.\n- 422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.\n- Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.\n- Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.\n- The subscription split is a band because Twitch's standard term is 50/50 and 70/30 is individually negotiated: the low end is what a new affiliate gets, the high end what a large partner may have.\n- Bits and the ad share are real income here and are counted per viewer-hour. Roughly three ad impressions an hour against a $3.50 CPM lands near a cent; the top of the band is a channel running the full incentive program.\n- Coverage: 66,493 active non-NSFW Twitch channels are tracked, 41,506 with a measured average CCV. The median tracked channel averages 5 concurrent viewers and p90 is 104.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"badge":{"type":"string"},"followers":{"type":"integer"},"channel_url":{"type":"string"}}},"viewership":{"type":"object","properties":{"avg_ccv":{"type":"integer"},"hours_streamed_30d":{"type":"number"},"hours_watched_30d":{"type":"integer"},"ccv_percentile":{"type":"number"}}},"estimated_subscribers":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"earnings_usd":{"type":"object","properties":{"subscriptions":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"bits":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"ads":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"tips":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"sponsorship":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"monthly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"yearly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"per_stream_hour":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}}}},"tier":{"type":"string"},"computed_from":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"},"rate_card_headline":{"type":"string"},"assumptions":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"note":{"type":["string","null"]}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"platform":"twitch","handle":"jynxzi","name":"Jynxzi","avatar_url":"https://static-cdn.jtvnw.net/jtv_user_pictures/jynxzi-profile_image-300x300.png","verified":true,"badge":"Partner","followers":11245167,"channel_url":"https://twitch.tv/jynxzi"},"viewership":{"avg_ccv":36082,"hours_streamed_30d":83.7,"hours_watched_30d":3020409,"ccv_percentile":99.8},"estimated_subscribers":{"low":14433,"high":39690,"avg":27062},"earnings_usd":{"subscriptions":{"low":36010,"high":138640,"avg":87330},"bits":{"low":15100,"high":90610,"avg":52860},"ads":{"low":30200,"high":120820,"avg":75510},"tips":{"low":30200,"high":181220,"avg":105710},"sponsorship":{"low":36080,"high":144330,"avg":90210},"monthly":{"low":147590,"high":675620,"avg":411610},"yearly":{"low":1771080,"high":8107440,"avg":4939260},"per_stream_hour":{"low":1760,"high":8070,"avg":4920}},"tier":"elite","computed_from":"lookup","summary":{"tier_label":"Top-tier streamer","rate_card_headline":"Twitch splits subscriptions 50/50, with 70/30 available to negotiated partners.","assumptions":[{"label":"Subscription split","value":"50%-70% of $4.99","note":"Twitch splits subscriptions 50/50, with 70/30 available to negotiated partners."},{"label":"Subscribers per average viewer","value":"0.4-1.1","note":"Paying subscribers are counted against concurrent viewers, not followers."},{"label":"Hours watched","value":"3,020,409 h","note":"36082 average viewers across 83.7 hours on air."},{"label":"Cheers per viewer-hour","value":"$0.005-$0.03","note":null},{"label":"Ad share per viewer-hour","value":"$0.01-$0.04","note":null},{"label":"Tips per viewer-hour","value":"$0.01-$0.06","note":null},{"label":"Sponsorship per average viewer","value":"$1-$4 a month","note":null}]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"Twitch channel name. Accepts a bare name, @name, or a channel URL. Required unless avg_ccv and hours_streamed are supplied. Also accepted as `channel` or `username`.","type":"string","examples":["jynxzi"]},"avg_ccv":{"description":"Average concurrent viewers over the month. Supplying this together with hours_streamed answers from the numbers and spends no live read.","type":"number","examples":[36082]},"hours_streamed":{"description":"HOURS PER MONTH on air, 0 to 744 - not per week and not per stream. Required alongside avg_ccv. When the channel is looked up instead, we derive this from the daily rollup as a rate and scale it to a month.","type":"number","examples":[83.7]},"followers":{"description":"Follower count. Used only for the audience signal and the turnout line - it contributes nothing to the earnings maths, because a follower who does not watch pays nobody.","type":"integer","examples":[11245167]},"hours_watched":{"description":"Viewer-hours in the same month. Defaults to avg_ccv x hours_streamed, which is the identity our rollup uses.","type":"number","examples":[3020409]}}},"example":{"handle":"jynxzi"}}}},"x-live-call":true,"x-notes":["Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.","The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.","422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.","Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.","Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.","The subscription split is a band because Twitch's standard term is 50/50 and 70/30 is individually negotiated: the low end is what a new affiliate gets, the high end what a large partner may have.","Bits and the ad share are real income here and are counted per viewer-hour. Roughly three ad impressions an hour against a $3.50 CPM lands near a cent; the top of the band is a channel running the full incentive program.","Coverage: 66,493 active non-NSFW Twitch channels are tracked, 41,506 with a measured average CCV. The median tracked channel averages 5 concurrent viewers and p90 is 104."],"x-scope":"tools:use","x-credits":2}},"/tools/twitch/channel-value":{"post":{"operationId":"tools.twitchChannelValue","summary":"Estimate what a Twitch channel is worth","description":"Values a Twitch channel as an earning asset: a 12-24 month multiple of estimated income plus the standing audience behind it, with a 0-100 score across viewership, audience, consistency and platform status.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.\n- The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.\n- 422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.\n- Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.\n- Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.\n- This is NOT a sale price. Twitch forbids transferring an account, so the figure is what the channel is worth to its owner as an earning asset. Any surface that prints it has to say so; summary.disclaimer carries the wording.\n- Twitch publishes a registration date, so channel.age_years is populated and contributes up to 5 points of the status score. Partner status contributes 10 and affiliate 5, and the whole component is capped at 15.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"badge":{"type":"string"},"followers":{"type":"integer"},"age_years":{"type":"number"},"channel_url":{"type":"string"}}},"viewership":{"type":"object","properties":{"avg_ccv":{"type":"integer"},"peak_ccv":{"type":"integer"},"hours_streamed_30d":{"type":"number"},"hours_watched_30d":{"type":"integer"},"ccv_percentile":{"type":"number"}}},"earnings_usd":{"type":"object","properties":{"monthly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}},"yearly":{"type":"object","properties":{"low":{"type":"integer"},"high":{"type":"integer"},"avg":{"type":"integer"}}}}},"valuation":{"type":"object","properties":{"estimated_value_usd":{"type":"integer"},"value_low_usd":{"type":"integer"},"value_high_usd":{"type":"integer"},"multiple_low_months":{"type":"integer"},"multiple_high_months":{"type":"integer"},"audience_value_usd":{"type":"integer"},"score":{"type":"integer"},"rating":{"type":"string"}}},"scores":{"type":"object","properties":{"viewership":{"type":"integer"},"audience":{"type":"integer"},"consistency":{"type":"integer"},"status":{"type":"integer"}}},"tier":{"type":"string"},"computed_from":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"},"rating_label":{"type":"string"},"strengths":{"type":"array","items":{"type":"string"}},"weaknesses":{"type":"array","items":{}},"assumptions":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"note":{"type":["string","null"]}}}},"disclaimer":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"platform":"twitch","handle":"jynxzi","name":"Jynxzi","avatar_url":"https://static-cdn.jtvnw.net/jtv_user_pictures/jynxzi-profile_image-300x300.png","verified":true,"badge":"Partner","followers":11245167,"age_years":7.2,"channel_url":"https://twitch.tv/jynxzi"},"viewership":{"avg_ccv":36082,"peak_ccv":44487,"hours_streamed_30d":83.7,"hours_watched_30d":3020409,"ccv_percentile":99.8},"earnings_usd":{"monthly":{"low":147590,"high":675620,"avg":411610},"yearly":{"low":1771080,"high":8107440,"avg":4939260}},"valuation":{"estimated_value_usd":11178930,"value_low_usd":3082650,"value_high_usd":19275210,"multiple_low_months":12,"multiple_high_months":24,"audience_value_usd":2185950,"score":98,"rating":"elite"},"scores":{"viewership":39,"audience":24,"consistency":20,"status":15},"tier":"elite","computed_from":"lookup","summary":{"tier_label":"Top-tier streamer","rating_label":"Elite","strengths":["Averages 36082 concurrent viewers, ahead of 99.8% of the Twitch channels we track.","Streams 83.7 hours a month, a full-time schedule.","Twitch partner."],"weaknesses":[],"assumptions":[{"label":"Income multiple","value":"12-24 months","note":"Where creator businesses trade. This is earning power, not a sale price - neither platform allows a channel to change hands."},{"label":"Audience value","value":"$45 per average viewer, $0.05 per follower","note":null}],"disclaimer":"Earning power, not a sale price. Neither Kick nor Twitch allows a channel to change hands, so this is what the channel is worth to its owner as an earning asset."}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"Twitch channel name. Accepts a bare name, @name, or a channel URL. Required unless avg_ccv and hours_streamed are supplied. Also accepted as `channel` or `username`.","type":"string","examples":["jynxzi"]},"avg_ccv":{"description":"Average concurrent viewers over the month. Supplying this together with hours_streamed answers from the numbers and spends no live read.","type":"number","examples":[36082]},"hours_streamed":{"description":"HOURS PER MONTH on air, 0 to 744 - not per week and not per stream. Required alongside avg_ccv. When the channel is looked up instead, we derive this from the daily rollup as a rate and scale it to a month.","type":"number","examples":[83.7]},"followers":{"description":"Follower count. Used only for the audience signal and the turnout line - it contributes nothing to the earnings maths, because a follower who does not watch pays nobody.","type":"integer","examples":[11245167]},"hours_watched":{"description":"Viewer-hours in the same month. Defaults to avg_ccv x hours_streamed, which is the identity our rollup uses.","type":"number","examples":[3020409]},"peak_ccv":{"description":"Peak concurrent viewers in the window. Used to flag an event-driven audience; it does not move the valuation.","type":"number","examples":[44487]}}},"example":{"handle":"jynxzi"}}}},"x-live-call":true,"x-notes":["Two ways to answer, and they cost differently. With `handle` this reads the channel from the platform and joins our own viewership index, and is metered as a live call. With `avg_ccv` and `hours_streamed` it reaches nothing at all - the arithmetic is ours - and the result is identical field for field. Do not pay for a lookup you do not need.","The measured fields (avg_ccv, peak_ccv, hours_streamed_30d, hours_watched_30d) are OURS, not the platform's: neither Kick nor Twitch publishes viewer history. We sample the live directory every 15 minutes and roll it up daily.","422 invalid_request when the channel exists but has no viewership on record. This is the common case for famous handles, not an edge case: sampling began on 2026-09-01 and a channel is only visible while it is actually live, so on 2026-09-02 kaicenat, ninja and xqc on Twitch and westcol, adinross and trainwreckstv on Kick all read null. The channel is real and its follower count is known - we simply have not caught it streaming. Send avg_ccv and hours_streamed to calculate anyway, at no live-read cost.","Monthly airtime is a RATE, never a raw sum. The index column is named for the window it will eventually cover, and it currently holds a handful of daily rollup rows; the service divides by the days actually measured and scales back to a month before anything is multiplied. A raw sum would report a top-30 channel as earning almost nothing.","Every figure is a band. A streamer's real income depends on their sub split, their sponsor deals and how their audience tips, none of which is observable from outside. The assumptions the band was built on are returned with it.","This is NOT a sale price. Twitch forbids transferring an account, so the figure is what the channel is worth to its owner as an earning asset. Any surface that prints it has to say so; summary.disclaimer carries the wording.","Twitch publishes a registration date, so channel.age_years is populated and contributes up to 5 points of the status score. Partner status contributes 10 and affiliate 5, and the whole component is capped at 15."],"x-scope":"tools:use","x-credits":2}},"/tools/twitch/rank":{"post":{"operationId":"tools.twitchRank","summary":"Rank a Twitch channel by followers and viewership","description":"Places a Twitch channel on two ladders at once: its follower count against every Twitch channel in our catalog, and its average concurrent viewership against every channel we have measured streaming. Returns both percentiles, an estimated position and the follower-to-viewer turnout between them.\n\nRequired scope: `tools:use` (Tools).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\nMetered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.\n\n- Free to answer from numbers: with `followers` (optionally plus `avg_ccv`) this reads no upstream and no database, because both ladders are baked constants. With `handle` it looks the channel up and is metered as a live call.\n- The two halves are independent on purpose. The follower ladder says how big the audience is; the CCV ladder says how much of it shows up. Measured follower-to-viewer turnout has a median of 2.18% on Kick and 1.09% on Twitch, so the two percentiles routinely disagree - which is the point.\n- Percentiles are against the channels in our catalog, not against every channel on the platform. estimated_rank is derived from the ladder rather than counted, and is null below its resolution.\n- A channel we have never caught live still ranks on followers: only the avg_ccv half comes back null. Unlike the money and channel-value endpoints, an unmeasured channel is not a 422 here.\n- Twitch's ladders are measured over 66,493 active non-NSFW channels, all of which carry a follower count; 41,506 carry a measured average CCV.\n- Twitch reference points: followers p50 266, p90 12,688, p99 372,271. Average CCV p50 5, p90 104, p99 1,431.\n\nCost: 2 credits per call.","tags":["Tools"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"channel":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"name":{"type":"string"},"avatar_url":{"type":"string"},"verified":{"type":"boolean"},"badge":{"type":"string"},"is_live":{"type":"boolean"},"category":{"type":"string"},"channel_url":{"type":"string"},"profile_path":{"type":"string"}}},"followers":{"type":"object","properties":{"value":{"type":"integer"},"percentile":{"type":"number"},"estimated_rank":{"type":"integer"},"tier":{"type":"string"},"sample_size":{"type":"integer"},"indexed_total":{"type":"integer"},"computed_at":{"type":"string","format":"date"}}},"avg_ccv":{"type":"object","properties":{"value":{"type":"integer"},"percentile":{"type":"number"},"sample_size":{"type":"integer"},"computed_at":{"type":"string","format":"date"}}},"follower_to_viewer_turnout_percent":{"type":"number"},"computed_from":{"type":"string"},"summary":{"type":"object","properties":{"tier_label":{"type":"string"},"sentence":{"type":"string"},"basis":{"type":"string"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"channel":{"platform":"twitch","handle":"jynxzi","name":"Jynxzi","avatar_url":"https://static-cdn.jtvnw.net/jtv_user_pictures/jynxzi-profile_image-300x300.png","verified":true,"badge":"Partner","is_live":true,"category":"Rainbow Six Siege","channel_url":"https://twitch.tv/jynxzi","profile_path":"/best-twitch-channels/jynxzi"},"followers":{"value":11245167,"percentile":99.5,"estimated_rank":333,"tier":"elite","sample_size":66493,"indexed_total":66493,"computed_at":"2026-09-02"},"avg_ccv":{"value":36082,"percentile":99.8,"sample_size":41506,"computed_at":"2026-09-02"},"follower_to_viewer_turnout_percent":0.32,"computed_from":"lookup","summary":{"tier_label":"Top tier","sentence":"Twitch channel jynxzi has 11,245,167 followers, ahead of 99.5% of the 66,493 Twitch channels we track, and 36,082 average concurrent viewers, ahead of 99.8% of the 41,506 we have measured streaming as of 2026-09-02.","basis":"Percentiles are against the Twitch channels in the Handles API catalog, not against every channel on Twitch."}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"cache_age_s":0}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"handle":{"description":"Twitch channel name. Required unless followers is supplied. Also accepted as `channel` or `username`.","type":"string","examples":["jynxzi"]},"followers":{"description":"A bare follower count to place on the ladder. Answers without any lookup at all.","type":"integer","examples":[11245167]},"avg_ccv":{"description":"Optional average concurrent viewers, placed on the viewership ladder at the same time. Also free.","type":"number","examples":[36082]}}},"example":{"handle":"jynxzi"}}}},"x-live-call":true,"x-notes":["Free to answer from numbers: with `followers` (optionally plus `avg_ccv`) this reads no upstream and no database, because both ladders are baked constants. With `handle` it looks the channel up and is metered as a live call.","The two halves are independent on purpose. The follower ladder says how big the audience is; the CCV ladder says how much of it shows up. Measured follower-to-viewer turnout has a median of 2.18% on Kick and 1.09% on Twitch, so the two percentiles routinely disagree - which is the point.","Percentiles are against the channels in our catalog, not against every channel on the platform. estimated_rank is derived from the ladder rather than counted, and is null below its resolution.","A channel we have never caught live still ranks on followers: only the avg_ccv half comes back null. Unlike the money and channel-value endpoints, an unmeasured channel is not a 422 here.","Twitch's ladders are measured over 66,493 active non-NSFW channels, all of which carry a follower count; 41,506 carry a measured average CCV.","Twitch reference points: followers p50 266, p90 12,688, p99 372,271. Average CCV p50 5, p90 104, p99 1,431."],"x-scope":"tools:use","x-credits":2}},"/leads/linkedin/domains/{domain}":{"get":{"operationId":"leads.linkedin.domain","summary":"Enrich a company from its website domain","description":"The enrichment lookup keyed on the identifier a caller actually holds. Nobody arrives with a LinkedIn slug; everybody arrives with the domain off an email address or a signup form. Returns firmographics, page-activity signals, role contact addresses, decision-maker counts and whatever follower and headcount observations exist, with the measured coverage of every column alongside so a null is readable as absent rather than as zero.\n\nRequired scope: `leads:read` (Leads).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Personal email addresses are never returned by this endpoint, at any scope. We hold 80,360 of them across 20,272 domains; this serves role addresses (info@, sales@ - company contact data) in full and reports named individuals' addresses as a count only.\n- Filter and read country_code, not country_text. country_text is the free text LinkedIn writes and is populated on 1.51 percent of rows, and what it holds is usually a region rather than a country - Adcash above is filed under 'Harju County' with country_code EE. country_code is the engine's resolved ISO 3166-1 alpha-2 and reaches 82.32 percent.\n- trend is null for 96.9 percent of the catalog, and that is the honest answer rather than a zero: 88,303 of 91,140 tracked companies have exactly ONE follower observation. Where it exists it spans 5.5 days on average. The LinkedIn crawler works against active blocking - HTTP 999 responses and roughly 135 pages an hour - so read `observations` and `window_days` before reading any delta, and do not annualise one.\n- posted_within_90d is null, not false, when we never captured a post date. last_post_at is populated on 78.14 percent of rows.\n- mx_ok is a DNS check on the domain. No address here has been verified for deliverability: lidir_contacts.verify_status is the literal 'unknown' on all 242,555 rows because the verification pass has not run.\n- A domain can map to several companies - regional entities sharing one corporate site. About 2,700 domains do, against 79,264 that map to exactly one. Up to five are returned, ranked by followers.\n- Nothing here is guessed. No address is permuted or pattern-built from a name; every value was read off a page the company published, and every contact row carries its own source URL in the console for an Article 15 request.\n- Holding these rows under our legitimate-interest basis does not transfer that basis to you. A client storing this data needs its own lawful basis and its own ability to honour erasure and objection requests.\n\nCost: 1 credit per call.","tags":["Leads"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"domain":{"type":"string"},"companies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"website_domain":{"type":"string"},"linkedin_url":{"type":"string"},"firmographics":{"type":"object","properties":{"industry":{"type":"string"},"org_type":{"type":"string"},"size_band":{"type":"string"},"staff_count":{"type":"integer"},"founded_year":{"type":"integer"},"followers":{"type":"integer"}}},"hq":{"type":"object","properties":{"location":{"type":"string"},"country_code":{"type":"string"},"country_text":{"type":"string"}}},"activity":{"type":"object","properties":{"last_post_at":{"type":"string","format":"date-time"},"posts_sampled":{"type":"integer"},"avg_reactions":{"type":"integer"},"avg_comments":{"type":"integer"},"posted_within_90d":{"type":"boolean"}}},"trend":{"type":"object","properties":{"observations":{"type":"integer"},"window_days":{"type":"number"},"followers_first":{"type":"integer"},"followers_last":{"type":"integer"},"followers_delta":{"type":"integer"},"staff_first":{"type":"integer"},"staff_last":{"type":"integer"},"staff_delta":{"type":"integer"}}},"contacts":{"type":"object","properties":{"role_emails":{"type":"array","items":{}},"role_email_count":{"type":"integer"},"personal_email_count":{"type":"integer"},"phone_count":{"type":"integer"},"mx_ok":{"description":"Null in the example; the type is not inferable from it."}}},"people":{"type":"object","properties":{"named":{"type":"integer"},"decision_makers":{"type":"integer"},"with_title_or_seniority":{"type":"integer"}}},"enrichment":{"type":"object","properties":{"status":{"type":"string"},"last_enriched":{"type":"string","format":"date-time"},"last_seen":{"type":"string","format":"date-time"}}}}}},"coverage":{"type":"object","properties":{"company_columns":{"type":"object","properties":{"measured_at":{"type":"string","format":"date"},"rows":{"type":"integer"}}},"companies_returned":{"type":"integer"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"domain":"adcash.com","companies":[{"id":"adcash","name":"Adcash","website_domain":"adcash.com","linkedin_url":"https://www.linkedin.com/company/adcash","firmographics":{"industry":"Advertising Services","org_type":"Privately Held","size_band":"51-200 employees","staff_count":122,"founded_year":2007,"followers":10095},"hq":{"location":"Tallinn, Harju County","country_code":"EE","country_text":"Harju County"},"activity":{"last_post_at":"2026-08-24T12:18:22.834Z","posts_sampled":10,"avg_reactions":7,"avg_comments":1,"posted_within_90d":true},"trend":{"observations":2,"window_days":4.7,"followers_first":10070,"followers_last":10095,"followers_delta":25,"staff_first":123,"staff_last":122,"staff_delta":-1},"contacts":{"role_emails":[],"role_email_count":0,"personal_email_count":0,"phone_count":0,"mx_ok":null},"people":{"named":22,"decision_makers":0,"with_title_or_seniority":19},"enrichment":{"status":"no_contacts","last_enriched":"2026-08-22T21:29:27.450Z","last_seen":"2026-08-27T11:58:17.507Z"}}],"coverage":{"company_columns":{"measured_at":"2026-08-31","rows":93677},"companies_returned":1}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"domain","in":"path","required":true,"description":"Company website domain. A bare host, a full URL or an email address are all accepted and normalised the same way.","schema":{"type":"string","examples":["adcash.com"]}}],"x-notes":["Personal email addresses are never returned by this endpoint, at any scope. We hold 80,360 of them across 20,272 domains; this serves role addresses (info@, sales@ - company contact data) in full and reports named individuals' addresses as a count only.","Filter and read country_code, not country_text. country_text is the free text LinkedIn writes and is populated on 1.51 percent of rows, and what it holds is usually a region rather than a country - Adcash above is filed under 'Harju County' with country_code EE. country_code is the engine's resolved ISO 3166-1 alpha-2 and reaches 82.32 percent.","trend is null for 96.9 percent of the catalog, and that is the honest answer rather than a zero: 88,303 of 91,140 tracked companies have exactly ONE follower observation. Where it exists it spans 5.5 days on average. The LinkedIn crawler works against active blocking - HTTP 999 responses and roughly 135 pages an hour - so read `observations` and `window_days` before reading any delta, and do not annualise one.","posted_within_90d is null, not false, when we never captured a post date. last_post_at is populated on 78.14 percent of rows.","mx_ok is a DNS check on the domain. No address here has been verified for deliverability: lidir_contacts.verify_status is the literal 'unknown' on all 242,555 rows because the verification pass has not run.","A domain can map to several companies - regional entities sharing one corporate site. About 2,700 domains do, against 79,264 that map to exactly one. Up to five are returned, ranked by followers.","Nothing here is guessed. No address is permuted or pattern-built from a name; every value was read off a page the company published, and every contact row carries its own source URL in the console for an Article 15 request.","Holding these rows under our legitimate-interest basis does not transfer that basis to you. A client storing this data needs its own lawful basis and its own ability to honour erasure and objection requests."],"x-scope":"leads:read","x-credits":1}},"/leads/linkedin/segments":{"get":{"operationId":"leads.linkedin.segments","summary":"Firmographic market sizing with real counts","description":"How many companies exist in a slice of the catalog, and how reachable that slice is. Group by industry, country, size band or founding decade, filter on any of the others, and get true counts rather than a facet list with no numbers behind it. Every row is an aggregate over companies, so nothing here identifies a person and the surface is aggregate by construction rather than by a filter somebody has to remember.\n\nRequired scope: `leads:read` (Leads).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Counts are exact, not sampled. Measured on production: 452ms for the widest grouping and 386ms with an industry filter, cached for two minutes on top because a segment count does not move in seconds.\n- '(unknown)' is a real bucket and is never hidden. country_code is populated on 82.32 percent of rows and founded_year on 70.70 percent. In the worked example above, grouping Software Development by country puts 1,422 of 7,776 companies - 18.3 percent - in the unknown bucket, so a chart that drops it is understating the market by nearly a fifth.\n- crawl_succeeded is enrich_status 'ok': the website contact crawl completed. It is NOT 'has an email address'. 49,813 companies are 'ok' and 37,896 of them - 76.1 percent - actually yielded one. The exact email-holding count was measured at 2,425ms and dropped as too slow for a synchronous endpoint.\n- hq_country is not offered as a dimension. At 1.51 percent populated it would report a market of 1,418 companies out of 93,677 while looking like an answer.\n- min_staff and max_staff filter on the exact headcount, which is present on 91.82 percent of rows. A company with no headcount is excluded by either bound rather than assumed to be small.\n- This is aggregate data about organisations. No row identifies a person, and no contact data is returned at any bucket size.\n\nCost: 1 credit per call.","tags":["Leads"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"dimension":{"type":"string"},"filters":{"type":"object","properties":{"industry":{"type":"string"}}},"buckets":{"type":"array","items":{"type":"object","properties":{"bucket":{"type":"string"},"companies":{"type":"integer"},"with_domain":{"type":"integer"},"crawl_succeeded":{"type":"integer"},"with_staff_count":{"type":"integer"},"median_staff":{"type":"integer"},"active_last_90d":{"type":"integer"}}}},"totals":{"type":"object","properties":{"companies":{"type":"integer"},"with_domain":{"type":"integer"},"crawl_succeeded":{"type":"integer"}}},"coverage":{"type":"object","properties":{"measured_at":{"type":"string","format":"date"},"rows":{"type":"integer"}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"dimension":"country","filters":{"industry":"Software Development"},"buckets":[{"bucket":"US","companies":3094,"with_domain":3041,"crawl_succeeded":1580,"with_staff_count":2975,"median_staff":110,"active_last_90d":2247},{"bucket":"(unknown)","companies":1422,"with_domain":1315,"crawl_succeeded":680,"with_staff_count":1213,"median_staff":42,"active_last_90d":846},{"bucket":"IN","companies":512,"with_domain":493,"crawl_succeeded":294,"with_staff_count":474,"median_staff":58,"active_last_90d":304}],"totals":{"companies":7776,"with_domain":7518,"crawl_succeeded":4088},"coverage":{"measured_at":"2026-08-31","rows":93677}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"by","in":"query","required":false,"description":"Dimension to group on.","schema":{"type":"string","enum":["industry","country","size_band","founded_decade"],"default":"industry","examples":["country"]}},{"name":"industry","in":"query","required":false,"description":"Restrict to one industry, exactly as LinkedIn writes it.","schema":{"type":"string","examples":["Software Development"]}},{"name":"country","in":"query","required":false,"description":"ISO 3166-1 alpha-2. Matched against country_code, never the free text.","schema":{"type":"string","examples":["DE"]}},{"name":"size_band","in":"query","required":false,"description":"LinkedIn size band, e.g. '51-200 employees'.","schema":{"type":"string","examples":["51-200 employees"]}},{"name":"min_staff","in":"query","required":false,"description":"Lower bound on exact headcount. Companies with no headcount are excluded.","schema":{"type":"integer","examples":[50]}},{"name":"max_staff","in":"query","required":false,"description":"Upper bound on exact headcount. Companies with no headcount are excluded.","schema":{"type":"integer","examples":[500]}}],"x-notes":["Counts are exact, not sampled. Measured on production: 452ms for the widest grouping and 386ms with an industry filter, cached for two minutes on top because a segment count does not move in seconds.","'(unknown)' is a real bucket and is never hidden. country_code is populated on 82.32 percent of rows and founded_year on 70.70 percent. In the worked example above, grouping Software Development by country puts 1,422 of 7,776 companies - 18.3 percent - in the unknown bucket, so a chart that drops it is understating the market by nearly a fifth.","crawl_succeeded is enrich_status 'ok': the website contact crawl completed. It is NOT 'has an email address'. 49,813 companies are 'ok' and 37,896 of them - 76.1 percent - actually yielded one. The exact email-holding count was measured at 2,425ms and dropped as too slow for a synchronous endpoint.","hq_country is not offered as a dimension. At 1.51 percent populated it would report a market of 1,418 companies out of 93,677 while looking like an answer.","min_staff and max_staff filter on the exact headcount, which is present on 91.82 percent of rows. A company with no headcount is excluded by either bound rather than assumed to be small.","This is aggregate data about organisations. No row identifies a person, and no contact data is returned at any bucket size."],"x-scope":"leads:read","x-credits":1}},"/leads/linkedin/companies":{"get":{"operationId":"leads.linkedin.companies.list","summary":"LinkedIn company records, filterable","description":"The B2B company layer: firmographics, LinkedIn reach and its 30-day trend, matched social handles across our own catalogs, a contactability score, and the reasons a row is not actionable yet. Filterable by country, industry, size band, contact availability and website presence.\n\nRequired scope: `leads:read` (Leads).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Bulk lead data carries compliance obligations for the caller. These rows are personal data about identifiable people, collected from public sources and held by us under a legitimate-interest basis for our own outreach. Receiving them through this API does not transfer that basis: you need your own lawful ground, you must be able to identify the source and date for anything you store, and you must be able to honour an erasure or objection request against your copy. Suppression on our side does not delete yours.\n- No address in this API is generated, permuted or pattern-built. best_email is the highest-confidence address the crawler read off a real page; a company with none returns null rather than a guess.\n- LinkedIn is full of stale duplicate company pages. A row with a handful of linked staff, no follower count and no website is usually one of them; the flags array calls that out as 'likely duplicate page' rather than leaving it to look like a small business.\n- size and has_website are applied after the catalog filter, inside the scan window. A page can therefore return fewer rows than limit while still carrying a next_cursor - keep paging until next_cursor is null.\n- Pagination is depth-capped at 500 rows per filter combination. Narrow with country, industry or min_followers rather than paging deeper.\n- readiness measures how CONTACTABLE and verifiable a lead is, not how valuable the company is. We cannot know the second, and a score that pretended to would be trusted for exactly the decision it is worst at.\n- country_code is derived from the location string. An older free-text column held values like 'England', 'Ontario' and 'Gujarat', which is why hq.country_text is returned separately and is not filterable.\n\nCost: 1 credit per call.","tags":["Leads"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"companies":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"tagline":{"type":"string"},"industry":{"type":"string"},"size_band":{"type":"string"},"staff_count":{"type":"integer"},"founded_year":{"type":"integer"},"followers":{"type":"integer"},"follower_delta_30d":{"type":"integer"},"avg_reactions":{"type":"integer"},"last_post_at":{"type":"string","format":"date-time"},"hq":{"type":"object","properties":{"location":{"type":"string"},"country_text":{"type":"string"},"country_code":{"type":"string"}}},"website_domain":{"type":"string"},"linkedin_url":{"type":"string"},"contact":{"type":"object","properties":{"email_count":{"type":"integer"},"phone_count":{"type":"integer"},"best_email":{"type":"string"},"best_email_is_role":{"type":"boolean"},"best_email_mx_ok":{"type":"boolean"}}},"socials":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"matched":{"type":"boolean"},"followers":{"type":"integer"}}}},"decision_makers":{"type":"integer"},"readiness":{"type":"integer"},"flags":{"type":"array","items":{}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"companies":[{"id":"modash","name":"Modash","tagline":"Find every creator on the planet","industry":"Software Development","size_band":"51-200 employees","staff_count":132,"founded_year":2018,"followers":31146,"follower_delta_30d":412,"avg_reactions":41,"last_post_at":"2026-08-21T09:14:00.000Z","hq":{"location":"Tallinn, Estonia","country_text":"Estonia","country_code":"EE"},"website_domain":"modash.io","linkedin_url":"https://www.linkedin.com/company/modash","contact":{"email_count":3,"phone_count":1,"best_email":"hello@modash.io","best_email_is_role":true,"best_email_mx_ok":true},"socials":[{"platform":"x","handle":"modash_io","matched":true,"followers":4820}],"decision_makers":2,"readiness":95,"flags":[]}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"country","in":"query","required":false,"description":"ISO 3166-1 alpha-2, derived by the engine from the free-text location. LinkedIn writes 'City, Region' and rarely names a country, so filter on this rather than on hq.country_text.","schema":{"type":"string","examples":["DE"]}},{"name":"industry","in":"query","required":false,"description":"Industry exactly as LinkedIn labels it.","schema":{"type":"string","examples":["Software Development"]}},{"name":"size","in":"query","required":false,"description":"Employee band exactly as LinkedIn labels it. Applied inside the scan window - see the pagination note.","schema":{"type":"string","examples":["51-200 employees"]}},{"name":"has_email","in":"query","required":false,"description":"Only companies with at least one non-suppressed contact address.","schema":{"type":"boolean","examples":[true]}},{"name":"has_website","in":"query","required":false,"description":"Only companies with a resolved website domain. Applied inside the scan window.","schema":{"type":"boolean"}},{"name":"has_decision_maker","in":"query","required":false,"description":"Only companies where we can name a founder, C-level, VP or director.","schema":{"type":"boolean"}},{"name":"has_social","in":"query","required":false,"description":"Only companies with a social handle that matched a row in one of our catalogs.","schema":{"type":"boolean"}},{"name":"min_followers","in":"query","required":false,"description":"LinkedIn follower floor.","schema":{"type":"integer","examples":[1000]}},{"name":"active_days","in":"query","required":false,"description":"Only companies that posted within this many days.","schema":{"type":"integer","examples":[90]}},{"name":"q","in":"query","required":false,"description":"Substring match on company name, slug or website domain.","schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"description":"readiness orders by the columns the contactability score is built from, then applies the exact score to the page.","schema":{"type":"string","enum":["followers","readiness","recent","staff"],"default":"followers"}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1-200.","schema":{"type":"integer","default":50}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next_cursor.","schema":{"type":"string"}}],"x-notes":["Bulk lead data carries compliance obligations for the caller. These rows are personal data about identifiable people, collected from public sources and held by us under a legitimate-interest basis for our own outreach. Receiving them through this API does not transfer that basis: you need your own lawful ground, you must be able to identify the source and date for anything you store, and you must be able to honour an erasure or objection request against your copy. Suppression on our side does not delete yours.","No address in this API is generated, permuted or pattern-built. best_email is the highest-confidence address the crawler read off a real page; a company with none returns null rather than a guess.","LinkedIn is full of stale duplicate company pages. A row with a handful of linked staff, no follower count and no website is usually one of them; the flags array calls that out as 'likely duplicate page' rather than leaving it to look like a small business.","size and has_website are applied after the catalog filter, inside the scan window. A page can therefore return fewer rows than limit while still carrying a next_cursor - keep paging until next_cursor is null.","Pagination is depth-capped at 500 rows per filter combination. Narrow with country, industry or min_followers rather than paging deeper.","readiness measures how CONTACTABLE and verifiable a lead is, not how valuable the company is. We cannot know the second, and a score that pretended to would be trusted for exactly the decision it is worst at.","country_code is derived from the location string. An older free-text column held values like 'England', 'Ontario' and 'Gujarat', which is why hq.country_text is returned separately and is not filterable."],"x-scope":"leads:read","x-credits":1}},"/leads/linkedin/companies/{id}":{"get":{"operationId":"leads.linkedin.companies.get","summary":"One company with socials, contacts and decision makers","description":"The full record for a single company, including the people we can name there with their titles, seniority and how we know about them. Same shape as a list row plus the people array, so a detail view can never disagree with the list it came from.\n\nRequired scope: `leads:read` (Leads).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Bulk lead data carries compliance obligations for the caller. These rows are personal data about identifiable people, collected from public sources and held by us under a legitimate-interest basis for our own outreach. Receiving them through this API does not transfer that basis: you need your own lawful ground, you must be able to identify the source and date for anything you store, and you must be able to honour an erasure or objection request against your copy. Suppression on our side does not delete yours.\n- No address in this API is generated, permuted or pattern-built. best_email is the highest-confidence address the crawler read off a real page; a company with none returns null rather than a guess.\n- People whose only link to a company is being named inside a post are excluded everywhere. That relation is not evidence of employment, and a lead list that includes it will eventually mail a rival executive about their competitor's product.\n- The people array is capped at 25 rows, most senior first, so a large employer does not ship its whole staff list.\n- relation says how we know: employee (LinkedIn staff module or a website team page) or author (posted on the company feed, usually staff and sometimes a reshare). source says where the row came from.\n- Individual contact rows are not served. One best address per company is, together with the counts behind it.\n\nCost: 1 credit per call.","tags":["Leads"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"company":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"industry":{"type":"string"},"size_band":{"type":"string"},"followers":{"type":"integer"},"hq":{"type":"object","properties":{"location":{"type":"string"},"country_code":{"type":"string"}}},"contact":{"type":"object","properties":{"best_email":{"type":"string"},"best_email_is_role":{"type":"boolean"},"email_count":{"type":"integer"}}},"socials":{"type":"array","items":{"type":"object","properties":{"platform":{"type":"string"},"handle":{"type":"string"},"matched":{"type":"boolean"},"followers":{"type":"integer"}}}},"people":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"title":{"type":"string"},"seniority":{"type":"string"},"seniority_label":{"type":"string"},"relation":{"type":"string"},"source":{"type":"string"},"li_slug":{"type":"string"},"decision_maker":{"type":"boolean"}}}},"decision_makers":{"type":"integer"},"readiness":{"type":"integer"},"flags":{"type":"array","items":{}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"company":{"id":"modash","name":"Modash","industry":"Software Development","size_band":"51-200 employees","followers":31146,"hq":{"location":"Tallinn, Estonia","country_code":"EE"},"contact":{"best_email":"hello@modash.io","best_email_is_role":true,"email_count":3},"socials":[{"platform":"x","handle":"modash_io","matched":true,"followers":4820}],"people":[{"name":"Avery Lindqvist","title":"Co-Founder & CEO","seniority":"founder","seniority_label":"Founder","relation":"employee","source":"website","li_slug":"averylindqvist","decision_maker":true}],"decision_makers":2,"readiness":95,"flags":[]}},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"404":{"$ref":"#/components/responses/NotFound"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"id","in":"path","required":true,"description":"Company slug, the last path segment of its linkedin.com/company/ URL.","schema":{"type":"string","examples":["modash"]}}],"x-notes":["Bulk lead data carries compliance obligations for the caller. These rows are personal data about identifiable people, collected from public sources and held by us under a legitimate-interest basis for our own outreach. Receiving them through this API does not transfer that basis: you need your own lawful ground, you must be able to identify the source and date for anything you store, and you must be able to honour an erasure or objection request against your copy. Suppression on our side does not delete yours.","No address in this API is generated, permuted or pattern-built. best_email is the highest-confidence address the crawler read off a real page; a company with none returns null rather than a guess.","People whose only link to a company is being named inside a post are excluded everywhere. That relation is not evidence of employment, and a lead list that includes it will eventually mail a rival executive about their competitor's product.","The people array is capped at 25 rows, most senior first, so a large employer does not ship its whole staff list.","relation says how we know: employee (LinkedIn staff module or a website team page) or author (posted on the company feed, usually staff and sometimes a reshare). source says where the row came from.","Individual contact rows are not served. One best address per company is, together with the counts behind it."],"x-scope":"leads:read","x-credits":1}},"/leads/linkedin/people":{"get":{"operationId":"leads.linkedin.people.list","summary":"Named people and decision makers","description":"The people layer on its own, filterable by company, seniority, job title and the company's country or industry. Each row carries the company it belongs to, so a decision-maker search returns a usable lead rather than a name that needs a second lookup.\n\nRequired scope: `leads:read` (Leads).\n\nThis is a sensitive scope. Keys are not granted it by default, and calls are audited.\n\n- Bulk lead data carries compliance obligations for the caller. These rows are personal data about identifiable people, collected from public sources and held by us under a legitimate-interest basis for our own outreach. Receiving them through this API does not transfer that basis: you need your own lawful ground, you must be able to identify the source and date for anything you store, and you must be able to honour an erasure or objection request against your copy. Suppression on our side does not delete yours.\n- People whose only link to a company is being named inside a post are excluded everywhere. That relation is not evidence of employment, and a lead list that includes it will eventually mail a rival executive about their competitor's product.\n- No email is attached to a person row. Contact addresses are held per company and served on the company endpoints, which keeps a title lookup from doubling as a contact export.\n- Read the size of this dataset before you build on it. 812,939 person rows exist; 453,005 of them are people merely NAMED inside a post and never leave this API, 358,797 survive as a named employee or feed author, 118,852 carry a job title or a seniority, and 46,637 are named decision makers. That last number, 5.7 percent of the table, is the real dataset.\n- title is populated on 9.32 percent of rows and seniority on 15.73 percent. Titles come almost entirely from company team pages rather than from LinkedIn, because a logged-out profile renders the experience block masked.\n- The title filter matches title only. It used to also match headline, which could never hit: headline is NULL on all 812,939 rows for the same masking reason, so that half of the predicate only widened the scan.\n- Rows are returned in stable discovery order (internal id ascending), not by seniority. Use seniority or decision_makers to isolate the rows you want rather than relying on ordering.\n- location, education, photo_url, headline, last_fetched and fetch_status exist as columns and are NULL on all 812,939 rows. This note previously said they were stored and withheld by choice; they are not stored at all. LinkedIn does not render them to a logged-out visitor, and the profile fetch that would is throttled hard enough to return HTTP 999 on two of every three attempts.\n\nCost: 1 credit per call.","tags":["Leads"],"security":[{"bearerAuth":[]},{"apiKeyAuth":[]}],"responses":{"200":{"description":"Success. The payload is always wrapped in the standard envelope.","headers":{"X-Request-Id":{"description":"Quote this to support.","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix seconds at which the current window resets.","schema":{"type":"integer"}},"X-Credits-Cost":{"description":"Credits this call used.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Plan credits left in the current period.","schema":{"type":"integer"}},"X-Credits-Period-End":{"description":"When the current period ends (ISO 8601).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"people":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"title":{"type":"string"},"headline":{"description":"Null in the example; the type is not inferable from it."},"seniority":{"type":"string"},"seniority_label":{"type":"string"},"decision_maker":{"type":"boolean"},"relation":{"type":"string"},"source":{"type":"string"},"li_slug":{"type":"string"},"linkedin_url":{"type":"string"},"company":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"industry":{"type":"string"},"country_code":{"type":"string"},"website_domain":{"type":"string"}}}}}}}},"meta":{"$ref":"#/components/schemas/ApiMeta"}}},"example":{"data":{"people":[{"id":"48211","name":"Avery Lindqvist","title":"Co-Founder & CEO","headline":null,"seniority":"founder","seniority_label":"Founder","decision_maker":true,"relation":"employee","source":"website","li_slug":"averylindqvist","linkedin_url":"https://www.linkedin.com/in/averylindqvist","company":{"id":"modash","name":"Modash","industry":"Software Development","country_code":"EE","website_domain":"modash.io"}}]},"meta":{"request_id":"req_9f2c41a8b3d5","generated_at":"2026-08-23T09:14:02.317Z","took_ms":42,"page":{"limit":50,"next_cursor":"eyJrIjoiMTczNDU2IiwiZCI6ImEifQ","count":50}}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"422":{"$ref":"#/components/responses/InvalidRequest"},"429":{"$ref":"#/components/responses/RateLimited"},"500":{"$ref":"#/components/responses/InternalError"},"503":{"$ref":"#/components/responses/Unavailable"}},"parameters":[{"name":"company","in":"query","required":false,"description":"Company slug.","schema":{"type":"string","examples":["modash"]}},{"name":"seniority","in":"query","required":false,"description":"Exact seniority band.","schema":{"type":"string","enum":["founder","c_level","vp","director","manager","staff","unknown"],"examples":["founder"]}},{"name":"decision_makers","in":"query","required":false,"description":"Shortcut for founder, c_level, vp and director together. Overrides seniority when both are given.","schema":{"type":"boolean"}},{"name":"title","in":"query","required":false,"description":"Case-insensitive substring match against job title and LinkedIn headline.","schema":{"type":"string","examples":["head of growth"]}},{"name":"country","in":"query","required":false,"description":"ISO 3166-1 alpha-2 of the person's company.","schema":{"type":"string","examples":["US"]}},{"name":"industry","in":"query","required":false,"description":"Industry of the person's company.","schema":{"type":"string","examples":["Marketing Services"]}},{"name":"limit","in":"query","required":false,"description":"Rows per page, 1-200.","schema":{"type":"integer","default":50}},{"name":"cursor","in":"query","required":false,"description":"Opaque cursor from meta.page.next_cursor.","schema":{"type":"string"}}],"x-notes":["Bulk lead data carries compliance obligations for the caller. These rows are personal data about identifiable people, collected from public sources and held by us under a legitimate-interest basis for our own outreach. Receiving them through this API does not transfer that basis: you need your own lawful ground, you must be able to identify the source and date for anything you store, and you must be able to honour an erasure or objection request against your copy. Suppression on our side does not delete yours.","People whose only link to a company is being named inside a post are excluded everywhere. That relation is not evidence of employment, and a lead list that includes it will eventually mail a rival executive about their competitor's product.","No email is attached to a person row. Contact addresses are held per company and served on the company endpoints, which keeps a title lookup from doubling as a contact export.","Read the size of this dataset before you build on it. 812,939 person rows exist; 453,005 of them are people merely NAMED inside a post and never leave this API, 358,797 survive as a named employee or feed author, 118,852 carry a job title or a seniority, and 46,637 are named decision makers. That last number, 5.7 percent of the table, is the real dataset.","title is populated on 9.32 percent of rows and seniority on 15.73 percent. Titles come almost entirely from company team pages rather than from LinkedIn, because a logged-out profile renders the experience block masked.","The title filter matches title only. It used to also match headline, which could never hit: headline is NULL on all 812,939 rows for the same masking reason, so that half of the predicate only widened the scan.","Rows are returned in stable discovery order (internal id ascending), not by seniority. Use seniority or decision_makers to isolate the rows you want rather than relying on ordering.","location, education, photo_url, headline, last_fetched and fetch_status exist as columns and are NULL on all 812,939 rows. This note previously said they were stored and withheld by choice; they are not stored at all. LinkedIn does not render them to a logged-out visitor, and the profile fetch that would is throttled hard enough to return HTTP 999 on two of every three attempts."],"x-scope":"leads:read","x-credits":1}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Send the key as a bearer token: `Authorization: Bearer hk_live_...`. This is the preferred form."},"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"Send the key in the `x-api-key` header instead. Equivalent to the bearer form; use whichever your HTTP client makes easier."}},"schemas":{"Page":{"type":"object","description":"Pagination block, present on list responses. The cursor is opaque: pass it back verbatim, do not parse it, and do not construct one.","required":["limit","next_cursor","count"],"properties":{"limit":{"type":"integer","description":"Rows requested. Default 50, maximum 500.","default":50,"maximum":500},"next_cursor":{"type":["string","null"],"description":"Pass as ?cursor= to fetch the next page. null means the result set is exhausted, and it is the only reliable stop condition."},"count":{"type":"integer","description":"Rows in this page."},"total":{"type":"integer","description":"Total matching rows. Present only when counting is cheap; never assume it is there."}}},"ApiMeta":{"type":"object","description":"Envelope metadata attached to every successful response.","required":["request_id","generated_at","took_ms"],"properties":{"request_id":{"type":"string","description":"Unique id for this request. Quote it in a support ticket."},"generated_at":{"type":"string","format":"date-time","description":"Server time the response was produced."},"took_ms":{"type":"integer","description":"Milliseconds spent server-side."},"page":{"$ref":"#/components/schemas/Page"},"source":{"type":"string","description":"Which backend served the payload, for endpoints with more than one."},"cache_age_s":{"type":"integer","description":"Age of the underlying data in seconds. 0 for live reads."}}},"ApiErrorCode":{"type":"string","description":"Stable machine-readable error code. Branch on this, never on the message.","enum":["unauthorized","not_found","method_not_allowed","invalid_request","payload_too_large","quota_exceeded","rate_limited","live_limit_reached","platform_unavailable","upstream_timeout","upstream_error","service_unavailable","internal_error"]},"ApiError":{"type":"object","description":"Every failure has this shape. The envelope carries `error` instead of `data` and `meta`.","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"$ref":"#/components/schemas/ApiErrorCode"},"message":{"type":"string","description":"Human-readable explanation. Prose, not a contract."},"details":{"type":"object","additionalProperties":{"type":"string"},"description":"Field-level detail, present on invalid_request. Keys are parameter names."},"request_id":{"type":"string"}}}}}},"responses":{"Unauthorized":{"description":"No key was sent, or the key is unknown or revoked.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"enum":["unauthorized"]}}}}}]}}}},"PaymentRequired":{"description":"Your plan's credits for this period are used up and overage is off (or its cap is reached). Waiting does not help: upgrade, or turn on overage in the dashboard.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"enum":["quota_exceeded"]}}}}}]}}}},"NotFound":{"description":"The addressed resource does not exist.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"enum":["not_found"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"type":"string"}},"request_id":{"type":"string"}}}}}]},"example":{"error":{"code":"not_found","message":"No account matches that handle on this platform.","request_id":"req_9f2c41a8b3d5"}}}}},"InvalidRequest":{"description":"A parameter is malformed, out of range or mutually exclusive with another. `details` names the offending fields.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"enum":["invalid_request"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{"type":"string"}},"request_id":{"type":"string"}}}}}]},"example":{"error":{"code":"invalid_request","message":"One or more parameters are invalid.","details":{"limit":"Must be between 1 and 500."},"request_id":"req_9f2c41a8b3d5"}}}}},"RateLimited":{"description":"Too many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute on your plan.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time when the minute window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"enum":["rate_limited","live_limit_reached"]}}}}}]}}}},"Unavailable":{"description":"The call could not be served right now and was not charged. upstream_timeout / upstream_error: a data source was slow or failed, retry with backoff. platform_unavailable: live reads for that platform are paused. service_unavailable: retry shortly.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"enum":["upstream_timeout","upstream_error","platform_unavailable","service_unavailable"]}}}}}]}}}},"InternalError":{"description":"Something failed on our side. The call was not charged; quote the request_id to support.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ApiError"},{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"enum":["internal_error"]}}}}}]}}}}}},"externalDocs":{"description":"Documentation","url":"https://handlesapi.com/docs"},"x-scopes":[{"scope":"directory:read","label":"Directory","description":"Read the account and channel catalog across all every supported platform.","sensitive":false},{"scope":"scrape:live","label":"Live scrape","description":"Read from the platform itself rather than from the catalog: a profile or channel on any supported platform, and on X the whole content layer - timelines, posts, replies, quotes, threads, followers, search, lists and communities.","sensitive":true},{"scope":"insights:read","label":"Insights","description":"Engagement rates, top posts, viral patterns, cohort benchmarks.","sensitive":false},{"scope":"research:read","label":"Research","description":"Findings, runs and events from the autonomous research engine.","sensitive":false},{"scope":"engines:read","label":"Engine health","description":"Throughput, freshness, catalog size and crawl backlog per engine.","sensitive":false},{"scope":"leads:read","label":"Leads","description":"LinkedIn company and contact data, and X follower-graph exports.","sensitive":true},{"scope":"tools:use","label":"Tools","description":"Run the analysis tools: valuation, follower audit, scoring, and more.","sensitive":true}]}