socialcrawl-mcp 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1208,8 +1208,8 @@ export const ENDPOINTS = [
1208
1208
  { name: "feed", type: "enum", enumValues: ["global", "local"], description: "`global` (default): the web trending feed routed through `region`, mostly worldwide content, about 13 videos in 3 to 12 seconds. `local`: the For You feed for a phone in `region`, most videos from that country, a median of 24 videos with 9 calls in 10 answering within 22 seconds, read again up to two more times when a page holds fewer than 20 videos and the request has time left, one more try 15 seconds later when the supplier refuses every pull, and a refunded 503 when none come back." },
1209
1209
  { name: "country", type: "string", description: "Only with `feed=local`. Comma-separated two-letter ISO 3166-1 codes, for example `KE` or `KE,NG` (up to 30). Keeps only videos TikTok registers to one of these countries (`post.ext.region`); a video with no country is dropped. `region` still chooses which country's feed is read. The call keeps reading the feed until it has 20 matching videos or runs out of time (up to about 38 seconds), at the same price, and `data.country` reports `requested`, `kept`, `dropped_other` and `dropped_unknown`. When no video matches, the answer is an empty page with `empty_reason: row_filtered` and nothing is charged." },
1210
1210
  { name: "include", type: "string", description: "`exact_counts`: exact counts on the first 10 rows in one round, about 9 s however many, +1 a row made exact. A row whose counts already came back exact is marked `post.ext.counts_approximate: false` and costs nothing extra." },
1211
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
1212
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
1211
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
1212
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
1213
1213
  ],
1214
1214
  oneOfGroups: [],
1215
1215
  creditTier: "advanced",
@@ -1217,7 +1217,7 @@ export const ENDPOINTS = [
1217
1217
  pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "metered", minCost: 5, maxCost: 15, description: "5 credits per page; include=exact_counts: +1 a row made exact (max 10)." },
1218
1218
  archetype: "PostList",
1219
1219
  summary: "Get TikTok trending feed",
1220
- description: "Returns a page of popular TikTok videos for a country, with view, like, comment, share and save counts, caption, author and thumbnail. Two feeds, chosen with `feed`. The default (`feed=global`) is TikTok's web trending feed fetched through a connection in `region`: `region` sets where the request comes from, not where the videos come from, and for most countries the feed is one worldwide pool. Measured 13/09/2026 over 12 calls in six countries, 22% of its videos were registered in the requested country (US 65%, BR 43%, GB 9%, FR 8%, JP 6%, DE 0%). It returns about 13 videos in 3 to 12 seconds. `feed=local` is the For You feed TikTok's app serves to a phone set to `region`, so most, not all, of its videos are from that country: 57% of videos on 10 served pages the same day (DE 52%, US 66%, GB 41%, JP 81%), and 51% were captioned in the country's main language. It returns a median of 24 videos (13 to 33 on 9 pages in 10), and 9 calls in 10 answer within 22 seconds (364 served pages, 18-19/10/2026). When a local page holds fewer than 20 videos, the call reads the feed again, up to two more times while the request has time left, and adds each new video once after the ones already found, so such a call can take up to about 38 seconds at the same price. At busy hours the supplier can refuse every pull of a local call: 64 of 335 local calls (19%) in the 12 hours to 02:00 UTC on 26/11/2026. The call then waits 15 seconds and tries once more inside the same request, so such a call can take up to about 38 seconds; in the same logs, requests made 15 to 30 seconds after a refused one were served 64% of the time. When no video comes back, after that second try or because the supplier timed out, the call returns 503 with credits refunded. A local request never falls back to the global feed. Both feeds cost the same, carry no cursor, and return each video once. Every row carries `ext.region`, the country the video is registered to. With `feed=local`, send `country` to keep only videos registered to the countries you list: the call keeps reading until it has 20 such videos or runs out of time, `data.country` counts what it kept and dropped, and when no video matches the answer is an empty page with `empty_reason: row_filtered` that costs nothing. Local rows also carry `ext.content_language`, TikTok's own caption-language tag. `post.ext.matched_song_id` is the catalogue song TikTok matched the row's sound to, present when it made a match: an official clip and the original sounds creators upload with it have different `post.ext.music_id` values and one `matched_song_id`, so group on it to count a song's uses (it is not a clipId for `/v1/tiktok/song/videos`).",
1220
+ description: "Returns a page of popular TikTok videos for a country, with view, like, comment, share and save counts, caption, author and thumbnail. Two feeds, chosen with `feed`. The default (`feed=global`) is TikTok's web trending feed fetched through a connection in `region`: `region` sets where the request comes from, not where the videos come from, and for most countries the feed is one worldwide pool. Measured 13/09/2026 over 12 calls in six countries, 22% of its videos were registered in the requested country (US 65%, BR 43%, GB 9%, FR 8%, JP 6%, DE 0%). It returns about 13 videos in 3 to 12 seconds. `feed=local` is the For You feed TikTok's app serves to a phone set to `region`, so most, not all, of its videos are from that country: 57% of videos on 10 served pages the same day (DE 52%, US 66%, GB 41%, JP 81%), and 51% were captioned in the country's main language. It returns a median of 24 videos (13 to 33 on 9 pages in 10), and 9 calls in 10 answer within 22 seconds (364 served pages, 18-19/10/2026). When a local page holds fewer than 20 videos, the call reads the feed again, up to two more times while the request has time left, and adds each new video once after the ones already found, so such a call can take up to about 38 seconds at the same price. The page has no fixed size: it keeps every distinct video those reads return, including reads still arriving when it reaches 20, so it can hold more than 20; the largest of 351 local pages served from 30/11 to 01/12/2026 held 46 videos. At busy hours the supplier can refuse every pull of a local call: 64 of 335 local calls (19%) in the 12 hours to 02:00 UTC on 26/11/2026. The call then waits 15 seconds and tries once more inside the same request, so such a call can take up to about 38 seconds; in the same logs, requests made 15 to 30 seconds after a refused one were served 64% of the time. When no video comes back, after that second try or because the supplier timed out, the call returns 503 with credits refunded. A local request never falls back to the global feed. Both feeds cost the same, carry no cursor, and return each video once. Every row carries `ext.region`, the country the video is registered to. With `feed=local`, send `country` to keep only videos registered to the countries you list: the call keeps reading until it has 20 such videos or runs out of time, `data.country` counts what it kept and dropped, and when no video matches the answer is an empty page with `empty_reason: row_filtered` that costs nothing. Local rows also carry `ext.content_language`, TikTok's own caption-language tag. `post.ext.matched_song_id` is the catalogue song TikTok matched the row's sound to, present when it made a match: an official clip and the original sounds creators upload with it have different `post.ext.music_id` values and one `matched_song_id`, so group on it to count a song's uses (it is not a clipId for `/v1/tiktok/song/videos`).",
1221
1221
  recommended_timeout_s: 58,
1222
1222
  singlePage: "Fixed-window feed: upstream returns a single non-cursored result set.",
1223
1223
  cache: { category: "search", ttlSeconds: 120 },
@@ -1390,7 +1390,7 @@ export const ENDPOINTS = [
1390
1390
  pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 100, description: "1 credit for the page. include=profile holds 1 credit per row, at most 30 (or `limit`), and keeps only the rows filled from a fresh lookup, so a page is at most 31 credits; rows served from cache are free, unfilled rows are refunded, and a repeat within the cache window costs 0. country= holds 5 credits per requested in-country row (8 by default, at most 20) and keeps only the rows returned, so a miss is 0. The page is cached for 2 minutes and the per-account lookups for 15 minutes. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
1391
1391
  archetype: "AuthorList",
1392
1392
  summary: "Search TikTok users",
1393
- description: "Searches TikTok for user accounts matching a query, 30 per page. Each row carries the username, display name, avatar, profile URL, verification status, whether the account is private, and the follower, following, video and like counts. The search surface publishes nothing else, so on a plain call `author.bio`, `author.location`, `author.ext.bio_link` and `author.ext.business_category` are null on every row. Send `include=profile` and every row is joined, in the same call, to the profile lookup that carries them: the bio, the ISO 3166-1 alpha-2 region at `author.location`, the link in the bio and the account category land on each row. Cost: 1 credit for the page plus 1 credit per row filled from a fresh lookup (30 rows, so 31 at most); rows already in cache are filled for free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0. Time: a plain call is about 2 seconds; `include=profile` adds 4 to 9 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. `limit=N` (1 to 30) takes the top N rows of the page and, with `include`, caps the extra credits at N. The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. The counts on a search row are the search index's own figures and can trail the profile's by a few thousand on a large account; the join never overwrites a value the row already carries. Page with cursor. Send `country=` as an ISO 3166-1 alpha-2 code (KR, US, DE, …) to search for creators whose account region is that country instead of the global page: each returned row already carries `author.location`, the bio and the profile URL, the call does not paginate, and a row whose region does not match is dropped. A row is also dropped when neither its matched video, bio nor name is about your query, so a query that names only a market or a kind of account (\"influencers\") returns an empty page at 0 credits; put the topic in `query`. Cost: 5 credits per in-country creator returned (8 by default, at most 20 via `limit`); unused slots are refunded. A typo is a free 400. The global 1-credit page is unchanged when `country` is omitted.",
1393
+ description: "Searches TikTok for user accounts matching a query, 30 per page. Each row carries the username, display name, avatar, profile URL, verification status, whether the account is private, and the follower, following, video and like counts. The search surface publishes nothing else, so on a plain call `author.bio`, `author.location`, `author.ext.bio_link` and `author.ext.business_category` are null on every row. Send `include=profile` and every row is joined, in the same call, to the profile lookup that carries them: the bio, the ISO 3166-1 alpha-2 region at `author.location`, the link in the bio and the account category land on each row. Cost: 1 credit for the page plus 1 credit per row filled from a fresh lookup (30 rows, so 31 at most); rows already in cache are filled for free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0. Time: a plain call is about 2 seconds; `include=profile` adds 4 to 9 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. `limit=N` (1 to 30) takes the top N rows of the page and, with `include`, caps the extra credits at N. The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. The counts on a search row are the search index's own figures and can trail the profile's by a few thousand on a large account; the join never overwrites a value the row already carries. Page with cursor. Send `country=` as an ISO 3166-1 alpha-2 code (KR, US, DE, …) to search for creators whose account region is that country instead of the global page: each returned row already carries `author.location`, the bio and the profile URL, the call does not paginate, and a row whose region does not match is dropped. A row is also dropped when neither its matched video, bio nor name is about your query, so a query that names only a market or a kind of account (\"influencers\") returns an empty page at 0 credits; put the topic in `query`. Cost: 5 credits per in-country creator returned (8 by default, at most 20 via `limit`); unused slots are refunded. A typo is a free 400. The global 1-credit page is unchanged when `country` is omitted. To find one person's or brand's own account from a name, call `GET /v1/prism/find-accounts?name=` instead: it searches several platforms, ranks the candidates and labels each platform's leading account with a match level, so you do not pick by eye.",
1394
1394
  recommended_timeout_s: 23,
1395
1395
  budget_ms: 20000,
1396
1396
  pagination: { style: "cursor", nativeParam: "cursor", limitParam: "limit" },
@@ -1465,7 +1465,7 @@ export const ENDPOINTS = [
1465
1465
  pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
1466
1466
  archetype: "Audience",
1467
1467
  summary: "Get TikTok user audience demographics",
1468
- description: "Returns audience geography for a TikTok creator: audienceLocations ranks the top countries in the creator's audience with sampled follower counts and percentage share. The ranking is built from a sample of the creator's public followers (typically a few hundred), not the full follower base, so treat the percentages as a concentration ranking rather than a census. When the creator has a public Shop marketplace card, the same response also carries audienceAges and audienceGenders (percentage share) and audienceStates (sampled US-state counts). Age and gender are absent when no marketplace card exists; the country ranking is still returned.",
1468
+ description: "Returns audience geography for a TikTok creator: audienceLocations ranks the top countries in the creator's audience with sampled follower counts and percentage share. The ranking is built from a sample of the creator's public followers (typically a few hundred), not the full follower base, so treat the percentages as a concentration ranking rather than a census. When the creator has a public Shop marketplace card, the same response also carries audienceAges and audienceGenders (percentage share) and audienceStates (sampled US-state counts). Age and gender are absent when no marketplace card exists; the country ranking is still returned. Beside the raw audienceLocations the answer carries countries (country_code, country, count and a numeric share from 0 to 1), n (the followers sampled) and basis (what the sample is).",
1469
1469
  recommended_timeout_s: 31,
1470
1470
  budget_ms: 20000,
1471
1471
  cache: { category: "analytics", ttlSeconds: 1800 },
@@ -1697,9 +1697,9 @@ export const ENDPOINTS = [
1697
1697
  summary: "Get TikTok song details",
1698
1698
  description: "Returns details about a specific TikTok sound/song including title, artist, duration, and cover image. The number of videos using the sound is published twice: `post.engagement.views` keeps the value this endpoint has always returned, and `post.ext.use_count` is that same number labelled as a video count (`post.ext.use_count_unit` is `videos`). It is not a play count. `post.ext.matched_song_id`, `matched_song_title` and `matched_song_artist` name the catalogue song TikTok matched the sound to, present when it made a match: an official clip and the original sounds creators upload with it have different `post.ext.music_id` values and one `matched_song_id`, the same leaf the video lanes carry. To record this count every day, create a Monitor that tracks `post.engagement.views`; see /docs/recipes/track-sound-growth.",
1699
1699
  recommended_timeout_s: 14,
1700
- budget_ms: 6000,
1700
+ budget_ms: 8000,
1701
1701
  cache: { category: "post", ttlSeconds: 600 },
1702
- upstream: { kind: "tiktok-api23", fallbackKinds: ["scrapecreators"] },
1702
+ upstream: { kind: "scrapecreators", fallbackKinds: ["tokapi"] },
1703
1703
  tags: ["tiktok"],
1704
1704
  responseShape: { root: "data.post" },
1705
1705
  purpose: {
@@ -1768,8 +1768,8 @@ export const ENDPOINTS = [
1768
1768
  { name: "countryCode", type: "enum", enumValues: ["US", "FR", "DE", "IT", "ES", "GB", "AR", "AU", "BR", "CA", "CO", "EG", "ID", "IL", "JP", "KR", "MY", "MX", "PH", "SA", "SG", "ZA", "TW", "TH", "TR", "AE", "VN"], description: "Market to read the board for, as an ISO country code. One of the 27 markets TikTok publishes the board for. Defaults to US.", example: "DE" },
1769
1769
  { name: "period", type: "enum", enumValues: ["7", "30", "90"], description: "Window in days: 7, 30 or 90. Defaults to 7. Each window is a different board, not a longer list.", example: "7" },
1770
1770
  { name: "industry", type: "enum", enumValues: ["all", "education", "vehicle-and-transportation", "baby-kids-and-maternity", "beauty-and-personal-care", "tech-and-electronics", "travel", "household-products", "pets", "home-improvement", "apparel-and-accessories", "news-and-entertainment", "games", "food-and-beverage", "sports-and-outdoor", "health"], description: "Which board to read. Omit for the overall board (3 hashtags). Pass an industry slug for that industry's board (3 hashtags), or `all` for the overall board plus all 15 industry boards in one call.", example: "all" },
1771
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
1772
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
1771
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
1772
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
1773
1773
  ],
1774
1774
  oneOfGroups: [],
1775
1775
  creditTier: "standard",
@@ -1804,8 +1804,8 @@ export const ENDPOINTS = [
1804
1804
  { name: "period", type: "enum", enumValues: ["7", "30"], description: "Window in days: 7 or 30. Defaults to 7.", example: "7" },
1805
1805
  { name: "orderBy", type: "enum", enumValues: ["views", "engagement", "six_second_views"], description: "How TikTok ranks the board: views (the default), engagement, or six_second_views.", example: "views" },
1806
1806
  { name: "limit", type: "integer", minimum: 1, maximum: 20, description: "How many videos to return, 1-20, default 20." },
1807
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
1808
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
1807
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
1808
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
1809
1809
  ],
1810
1810
  oneOfGroups: [],
1811
1811
  creditTier: "standard",
@@ -2040,8 +2040,8 @@ export const ENDPOINTS = [
2040
2040
  optionalParams: [
2041
2041
  { name: "handle", type: "string", description: "TikTok username without the @ symbol.", example: "chipotle" },
2042
2042
  { name: "user_id", type: "string", description: "TikTok numeric user ID. Use this for faster responses." },
2043
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2044
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2043
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2044
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2045
2045
  ],
2046
2046
  oneOfGroups: [["handle", "user_id"]],
2047
2047
  creditTier: "standard",
@@ -2203,8 +2203,8 @@ export const ENDPOINTS = [
2203
2203
  { name: "ids", required: true, description: "Comma-separated TikTok effect ids, up to 50 per request.", example: "1108584,1109028" },
2204
2204
  ],
2205
2205
  optionalParams: [
2206
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2207
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2206
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2207
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2208
2208
  ],
2209
2209
  oneOfGroups: [],
2210
2210
  creditTier: "standard",
@@ -2398,8 +2398,8 @@ export const ENDPOINTS = [
2398
2398
  { name: "keyword", type: "string", description: "Search the board by brand or product keyword. TikTok matches the keyword against the brand and product names it indexes, not against the words of the ad copy, so many rows will not contain it in `content.text`. It combines with `order_by`; the ranking applies to the matching ads." },
2399
2399
  { name: "limit", type: "integer", minimum: 1, maximum: 100, description: "How many ads to return, 1-100, default 20. The board is served in blocks of ten, so any limit below 10 still costs 10 credits. When the board holds more ads than `limit`, a call can return a few fewer than you asked for, because TikTok repeats some ads across its pages and each ad comes back once. To know how many ads match, send include=total. With include=retention, 1-20." },
2400
2400
  { name: "include", type: "string", description: "Send `retention` to add each ad's second-by-second audience retention curve (`ext.ad.retention`) and its points at second 2 and second 6 (`ext.ad.retention_2s`, `ext.ad.retention_6s`). 2 credits per ad that carries a curve, minimum 20; up to 20 ads per call; usually 20 to 35 seconds; not combinable with keyword or industry. Send `total` to read the whole board and get the number of distinct ads on it in `data.total` (works with keyword, industry and every filter); 1 credit per ad counted, minimum 10, at most 400, usually 5 to 15 seconds. One token per call." },
2401
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2402
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2401
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2402
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2403
2403
  ],
2404
2404
  oneOfGroups: [],
2405
2405
  csvConstraints: { "include": { max: 1, enumValues: ["retention", "total"] } },
@@ -2936,8 +2936,8 @@ export const ENDPOINTS = [
2936
2936
  optionalParams: [
2937
2937
  { name: "user_id", type: "string", description: "Instagram user id. Use for faster response times." },
2938
2938
  { name: "handle", type: "string", description: "Instagram username without the @ symbol", example: "instagram" },
2939
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2940
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2939
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2940
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2941
2941
  ],
2942
2942
  oneOfGroups: [["user_id", "handle"]],
2943
2943
  creditTier: "standard",
@@ -2970,8 +2970,8 @@ export const ENDPOINTS = [
2970
2970
  optionalParams: [
2971
2971
  { name: "id", type: "string", description: "Instagram highlight ID: the numeric id, with or without the `highlight:` prefix. Get it from `/v1/instagram/highlights`.", example: "18067016518767507" },
2972
2972
  { name: "owner_name", type: "enum", enumValues: ["true", "false"], description: "Every row carries the highlight owner's display name (`post.author.display_name`), looked up once per call at no extra credit. Set to `false` to skip the lookup; the name is then null when the source omits it. When the lookup cannot run, the rows keep a null name and `_warnings` carries `owner_name_unavailable`." },
2973
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2974
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2973
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
2974
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
2975
2975
  ],
2976
2976
  oneOfGroups: [],
2977
2977
  creditTier: "standard",
@@ -3325,8 +3325,8 @@ export const ENDPOINTS = [
3325
3325
  method: "GET",
3326
3326
  params: [],
3327
3327
  optionalParams: [
3328
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
3329
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
3328
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
3329
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
3330
3330
  ],
3331
3331
  oneOfGroups: [],
3332
3332
  creditTier: "advanced",
@@ -3516,7 +3516,7 @@ export const ENDPOINTS = [
3516
3516
  pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "metered", minCost: 5, maxCost: 9, description: "5 credits for the post. include=saves holds 4 more and keeps them only when it fills a save count the plain call lacked, refunding them otherwise, so a hydrated call is at most 9 credits; on a reel whose save count the plain call already carries, and on any photo or carousel, it settles at 5. Post lookups are cached for 10 minutes." },
3517
3517
  archetype: "Post",
3518
3518
  summary: "Get Instagram post stats including the share count",
3519
- description: "Returns full engagement stats for a single Instagram post or reel: likes, comments, the view (play) count, and the share count (`engagement.shares`), which is the number shown next to the paper-plane Share icon in the app. The share count is a strong authenticity signal: unlike likes and comments, shares are hard to inflate, so it helps separate genuine reach from bought engagement. The standard /v1/instagram/post endpoint cannot return the share count. Metric availability depends on the media type: likes and comments populate on every post, but Instagram exposes a view (play) count and a share count only on video media (reels, videos, and carousels containing a video). On photo posts and photo-only carousels, `engagement.views` and `engagement.shares` are `null`, and because `computed.estimated_reach` and `computed.engagement_rate` derive from views, they are `null` there too. When Instagram's response for a reel includes the save count and the two-arrows Repost (\"regram\") counter, the plain call returns them at `engagement.saves` and `post.ext.repost_count`; Instagram includes them on some responses and not others, so do not rely on the plain call for them. Instagram publishes no save count and no share count on photos and carousels, so `engagement.saves` is null there on every call. Every post carries `post.ext.media_type` (`image`, `video` or `carousel`), a carousel carries its slide count at `post.ext.carousel_count`, and a reel carries Instagram's remix counter at `post.ext.remix_count` (how many reels were made from it). `include=saves` is the reliable way to get them: it asks a third source for a reel's save and repost count whenever the plain call came back without them, for 4 extra credits kept only when a save count comes back; a photo or carousel is never looked up. Use this endpoint for a single post; to get the share count for every reel or post across a whole feed in one call, use /v1/instagram/profile/reels/full or /v1/instagram/profile/posts/full. This endpoint also returns the post's collaborative-post co-authors under `post.ext.coauthors` (`{ id, username, full_name, is_verified, profile_pic_url }` per account, empty array when the post is not a collab): the standard /v1/instagram/post endpoint cannot, because its web source reports every post as having no co-authors. Pass the post `url` (a /p/, /reel/, or /tv/ link; a story link is refused at no charge, because a story has no public counts: pass it to /v1/instagram/post for the story itself). On a reel, `post.ext.subtitles_url` is Instagram's own caption file (a signed `.srt` link that expires like `media_urls`), with `post.ext.subtitles_locale` (for example `en_US`) and `post.ext.spoken_language` (for example `en`); they are filled when the answering source carries them, otherwise null and named on `data._warnings`. `post.ext.aspect_ratio` is the media's width divided by its height (0.5625 is 9:16), the same whichever source answered, null when no size was sent.",
3519
+ description: "Returns full engagement stats for a single Instagram post or reel: likes, comments, the view (play) count, and the share count (`engagement.shares`), which is the number shown next to the paper-plane Share icon in the app. Shares are hard to inflate, so the share count separates genuine reach from bought engagement. The standard /v1/instagram/post endpoint cannot return the share count. Metric availability depends on the media type: likes and comments populate on every post, but Instagram exposes a view (play) count and a share count only on video media (reels, videos, and carousels containing a video). On photo posts and photo-only carousels, `engagement.views` and `engagement.shares` are `null`, and because `computed.estimated_reach` and `computed.engagement_rate` derive from views, they are `null` there too. When Instagram's response for a reel includes the save count and the two-arrows Repost (\"regram\") counter, the plain call returns them at `engagement.saves` and `post.ext.repost_count`; Instagram includes them on some responses and not others, so do not rely on the plain call for them. Instagram publishes no save count and no share count on photos and carousels, so `engagement.saves` is null there on every call. Every post carries `post.ext.media_type` (`image`, `video` or `carousel`), a carousel carries its slide count at `post.ext.carousel_count`, and a reel carries Instagram's remix counter at `post.ext.remix_count` (how many reels were made from it). `include=saves` is the reliable way to get them: it asks a third source for a reel's save and repost count whenever the plain call came back without them, for 4 extra credits kept only when a save count comes back; a photo or carousel is never looked up. Use this endpoint for a single post; to get the share count for every reel or post across a whole feed in one call, use /v1/instagram/profile/reels/full or /v1/instagram/profile/posts/full. This endpoint also returns the post's collaborative-post co-authors under `post.ext.coauthors` (`{ id, username, full_name, is_verified, profile_pic_url }` per account, empty array when the post is not a collab): the standard /v1/instagram/post endpoint cannot, because its web source reports every post as having no co-authors. `post.ext.sponsor_tags` lists the post's paid partners (`[]` means no paid partner; null means a paid partnership whose partners the record does not name). Pass the post `url` (a /p/, /reel/, or /tv/ link; a story link is refused at no charge, because a story has no public counts: pass it to /v1/instagram/post for the story itself). On a reel, `post.ext.subtitles_url` is Instagram's own caption file (a signed `.srt` link that expires like `media_urls`), with `post.ext.subtitles_locale` (for example `en_US`) and `post.ext.spoken_language` (for example `en`); they are filled when the answering source carries them, otherwise null and named on `data._warnings`. `post.ext.aspect_ratio` is the media's width divided by its height (0.5625 is 9:16), the same whichever source answered, null when no size was sent.",
3520
3520
  recommended_timeout_s: 10,
3521
3521
  budget_ms: 20000,
3522
3522
  cache: { category: "post", ttlSeconds: 600 },
@@ -3927,8 +3927,8 @@ export const ENDPOINTS = [
3927
3927
  { name: "user_id", type: "string", description: "Instagram numeric user ID. Use this for faster responses." },
3928
3928
  { name: "safe_url", type: "boolean", description: "Optional and usually ignored: most responses carry ordinary media URLs whether or not you send it. Same price either way." },
3929
3929
  { name: "include", type: "enum", enumValues: ["branded"], description: "Send `branded` to add the paid-partnership flag, the sponsor tags and the AI-content label to every story, at the same price. A typo is a free 400." },
3930
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
3931
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
3930
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
3931
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
3932
3932
  ],
3933
3933
  oneOfGroups: [["handle", "user_id"]],
3934
3934
  creditTier: "advanced",
@@ -4383,7 +4383,7 @@ export const ENDPOINTS = [
4383
4383
  pricing: { cost: 25, tier: "premium", ladderCost: 10, model: "flat" },
4384
4384
  archetype: "Author",
4385
4385
  summary: "Get a YouTube channel's contact email and country. Try the 1-credit youtube/channel first: it already carries the email for some channels, and you are charged here only when an address is returned. A first read of an address behind the View email address button can take up to 5 minutes, so set your HTTP timeout to at least 300s; on a 503, retry after the Retry-After seconds",
4386
- description: "Returns the contact email a YouTube channel publishes, including the address behind its View email address control (`author.ext.public_email`), and the country listed on the channel (`author.ext.country`, an ISO 3166-1 alpha-2 code, with the English name in `author.ext.country_name`), together with the channel's id, handle, name, subscriber count and video count. `public_email` is only an address the channel publishes on YouTube itself, in its About panel or behind the View email address control; addresses found only on the channel's linked websites or other profiles are not returned. A channel without that control usually answers in a few seconds with `public_email` null, at 0 credits. CHECK THE CHEAP LANE FIRST: `GET /v1/youtube/channel` costs 1 credit and already returns `author.ext.public_email` when the channel writes an address into its public description, which covered 17% of a 12-channel sample. Call this endpoint only when that field came back null; it reads the About tab directly and found an address on a further 58% of the same sample. You are charged ONLY when an address is returned: a channel that publishes none costs 0 credits, and so does a channel that does not exist (404). An address behind the View email address button that has not been read before can take from a few minutes to a few hours to retrieve, and the call waits up to 5 minutes for it, so allow that before your HTTP client times out. If it is still not ready, the call answers `503 SERVICE_UNAVAILABLE` with a `Retry-After` header (300 seconds while it is being read; once it is queued, the queue's expected wait, from 1800 to 21600 seconds) and is not charged, and the same call made after that interval normally returns the address. A 503 is also returned, uncharged, when the channel shows the button but the address could not be retrieved on that call; the error message says which case it is, and `error.details.reason` names it (`reveal_pending` while the address is being read, `reveal_undelivered` or `reveal_undelivered_wait` when it could not be revealed, which is the answer for a channel whose address cannot be revealed now, with its `Retry-After`) beside `retry_after_seconds`, the same value as `Retry-After`. Do not store `public_email` as empty on a 503. To collect every address without handling retries, send the channels as one job: `POST /v1/prism/jobs` with `{\"endpoint\": \"youtube/channel/about\", \"items\": [{\"channelId\": \"UC...\"}, ...], \"webhook\": {\"url\": \"https://...\"}}` (up to 1,000 channels). The job asks a channel whose address is still being read again after its wait, for up to 6 hours, keeps every answer it already has, bills each address once at this price, and calls the webhook when every channel has its final answer. BUTTON ADDRESSES ONLY: `email_source=button` returns only the address behind the View email address button, never one read from the bio, video descriptions, linked sites or other profiles. Each address it returns has `author.ext.public_email_via` `button` and `author.ext.public_email_revealed_at`, the time the button was read; a channel without the button returns `public_email` null at 0 credits. ONE CHARGE PER ADDRESS: `unique_emails=true` charges each address once per account, so a later call that returns an address this account was already charged for, on the same channel or another, is free and carries `author.ext.public_email_repeat` true. Both work on job items too.",
4386
+ description: "Returns the contact email a YouTube channel publishes, including the address behind its View email address control (`author.ext.public_email`), and the country listed on the channel (`author.ext.country`, an ISO 3166-1 alpha-2 code, with the English name in `author.ext.country_name`), together with the channel's id, handle, name, subscriber count and video count. `public_email` is only an address the channel publishes on YouTube itself, in its About panel or behind the View email address control; addresses found only on the channel's linked websites or other profiles are not returned. A channel without that control usually answers in a few seconds with `public_email` null, at 0 credits. CHECK THE CHEAP LANE FIRST: `GET /v1/youtube/channel` costs 1 credit and already returns `author.ext.public_email` when the channel writes an address into its public description, which covered 17% of a 12-channel sample. Call this endpoint only when that field came back null; it reads the About tab directly and found an address on a further 58% of the same sample. You are charged ONLY when an address is returned: a channel that publishes none costs 0 credits, and so does a channel that does not exist (404). An address behind the View email address button that has not been read before can take from a few minutes to a few hours to retrieve, and the call waits up to 5 minutes for it, so allow that before your HTTP client times out. If it is still not ready, the call answers `503 SERVICE_UNAVAILABLE` with a `Retry-After` header (300 seconds while it is being read; once it is queued, the queue's expected wait, from 1800 to 21600 seconds) and is not charged, and the same call made after that interval normally returns the address. A 503 is also returned, uncharged, when the channel shows the button but the address could not be retrieved on that call; the error message says which case it is, and `error.details.reason` names it (`reveal_pending` while the address is being read, `reveal_undelivered` or `reveal_undelivered_wait` when it could not be revealed, which is the answer for a channel whose address cannot be revealed now, with its `Retry-After`) beside `retry_after_seconds`, the same value as `Retry-After`. Do not store `public_email` as empty on a 503. To collect every address without handling retries, send the channels as one job: `POST /v1/prism/jobs` with `{\"endpoint\": \"youtube/channel/about\", \"items\": [{\"channelId\": \"UC...\"}, ...], \"webhook\": {\"url\": \"https://...\"}}` (up to 1,000 channels). The job asks a channel whose address is still being read again after its wait, for up to 6 hours, keeps every answer it already has, bills each address once at this price, and calls the webhook when every channel has its final answer. BUTTON ADDRESSES ONLY: `email_source=button` returns only the address behind the View email address button, never one read from the bio, video descriptions, linked sites or other profiles. Each address it returns has `author.ext.public_email_via` `button` and `author.ext.public_email_revealed_at`, the time the button was read; a channel without the button returns `public_email` null at 0 credits. ONE CHARGE PER ADDRESS: `unique_emails=true` charges each address once per account, so a later call that returns an address this account was already charged for, on the same channel or another, is free and carries `author.ext.public_email_repeat` true. Both work on job items too. On some button addresses `author.ext.public_email_in_description` says whether the same address is also written in the channel's description and `author.ext.public_email_fresh` whether it was read live for this request; both are null when the read that answered does not report them, for an address answered from an earlier call, and without an address.",
4387
4387
  recommended_timeout_s: 120,
4388
4388
  budget_ms: 250000,
4389
4389
  route_budget_ms: 270000,
@@ -5023,8 +5023,8 @@ export const ENDPOINTS = [
5023
5023
  { name: "language", type: "string", description: "Preferred language for the listing (mapped to Accept-Language; not guaranteed due to YouTube localization behavior). 2 letter language code, ie 'en', 'es', 'fr' etc." },
5024
5024
  { name: "include", type: "string", description: "Set to `engagement`, `channel`, or both (`engagement,channel`) to fill more of every row in this one call. `engagement` fills `post.engagement.views`, `.likes` and `.comments`, `post.content.duration_seconds`, `post.ext.channel_id` and `post.author.display_name` where the row lacks them, and replaces a date derived from a label such as \"4 months ago\" with the exact publish time (removing `post.ext.published_precision`). `channel` puts the channel's subscriber count on `post.ext.author_followers` (YouTube's own figure, which it rounds to three significant figures above 1,000) and fills the channel's `post.author.display_name`, `.avatar_url` and `.username` where missing. It also adds the country the channel's owner set, as an ISO 3166-1 alpha-2 code on `post.ext.author_country` (null when the channel sets none). Send both to cover rows that arrive without a channel id: the video join supplies it and the channel join then uses it. Each join costs 1 credit per distinct video or channel it filled, and never more than 5 per 50; ids that could not be filled are refunded. Each join adds 0.2 to 0.7 seconds on a fresh page (one lookup per 50 ids, never more than 8 seconds). Read `data.hydration` for the rows, lookups, credits held and kept, and the time." },
5025
5025
  { name: "exact_dates", type: "enum", enumValues: ["true", "false"], description: "Exact publish dates are on by default and free. A row whose date the upstream derived from a relative label such as \"4 months ago\" (measured up to four months off) is joined to the per-video lookup for its exact publish second, at no extra credit: one lookup per page (two on a page past 50 rows, side by side), adding about 0.2 to 0.7 seconds (never more than 3). The same lookup swaps the listing title, often YouTube's English machine translation, for the creator's own, and `computed.language` follows it; a title not swapped carries `post.ext.title_maybe_translated: true`. Set to `false` to skip the lookup: rows then carry the supplier's date estimate (a day-granular or coarser label truncated to midnight UTC), marked by `post.ext.published_precision` and `post.ext.published_label`, and the listing title, marked by `post.ext.title_maybe_translated`. A row the lookup could not resolve keeps those values and markers, and `_warnings` carries `exact_dates_partial` (some rows) or `exact_dates_unavailable` (none); on `channel/videos`, whose dates are already exact, the warnings are `original_titles_partial` and `original_titles_unavailable`." },
5026
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5027
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5026
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5027
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5028
5028
  ],
5029
5029
  oneOfGroups: [],
5030
5030
  csvConstraints: { "include": { max: 2, enumValues: ["engagement", "channel"] } },
@@ -5063,8 +5063,8 @@ export const ENDPOINTS = [
5063
5063
  params: [],
5064
5064
  optionalParams: [
5065
5065
  { name: "include", type: "enum", enumValues: ["channel"], description: "Set to `channel` (one token only) to add each row's channel stats in this one call. `channel` puts the channel's subscriber count on `post.ext.author_followers` (YouTube's own figure, which it rounds to three significant figures above 1,000) and fills the channel's `post.author.display_name`, `.avatar_url` and `.username` where missing. It also adds the country the channel's owner set, as an ISO 3166-1 alpha-2 code on `post.ext.author_country` (null when the channel sets none). Each join costs 1 credit per distinct video or channel it filled, and never more than 5 per 50; ids that could not be filled are refunded. Each join adds 0.2 to 0.7 seconds on a fresh page (one lookup per 50 ids, never more than 8 seconds). Read `data.hydration` for the rows, lookups, credits held and kept, and the time." },
5066
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5067
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5066
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5067
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5068
5068
  ],
5069
5069
  oneOfGroups: [],
5070
5070
  creditTier: "advanced",
@@ -5273,8 +5273,8 @@ export const ENDPOINTS = [
5273
5273
  optionalParams: [
5274
5274
  { name: "channelId", type: "string", description: "YouTube channel ID." },
5275
5275
  { name: "handle", type: "string", description: "YouTube channel handle (with or without @).", example: "TED" },
5276
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5277
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5276
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5277
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5278
5278
  ],
5279
5279
  oneOfGroups: [["channelId", "handle"]],
5280
5280
  creditTier: "standard",
@@ -5948,8 +5948,8 @@ export const ENDPOINTS = [
5948
5948
  { name: "url", required: true, description: "Full URL of the Twitter/X community, in the form https://x.com/i/communities/{id}", example: "https://x.com/i/communities/1926186499399139650" },
5949
5949
  ],
5950
5950
  optionalParams: [
5951
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5952
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5951
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
5952
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
5953
5953
  ],
5954
5954
  oneOfGroups: [],
5955
5955
  creditTier: "standard",
@@ -6404,8 +6404,8 @@ export const ENDPOINTS = [
6404
6404
  optionalParams: [
6405
6405
  { name: "url", type: "string", description: "The link to any post in the thread, for example https://x.com/NASA/status/2118397868562071609.", example: "https://x.com/NASA/status/2118397868562071609" },
6406
6406
  { name: "id", type: "string", description: "The post's numeric id, instead of url." },
6407
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
6408
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
6407
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
6408
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
6409
6409
  ],
6410
6410
  oneOfGroups: [["url", "id"]],
6411
6411
  creditTier: "standard",
@@ -7216,8 +7216,8 @@ export const ENDPOINTS = [
7216
7216
  ],
7217
7217
  optionalParams: [
7218
7218
  { name: "sort_by", type: "enum", enumValues: ["recent", "oldest", "relevance"], description: "Result ordering: recent, oldest, or relevance." },
7219
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
7220
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
7219
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
7220
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
7221
7221
  ],
7222
7222
  oneOfGroups: [],
7223
7223
  creditTier: "premium",
@@ -7821,8 +7821,8 @@ export const ENDPOINTS = [
7821
7821
  optionalParams: [
7822
7822
  { name: "limit", type: "integer", minimum: 1, maximum: 100, description: "How many posts to return in the one call, 1 to 100. Defaults to the upstream's 20. 100 is the provider's hard ceiling. Up to 50 the call is a flat 5 credits; above 50 it is metered at 2 credits per post returned (holds `limit x 2`, never below 5). Ask for the depth you need up front - there is no second page to fetch." },
7823
7823
  { name: "urn", type: "string", description: "The member's opaque LinkedIn URN, as returned in `author.ext.urn` by /v1/linkedin/profile. Optional, and a pure optimisation: pass it ALONGSIDE `url` (which stays required) and this call skips the internal handle lookup, so it answers faster and consumes half the upstream rate-limit budget. Verified on the deployed API 05/09/2026. To address a member by URN alone, send the URN-form profile URL as `url`, for example https://www.linkedin.com/in/ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc: it resolves to the same member as the public address (verified 20/10/2026 on profile/posts and profile/comments) and holds only ASCII, which helps when the public address carries an emoji or other symbol." },
7824
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
7825
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
7824
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
7825
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
7826
7826
  ],
7827
7827
  oneOfGroups: [],
7828
7828
  creditTier: "advanced",
@@ -7860,8 +7860,8 @@ export const ENDPOINTS = [
7860
7860
  ],
7861
7861
  optionalParams: [
7862
7862
  { name: "urn", type: "string", description: "The member's opaque LinkedIn URN, as returned in `author.ext.urn` by /v1/linkedin/profile. Optional, and a pure optimisation: pass it ALONGSIDE `url` (which stays required) and this call skips the internal handle lookup, so it answers faster and consumes half the upstream rate-limit budget. Verified on the deployed API 05/09/2026. To address a member by URN alone, send the URN-form profile URL as `url`, for example https://www.linkedin.com/in/ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc: it resolves to the same member as the public address (verified 20/10/2026 on profile/posts and profile/comments) and holds only ASCII, which helps when the public address carries an emoji or other symbol." },
7863
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
7864
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
7863
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
7864
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
7865
7865
  ],
7866
7866
  oneOfGroups: [],
7867
7867
  creditTier: "advanced",
@@ -8406,8 +8406,8 @@ export const ENDPOINTS = [
8406
8406
  ],
8407
8407
  optionalParams: [
8408
8408
  { name: "urn", type: "string", description: "The member's opaque LinkedIn URN, as returned in `author.ext.urn` by /v1/linkedin/profile. Optional, and a pure optimisation: pass it ALONGSIDE `url` (which stays required) and this call skips the internal handle lookup, so it answers faster and consumes half the upstream rate-limit budget. Verified on the deployed API 05/09/2026. To address a member by URN alone, send the URN-form profile URL as `url`, for example https://www.linkedin.com/in/ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc: it resolves to the same member as the public address (verified 20/10/2026 on profile/posts and profile/comments) and holds only ASCII, which helps when the public address carries an emoji or other symbol." },
8409
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
8410
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
8409
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
8410
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
8411
8411
  ],
8412
8412
  oneOfGroups: [],
8413
8413
  creditTier: "advanced",
@@ -8438,8 +8438,8 @@ export const ENDPOINTS = [
8438
8438
  ],
8439
8439
  optionalParams: [
8440
8440
  { name: "urn", type: "string", description: "The member's opaque LinkedIn URN, as returned in `author.ext.urn` by /v1/linkedin/profile. Optional, and a pure optimisation: pass it ALONGSIDE `url` (which stays required) and this call skips the internal handle lookup, so it answers faster and consumes half the upstream rate-limit budget. Verified on the deployed API 05/09/2026. To address a member by URN alone, send the URN-form profile URL as `url`, for example https://www.linkedin.com/in/ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc: it resolves to the same member as the public address (verified 20/10/2026 on profile/posts and profile/comments) and holds only ASCII, which helps when the public address carries an emoji or other symbol." },
8441
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
8442
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
8441
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
8442
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
8443
8443
  ],
8444
8444
  oneOfGroups: [],
8445
8445
  creditTier: "advanced",
@@ -9532,7 +9532,7 @@ export const ENDPOINTS = [
9532
9532
  taxonomy: { purpose: "data_retrieval", job_family: "entity_profile", takes_item_id_from_another_endpoint: false },
9533
9533
  latency_ms: { p50: 10967, p95: 26953, p99: 35271, n: 354 },
9534
9534
  },
9535
- // --- facebook (34 endpoints) ---
9535
+ // --- facebook (35 endpoints) ---
9536
9536
  {
9537
9537
  platform: "facebook",
9538
9538
  resource: "profile",
@@ -9676,6 +9676,7 @@ export const ENDPOINTS = [
9676
9676
  { name: "url", type: "string", description: "Full URL of the Facebook post to fetch comments for. Share links (`/share/v/…`, `/share/p/…`, `/share/r/…`, `/share/…`) are accepted.", example: "https://www.facebook.com/Meta/videos/a-slightly-life-changing-story/1459847961114516/" },
9677
9677
  { name: "feedback_id", type: "string", description: "Using feedback_id (instead of url) will *really* speed up the request. You can get the feedback_id when you make a request to /v1/facebook/post." },
9678
9678
  { name: "cursor", type: "string", description: "Cursor to get more comments. Get 'cursor' from previous response." },
9679
+ { name: "include", type: "enum", enumValues: ["author_ids"], description: "Set to `author_ids` to look up vanity, `profile.php?id=` and `/people/` author links (never a bare pfbid link), 1 credit per id found, at most 50 a page." },
9679
9680
  { name: "label", type: "string", description: "Optional CSV of SocialCrawl labels to add to every comment: sentiment, spam, question, purchase_intent, complaint, toxic, low_quality, injection. Without this param every page already carries sentiment, question, purchase_intent and complaint, free; label= adds the labels you name to them (the defaults keep running). Each comment gains computed.labels with probabilities (0 to 1), so you choose the cut-off; a comment that could not be judged carries labels: null. sentiment, question, purchase_intent and complaint are free when asked for too; spam, toxic, low_quality and injection add 1 credit per started 25 newly judged comments (comments already labelled for anyone are free, and so is a cached page). injection flags text that addresses an AI system and tries to direct it (flagged, p); it never drops or rewrites a row. judgments=off (or label=none) turns the default labels off. data.labels reports what was judged and billed." },
9680
9681
  { name: "exclude", type: "string", requires: "label", description: "Optional CSV (spam, low_quality), only with the same preset in label. Drops comments whose probability is 0.8 or higher and lists their ids in data.labels.dropped_ids. A comment that could not be judged is never dropped." },
9681
9682
  { name: "judgments", type: "enum", enumValues: ["on", "off"], description: "Optional, on (the default) or off. By default every row gains free SocialCrawl judgments (computed.labels, and computed.relevance on search endpoints), reported in data.labels (mode default) and data.relevance (origin default), each with a status (complete, partial or skipped) and pending: the rows still being judged when the page was sent, which carry null now and are filled on your next call or cached read. One call judges up to 100 new rows (the lane's own page size where it is larger); rows judged before come back from the shared judgment cache. Rows left unjudged on this call are counted in unjudged, skip_reason says why (budget: the free judging budget for this minute was in use; breaker: judging is paused for a few minutes after errors; cap: past the rows one call judges; failed: the judging call failed; for budget and breaker, retry_after_seconds says how many seconds to wait), and _warnings gains one line (labels_unjudged or relevance_unjudged) with the count and how to get the rest: send the same request again, or name the labels with label= (or send relevance=score) to judge them in this call, also free. Default judgments never add credits, never change an existing field, and never drop or reorder a row. off returns the page exactly as before, with none of those keys. label=none does the same." },
@@ -9694,16 +9695,19 @@ export const ENDPOINTS = [
9694
9695
  csvConstraints: { "label": { max: 8, enumValues: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection", "none"] }, "exclude": { max: 2, enumValues: ["spam", "low_quality"] } },
9695
9696
  creditTier: "standard",
9696
9697
  creditCost: 1,
9697
- pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 5, description: "1 credit per page, with the default labels (sentiment, question, purchase_intent, complaint) included free. label=spam, toxic or low_quality holds 4 extra credits and refunds down to 1 credit per started 25 comments that were newly judged: comments already labelled are free, a page where nothing could be judged refunds the whole extra, and a cached page is free. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
9698
+ pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 55, description: "1 credit per page, with the default labels (sentiment, question, purchase_intent, complaint) included free. label=spam, toxic or low_quality holds 4 extra credits and refunds down to 1 credit per started 25 comments that were newly judged: comments already labelled are free, a page where nothing could be judged refunds the whole extra, and a cached page is free. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
9698
9699
  archetype: "CommentList",
9699
9700
  summary: "List Facebook post comments",
9700
- description: "Returns a list of comments on a specific Facebook post. Each comment includes the author name, comment text, like count, reply count, and creation timestamp. A sticker, GIF, photo or video attached to a comment is on `comment.ext.media` (`[{type, url, width, height}]`, `type` one of `sticker`, `gif`, `image`, `video`); a comment that is only a sticker or a GIF has `text: null` and its attachment there. Facebook shows most commenters without a public name, so `comment.author.username` is usually null and the commenter is identified by `comment.ext.author_id` (the numeric id, when Facebook publishes one) or `comment.ext.author_profile_token` (Facebook's case-sensitive `pfbid0...` token, when it does not). `comment.ext.author_url` is the commenter's profile link: Facebook's own when the source sends one, else `https://www.facebook.com/profile.php?id=<author_id>`, which `/v1/facebook/profile` accepts; it is null for a commenter known only by the token.",
9701
+ description: "Returns a list of comments on a specific Facebook post. Each comment includes the author name, comment text, like count, reply count, and creation timestamp. A sticker, GIF, photo or video attached to a comment is on `comment.ext.media` (`[{type, url, width, height}]`, `type` one of `sticker`, `gif`, `image`, `video`); a comment that is only a sticker or a GIF has `text: null` and its attachment there. `comment.url` is the post's link with `?comment_id=`, which opens the post on that comment; it is null when you call by `feedback_id` or with a share link. Facebook shows most commenters without a public name, so `comment.author.username` is usually null. `comment.ext.author_id` is set where Facebook publishes a numeric id (Pages and some people), and `comment.ext.author_profile_token`, Facebook's own id for that person, otherwise. `comment.ext.author_url` is the commenter's profile link: Facebook's own when the source sends one, else `https://www.facebook.com/profile.php?id=<author_id>`, which `/v1/facebook/profile` accepts; it is null for a commenter known only by the token. `include=author_ids` fills `comment.ext.author_id` from the profile link in `comment.ext.author_url`, 1 credit per id found (at most 50 a page); Facebook publishes no numeric id for the rest. When both main sources are unavailable, a backup source answers a request by post link (not one by `feedback_id` alone, and not a video, reel or photo link) with the same comments and fields, except that `comment.ext.expansion_token` and `comment.ext.author_profile_token` are null on its rows and `comment.ext.author_id` carries each commenter's numeric id; `data._warnings` says so, and its `pagination.next_cursor` continues on that source.",
9701
9702
  recommended_timeout_s: 26,
9702
9703
  budget_ms: 14000,
9703
9704
  pagination: { style: "cursor", nativeParam: "cursor" },
9704
9705
  cache: { category: "comments", ttlSeconds: 300 },
9705
- upstream: { kind: "rapidapi-facebook", fallbackKinds: ["scrapecreators"] },
9706
+ upstream: { kind: "rapidapi-facebook", fallbackKinds: ["scrapecreators", "bridgly"] },
9706
9707
  tags: ["facebook"],
9708
+ hydration: [
9709
+ { param: "include", token: "author_ids", sibling: "facebook/profile", fills: ["comment.ext.author_id"], creditsPerItem: 1, maxItems: 50, cacheSibling: true, warnings: { unavailable: "author_ids_unavailable", partial: "author_ids_partial" } },
9710
+ ],
9707
9711
  judgments: { offParam: "judgments", labels: { param: "label", presets: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection"], free: ["sentiment", "question", "purchase_intent", "complaint"], metered: ["spam", "toxic", "low_quality", "injection"], rowsPerCredit: 25, rowPath: "items[].comment" } },
9708
9712
  featuredParams: [
9709
9713
  { name: "label", benefit: "Marks each comment that shows buying intent, at no extra credits; sentiment, question and complaint are free too.", example: "purchase_intent" },
@@ -9975,7 +9979,7 @@ export const ENDPOINTS = [
9975
9979
  pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
9976
9980
  archetype: "Post",
9977
9981
  summary: "Get Facebook Ad Library ad details",
9978
- description: "Returns one ad from the Facebook Ad Library. Video creatives land in `content.media_urls` (playable URL) and `content.thumbnail_url` (preview frame); every ad signal rides the `post.ext.ad` envelope: CTA text and type, `link_url`, `is_active`, `end_date_iso`, `display_format`, `title`, `publisher_platforms`, `categories`, the video URLs, and the advertiser's own `page_id`, `page_profile_uri` (their Facebook page, so you can chain straight to `/v1/facebook/profile`), `page_like_count` and `page_categories`. **`spend`, `reach_estimate` and `currency` are populated by Facebook for POLITICAL and issue ads only** and read null or empty on a commercial ad; Facebook publishes no per-ad impression count outside that same political set, so there is no impressions figure to return. `post.author.username` is null by design: an Ad Library record carries the page NAME, not its handle, and a name is not a handle. An ad has no public view count, so `engagement.views` carries Facebook's audience REACH ESTIMATE where one exists (political and issue ads) and is null everywhere else; the same figure is on `post.ext.ad.reach_estimate` under its real name, and `computed.engagement_rate` is derived from it rather than from any real engagement. `published_at` is the ad's first-run DATE; the `07:00:00Z` clock component on every row is an artefact of Facebook storing ad dates on a US Pacific day boundary and carries no sub-day meaning. On an ad that ran in the EU, Facebook publishes who saw it: `post.ext.ad.eu_total_reach` is the total EU reach, `post.ext.ad.eu_reach_breakdown` lists each EU country with that reach split into age bands (18-24 to 65+) by `male`, `female` and `unknown`, and `post.ext.ad.targets_eu`, `target_ages`, `target_gender` and `target_locations` are who the advertiser targeted. An ad that never ran in the EU carries none of these, and they read null. For ad video transcripts use `/v1/facebook/adlibrary/ad/transcript` (separate endpoint, premium tier).",
9982
+ description: "Returns one ad from the Facebook Ad Library. Video creatives land in `content.media_urls` (playable URL) and `content.thumbnail_url` (preview frame); every ad signal rides the `post.ext.ad` envelope: CTA text and type, `link_url`, `is_active`, `end_date_iso`, `display_format`, `title`, `publisher_platforms`, `categories`, the video URLs, and the advertiser's own `page_id`, `page_profile_uri` (their Facebook page, so you can chain straight to `/v1/facebook/profile`), `page_like_count` and `page_categories`. **`spend`, `reach_estimate` and `currency` are populated by Facebook for POLITICAL and issue ads only** and read null or empty on a commercial ad; Facebook publishes no per-ad impression count outside that same political set, so there is no impressions figure to return. `post.author.username` is null by design: an Ad Library record carries the page NAME, not its handle, and a name is not a handle. An ad has no public view count, so `engagement.views` carries Facebook's audience REACH ESTIMATE where one exists (political and issue ads) and is null everywhere else; the same figure is on `post.ext.ad.reach_estimate` under its real name, and `computed.engagement_rate` is derived from it rather than from any real engagement. `published_at` is the ad's first-run DATE; the `07:00:00Z` clock component on every row is an artefact of Facebook storing ad dates on a US Pacific day boundary and carries no sub-day meaning. On an ad that ran in the EU, Facebook publishes who saw it: `post.ext.ad.eu_total_reach` is the total EU reach, `post.ext.ad.eu_reach_breakdown` lists each EU country with that reach split into age bands (18-24 to 65+) by `male`, `female` and `unknown`, and `post.ext.ad.targets_eu`, `target_ages`, `target_gender` and `target_locations` are who the advertiser targeted. An ad that never ran in the EU carries none of these, and they read null. For ad video transcripts use `/v1/facebook/adlibrary/ad/transcript` (separate endpoint, premium tier). An id Facebook's public Ad Library does not hold is a free 404 whose message says so: a wrong or removed id, or an ad Facebook shows only to people signed in to Facebook, which no public source can read.",
9979
9983
  recommended_timeout_s: 11,
9980
9984
  cache: { category: "analytics", ttlSeconds: 1800 },
9981
9985
  upstream: { kind: "scrapecreators" },
@@ -10029,7 +10033,7 @@ export const ENDPOINTS = [
10029
10033
  pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "metered", minCost: 5, maxCost: 35, description: "5 credits for the page. include=audience holds 1 credit per ad (30 a page) and keeps only the rows filled from a fresh lookup, so a page is at most 35 credits; rows served from cache are free, ads that never ran in the EU and other unfilled rows are refunded, and a repeat of the same call within the cache window costs 0. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
10030
10034
  archetype: "PostList",
10031
10035
  summary: "List Facebook Ad Library company ads",
10032
- description: "Returns ads from one company or page in the Facebook Ad Library, ordered by impressions or recency depending on `sort_by`. Same per-ad shape as `/v1/facebook/adlibrary/ad`: video creatives in `content.media_urls` and `content.thumbnail_url`, every ad signal on the `post.ext.ad` envelope (CTA, `link_url`, active status, dates, display format, headline, video URLs, plus the advertiser's `page_profile_uri`, `page_like_count` and `page_categories`). **`spend` and `reach_estimate` are populated for POLITICAL and issue ads only** and read null on commercial advertisers. `engagement.views` carries Facebook's audience REACH ESTIMATE, not a view count (an ad has no public view count); it is null on commercial advertisers and the same figure rides `post.ext.ad.reach_estimate` under its real name. `published_at` is the ad's first-run DATE: the `07:00:00Z` clock component is an artefact of Facebook's US Pacific day boundary and carries no sub-day meaning. `post.author.username` is null by design (an Ad Library record carries the page name, not its handle). A plain row carries no audience breakdown. Send `include=audience` and every ad is joined, in the same call, to the per-ad lookup: on an ad that ran in the EU, `post.ext.ad.eu_total_reach` is the total EU reach, `post.ext.ad.eu_reach_breakdown` lists each EU country with that reach split into age bands (18-24 to 65+) by `male`, `female` and `unknown`, and `target_ages`, `target_gender` and `target_locations` are who the advertiser targeted. These are counts Facebook publishes under EU transparency rules, so an ad that never ran in the EU has none of them and its row is refunded. Cost: 5 credits for the page plus 1 credit per ad filled from a fresh lookup (30 ads a page, so 35 credits at most); rows already in cache are free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: `include=audience` adds 3 to 6 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds). The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. When the usual source fails, a backup serves the page newest first and says so in `_warnings`. When Facebook briefly blocks the source on a cursor page, the answer is a refunded, retryable 502 with `error.details.reason: \"source_blocked\"`: the cursor is still valid, so send the same request with the same cursor again a few minutes later to continue the walk. Only when the session behind a cursor is gone is a request with `cursor` a free 400 `INVALID_REQUEST` saying the cursor expired: restart from the first page without `cursor`. A call asked by `companyName` looks the advertiser's page up first, at no extra credit, on every page of a walk: when exactly one Ad Library page carries that name (case, spaces and punctuation ignored), its ads are listed by that page's id and every row carries `post.ext.ad.advertiser_match: \"exact_name\"`, with the other pages whose name contains it in `post.ext.ad.advertiser_candidates` (page id, name, category, likes) and in `_warnings`, so you can see the pageId of another page you may have meant. When two pages share the name, none carries it, or the lookup fails, the ads are matched by name as before, every row carries `post.ext.ad.advertiser_match: \"name_only\"` and the candidate pages (exact names first), the page is not cached, and `_warnings` lists the candidates with their ids, so you can call again with `pageId`. A page the backup serves is matched by name only and says so the same way. `exact_name` means one page carries that name, not that it is the company you meant: on 27/11/2026 the only Ad Library page named Neon was NEON, a film distributor, so read the rows' `post.ext.ad.page_categories` and `page_profile_uri`, and prefer `pageId` (from `/v1/facebook/adlibrary/search/companies`) when you know it. On both `exact_name` and `name_only` answers `_warnings` says `send pageId=<id> to pin the advertiser` and names the candidate pages' ids. A `pageId` call skips the name lookup, lists that page's ads, carries no `advertiser_match`, and costs the same.",
10036
+ description: "Returns ads from one company or page in the Facebook Ad Library, ordered by impressions or recency depending on `sort_by`. Same per-ad shape as `/v1/facebook/adlibrary/ad`: video creatives in `content.media_urls` and `content.thumbnail_url`, every ad signal on the `post.ext.ad` envelope (CTA, `link_url`, active status, dates, display format, headline, video URLs, plus the advertiser's `page_profile_uri`, `page_like_count` and `page_categories`). **`spend` and `reach_estimate` are populated for POLITICAL and issue ads only** and read null on commercial advertisers. `engagement.views` carries Facebook's audience REACH ESTIMATE, not a view count (an ad has no public view count); it is null on commercial advertisers and the same figure rides `post.ext.ad.reach_estimate` under its real name. `published_at` is the ad's first-run DATE: the `07:00:00Z` clock component is an artefact of Facebook's US Pacific day boundary and carries no sub-day meaning. `post.author.username` is null by design (an Ad Library record carries the page name, not its handle). A plain row carries no audience breakdown. Send `include=audience` and every ad is joined, in the same call, to the per-ad lookup: on an ad that ran in the EU, `post.ext.ad.eu_total_reach` is the total EU reach, `post.ext.ad.eu_reach_breakdown` lists each EU country with that reach split into age bands (18-24 to 65+) by `male`, `female` and `unknown`, and `target_ages`, `target_gender` and `target_locations` are who the advertiser targeted. These are counts Facebook publishes under EU transparency rules, so an ad that never ran in the EU has none of them and its row is refunded. Cost: 5 credits for the page plus 1 credit per ad filled from a fresh lookup (30 ads a page, so 35 credits at most); rows already in cache are free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: `include=audience` adds 3 to 6 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds). The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. When the usual source fails, a backup serves the page newest first and says so in `_warnings`. When Facebook briefly blocks the source on a cursor page, the answer is a refunded, retryable 502 with `error.details.reason: \"source_blocked\"`: the cursor is still valid, so send the same request with the same cursor again a few minutes later to continue the walk. Only when the session behind a cursor is gone is a request with `cursor` a free 400 `INVALID_REQUEST` saying the cursor expired: restart from the first page without `cursor`. A call asked by `companyName` looks the advertiser's page up first, at no extra credit, on every page of a walk: when exactly one Ad Library page carries that name (case, spaces and punctuation ignored), its ads are listed by that page's id and every row carries `post.ext.ad.advertiser_match: \"exact_name\"`, with the other pages whose name contains it in `post.ext.ad.advertiser_candidates` (page id, name, category, likes) and in `_warnings`, so you can see the pageId of another page you may have meant. When two pages share the name, none carries it, or the lookup fails, the ads are matched by name as before, every row carries `post.ext.ad.advertiser_match: \"name_only\"` and the candidate pages (exact names first), the page is not cached, and `_warnings` lists the candidates with their ids, so you can call again with `pageId`. A page the backup serves is matched by name only and says so the same way. `exact_name` means one page carries that name, not that it is the company you meant: on 27/11/2026 the only Ad Library page named Neon was NEON, a film distributor, so read the rows' `post.ext.ad.page_categories` and `page_profile_uri`, and prefer `pageId` (from `/v1/facebook/adlibrary/search/companies`) when you know it. On both `exact_name` and `name_only` answers `_warnings` says `send pageId=<id> to pin the advertiser` and names the candidate pages' ids. A `pageId` call skips the name lookup, lists that page's ads, carries no `advertiser_match`, and costs the same. Facebook keeps some advertisers' ads from its public Ad Library and shows them only to people signed in to Facebook (it restricts some advertisers' ads, for example by age), so no public source can list them: on 30/11/2026 it counted 686 ads for one games page and showed 1. When page 1 shows fewer ads than `data.total` and the walk cannot continue, `_warnings` says `ads_not_public` with both counts; an empty filtered page of such an advertiser says so in `data.empty_reason_note` rather than suggesting a retry.",
10033
10037
  recommended_timeout_s: 10,
10034
10038
  budget_ms: 25000,
10035
10039
  pagination: { style: "cursor", nativeParam: "cursor" },
@@ -10117,7 +10121,7 @@ export const ENDPOINTS = [
10117
10121
  pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
10118
10122
  archetype: "AuthorList",
10119
10123
  summary: "Search Facebook Ad Library companies",
10120
- description: "Searches for companies/pages in the Facebook Ad Library. Returns matching pages with active ad counts and page details.",
10124
+ description: "Searches for companies/pages in the Facebook Ad Library. Returns matching pages with active ad counts and page details. Rows are ranked, not left in the source's order: a name equal to your query first, then verified pages, then followers, and `_warnings` says where the source ranked the row that now leads. To go from a brand name to its accounts, including its Facebook page (`platforms=facebook`, 1 credit plus 1 judged), use `GET /v1/prism/find-accounts`.",
10121
10125
  recommended_timeout_s: 10,
10122
10126
  budget_ms: 10000,
10123
10127
  singlePage: "Fixed-window feed: upstream returns a single non-cursored result set.",
@@ -10179,11 +10183,12 @@ export const ENDPOINTS = [
10179
10183
  resource: "post/comment/replies",
10180
10184
  method: "GET",
10181
10185
  params: [
10182
- { name: "feedback_id", required: true, description: "`feedback_id` from `/v1/facebook/post/comments` for the parent comment (this is NOT the comment ID).", example: "ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz" },
10183
- { name: "expansion_token", required: true, description: "`expansion_token` from `/v1/facebook/post/comments` for the parent comment.", example: "MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC" },
10186
+ { name: "feedback_id", required: true, description: "The parent comment's `feedback_id` from `/v1/facebook/post/comments` (NOT the comment ID).", example: "ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz" },
10187
+ { name: "expansion_token", required: true, description: "The parent comment's whole `expansion_token`.", example: "MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC" },
10184
10188
  ],
10185
10189
  optionalParams: [
10186
- { name: "cursor", type: "string", description: "Cursor returned by the previous response for pagination." },
10190
+ { name: "cursor", type: "string", description: "Cursor from the previous response." },
10191
+ { name: "include", type: "enum", enumValues: ["author_ids"], description: "Set to `author_ids` to look up vanity, `profile.php?id=` and `/people/` author links (never a bare pfbid link), 1 credit per id found, at most 50 a page." },
10187
10192
  { name: "label", type: "string", description: "Optional CSV of SocialCrawl labels to add to every comment: sentiment, spam, question, purchase_intent, complaint, toxic, low_quality, injection. Without this param every page already carries sentiment, question, purchase_intent and complaint, free; label= adds the labels you name to them (the defaults keep running). Each comment gains computed.labels with probabilities (0 to 1), so you choose the cut-off; a comment that could not be judged carries labels: null. sentiment, question, purchase_intent and complaint are free when asked for too; spam, toxic, low_quality and injection add 1 credit per started 25 newly judged comments (comments already labelled for anyone are free, and so is a cached page). injection flags text that addresses an AI system and tries to direct it (flagged, p); it never drops or rewrites a row. judgments=off (or label=none) turns the default labels off. data.labels reports what was judged and billed." },
10188
10193
  { name: "exclude", type: "string", requires: "label", description: "Optional CSV (spam, low_quality), only with the same preset in label. Drops comments whose probability is 0.8 or higher and lists their ids in data.labels.dropped_ids. A comment that could not be judged is never dropped." },
10189
10194
  { name: "judgments", type: "enum", enumValues: ["on", "off"], description: "Optional, on (the default) or off. By default every row gains free SocialCrawl judgments (computed.labels, and computed.relevance on search endpoints), reported in data.labels (mode default) and data.relevance (origin default), each with a status (complete, partial or skipped) and pending: the rows still being judged when the page was sent, which carry null now and are filled on your next call or cached read. One call judges up to 100 new rows (the lane's own page size where it is larger); rows judged before come back from the shared judgment cache. Rows left unjudged on this call are counted in unjudged, skip_reason says why (budget: the free judging budget for this minute was in use; breaker: judging is paused for a few minutes after errors; cap: past the rows one call judges; failed: the judging call failed; for budget and breaker, retry_after_seconds says how many seconds to wait), and _warnings gains one line (labels_unjudged or relevance_unjudged) with the count and how to get the rest: send the same request again, or name the labels with label= (or send relevance=score) to judge them in this call, also free. Default judgments never add credits, never change an existing field, and never drop or reorder a row. off returns the page exactly as before, with none of those keys. label=none does the same." },
@@ -10202,10 +10207,10 @@ export const ENDPOINTS = [
10202
10207
  csvConstraints: { "label": { max: 8, enumValues: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection", "none"] }, "exclude": { max: 2, enumValues: ["spam", "low_quality"] } },
10203
10208
  creditTier: "standard",
10204
10209
  creditCost: 1,
10205
- pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 5, description: "1 credit per page, with the default labels (sentiment, question, purchase_intent, complaint) included free. label=spam, toxic or low_quality holds 4 extra credits and refunds down to 1 credit per started 25 comments that were newly judged: comments already labelled are free, a page where nothing could be judged refunds the whole extra, and a cached page is free. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
10210
+ pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 55, description: "1 credit per page, with the default labels (sentiment, question, purchase_intent, complaint) included free. label=spam, toxic or low_quality holds 4 extra credits and refunds down to 1 credit per started 25 comments that were newly judged: comments already labelled are free, a page where nothing could be judged refunds the whole extra, and a cached page is free. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
10206
10211
  archetype: "CommentList",
10207
10212
  summary: "List replies to a Facebook post comment",
10208
- description: "Returns the reply thread for a single Facebook comment. Both `feedback_id` and `expansion_token` come from the parent `/v1/facebook/post/comments` response: note that `feedback_id` is NOT the comment ID. Forward the returned cursor for additional pages. Facebook's reply list does not say which reply a nested answer belongs to, so `comment.parent_id` is null on these rows. Replies to a reply (the third level) are not listed by this endpoint: called with a reply's own token it returns an empty page. An `expansion_token` belongs to its comment and must be passed whole (a complete token is 640 to 760 characters). Tokens two and a half days old still return their replies; an expired or incomplete token returns an empty list, the same answer as a comment whose replies are all hidden, so every empty page carries a `stale_expansion_token` note in `_warnings` with the token's issue time and length. Read the comment again from `/v1/facebook/post/comments` for a fresh token. Replies carry the same commenter and attachment fields as comments: `comment.ext.media`, `comment.ext.author_id`, `comment.ext.author_profile_token` and `comment.ext.author_url`.",
10213
+ description: "Returns the replies under one Facebook comment. Pass that comment's `feedback_id` (NOT the comment ID) and its whole `expansion_token` (640 to 760 characters) from `/v1/facebook/post/comments`, and forward the cursor. `comment.parent_id` is null (Facebook does not name it on a reply page). A reply's own token lists that reply's answers on some threads and an empty page on others; `/v1/facebook/post/comments/full` lists every comment and reply at every level, each with the comment it answers. Tokens 2.5 days old still work. An expired or incomplete token returns an empty list, as does a comment whose replies are hidden or a reply whose answers this endpoint does not list, so every empty page carries a `stale_expansion_token` note in `_warnings` with the token's issue time, length and likely cause; re-read the comment for a fresh token. Replies carry the same commenter and attachment fields as comments: `comment.ext.media` and `comment.ext.author_url`, with `comment.ext.author_id` where Facebook publishes a numeric id (Pages and some people) and `comment.ext.author_profile_token`, Facebook's own id for that person, otherwise. `include=author_ids` fills `comment.ext.author_id` from the profile link in `comment.ext.author_url`, 1 credit per id found (at most 50 a page); Facebook publishes no numeric id for the rest.",
10209
10214
  recommended_timeout_s: 30,
10210
10215
  budget_ms: 20000,
10211
10216
  pagination: { style: "cursor", nativeParam: "cursor" },
@@ -10213,6 +10218,9 @@ export const ENDPOINTS = [
10213
10218
  cache: { category: "comments", ttlSeconds: 300 },
10214
10219
  upstream: { kind: "rapidapi-facebook", fallbackKinds: ["scrapecreators"] },
10215
10220
  tags: ["facebook"],
10221
+ hydration: [
10222
+ { param: "include", token: "author_ids", sibling: "facebook/profile", fills: ["comment.ext.author_id"], creditsPerItem: 1, maxItems: 50, cacheSibling: true, warnings: { unavailable: "author_ids_unavailable", partial: "author_ids_partial" } },
10223
+ ],
10216
10224
  judgments: { offParam: "judgments", labels: { param: "label", presets: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection"], free: ["sentiment", "question", "purchase_intent", "complaint"], metered: ["spam", "toxic", "low_quality", "injection"], rowsPerCredit: 25, rowPath: "items[].comment" } },
10217
10225
  featuredParams: [
10218
10226
  { name: "label", benefit: "Marks each comment that shows buying intent, at no extra credits; sentiment, question and complaint are free too.", example: "purchase_intent" },
@@ -10230,6 +10238,44 @@ export const ENDPOINTS = [
10230
10238
  taxonomy: { purpose: "data_retrieval", job_family: "engagement_thread", takes_item_id_from_another_endpoint: true },
10231
10239
  latency_ms: { p50: 1910, p95: 16411, p99: 19496, n: 3566 },
10232
10240
  },
10241
+ {
10242
+ platform: "facebook",
10243
+ resource: "post/comments/full",
10244
+ method: "GET",
10245
+ params: [
10246
+ { name: "url", required: true, description: "Full URL of the Facebook post, reel, video or photo. Share links (`/share/v/…`, `/share/p/…`, `/share/r/…`, `/share/…`) are accepted.", example: "https://www.facebook.com/469812281819318/posts/1835089875291545" },
10247
+ ],
10248
+ optionalParams: [
10249
+ { name: "limit", type: "integer", minimum: 1, maximum: 5000, description: "Rows to return, comments plus replies. Default 300; at most 300 on a call that waits for its answer, up to 5,000 with `async=true`. 1 credit per 4 rows returned, at least 3; `ceil(limit / 4)` (at least 3) is held and the rest refunded." },
10250
+ { name: "include", type: "enum", enumValues: ["author_ids"], description: "Set to `author_ids` to look up vanity, `profile.php?id=` and `/people/` author links (never a bare pfbid link), 1 credit per id found, at most 100 a call." },
10251
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
10252
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
10253
+ ],
10254
+ oneOfGroups: [],
10255
+ creditTier: "standard",
10256
+ creditCost: 1,
10257
+ pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 3, maxCost: 1350, description: "1 credit per 4 rows returned (comments plus replies), rounded up, and at least 3 credits for a call that returns rows. The call holds `ceil(limit / 4)` (at least 3) up front (75 for the default 300 rows, 1,250 for 5,000 as a background job) and refunds down to the rows returned, so a 140-row thread costs 35 credits whatever the limit; a post with no comments, and a call that fails, cost nothing. `include=author_ids` holds 100 more and keeps 1 for each author id found; a call that waits for its answer reaches about 20 authors before its time runs out, a background job up to 100, and the rest is refunded." },
10258
+ archetype: "CommentList",
10259
+ summary: "List every comment and reply on a Facebook post, at every depth",
10260
+ description: "Returns every comment and every reply on one Facebook post, at every depth, in one call, flat and in thread order (each comment, then its replies, then their replies). `comment.parent_id` is the exact comment each reply answers (null on a top-level comment), and `comment.ext.depth` is the level Facebook shows the row at (0, 1 or 2; deeper answers show at 2 and still name their exact parent). When the post link carries the post's numeric id (`/posts/<id>`, `/permalink/<id>`, `story_fbid=<id>`), `comment.id` and `parent_id` take the form `/v1/facebook/post/comments` publishes. On a link that names no numeric post id (a `pfbid` link, a reel, a video or a photo) the post's id is looked up beside the read, so the ids take the same form; if that lookup fails, both are Facebook's numeric comment ids and `_warnings` carries a `post_id_unresolved` note. `comment.ext.author_id` is set where Facebook publishes a numeric id (Pages and some people), and `comment.ext.author_profile_token`, Facebook's own id for that person, otherwise. `include=author_ids` fills `comment.ext.author_id` from the profile link in `comment.ext.author_url`, 1 credit per id found (at most 100 a call); Facebook publishes no numeric id for the rest. Attachments are on `comment.ext.media`, the reply count on `comment.engagement.replies`, and `comment.engagement.likes` is null. `limit` caps the rows (comments plus replies), 300 by default and at most 300 on a call that waits for its answer (a larger one is a free 400); send `async=true` (or `Prefer: respond-async`) for up to 5,000 and poll `GET /v1/prism/jobs/{job_id}`. A call that waits may return part of a very slow thread with a `thread_cut` note in `_warnings`; `async=true` returns the whole thread. `data.truncated` is `true` when a response does not hold the whole thread (cut, or stopped at `limit`) and `false` when it does. 1 credit per 4 rows returned, rounded up, and at least 3 for a call that returns rows; an empty or failed call is free.",
10261
+ budget_ms: 240000,
10262
+ route_budget_ms: 250000,
10263
+ singlePage: "One supplier run returns the whole thread, every comment and reply at every depth, up to `limit` rows; the supplier takes no position, so there is no next page. A bigger thread raises `limit` (at most 300 on a call that waits for its answer, 5,000 as a background job).",
10264
+ cache: { category: "comments", ttlSeconds: 300 },
10265
+ upstream: { kind: "apify-facebook-comments-full" },
10266
+ tags: ["facebook"],
10267
+ hydration: [
10268
+ { param: "include", token: "author_ids", sibling: "facebook/profile", fills: ["comment.ext.author_id"], creditsPerItem: 1, maxItems: 100, cacheSibling: true, warnings: { unavailable: "author_ids_unavailable", partial: "author_ids_partial" } },
10269
+ ],
10270
+ responseShape: { root: "data.items[]", itemKey: "comment" },
10271
+ purpose: {
10272
+ summary: "List every comment and reply on a Facebook post, at every depth",
10273
+ returns: "Returns every comment and reply on a Facebook post, at every depth, in one flat list; each row names the exact comment it answers and its depth.",
10274
+ use_when: "Use it when you need replies to replies or the whole thread in one call; post/comment/replies lists only one level under one comment.",
10275
+ not_for: null,
10276
+ },
10277
+ taxonomy: { purpose: "data_retrieval", job_family: "engagement_thread", takes_item_id_from_another_endpoint: false },
10278
+ },
10233
10279
  {
10234
10280
  platform: "facebook",
10235
10281
  resource: "marketplace/location/search",
@@ -10721,12 +10767,12 @@ export const ENDPOINTS = [
10721
10767
  pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 11, description: "1 credit for the page. include=details holds 1 credit per page (at most 10) and keeps only the rows filled from a fresh lookup, so a page is at most 11 credits; rows served from cache are free, unfilled rows are refunded, and a repeat of the same call within the cache window costs 0. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
10722
10768
  archetype: "AuthorList",
10723
10769
  summary: "Search Facebook pages by keyword",
10724
- description: "Searches public Facebook pages by keyword and returns unified Author items: page id, display name, permalink, avatar, and verified flag. Facebook's search card carries no follower count, bio, page likes or creation date, so on a plain call `author.followers`, `author.bio`, `author.likes_count` and `author.joined_at` are null on every row. Send `include=details` and every page is joined, in the same call, to the page lookup for its `author.url`: the follower count, the bio, the page likes and the creation date land on each row. The page id, name, permalink and avatar the search row carries are never replaced. Cost: 1 credit for the page plus 1 credit per page filled from a fresh lookup (at most 10 a page, so 11 credits at most); rows already in cache are free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: `include=details` adds 3 to 10 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. About 7 pages on the first page and 8 or 9 on later ones. Forward `pagination.next_cursor` as `cursor`.",
10770
+ description: "Searches public Facebook pages by keyword and returns unified Author items: page id, display name, permalink, avatar, and verified flag. Facebook's search card carries no follower count, bio, page likes or creation date, so on a plain call `author.followers`, `author.bio`, `author.likes_count` and `author.joined_at` are null on every row. Send `include=details` and every page is joined, in the same call, to the page lookup for its `author.url`: the follower count, the bio, the page likes and the creation date land on each row. The page id, name, permalink and avatar the search row carries are never replaced. Cost: 1 credit for the page plus 1 credit per page filled from a fresh lookup (at most 10 a page, so 11 credits at most); rows already in cache are free, rows that could not be filled are refunded, and a repeat of the same call within the cache window is 0 credits. Time: `include=details` adds 3 to 10 seconds on a fresh page (the lookups run in parallel and the call waits for the slowest, never more than 12 seconds) and nothing when the rows are already cached. The response carries a `hydration` block itemising rows, lookups, cache hits, credits and milliseconds. About 7 pages on the first page and 8 or 9 on later ones. Forward `pagination.next_cursor` as `cursor`. When the main source is unavailable, the first page is answered by a second source: up to 8 pages with the same page id, name, avatar and verified flag (a page with no vanity name is linked in its `profile.php?id=` form) and no next cursor. A later page or `location_uid` has no second source and returns an error to retry.",
10725
10771
  recommended_timeout_s: 31,
10726
- budget_ms: 30000,
10772
+ budget_ms: 28000,
10727
10773
  pagination: { style: "cursor", nativeParam: "cursor" },
10728
10774
  cache: { category: "search", ttlSeconds: 120 },
10729
- upstream: { kind: "rapidapi-facebook" },
10775
+ upstream: { kind: "rapidapi-facebook", fallbackKinds: ["bridgly"] },
10730
10776
  tags: ["facebook"],
10731
10777
  hydration: [
10732
10778
  { param: "include", token: "details", sibling: "facebook/profile", fills: ["author.followers", "author.bio", "author.likes_count", "author.joined_at"], creditsPerItem: 1, maxItems: 10, cacheSibling: true, warnings: { unavailable: "details_unavailable", partial: "details_partial" } },
@@ -11369,8 +11415,8 @@ export const ENDPOINTS = [
11369
11415
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
11370
11416
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
11371
11417
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
11372
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
11373
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
11418
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
11419
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
11374
11420
  ],
11375
11421
  oneOfGroups: [],
11376
11422
  csvConstraints: { "label": { max: 8, enumValues: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection", "none"] }, "exclude": { max: 2, enumValues: ["spam", "low_quality"] } },
@@ -11730,7 +11776,7 @@ export const ENDPOINTS = [
11730
11776
  { name: "trim", type: "boolean", description: "Ask the upstream for a stripped record. This is a real shape change, not just less whitespace: a trimmed row carries only the id, text, shortcode, like count, timestamp and author, so media, reply count, share count, view count, topic tag, pinned flag and quoted post all come back null. Same 1 credit either way, so send it only when the text and the like count are all you need. Ignored when `limit` is above 15, because the deeper source has no trimmed mode." },
11731
11777
  { name: "limit", type: "integer", minimum: 1, maximum: 50, description: "How many posts to collect, 1 to 50. Leave it off, or send 15 or less, and nothing changes: you get the bundled window for exactly 1 credit. Above 15 the posts come from a deeper source and the call is metered at 3 credits per post actually returned, so an account with only 20 public posts costs 60 credits however high you set this." },
11732
11778
  { name: "include", type: "string", description: "Comma list of `engagement` and `country`. `engagement` fills `engagement.views` and `post.author.display_name` on each post of the default window by looking it up on `/v1/threads/post` in the same call. 1 credit per post filled from a fresh lookup (15 at most); posts served from that lookup's cache (10 minutes) and posts it could not fill are free. Adds 4 to 12 seconds, never more than 15. Beside a `limit` above 15 it costs nothing, because those rows already carry both fields. `country` fills `post.ext.author_country` with the country the author declares on their Instagram account (a Threads account is its Instagram account), as an ISO 3166-1 alpha-2 code such as `ZA`, read from Instagram's \"About this account\" panel. It is the account's declared country, not where a post was written. 2 credits per author it fills (an author on several posts is looked up once); an author who declares no country, or who is served from that lookup's cache, is free." },
11733
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
11779
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
11734
11780
  ],
11735
11781
  oneOfGroups: [],
11736
11782
  csvConstraints: { "include": { max: 2, enumValues: ["engagement", "country"] } },
@@ -11860,7 +11906,7 @@ export const ENDPOINTS = [
11860
11906
  paginatable: true,
11861
11907
  collectUntilN: "`limit` (1-100) walks successive result windows server-side, de-duplicating posts as it goes, and bills 1 credit per window consumed with the unused window budget refunded. It is not a page size.",
11862
11908
  cache: { category: "search", ttlSeconds: 120 },
11863
- upstream: { kind: "scrapecreators", fallbackKinds: ["apify-threads-keyword-search"] },
11909
+ upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer", "apify-threads-keyword-search"] },
11864
11910
  tags: ["threads"],
11865
11911
  hydration: [
11866
11912
  { param: "include", token: "engagement", sibling: "threads/post", fills: ["post.engagement.views", "post.author.display_name", "post.flags.pinned"], creditsPerItem: 1, maxItems: 20, cacheSibling: true, warnings: { unavailable: "engagement_unavailable", partial: "engagement_partial" } },
@@ -11905,8 +11951,8 @@ export const ENDPOINTS = [
11905
11951
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
11906
11952
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
11907
11953
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
11908
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
11909
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
11954
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
11955
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
11910
11956
  ],
11911
11957
  oneOfGroups: [],
11912
11958
  csvConstraints: { "label": { max: 8, enumValues: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection", "none"] }, "exclude": { max: 2, enumValues: ["spam", "low_quality"] } },
@@ -11920,7 +11966,7 @@ export const ENDPOINTS = [
11920
11966
  budget_ms: 20000,
11921
11967
  singlePage: "Neither source exposes a cursor. The default call is the fixed comment window the upstream bundles into the post payload; `limit` above 25 collects more replies from a second source in one shot, but still returns a single page with nothing to resume from.",
11922
11968
  cache: { category: "comments", ttlSeconds: 300 },
11923
- upstream: { kind: "scrapecreators", fallbackKinds: ["apify-threads-keyword-search"] },
11969
+ upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer", "apify-threads-keyword-search"] },
11924
11970
  tags: ["threads"],
11925
11971
  judgments: { offParam: "judgments", labels: { param: "label", presets: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection"], free: ["sentiment", "question", "purchase_intent", "complaint"], metered: ["spam", "toxic", "low_quality", "injection"], rowsPerCredit: 25, rowPath: "items[].comment" } },
11926
11972
  featuredParams: [
@@ -12169,8 +12215,8 @@ export const ENDPOINTS = [
12169
12215
  ],
12170
12216
  optionalParams: [
12171
12217
  { name: "trim", type: "boolean", description: "Set to true for a trimmed down version of the response" },
12172
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
12173
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
12218
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
12219
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
12174
12220
  ],
12175
12221
  oneOfGroups: [],
12176
12222
  creditTier: "standard",
@@ -12347,8 +12393,8 @@ export const ENDPOINTS = [
12347
12393
  optionalParams: [
12348
12394
  { name: "filter_by", type: "enum", enumValues: ["HIGHLIGHT", "UPLOAD"], description: "Filter the returned videos by type: `HIGHLIGHT` or `UPLOAD`. (Archived past broadcasts are not currently available upstream.)" },
12349
12395
  { name: "sort_by", type: "enum", enumValues: ["TIME", "VIEWS"], description: "Sort order: `TIME` (newest first) or `VIEWS`." },
12350
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
12351
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
12396
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
12397
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
12352
12398
  ],
12353
12399
  oneOfGroups: [],
12354
12400
  creditTier: "standard",
@@ -13113,7 +13159,7 @@ export const ENDPOINTS = [
13113
13159
  taxonomy: { purpose: "data_retrieval", job_family: "content_item_detail", takes_item_id_from_another_endpoint: false },
13114
13160
  latency_ms: { p50: 5390, p95: 6977, p99: 7282, n: 6, low_sample: true },
13115
13161
  },
13116
- // --- tiktokshop (6 endpoints) ---
13162
+ // --- tiktokshop (11 endpoints) ---
13117
13163
  {
13118
13164
  platform: "tiktokshop",
13119
13165
  resource: "product",
@@ -13363,6 +13409,244 @@ export const ENDPOINTS = [
13363
13409
  taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
13364
13410
  latency_ms: { p50: 3552, p95: 12743, p99: 23542, n: 99 },
13365
13411
  },
13412
+ {
13413
+ platform: "tiktokshop",
13414
+ resource: "user/sales",
13415
+ method: "GET",
13416
+ params: [
13417
+ { name: "handle", required: true, description: "The creator's TikTok handle, with or without the leading @.", example: "lopeztips" },
13418
+ ],
13419
+ optionalParams: [
13420
+ { name: "markets", type: "string", description: "Comma-separated TikTok Shop markets to read: US, GB, SG (up to 3). Default all three. The price does not change with the number of markets." },
13421
+ { name: "period_days", type: "enum", enumValues: ["7", "30", "90"], description: "The period `units_sold`, `gpm_usd` and `previous_period_gmv_usd` cover: 7, 30 or 90 days. Default 30. GMV and growth for all three periods are returned either way." },
13422
+ ],
13423
+ oneOfGroups: [],
13424
+ csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
13425
+ creditTier: "premium",
13426
+ creditCost: 36,
13427
+ pricing: { cost: 36, tier: "premium", ladderCost: 10, model: "flat" },
13428
+ archetype: "Author",
13429
+ summary: "Get a TikTok creator's TikTok Shop sales: GMV for 7, 30 and 90 days and lifetime, growth, units sold, GMV per 1,000 views and the products they promote. 36 credits, charged only when the creator has sales figures",
13430
+ description: "Returns one TikTok creator's TikTok Shop sales, as an author with two objects under `author.ext`. `author.ext.shop_sales` holds the market the figures are for (`sales_market`), GMV in USD for the last 7, 30 and 90 days (`gmv_usd_7d`, `gmv_usd_30d`, `gmv_usd_90d`) and lifetime (`lifetime_gmv_usd`), GMV growth on the period before each (`gmv_growth_pct_7d`, `_30d`, `_90d`), and for the period you choose with `period_days` (`period_days`, default 30) the units sold (`units_sold`), GMV per 1,000 views (`gpm_usd`) and the GMV of the period before it (`previous_period_gmv_usd`); also the average, lowest and highest item price, how many products and shops the creator has promoted, the product categories, the last promotion date, whether the account is a commerce creator or a seller, and `data_through`, the last day the figures cover (they are refreshed daily and run about two days behind). `author.ext.shop_products` lists the products the creator promotes with each product's id, name, link, shop, seller id, price, number of videos, last promotion date, and the units and GMV this creator sold of it over 7, 30 and 90 days: at most 100 products, so compare with `shop_sales.products_promoted` for the full count. The author also carries the handle, name, followers, following, likes, video count, verification, bio and profile link. Markets are US, GB and SG; send `markets` (for example `US,GB`) to limit them, by default all three are searched. A creator with no TikTok Shop sales figures returns 404 at 0 credits. If the figures cannot be read on this call the answer is `503 SERVICE_UNAVAILABLE` with a `Retry-After` header, at 0 credits, and the same call after that interval collects them. 36 credits when figures are returned.",
13431
+ budget_ms: 30000,
13432
+ cache: { category: "profile", ttlSeconds: 43200 },
13433
+ upstream: { kind: "dataatscale-tiktokshop-sales" },
13434
+ tags: ["tiktokshop"],
13435
+ responseShape: { root: "data.author" },
13436
+ purpose: {
13437
+ summary: "Get a TikTok creator's TikTok Shop sales: GMV for 7, 30 and 90 days and lifetime, growth, units sold, GMV per 1,000 views and the products they promote. 36 credits, charged only when the creator has sales figures",
13438
+ returns: "Returns a TikTok creator's TikTok Shop sales: GMV for 7, 30 and 90 days and lifetime, growth, units sold, GMV per 1,000 views, and up to 100 promoted products with their own sales.",
13439
+ use_when: "Use it to judge an affiliate creator by what they actually sell; user/showcase lists their products without sales, and a creator with no sales figures costs nothing.",
13440
+ not_for: null,
13441
+ },
13442
+ taxonomy: { purpose: "data_retrieval", job_family: "commerce_catalog", takes_item_id_from_another_endpoint: false },
13443
+ },
13444
+ {
13445
+ platform: "tiktokshop",
13446
+ resource: "affiliates/search",
13447
+ method: "GET",
13448
+ params: [],
13449
+ optionalParams: [
13450
+ { name: "limit", type: "integer", minimum: 1, maximum: 25, description: "How many creators to return, 1 to 25. Default 10. Each creator returned costs 107 credits; the call holds limit x 107 and refunds what is not returned.", example: "10" },
13451
+ { name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
13452
+ { name: "period_days", type: "enum", enumValues: ["7", "30", "90"], description: "The period GMV, GPM, growth and the sort use: 7, 30 or 90 days. Default 30." },
13453
+ { name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers.", example: "gmv" },
13454
+ { name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
13455
+ { name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
13456
+ { name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
13457
+ { name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
13458
+ { name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
13459
+ { name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
13460
+ { name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
13461
+ { name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
13462
+ { name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
13463
+ { name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
13464
+ { name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
13465
+ { name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
13466
+ { name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
13467
+ { name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
13468
+ { name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
13469
+ { name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
13470
+ { name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
13471
+ ],
13472
+ oneOfGroups: [],
13473
+ csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
13474
+ creditTier: "premium",
13475
+ creditCost: 10,
13476
+ pricing: { cost: 10, tier: "premium", ladderCost: 10, model: "metered", minCost: 0, maxCost: 2675, description: "107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing" },
13477
+ archetype: "AuthorList",
13478
+ summary: "Find TikTok Shop affiliate creators by sales, ranked by GMV, growth or followers. 107 credits per creator returned",
13479
+ description: "Returns TikTok Shop affiliate creators ranked by GMV (or growth or followers), filtered by market, product category, GMV, GMV per 1,000 views, growth, followers, median plays, likes and comments, and how recently they promoted a product; leave out creators who already promote given products or shops. Each creator is the tiktokshop/user/sales author, with `author.ext.shop_sales` and `author.ext.shop_products`. 107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing. Markets US, GB, SG. One page per call, no cursor: raise `limit` (up to 25) for more. When the day's lookups are used up or the figures are not ready, a `503` with `Retry-After` at 0 credits.",
13480
+ budget_ms: 30000,
13481
+ singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
13482
+ cache: { category: "search", ttlSeconds: 43200 },
13483
+ upstream: { kind: "dataatscale-tiktokshop-affiliates" },
13484
+ tags: ["tiktokshop"],
13485
+ responseShape: { root: "data.items[]", itemKey: "author" },
13486
+ purpose: {
13487
+ summary: "Find TikTok Shop affiliate creators by sales, ranked by GMV, growth or followers. 107 credits per creator returned",
13488
+ returns: "Returns TikTok Shop affiliate creators ranked by GMV, growth or followers, filtered by market, category, sales, followers and engagement, each with their sales and products.",
13489
+ use_when: "Use it to find affiliates who already sell well in your category; product/affiliates names who promotes one product.",
13490
+ not_for: null,
13491
+ },
13492
+ taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
13493
+ },
13494
+ {
13495
+ platform: "tiktokshop",
13496
+ resource: "product/affiliates",
13497
+ method: "GET",
13498
+ params: [],
13499
+ optionalParams: [
13500
+ { name: "url", type: "string", description: "The product's TikTok Shop link. Send this or product_id." },
13501
+ { name: "product_id", type: "string", description: "The product's TikTok Shop id (19 digits). Send this or url.", example: "1729448464509734958" },
13502
+ { name: "limit", type: "integer", minimum: 1, maximum: 25, description: "How many creators to return, 1 to 25. Default 10. Each creator returned costs 107 credits; the call holds limit x 107 and refunds what is not returned." },
13503
+ { name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
13504
+ { name: "period_days", type: "enum", enumValues: ["7", "30", "90"], description: "The period GMV, GPM, growth and the sort use: 7, 30 or 90 days. Default 30." },
13505
+ { name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers." },
13506
+ { name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
13507
+ { name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
13508
+ { name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
13509
+ { name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
13510
+ { name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
13511
+ { name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
13512
+ { name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
13513
+ { name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
13514
+ { name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
13515
+ { name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
13516
+ { name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
13517
+ { name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
13518
+ { name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
13519
+ { name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
13520
+ { name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
13521
+ { name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
13522
+ { name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
13523
+ ],
13524
+ oneOfGroups: [["url", "product_id"]],
13525
+ csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
13526
+ creditTier: "premium",
13527
+ creditCost: 10,
13528
+ pricing: { cost: 10, tier: "premium", ladderCost: 10, model: "metered", minCost: 0, maxCost: 2675, description: "107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing" },
13529
+ archetype: "AuthorList",
13530
+ summary: "Find the TikTok creators who promote a TikTok Shop product. 107 credits per creator returned",
13531
+ description: "Returns the TikTok creators who promote one TikTok Shop product, with their sales, ranked by GMV (or growth or followers). Each creator is the tiktokshop/user/sales author, with `author.ext.shop_sales` and `author.ext.shop_products`. 107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing. Markets US, GB, SG. One page per call, no cursor: raise `limit` (up to 25) for more. When the day's lookups are used up or the figures are not ready, a `503` with `Retry-After` at 0 credits.",
13532
+ budget_ms: 30000,
13533
+ singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
13534
+ cache: { category: "search", ttlSeconds: 43200 },
13535
+ upstream: { kind: "dataatscale-tiktokshop-affiliates" },
13536
+ tags: ["tiktokshop"],
13537
+ responseShape: { root: "data.items[]", itemKey: "author" },
13538
+ purpose: {
13539
+ summary: "Find the TikTok creators who promote a TikTok Shop product. 107 credits per creator returned",
13540
+ returns: "Returns the TikTok creators who promote one TikTok Shop product, with their sales, ranked by GMV, growth or followers.",
13541
+ use_when: "Use it to see who drives a product's sales, yours or a competitor's, before reaching out.",
13542
+ not_for: null,
13543
+ },
13544
+ taxonomy: { purpose: "data_retrieval", job_family: "audience_graph", takes_item_id_from_another_endpoint: true },
13545
+ },
13546
+ {
13547
+ platform: "tiktokshop",
13548
+ resource: "shop/affiliates",
13549
+ method: "GET",
13550
+ params: [],
13551
+ optionalParams: [
13552
+ { name: "url", type: "string", description: "The shop's TikTok Shop link. Send this or shop_id." },
13553
+ { name: "shop_id", type: "string", description: "The shop's TikTok Shop id (19 digits). Send this or url.", example: "7495620301677955118" },
13554
+ { name: "limit", type: "integer", minimum: 1, maximum: 25, description: "How many creators to return, 1 to 25. Default 10. Each creator returned costs 107 credits; the call holds limit x 107 and refunds what is not returned." },
13555
+ { name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
13556
+ { name: "period_days", type: "enum", enumValues: ["7", "30", "90"], description: "The period GMV, GPM, growth and the sort use: 7, 30 or 90 days. Default 30." },
13557
+ { name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers." },
13558
+ { name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
13559
+ { name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
13560
+ { name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
13561
+ { name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
13562
+ { name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
13563
+ { name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
13564
+ { name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
13565
+ { name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
13566
+ { name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
13567
+ { name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
13568
+ { name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
13569
+ { name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
13570
+ { name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
13571
+ { name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
13572
+ { name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
13573
+ { name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
13574
+ { name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
13575
+ ],
13576
+ oneOfGroups: [["url", "shop_id"]],
13577
+ csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
13578
+ creditTier: "premium",
13579
+ creditCost: 10,
13580
+ pricing: { cost: 10, tier: "premium", ladderCost: 10, model: "metered", minCost: 0, maxCost: 2675, description: "107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing" },
13581
+ archetype: "AuthorList",
13582
+ summary: "Find the TikTok creators who promote a TikTok Shop shop's products. 107 credits per creator returned",
13583
+ description: "Returns the TikTok creators who promote any product of one TikTok Shop shop, with their sales, ranked by GMV (or growth or followers). Each creator is the tiktokshop/user/sales author, with `author.ext.shop_sales` and `author.ext.shop_products`. 107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing. Markets US, GB, SG. One page per call, no cursor: raise `limit` (up to 25) for more. When the day's lookups are used up or the figures are not ready, a `503` with `Retry-After` at 0 credits.",
13584
+ budget_ms: 30000,
13585
+ singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
13586
+ cache: { category: "search", ttlSeconds: 43200 },
13587
+ upstream: { kind: "dataatscale-tiktokshop-affiliates" },
13588
+ tags: ["tiktokshop"],
13589
+ responseShape: { root: "data.items[]", itemKey: "author" },
13590
+ purpose: {
13591
+ summary: "Find the TikTok creators who promote a TikTok Shop shop's products. 107 credits per creator returned",
13592
+ returns: "Returns the TikTok creators who promote any product of one TikTok Shop shop, with their sales, ranked by GMV, growth or followers.",
13593
+ use_when: "Use it to map a brand's whole affiliate roster rather than one product's.",
13594
+ not_for: null,
13595
+ },
13596
+ taxonomy: { purpose: "data_retrieval", job_family: "audience_graph", takes_item_id_from_another_endpoint: true },
13597
+ },
13598
+ {
13599
+ platform: "tiktokshop",
13600
+ resource: "affiliates/similar",
13601
+ method: "GET",
13602
+ params: [
13603
+ { name: "query", required: true, description: "Describe your product in 3 to 500 characters; creators who promote similar products come back.", example: "Magnesium supplement for better sleep" },
13604
+ ],
13605
+ optionalParams: [
13606
+ { name: "limit", type: "integer", minimum: 1, maximum: 25, description: "How many creators to return, 1 to 25. Default 10. Each creator returned costs 107 credits; the call holds limit x 107 and refunds what is not returned." },
13607
+ { name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
13608
+ { name: "period_days", type: "enum", enumValues: ["7", "30", "90"], description: "The period GMV, GPM, growth and the sort use: 7, 30 or 90 days. Default 30." },
13609
+ { name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers." },
13610
+ { name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
13611
+ { name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
13612
+ { name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
13613
+ { name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
13614
+ { name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
13615
+ { name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
13616
+ { name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
13617
+ { name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
13618
+ { name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
13619
+ { name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
13620
+ { name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
13621
+ { name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
13622
+ { name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
13623
+ { name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
13624
+ { name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
13625
+ { name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
13626
+ { name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
13627
+ ],
13628
+ oneOfGroups: [],
13629
+ csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
13630
+ creditTier: "premium",
13631
+ creditCost: 10,
13632
+ pricing: { cost: 10, tier: "premium", ladderCost: 10, model: "metered", minCost: 0, maxCost: 2675, description: "107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing" },
13633
+ archetype: "AuthorList",
13634
+ summary: "Find TikTok Shop affiliates who promote products like yours. 107 credits per creator returned",
13635
+ description: "Returns TikTok Shop affiliate creators who promote products like the one you describe, with their sales, ranked by GMV (or growth or followers). Each creator is the tiktokshop/user/sales author, with `author.ext.shop_sales` and `author.ext.shop_products`. 107 credits per creator returned. The call holds limit x 107 (1,070 at the default limit of 10) and refunds every creator not returned; an answer with no creators costs nothing. Markets US, GB, SG. One page per call, no cursor: raise `limit` (up to 25) for more. When the day's lookups are used up or the figures are not ready, a `503` with `Retry-After` at 0 credits.",
13636
+ budget_ms: 30000,
13637
+ singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
13638
+ cache: { category: "search", ttlSeconds: 43200 },
13639
+ upstream: { kind: "dataatscale-tiktokshop-affiliates" },
13640
+ tags: ["tiktokshop"],
13641
+ responseShape: { root: "data.items[]", itemKey: "author" },
13642
+ purpose: {
13643
+ summary: "Find TikTok Shop affiliates who promote products like yours. 107 credits per creator returned",
13644
+ returns: "Returns TikTok Shop affiliate creators who promote products like the one you describe, with their sales, ranked by GMV, growth or followers.",
13645
+ use_when: "Use it to find affiliates for a new product when you have no product or shop id to start from.",
13646
+ not_for: null,
13647
+ },
13648
+ taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
13649
+ },
13366
13650
  // --- perplexity (1 endpoint) ---
13367
13651
  {
13368
13652
  platform: "perplexity",
@@ -13647,8 +13931,8 @@ export const ENDPOINTS = [
13647
13931
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
13648
13932
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
13649
13933
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
13650
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
13651
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
13934
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
13935
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
13652
13936
  ],
13653
13937
  oneOfGroups: [["keyword", "cid", "place_id"]],
13654
13938
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -14040,8 +14324,8 @@ export const ENDPOINTS = [
14040
14324
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
14041
14325
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
14042
14326
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
14043
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14044
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14327
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14328
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14045
14329
  ],
14046
14330
  oneOfGroups: [["contributor_id", "url"]],
14047
14331
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -14080,8 +14364,8 @@ export const ENDPOINTS = [
14080
14364
  { name: "cid", type: "string", description: "Google customer id (cid) of the business." },
14081
14365
  { name: "location_name", type: "string", description: "Geographic context as 'City,Region,Country'." },
14082
14366
  { name: "language_name", type: "string", description: "Result language (default 'English')." },
14083
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14084
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14367
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14368
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14085
14369
  ],
14086
14370
  oneOfGroups: [["keyword", "cid"]],
14087
14371
  creditTier: "standard",
@@ -14119,8 +14403,8 @@ export const ENDPOINTS = [
14119
14403
  { name: "location_name", type: "string", description: "Geographic context as 'City,Region,Country'." },
14120
14404
  { name: "language_name", type: "string", description: "Result language (default 'English')." },
14121
14405
  { name: "depth", type: "integer", description: "Number of questions to return (default 20)." },
14122
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14123
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14406
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14407
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14124
14408
  ],
14125
14409
  oneOfGroups: [["keyword", "cid", "place_id"]],
14126
14410
  creditTier: "advanced",
@@ -14421,8 +14705,8 @@ export const ENDPOINTS = [
14421
14705
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
14422
14706
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
14423
14707
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
14424
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14425
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14708
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14709
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14426
14710
  ],
14427
14711
  oneOfGroups: [],
14428
14712
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -14431,7 +14715,7 @@ export const ENDPOINTS = [
14431
14715
  pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "metered", minCost: 5, maxCost: 9, description: "5 credits per page. The default labels (sentiment, issue) are free. label=reports, incentivized or injection holds 4 extra credits and refunds down to 1 credit per started 25 reviews that were newly judged (the first 100 reviews of a page are judged): reviews already labelled are free, a page where nothing could be judged refunds the whole extra, and a cached page is free." },
14432
14716
  archetype: "ReviewList",
14433
14717
  summary: "Get Amazon product reviews",
14434
- description: "Returns Amazon's top customer reviews for a product (by ASIN), usually 10 per call. Each review carries the full text, star rating, reviewer, verified-purchase flag, helpful-vote count, publish date, and any review images. A product with no reviews returns a refunded empty list. On the Mexico store (country=MX) a listed product can occasionally come back as not found; retry once. A product that does not exist takes up to about 50s to come back as a refunded not-found, so use a 60s timeout.",
14718
+ description: "Returns Amazon's top customer reviews for a product (by ASIN), usually 10 per call: Amazon shows 10 reviews per product without sign-in, so there is no page 2, and `data.total` is the product's full review count, with `_warnings` saying so. Each review carries the full text, star rating, reviewer, verified-purchase flag, helpful-vote count, publish date, and any review images. A product with no reviews returns a refunded empty list. On the Mexico store (country=MX) a listed product can occasionally come back as not found; retry once. A product that does not exist takes up to about 50s to come back as a refunded not-found, so use a 60s timeout.",
14435
14719
  recommended_timeout_s: 45,
14436
14720
  budget_ms: 25000,
14437
14721
  singlePage: "Every source returns one fixed page: the primary is asked for one page (it can page, measured 2026-10-11, but no source behind it can, so a page-2 cursor could not survive a fallback); /amazon/product-reviews repeats the same 8 review ids on page 1, 2 and 50 (measured 2026-08-29); the last fallback controls page size by depth in a single call.",
@@ -14746,8 +15030,8 @@ export const ENDPOINTS = [
14746
15030
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
14747
15031
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
14748
15032
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
14749
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14750
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
15033
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
15034
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14751
15035
  ],
14752
15036
  oneOfGroups: [],
14753
15037
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -14865,8 +15149,8 @@ export const ENDPOINTS = [
14865
15149
  { name: "publisher", type: "string", description: "Limit results to a single outlet's domain (e.g. 'bbc.com'). Bare domain only, no scheme, no path. Not combinable with location_coordinate or time_range=hour.", example: "bbc.com" },
14866
15150
  { name: "from", type: "string", description: "Start of an exact publish-date window, as YYYY-MM-DD or a Unix timestamp. Overrides time_range. Works with every location and language.", example: "2026-07-01" },
14867
15151
  { name: "to", type: "string", description: "End of the publish-date window (inclusive), as YYYY-MM-DD or a Unix timestamp. Defaults to now when only from is set.", example: "2026-07-15" },
14868
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
14869
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
15152
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
15153
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
14870
15154
  ],
14871
15155
  oneOfGroups: [],
14872
15156
  creditTier: "standard",
@@ -14876,7 +15160,7 @@ export const ENDPOINTS = [
14876
15160
  summary: "Search Google News",
14877
15161
  description: "Returns a unified NewsArticleList of the top Google News results for a keyword, right now: headline, source outlet, thumbnail, article URL, and absolute UTC publish time (a text snippet may be present on some results). Ranked results land in one list: `rank` is the 1-based position of the row in the list you were served, on every source, and `placement` distinguishes a Top Stories block when present. `source` is the outlet name where the provider supplies one and the article's domain otherwise; `domain` is the publisher's hostname. When Google gives only a redirect link (`google.com/goto`), `url` still opens the article but `domain` and `source` are null. The keyword supports quoted phrases and boolean operators (AND, OR, NOT). Localize with `location_name`/`location_code`/`location_coordinate` + `language_code` (non-Latin scripts supported). Filter by recency with `time_range`, by an exact date window with `from`/`to` (YYYY-MM-DD or Unix timestamp; overrides `time_range` when present), or by outlet with `publisher` (a bare domain like bbc.com). `publisher` cannot be combined with `location_coordinate`, `time_range=hour` or an edition outside the supported list (clear 400, never billed). `from`/`to` work with every location and language; rows the source dated outside the window are left out, and `_warnings` says how many. There is no pagination beyond `depth`. This surface returns at most 100 articles per query (default 10). For the full article body, scrape the returned `url`. Served live from Google News: an ordinary synchronous request.",
14878
15162
  recommended_timeout_s: 38,
14879
- budget_ms: 12000,
15163
+ budget_ms: 15000,
14880
15164
  singlePage: "Depth-based fan-out: page size is controlled by depth, one call (no cursor on either source).",
14881
15165
  emptyOn404: true,
14882
15166
  cache: { category: "search", ttlSeconds: 300 },
@@ -15002,8 +15286,8 @@ export const ENDPOINTS = [
15002
15286
  ],
15003
15287
  optionalParams: [
15004
15288
  { name: "limit", type: "integer", minimum: 1, maximum: 50, description: "Maximum articles to return, 1 to 50. Defaults to the upstream batch size." },
15005
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
15006
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
15289
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
15290
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
15007
15291
  ],
15008
15292
  oneOfGroups: [],
15009
15293
  creditTier: "standard",
@@ -15160,7 +15444,7 @@ export const ENDPOINTS = [
15160
15444
  taxonomy: { purpose: "data_retrieval", job_family: "finance_and_markets", takes_item_id_from_another_endpoint: false },
15161
15445
  latency_ms: { p50: 342, p95: 353, p99: 354, n: 2, low_sample: true },
15162
15446
  },
15163
- // --- google_trends (3 endpoints) ---
15447
+ // --- google_trends (4 endpoints) ---
15164
15448
  {
15165
15449
  platform: "google_trends",
15166
15450
  resource: "explore",
@@ -15169,18 +15453,18 @@ export const ENDPOINTS = [
15169
15453
  { name: "keywords", required: true, description: "1-5 comma-separated keywords (e.g. 'reverse audio,voice changer'). With multiple keywords the 0-100 values are normalised across the set for direct comparison. Each keyword must be 2 to 100 characters. More than 5 keywords, a 1-character keyword, or a keyword made only of punctuation is rejected with a free 400 before the request is billed.", example: "uv index" },
15170
15454
  ],
15171
15455
  optionalParams: [
15172
- { name: "location", type: "string", description: "Location as an ISO country code ('US', 'KR'), a full country name as Google Trends spells it ('United States', 'South Korea'), or a numeric location code ('2840'). Common spellings and ISO codes are normalised, so 'KR', 'Korea' and 'South Korea' all reach the same place. Google Trends does not publish every country, and a location it has no data for is rejected with a free 400 naming the accepted forms; a 404 means the keyword had no data there, not that the location is unsupported. Defaults to worldwide-leaning US." },
15456
+ { name: "location", type: "string", description: "Location as an ISO country code ('US', 'KR'), a full country name as Google Trends spells it ('United States', 'South Korea'), or a numeric location code ('2840'). Common spellings and ISO codes are normalised, so 'KR', 'Korea' and 'South Korea' all reach the same place. Up to 10 places, comma-separated ('US,GB,KR'), read each place separately and answer `{ by_location }` at 5 credits per place with data; 11 or more is a free 400. Google Trends does not publish every country, and a location it has no data for is rejected with a free 400 naming the accepted forms; a 404 means the keyword had no data there, not that the location is unsupported. Defaults to worldwide-leaning US." },
15173
15457
  { name: "timeframe", type: "enum", enumValues: ["past_hour", "past_4_hours", "past_day", "past_7_days", "past_30_days", "past_90_days", "past_12_months", "past_5_years"], description: "Preset time window: past_hour, past_4_hours, past_day, past_7_days, past_30_days, past_90_days, past_12_months, or past_5_years. Defaults to past_12_months.", example: "past_90_days" },
15174
15458
  { name: "category", type: "integer", description: "Numeric Google Trends category code to scope the query (default 0 = all categories). A non-numeric value is rejected with a free 400 rather than silently returning an all-categories series." },
15175
15459
  ],
15176
15460
  oneOfGroups: [],
15177
- csvConstraints: { "keywords": { max: 5 } },
15461
+ csvConstraints: { "keywords": { max: 5 }, "location": { max: 10 } },
15178
15462
  creditTier: "advanced",
15179
15463
  creditCost: 5,
15180
- pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
15464
+ pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "metered", minCost: 5, maxCost: 50, description: "5 credits per place that returns data: 5 for one `location`, up to 50 for 10 comma-separated places, held up front and refunded down. A place with no data is free." },
15181
15465
  archetype: "Analytics",
15182
15466
  summary: "Get Google Trends interest over time",
15183
- description: "Returns Google Trends interest-over-time for up to 5 keywords in one call. Response is `{ series, averages }`: `series` is one entry per keyword, each with dated `points` ({ date, datetime, value, partial }) where `value` is Google's 0-100 relative-popularity score; `averages` is the per-keyword mean over the window. `partial` is true on a bucket Google is still accumulating, which is normally the last point: treat it as an incomplete count rather than a fall in interest, and drop it before charting a trend. Compare terms head-to-head (values are normalised across the keyword set) and scope by `location`, `timeframe`, and `category`. A keyword set with no measurable search interest returns 404 and costs 0 credits, so a dead term is never billed. A billed refresh is typically 5-9s and the slow tail reaches about 30s, so set a client timeout of at least 60s: this surface reads Google Trends live and Google itself is the slow part. Exact repeats may use the 2-minute search cache and return in milliseconds at 0 credits.",
15467
+ description: "Returns Google Trends interest-over-time for up to 5 keywords in one call. Response is `{ series, averages }`: `series` is one entry per keyword, each with dated `points` ({ date, datetime, value, partial }) where `value` is Google's 0-100 relative-popularity score; `averages` is the per-keyword mean over the window. `partial` is true on a bucket Google is still accumulating, which is normally the last point: treat it as an incomplete count rather than a fall in interest, and drop it before charting a trend. Compare terms head-to-head (values are normalised across the keyword set) and scope by `location`, `timeframe`, and `category`. Send up to 10 comma-separated places in `location` (`US,GB,DE`) to read the same keywords in each: the response is then `{ by_location }`, one entry per place in your order, each `{ location, status, series, averages }`, at 5 credits per place that returns data. `status` is `ok`, `no_data` (Google holds too little volume there, not charged) or `failed` (not charged; ask for it again). Each place is scaled on its own, so compare places by the shape of their curves; /v1/google_trends/regions ranks places on one scale. One place keeps the `{ series, averages }` shape. A keyword set with no measurable search interest returns 404 and costs 0 credits, so a dead term is never billed. A billed refresh is typically 5-9s and the slow tail reaches about 30s, so set a client timeout of at least 60s: this surface reads Google Trends live and Google itself is the slow part. Exact repeats may use the 2-minute search cache and return in milliseconds at 0 credits.",
15184
15468
  recommended_timeout_s: 55,
15185
15469
  budget_ms: 8000,
15186
15470
  cache: { category: "search", ttlSeconds: 120 },
@@ -15229,6 +15513,38 @@ export const ENDPOINTS = [
15229
15513
  taxonomy: { purpose: "data_retrieval", job_family: "trends_and_charts", takes_item_id_from_another_endpoint: false },
15230
15514
  latency_ms: { p50: 15585, p95: 35030, p99: 40693, n: 167 },
15231
15515
  },
15516
+ {
15517
+ platform: "google_trends",
15518
+ resource: "regions",
15519
+ method: "GET",
15520
+ params: [
15521
+ { name: "keywords", required: true, description: "1-5 comma-separated keywords (e.g. 'buldak,samyang'). With several, each place shows every keyword's share of searches across the set. Each keyword must be 2 to 100 characters.", example: "buldak,samyang" },
15522
+ ],
15523
+ optionalParams: [
15524
+ { name: "location", type: "string", description: "One country to map inside, as an ISO code ('US', 'KR'), the country name as Google Trends spells it ('South Korea') or a numeric location code ('2410'). Leave it out to compare countries worldwide. A place we cannot name is a free 400." },
15525
+ { name: "resolution", type: "enum", enumValues: ["country", "region", "metro", "city"], description: "How fine the places are: `country`, `region` (states, provinces), `metro` (US media markets) or `city`. Defaults to `country` worldwide and `region` inside a country. Google does not publish every resolution for every country." },
15526
+ { name: "timeframe", type: "enum", enumValues: ["past_hour", "past_4_hours", "past_day", "past_7_days", "past_30_days", "past_90_days", "past_12_months", "past_5_years"], description: "Preset time window: past_hour, past_4_hours, past_day, past_7_days, past_30_days, past_90_days, past_12_months, or past_5_years. Defaults to past_12_months." },
15527
+ { name: "category", type: "integer", description: "Numeric Google Trends category code to scope the query (default 0 = all categories), the same codes /v1/google_trends/explore takes. A non-numeric value is a free 400." },
15528
+ ],
15529
+ oneOfGroups: [],
15530
+ csvConstraints: { "keywords": { max: 5 } },
15531
+ creditTier: "advanced",
15532
+ creditCost: 5,
15533
+ pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
15534
+ archetype: "Analytics",
15535
+ summary: "Get Google Trends interest by region",
15536
+ description: "Returns where 1 to 5 keywords are searched most, as the Google Trends map: one row per place under `regions`, each `{ geo, name, values: [{ keyword, value }], top_keyword }`, in Google's order. Without `location` the places are countries worldwide; with one country in `location` they are its subregions (states, provinces), or its metro areas or cities with `resolution`. `value_type` names the scale: with ONE keyword it is `index`, Google's 0-100 score where the top place is 100; with several it is `share`, each keyword's share of that place's searches across your set, summing to about 100 per place, so `top_keyword` is the term that leads there. Neither is a search count. A keyword with too little volume to map at that resolution returns 404 at 0 credits; metro areas exist for the United States only. Pair it with /v1/google_trends/explore to see how interest moves over time in the places this ranks. Typically 2 to 5 seconds; exact repeats may use the 2-minute search cache at 0 credits.",
15537
+ cache: { category: "search", ttlSeconds: 120 },
15538
+ upstream: { kind: "hasdata" },
15539
+ tags: ["google_trends"],
15540
+ purpose: {
15541
+ summary: "Get Google Trends interest by region",
15542
+ returns: "Returns the Google Trends map for up to five keywords: one row per country, or per region, metro area or city inside one country, with each keyword's score there and the keyword that leads.",
15543
+ use_when: "Use it to find where a term is searched most, or which of several brands leads in each market, before reading the trend over time with explore.",
15544
+ not_for: null,
15545
+ },
15546
+ taxonomy: { purpose: "data_retrieval", job_family: "trends_and_charts", takes_item_id_from_another_endpoint: false },
15547
+ },
15232
15548
  {
15233
15549
  platform: "google_trends",
15234
15550
  resource: "trending",
@@ -15326,7 +15642,7 @@ export const ENDPOINTS = [
15326
15642
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
15327
15643
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
15328
15644
  { name: "since", type: "string", couplesWith: { param: "sort", value: "recency" }, description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Sending it sets the newest-first sort shown in this endpoint's sort parameter. If you send another sort, the results keep that ranking and rows before the date are left off each page. The walk then does not stop at the date, a page left with no rows is free, and `_warnings` says so. The page still costs what a page costs, so you pay for the pages you walk and no more. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
15329
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
15645
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
15330
15646
  ],
15331
15647
  oneOfGroups: [],
15332
15648
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -15341,7 +15657,7 @@ export const ENDPOINTS = [
15341
15657
  route_budget_ms: 100000,
15342
15658
  singlePage: "Depth-based fan-out: page size is controlled by depth, one call.",
15343
15659
  cache: { category: "comments", ttlSeconds: 300 },
15344
- upstream: { kind: "dfs-trustpilot", fallbackKinds: ["apify-trustpilot-reviews"] },
15660
+ upstream: { kind: "dfs-trustpilot", fallbackKinds: ["fetchlayer", "apify-trustpilot-reviews"] },
15345
15661
  tags: ["trustpilot"],
15346
15662
  judgments: { offParam: "judgments", labels: { param: "label", presets: ["sentiment", "issue", "reports", "incentivized", "injection"], free: ["sentiment", "issue"], metered: ["reports", "incentivized", "injection"], rowsPerCredit: 25, rowPath: "items[].review" } },
15347
15663
  featuredParams: [
@@ -15498,11 +15814,11 @@ export const ENDPOINTS = [
15498
15814
  pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 5, description: "1 credit per page. The default labels (sentiment, issue) are free. label=reports, incentivized or injection holds 4 extra credits and refunds down to 1 credit per started 25 reviews that were newly judged (the first 100 reviews of a page are judged): reviews already labelled are free, a page where nothing could be judged refunds the whole extra, and a cached page is free. With `max_pages`, `max_items` or `max_credits`, each page walked is billed at this price (a cached page is free), and `max_credits` caps the total." },
15499
15815
  archetype: "ReviewList",
15500
15816
  summary: "Get Yelp reviews for a business",
15501
- description: "Returns a unified ReviewList of customer reviews for a Yelp business. Identify the business by its 22-character encid, by the alias in its Yelp URL, or by the URL itself (`id` or `url`). Each page has 10 reviews with cursor pagination, ISO timestamps, owner replies, photo URLs, and language. sort=newest returns the most recent reviews first; oldest, highest_rated and lowest_rated are also available, and the default is Yelp's recommended order. HELPFUL vote counts are filled in the default order for an encid; with another sort or an alias they are null. Page 2 does not overlap page 1. A business that does not exist returns 404 (auto-refunded). A business with no reviews returns an empty page and is not billed. limit (1 to 49 a page), rating, query (words in the review), language and sort=elites narrow or reorder the reviews; with rating, query or language, total counts only the matching reviews. Send the same filters with the cursor on later pages. not_recommended=true returns instead the reviews Yelp hides from the business page (its \"not recommended\" reviews), 10 a page, for a business named by its encid. Each review carries `review.ext.yelp`: its votes, keyed reactions, photos with captions, the reviewer's friend and photo counts and Elite years.",
15502
- budget_ms: 15000,
15817
+ description: "Returns a unified ReviewList of customer reviews for a Yelp business. Identify the business by its 22-character encid, by the alias in its Yelp URL, or by the URL itself (`id` or `url`). Each page has 10 reviews with cursor pagination, ISO timestamps, owner replies, photo URLs, and language. sort=newest returns the most recent reviews first; oldest, highest_rated and lowest_rated are also available, and the default is Yelp's recommended order. Page 2 does not overlap page 1. A business that does not exist returns 404 (auto-refunded). A business with no reviews returns an empty page and is not billed. An alias with non-Latin letters, such as the one in a Yelp URL for a Chinese or Vietnamese restaurant, works like any other. limit (1 to 49 a page), rating, query (words in the review), language and sort=elites narrow or reorder the reviews; with rating, query or language, total counts only the matching reviews. Send the same filters with the cursor on later pages. not_recommended=true returns instead the reviews Yelp hides from the business page (its \"not recommended\" reviews), 10 a page, for a business named by its encid. Each review carries `review.ext.yelp`: its votes, keyed reactions, photos with captions, the reviewer's friend and photo counts and Elite years. When the first source cannot answer, a backup source serves the same page with the same fields, except that `review.ext.yelp.votes`, each photo's `helpful_count` and each reply's `id` are null.",
15818
+ budget_ms: 28000,
15503
15819
  pagination: { style: "cursor", nativeParam: "cursor", limitParam: "limit" },
15504
15820
  cache: { category: "comments", ttlSeconds: 300 },
15505
- upstream: { kind: "litescrape", fallbackKinds: ["rapidapi-yelp-biz", "hasdata"] },
15821
+ upstream: { kind: "litescrape", fallbackKinds: ["hasdata"] },
15506
15822
  group: "Reviews",
15507
15823
  tags: ["yelp"],
15508
15824
  judgments: { offParam: "judgments", labels: { param: "label", presets: ["sentiment", "issue", "reports", "incentivized", "injection"], free: ["sentiment", "issue"], metered: ["reports", "incentivized", "injection"], rowsPerCredit: 25, rowPath: "items[].review" } },
@@ -15621,7 +15937,8 @@ export const ENDPOINTS = [
15621
15937
  { name: "languages", type: "string", description: "Yelp: `all` (the default) or a comma list of language codes, such as `en,fr`. Google Play: a comma list of language codes, `en` by default. Not taken for Tripadvisor (read in English, en-US, with reviews in other languages translated) or the App Store (read per storefront).", in: "body" },
15622
15938
  { name: "max_reviews_per_item", type: "integer", description: "Stop each business after this many reviews, 1 to 100,000.", in: "body" },
15623
15939
  { name: "format", type: "enum", enumValues: ["jsonl", "csv"], description: "`jsonl` (the default: one JSON object a line, the business line first) or `csv`.", in: "body" },
15624
- { name: "include", type: "enum", enumValues: ["business", "none"], description: "`business` (the default) adds each business's summary (name, rating, total reviews); `none` leaves it out. `business_full` (Yelp only, 1 more page, 0.25 credits, an item) adds the business record from the bulk source on `place`: name, address, coordinates, phone, website, claimed, closed, rating, categories, hours, the business's own description, and a timezone derived from the coordinates. The menu link and amenity flags are not included; call GET /v1/yelp/business/info for those. A record that cannot be read is null and not billed. A business whose Yelp link has accented letters (such as café) can be read only by its business id: send the 22-character id from GET /v1/yelp/search as the item, for both its reviews and its record.", in: "body" },
15940
+ { name: "include", type: "enum", enumValues: ["business", "business_full", "none"], description: "`business` (the default) adds each business's summary (name, rating, total reviews); `none` leaves it out. `business_full` (Yelp only, 1 more page, 0.25 credits, an item) adds the business record from the bulk source on `place`: name, address, coordinates, phone, website, claimed, closed, rating, categories, hours, the business's own description, and a timezone derived from the coordinates. The menu link and amenity flags are not included; call GET /v1/yelp/business/info for those. A record that cannot be read is null and not billed. A business whose Yelp link has accented letters (such as café) can be read only by its business id: send the 22-character id from GET /v1/yelp/search as the item, for both its reviews and its record.", in: "body" },
15941
+ { name: "country", type: "string", description: "App Store and Google Play only: the two-letter storefront, such as `gb`; `us` by default.", in: "body" },
15625
15942
  { name: "webhook_url", type: "string", description: "An https URL that receives signed job events. The 202 returns the signing secret once as `webhook_secret`.", in: "body" },
15626
15943
  { name: "refresh_of", type: "string", description: "An earlier bulk job's id: the same items again, from the day it finished. The earlier job must still be kept (7 days).", in: "body" },
15627
15944
  ],
@@ -15631,7 +15948,7 @@ export const ENDPOINTS = [
15631
15948
  pricing: { cost: 25, tier: "standard", ladderCost: 1, model: "flat", description: "1 credit per started 4 pages over the whole job. A page is up to 49 reviews on Yelp, 20 on Tripadvisor, 25 on the App Store and 199 on Google Play. Credits are reserved 25 at a time (100 pages) before pages are read, so starting holds 25; the job settles to the pages it read and refunds the rest. A typical business costs about 0.75 credits. A business that cannot be read costs nothing." },
15632
15949
  archetype: "Analytics",
15633
15950
  summary: "Start a bulk review history job across many businesses",
15634
- description: "Starts a background job (202) that collects the review history of many Yelp businesses (closed ones included), Tripadvisor places, App Store apps or Google Play apps at once, and delivers it as files: one per business and one combined gzipped dataset with a manifest. Tripadvisor yields each place's newest 10,020 reviews per locale (the source sorts newest first only). App Store reads one storefront newest first, up to 32,475 pages of 25 an app (about 812,000 reviews, the deepest app measured; the store states more pages than it serves). Google Play reads newest first per language, up to 5,000 pages of 199 a language; a Google Play row carries the developer's reply in `responses` when there is one. The body takes `platform` (`yelp`, `tripadvisor`, `app_store` or `google_play`), `items` (1 to 20,000 Yelp business ids, aliases or yelp.com/biz/ links; Tripadvisor place ids or place page links that carry `-d<id>-`; App Store numeric app ids or apps.apple.com links; Google Play package names or play.google.com links; duplicates are collapsed), and optionally `since` and `until` (YYYY-MM-DD), `languages` (Yelp: `all` by default; Google Play: language codes, `en` by default; not taken for Tripadvisor, read in en-US with reviews translated, or the App Store), `country` (App Store and Google Play only: the two-letter storefront, `us` by default), `max_reviews_per_item` (1 to 100,000), `format` (`jsonl`, the default, or `csv`), `include` (`business`, the default, adds each business's summary; `business_full`, Yelp only, adds the business record from the bulk source, 1 more page an item; `none`), `webhook_url` (an https URL that receives signed `reviews_bulk.paused`, `reviews_bulk.resumed` and `reviews_bulk.completed` events; the 202 returns its `webhook_secret` once) and `refresh_of` (an earlier bulk job's id: its items again, from the day it finished). Any other field is a free 400. Credits are reserved 25 at a time (100 pages) before pages are read, never the whole job up front; when the balance cannot cover the next reservation the job pauses as `paused_insufficient_credits`, keeps what it has delivered, and resumes by itself once credits are added. A business that cannot be read after retries is `unavailable` and costs nothing. Read progress and download links, free, with GET /v1/prism/reviews/bulk/{job_id}?offset=&limit= (every link is minted fresh on each read and lives 1 hour); cancel with POST /v1/prism/reviews/bulk/{job_id}/cancel. Files and the job are kept 7 days. Send an `Idempotency-Key` header to make a retried submit return the same job without a second reservation.",
15951
+ description: "Starts a background job (202) that collects the review history of many Yelp businesses (closed ones included), Tripadvisor places, App Store apps or Google Play apps at once, and delivers it as files: one per business and one combined gzipped dataset with a manifest. Tripadvisor yields each place's newest 10,020 reviews per locale (the source sorts newest first only). App Store reads one storefront newest first, up to 32,475 pages of 25 an app (about 812,000 reviews, the deepest app measured; the store states more pages than it serves). Google Play reads newest first per language, up to 5,000 pages of 199 a language; a Google Play row carries the developer's reply in `responses` when there is one. The body takes `platform` (`yelp`, `tripadvisor`, `app_store` or `google_play`), `items` (1 to 20,000 Yelp business ids, aliases or yelp.com/biz/ links; Tripadvisor place ids or place page links that carry `-d<id>-`; App Store numeric app ids or apps.apple.com links; Google Play package names or play.google.com links; duplicates are collapsed), and optionally `since` and `until` (YYYY-MM-DD), `languages` (Yelp: `all` by default; Google Play: language codes, `en` by default; not taken for Tripadvisor, read in en-US with reviews translated, or the App Store), `country` (App Store and Google Play only: the two-letter storefront, `us` by default), `max_reviews_per_item` (1 to 100,000), `format` (`jsonl`, the default, or `csv`), `include` (`business`, the default, adds each business's summary; `business_full`, Yelp only, adds the business record from the bulk source, 1 more page an item; `none`), `webhook_url` (an https URL that receives signed `reviews_bulk.paused`, `reviews_bulk.resumed` and `reviews_bulk.completed` events; the 202 returns its `webhook_secret` once) and `refresh_of` (an earlier bulk job's id: its items again, from the day it finished). Any other field is a free 400. Credits are reserved 25 at a time (100 pages) before pages are read, never the whole job up front; when the balance cannot cover the next reservation the job pauses as `paused_insufficient_credits`, keeps what it has delivered, and resumes by itself once credits are added. A business that cannot be read after retries is `unavailable`, costs nothing, and says why in `reason` (`not_found`, `business_unreadable`, `zero_unverified`, ...); a business is delivered with 0 reviews only when its own page confirms 0, and a Yelp alias in non-Latin letters is read by its Yelp id. Each item reports `reviews_listed` (the review count the site shows; null on the App Store and Google Play) and `complete`; a business that comes up short of it is read again from the start once, and only the pages of the read it keeps are billed. Read progress and download links, free, with GET /v1/prism/reviews/bulk/{job_id}?offset=&limit= (every link is minted fresh on each read and lives 1 hour); cancel with POST /v1/prism/reviews/bulk/{job_id}/cancel. Files and the job are kept 7 days. Send an `Idempotency-Key` header to make a retried submit return the same job without a second reservation.",
15635
15952
  execution: "async",
15636
15953
  cache: { category: "comments", ttlSeconds: 0 },
15637
15954
  upstream: { kind: "litescrape" },
@@ -15700,7 +16017,7 @@ export const ENDPOINTS = [
15700
16017
  pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 2, maxCost: 200, description: "1 credit per comment page scanned (5 on LinkedIn) plus 1 per replies call that returned replies. An Instagram post URL is a flat 5 credits whatever `max` you pass, plus 1 per replies call only when you send `replies=true`" },
15701
16018
  archetype: "Analytics",
15702
16019
  summary: "Every comment on a post, replies nested, server-paginated to completion.",
15703
- description: "Give it any TikTok, YouTube, Facebook, Reddit, Hacker News, Instagram, X, Threads or LinkedIn post URL and it harvests every top-level comment (paginated to the end) with ALL of each comment's replies nested under it, in one call. Each entry in `data.comments` is `{ comment, replies }`: a comment's replies are the `replies` array beside it, never separate entries, so `returned` and `total_fetched` count top-level comments and `replies_returned` counts the replies nested under them (`parents_expanded` is how many comments carry any). On TikTok, YouTube and Facebook (replies on by default) and on Instagram (when you send `replies=true`), every returned comment whose `engagement.replies` is above zero gets its replies fetched and their pages walked to the end, up to 100 parent comments and 10 replies pages per comment per call. A comment whose replies a limit, the time budget or a failed replies call stopped short is marked `replies_truncated: true` and the response says `completed: false`; nothing is dropped silently. Reddit and Hacker News return their whole nested thread; on Reddit, a reply branch the scan's credit or time budget cannot reach is marked the same way. Instagram without `replies=true` comes back top-level only, as before; you can also fetch one comment's replies yourself from `GET /v1/instagram/post/comment/replies` (post `url` plus the parent `comment_id`, cursor-paged, 1 credit a call). Pass `sort=top` to get the most-liked comments first (ranked by `engagement.likes`): ideal for pulling the top comments on a high-volume post; pair it with `limit` to cap how many you get back (e.g. `sort=top&max=500&limit=200` scans ~500 and returns the top 200). YouTube sorts upstream so its top set is exact; other platforms are sorted across the scanned set. Metered at 1 credit per comment page plus 1 credit per replies call that returned replies (minimum 2). The upfront hold covers the pages `max` implies plus 1 credit per parent comment it may expand (3 on Instagram, whose replies come 15 to a page), and everything unused is refunded. `sort`/`limit` never change the price. Instagram is the exception: an Instagram post URL is a flat 5 credits per call whatever `max` you pass, because that source returns the comment set in one call rather than by page; with `replies=true` it adds 1 credit per replies call that returned replies. Returns sync JSON, or a typed SSE stream when you send `Accept: text/event-stream`: a `page` chunk lands as each page settles. The `next_cursor` is one opaque token that resumes every leg; `legs[]` reports each page's and each replies call's status, cost, and latency. On a Reddit thread, `data.post` also carries the post itself (title, body, author, date and counts), read in the same call at no extra charge. On other platforms, or when that read fails, it holds only `url` and `platform`.",
16020
+ description: "Give it any TikTok, YouTube, Facebook, Reddit, Hacker News, Instagram, X, Threads or LinkedIn post URL and it harvests every top-level comment (paginated to the end) with ALL of each comment's replies nested under it, in one call. Each entry in `data.comments` is `{ comment, replies }`: a comment's replies are the `replies` array beside it, never separate entries, so `returned` and `total_fetched` count top-level comments and `replies_returned` counts the replies nested under them (`parents_expanded` is how many comments carry any). On TikTok, YouTube and Facebook (replies on by default) and on Instagram (when you send `replies=true`), every returned comment whose `engagement.replies` is above zero gets its replies fetched and their pages walked to the end, up to 100 parent comments and 10 replies pages per comment per call. A comment whose replies a limit, the time budget or a failed replies call stopped short is marked `replies_truncated: true` and the response says `completed: false`; nothing is dropped silently. Reddit and Hacker News return their whole nested thread; on Reddit, a reply branch the scan's credit or time budget cannot reach is marked the same way. Instagram without `replies=true` comes back top-level only, as before; you can also fetch one comment's replies yourself from `GET /v1/instagram/post/comment/replies` (post `url` plus the parent `comment_id`, cursor-paged, 1 credit a call). Pass `sort=top` to get the most-liked comments first (ranked by `engagement.likes`): ideal for pulling the top comments on a high-volume post; pair it with `limit` to cap how many you get back (e.g. `sort=top&max=500&limit=200` scans ~500 and returns the top 200). YouTube sorts upstream so its top set is exact; other platforms are sorted across the scanned set. Metered at 1 credit per comment page plus 1 credit per replies call that returned replies (minimum 2). The upfront hold covers the pages `max` implies plus 1 credit per parent comment it may expand (3 on Instagram, whose replies come 15 to a page), and everything unused is refunded. `sort`/`limit` never change the price. Instagram is the exception: an Instagram post URL is a flat 5 credits per call whatever `max` you pass, because that source returns the comment set in one call rather than by page; with `replies=true` it adds 1 credit per replies call that returned replies. Returns sync JSON, or a typed SSE stream when you send `Accept: text/event-stream`: a `page` chunk lands as each page settles. The `next_cursor` is one opaque token that resumes every leg; `legs[]` reports each page's and each replies call's status, cost, and latency. On a Reddit thread, `data.post` also carries the post itself (title, body, author, date and counts), read in the same call at no extra charge. On other platforms, or when that read fails, it holds `url` and `platform`. `data.post.comment_count` is the post's own count where the platform's comment page carries one (TikTok, Instagram, Reddit), with `comment_count_includes_replies` beside it, both null elsewhere. `data.scope` is `with_replies` when the rows include replies and `top_level` otherwise. `completed: true` means the scan reached the end of the comment pages (and every reply branch it promises), not that the rows add up to `comment_count`. Each comment and reply carries `computed.language`. A page the source answers with a rate limit or a server error is asked again inside the call before the scan stops; an Instagram call that stops on such an error after it charged makes its resume free of the flat price. For the comments of many posts, send up to 25 post URLs across platforms to `POST /v1/prism/post-comments` in one call instead of looping this endpoint.",
15704
16021
  execution: "sse",
15705
16022
  streaming: "accept-header",
15706
16023
  recommended_timeout_s: 50,
@@ -16527,7 +16844,7 @@ export const ENDPOINTS = [
16527
16844
  ],
16528
16845
  optionalParams: [
16529
16846
  { name: "type", type: "enum", enumValues: ["person", "company"], description: "`person` (default) or `company`. Sets the default platforms and the LinkedIn search used.", example: "company" },
16530
- { name: "platforms", type: "string", description: "Comma-separated subset of linkedin, instagram, tiktok, twitter, threads, youtube. Default: instagram, tiktok, twitter for a person; linkedin, instagram, tiktok, twitter for a company. Threads and YouTube are searched only when named. An unknown member is a 400." },
16847
+ { name: "platforms", type: "string", description: "Comma-separated subset of linkedin, instagram, tiktok, twitter, threads, youtube, facebook. Default: instagram, tiktok, twitter for a person; linkedin, instagram, tiktok, twitter for a company. Threads, YouTube and Facebook are searched only when named. An unknown member is a 400." },
16531
16848
  { name: "employer", type: "string", description: "Optional current employer of the person, used only as context for the judgment (type=person only)." },
16532
16849
  { name: "location", type: "string", description: "Optional city or country, used only as context for the judgment." },
16533
16850
  { name: "website", type: "string", description: "Optional official website or domain (e.g. ogilvy.com). A platform-verified account linking to it is taken as the match without judging.", example: "ogilvy.com" },
@@ -16536,13 +16853,13 @@ export const ENDPOINTS = [
16536
16853
  { name: "profile_check_scope", type: "enum", enumValues: ["top", "leader"], requires: "profile_check", description: "Optional, only with profile_check=true. top (default) looks up a company's top two Instagram and TikTok candidates before the ranking, as described under profile_check. leader looks up only the leading candidate of each platform, after the ranking: one lookup per platform. Any other value is a free 400." },
16537
16854
  ],
16538
16855
  oneOfGroups: [],
16539
- csvConstraints: { "platforms": { enumValues: ["linkedin", "instagram", "tiktok", "twitter", "threads", "youtube"] } },
16856
+ csvConstraints: { "platforms": { enumValues: ["linkedin", "instagram", "tiktok", "twitter", "threads", "youtube", "facebook"] } },
16540
16857
  creditTier: "advanced",
16541
16858
  creditCost: 6,
16542
- pricing: { cost: 6, tier: "advanced", ladderCost: 5, model: "metered", minCost: 2, maxCost: 33, description: "The searches at their own prices (1 credit each for Instagram, TikTok and X, 10 for LinkedIn) plus 1 credit per platform judged: 6 credits for a person by default, 17 for a company (LinkedIn included). Threads or YouTube, when named, is 1 credit for its search plus 1 for its judging. With profile_check=true each profile lookup is added at its own price (1 credit on Instagram, TikTok and Threads, 5 for a company page on LinkedIn): one lookup per platform, except a company's Instagram and TikTok, where the top two candidates are looked up before the ranking and the leading one after it when it ranked lower, so at most 3 lookups (3 credits) per platform. With profile_check_scope=leader every platform makes one lookup, of the leading candidate. For a company with `website`, a LinkedIn search that fails is answered by `linkedin/company/by-domain` at its 5 credits instead of the search's 10, and nothing when it fails too. A search that fails, a platform that could not be judged and a lookup that was not made or failed are refunded" },
16859
+ pricing: { cost: 6, tier: "advanced", ladderCost: 5, model: "metered", minCost: 2, maxCost: 35, description: "The searches at their own prices (1 credit each for Instagram, TikTok and X, 10 for LinkedIn) plus 1 credit per platform judged: 6 credits for a person by default, 17 for a company (LinkedIn included). Threads, YouTube or Facebook, when named, is 1 credit for its search plus 1 for its judging (a Facebook page is never looked up by `profile_check`). With profile_check=true each profile lookup is added at its own price (1 credit on Instagram, TikTok and Threads, 5 for a company page on LinkedIn): one lookup per platform, except a company's Instagram and TikTok, where the top two candidates are looked up before the ranking and the leading one after it when it ranked lower, so at most 3 lookups (3 credits) per platform. With profile_check_scope=leader every platform makes one lookup, of the leading candidate. For a company with `website`, a LinkedIn search that fails is answered by `linkedin/company/by-domain` at its 5 credits instead of the search's 10, and nothing when it fails too. A search that fails, a platform that could not be judged and a lookup that was not made or failed are refunded" },
16543
16860
  archetype: "Analytics",
16544
- summary: "Turn a person's or a company's name into ranked candidate accounts on Instagram, TikTok, X and LinkedIn (Threads and YouTube on request), with a match level and a match confidence per platform, for human review.",
16545
- description: "Runs the existing account searches for `name` on each platform (`instagram/search/profiles`, `tiktok/search/users`, `twitter/search/users`, and `linkedin/search/people` for a person or `linkedin/search/companies` for a company), keeps the top `candidates` public accounts of each (private accounts are dropped), and ranks them. With `website`, an account in the search results whose own website is that domain is always among the candidates, in place of the lowest one without that link. For a company with `website`, a LinkedIn company search that fails is answered by `linkedin/company/by-domain`, whose page is then the one LinkedIn candidate. Each platform returns `candidates` (rank, handle, display name, profile URL, followers, verified flag, a bio excerpt and `choice_probability`, the ranking step's probability that this account is the target's own, read before the check: it orders the candidates and is not the verdict, so decide on `match.match_confidence` or `match.accepted`; it is null on every candidate of a platform matched by exact link, which is not ranked) and one `match`: `handle` is the leading candidate, `level` is `same`, `possible` (connected but not shown to be the target's own, such as a fan or regional account), `different`, `uncertain` (the ranking was flat or the check was unsure), or `none` (none of the candidates is the target's own account, or the search found nothing), with `confidence` (the weaker of the ranking and the check), `basis` and `evidence` (`website_match`, `cross_link`, `bio_consistent`, `fan_or_parody`). The leading candidate is always checked a second time against the name and context you sent; a ranking alone is never a match. With `website`, an account that links to that site and is platform-verified is taken as the match without judging (`basis: exact_link`); an unverified account linking to it is judged like the rest. `employer` (person only) and `location` give the judgment context. These are automated labels for a human reviewer, not an identification: `automated_decision` is false and the response never states who runs an account. If the judgment is unavailable, candidates come back in search order with `match.level` null, `_warnings` says why, and the judging credits are refunded. LinkedIn is included by default for a company only, because its search costs 10 credits. Threads (`threads/search/users`) and YouTube (`youtube/search` with `type=channels`, whose channel rows carry the description and subscribers) are searched only when named in `platforms`. Each platform's `match` also carries `match_confidence` (0 to 1, null when there is no candidate), how sure the response is that `handle` is the target's own account, and `accepted`, true when `match_confidence` is at or above `match_confidence_floor` (0.6). `data.items` lists the accepted accounts, one per platform at most, as canonical author rows with their `match`; a platform below the floor lists no item, so a reader of `items` gets no match rather than a guess. When candidates were found and judged and none is accepted, `items` is empty with `empty_reason: no_matches`: the same call gives the same answer, the candidates and each platform's `match` are in `platforms`, and sending `website` or `profile_check=true` gives the check more to go on. With `website`, `match.evidence` adds `domain` (the site checked), `domain_match` and `domain_source` (`external_url` or `bio`): whether the leading account's own website, or else a link or a domain in its bio, is that domain or a subdomain of it. Without a website, a name can still settle a platform: when the leading candidate is the only one there whose handle or display name is the name you sent (case, spaces and punctuation ignored, so `adrian_horning_` is Adrian Horning), the ranking gave it at least 0.5 and at least three times the next candidate, its bio is consistent or the platform verified it, its follower count is known and above 0, and the check judged it `same` or `uncertain`, its `match_confidence` is at least 0.65 and it is accepted; `match.evidence.name_match` says whether that name check held. A `possible`, `different` or fan account, a name two candidates share, or an own website on another domain than `website` is never lifted this way. The account's own website is the strong evidence: it lifts a flat ranking (`uncertain`) or a `same` to at least 0.9. A link or domain in the bio is weaker, because a reseller or a fan names the site too: it lifts only a `same`, to at least 0.75. An email address at the domain is not a domain match, an own website on another domain overrules the bio, and a `possible` or `different` account is never lifted. A profile, link-in-bio or site-builder page given as `website` (LinkedIn, a Google Site, a link page) is not checked. With `profile_check=true`, the leading candidate on Instagram, TikTok, Threads and (for a company) LinkedIn, whose search results carry no bio or website, is looked up on its profile before the check, so the domain check and the check read its bio and website; X search results already carry both. For a company, the top two Instagram and TikTok candidates are also looked up before the ranking (unless `profile_check_scope=leader`), so the ranking reads their bios and websites too, and when the ranking leans to an account whose own website is not `website` while exactly one looked-up candidate's own website is, that candidate is the one checked.",
16861
+ summary: "Turn a person's or a company's name into ranked candidate accounts on Instagram, TikTok, X and LinkedIn (Threads, YouTube and Facebook pages on request), with a match level and a match confidence per platform, for human review.",
16862
+ description: "Runs the existing account searches for `name` on each platform (`instagram/search/profiles`, `tiktok/search/users`, `twitter/search/users`, and `linkedin/search/people` for a person or `linkedin/search/companies` for a company), keeps the top `candidates` public accounts of each (private accounts are dropped), and ranks them. With `website`, an account in the search results whose own website is that domain is always among the candidates, in place of the lowest one without that link. For a company with `website`, a LinkedIn company search that fails is answered by `linkedin/company/by-domain`, whose page is then the one LinkedIn candidate. Each platform returns `candidates` (rank, handle, display name, profile URL, followers, verified flag, a bio excerpt and `choice_probability`, the ranking step's probability that this account is the target's own, read before the check: it orders the candidates and is not the verdict, so decide on `match.match_confidence` or `match.accepted`; it is null on every candidate of a platform matched by exact link, which is not ranked) and one `match`: `handle` is the leading candidate, `level` is `same`, `possible` (connected but not shown to be the target's own, such as a fan or regional account), `different`, `uncertain` (the ranking was flat or the check was unsure), or `none` (none of the candidates is the target's own account, or the search found nothing), with `confidence` (the weaker of the ranking and the check), `basis` and `evidence` (`website_match`, `cross_link`, `bio_consistent`, `fan_or_parody`). The leading candidate is always checked a second time against the name and context you sent; a ranking alone is never a match. With `website`, an account that links to that site and is platform-verified is taken as the match without judging (`basis: exact_link`); an unverified account linking to it is judged like the rest. `employer` (person only) and `location` give the judgment context. These are automated labels for a human reviewer, not an identification: `automated_decision` is false and the response never states who runs an account. If the judgment is unavailable, candidates come back in search order with `match.level` null, `_warnings` says why, and the judging credits are refunded. LinkedIn is included by default for a company only, because its search costs 10 credits. Threads (`threads/search/users`) and YouTube (`youtube/search` with `type=channels`, whose channel rows carry the description and subscribers) and Facebook (`facebook/search/pages`, whose rows carry the page id, name, link and verified flag but no follower count or bio, so its handle is the vanity name in the page link or else the page id) are searched only when named in `platforms`. Each platform's `match` also carries `match_confidence` (0 to 1, null when there is no candidate), how sure the response is that `handle` is the target's own account, and `accepted`, true when `match_confidence` is at or above `match_confidence_floor` (0.6). `data.items` lists the accepted accounts, one per platform at most, as canonical author rows with their `match`; a platform below the floor lists no item, so a reader of `items` gets no match rather than a guess. When candidates were found and judged and none is accepted, `items` is empty with `empty_reason: no_matches`: the same call gives the same answer, the candidates and each platform's `match` are in `platforms`, and sending `website` or `profile_check=true` gives the check more to go on. With `website`, `match.evidence` adds `domain` (the site checked), `domain_match` and `domain_source` (`external_url` or `bio`): whether the leading account's own website, or else a link or a domain in its bio, is that domain or a subdomain of it. Without a website, a name can still settle a platform: when the leading candidate is the only one there whose handle or display name is the name you sent (case, spaces and punctuation ignored, so `adrian_horning_` is Adrian Horning), the ranking gave it at least 0.5 and at least three times the next candidate, its bio is consistent or the platform verified it, its follower count is known and above 0, and the check judged it `same` or `uncertain`, its `match_confidence` is at least 0.65 and it is accepted; `match.evidence.name_match` says whether that name check held. A `possible`, `different` or fan account, a name two candidates share, or an own website on another domain than `website` is never lifted this way. The account's own website is the strong evidence: it lifts a flat ranking (`uncertain`) or a `same` to at least 0.9. A link or domain in the bio is weaker, because a reseller or a fan names the site too: it lifts only a `same`, to at least 0.75. An email address at the domain is not a domain match, an own website on another domain overrules the bio, and a `possible` or `different` account is never lifted. A profile, link-in-bio or site-builder page given as `website` (LinkedIn, a Google Site, a link page) is not checked. With `profile_check=true`, the leading candidate on Instagram, TikTok, Threads and (for a company) LinkedIn, whose search results carry no bio or website, is looked up on its profile before the check, so the domain check and the check read its bio and website; X search results already carry both. For a company, the top two Instagram and TikTok candidates are also looked up before the ranking (unless `profile_check_scope=leader`), so the ranking reads their bios and websites too, and when the ranking leans to an account whose own website is not `website` while exactly one looked-up candidate's own website is, that candidate is the one checked.",
16546
16863
  execution: "sync",
16547
16864
  recommended_timeout_s: 28,
16548
16865
  cache: { category: "analytics", ttlSeconds: 1800 },
@@ -16550,7 +16867,7 @@ export const ENDPOINTS = [
16550
16867
  family: "prism",
16551
16868
  tags: ["prism"],
16552
16869
  purpose: {
16553
- summary: "Turn a person's or a company's name into ranked candidate accounts on Instagram, TikTok, X and LinkedIn (Threads and YouTube on request), with a match level and a match confidence per platform, for human review.",
16870
+ summary: "Turn a person's or a company's name into ranked candidate accounts on Instagram, TikTok, X and LinkedIn (Threads, YouTube and Facebook pages on request), with a match level and a match confidence per platform, for human review.",
16554
16871
  returns: "Returns candidate public accounts for a person's or a company's name on Instagram, TikTok, X, LinkedIn and Threads, ranked per platform, each with a match level and a match confidence.",
16555
16872
  use_when: "Use it when you have a name, and perhaps a domain, but no handles and want a shortlist to review. It never states who runs an account; your reviewer decides.",
16556
16873
  not_for: null,
@@ -17165,7 +17482,7 @@ export const ENDPOINTS = [
17165
17482
  { name: "items", required: true, description: "JSON array of 1-50 items (1-25 with include: \"posts\"). Each item is `{ \"platform\": \"tiktok\", \"handle\": \"@scout2015\", \"custom_id\"?: \"…\", \"stop_at_id\"?: \"…\" }`. `handle` accepts an @handle, a bare handle, or a pasted profile URL. `stop_at_id` (only with include: \"posts\") is the id or URL of the newest post you already hold for that handle: its page stops just before it.", example: "[{\"platform\":\"tiktok\",\"handle\":\"@scout2015\"},{\"platform\":\"linkedin\",\"handle\":\"williamhgates\",\"custom_id\":\"vet-1\"}]" },
17166
17483
  ],
17167
17484
  optionalParams: [
17168
- { name: "include", type: "string", description: "Optional. A comma-separated set of \"posts\" and \"about\". \"posts\" adds the handle's first page of posts to every ok row (`posts`), for the price of that page (1 credit), charged only when the page came back with posts. Caps the batch at 25 items. \"about\" reads an Instagram handle through its About panel (same price) and adds `country` to a row when the account declares one (an Instagram country, a Facebook page address, a TikTok account region, or a YouTube channel country), as an ISO code with its `source`; beside \"posts\" it also adds `activity` and `stats`, computed from the posts held. \"comments\" implies \"posts\" and reads the comments of each handle's top posts (see comments_top_posts), priced per page at that platform's comment endpoint price." },
17485
+ { name: "include", type: "string", description: "Optional. A comma-separated set of \"posts\" and \"about\". \"posts\" adds the handle's first page of posts to every ok row (`posts`), for the price of that page (1 credit), charged only when the page came back with posts. Caps the batch at 25 items. \"about\" reads an Instagram handle through its About panel (same price) and adds `country` to a row when the account declares one (an Instagram country, a Facebook page address, a TikTok account region, or a YouTube channel country), as an ISO code with its `source`; beside \"posts\" it also adds `activity` and `stats`, computed from the posts held. \"comments\" implies \"posts\" and reads the comments of each handle's top posts (see comments_top_posts), priced per page at that platform's comment endpoint price. \"insights\" (youtube, tiktok and instagram) adds `author.ext.insights` (90-day growth, medians, gender, languages and the creator's published addresses as `contacts`, shaped as `author.ext.contacts[]`): 1 credit a creator, 35 more for a creator whose contacts come back, nothing when they are not added." },
17169
17486
  { name: "since", type: "string", description: "Optional, with include: \"posts\". Only posts published on or after this date (YYYY-MM-DD or an ISO 8601 timestamp); each page stops at the first older post and `posts.stopped_at` is `since`." },
17170
17487
  { name: "posts_limit", type: "integer", minimum: 1, maximum: 100, description: "Optional, with include: \"posts\". An integer from 1 to 100: walk each handle's post list until that many posts are held (each page that came back with posts is charged, up to 10 pages per handle). Without it, one page." },
17171
17488
  { name: "comments_top_posts", type: "integer", minimum: 1, maximum: 50, description: "Optional, with include: \"comments\". An integer from 1 to 50 (default 3): how many of each handle's walked posts, those with the most comments, get their comments read." },
@@ -17175,10 +17492,10 @@ export const ENDPOINTS = [
17175
17492
  oneOfGroups: [],
17176
17493
  creditTier: "standard",
17177
17494
  creditCost: 1,
17178
- pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 126375, description: "1 credit per successful row on most platforms and 5 on LinkedIn, charged at each handle's own platform tier. Up to 50 items per call: the call holds the summed worst case up front and refunds every not_found, unsupported, errored and deferred row. With include: \"posts\" (up to 25 items) a row also costs its post list page, 1 credit (5 on LinkedIn), charged only when that page came back with posts. With posts_limit the call walks the list and charges each page that came back with posts; it holds the most pages the limit can take (10 at most per handle) and refunds the unused ones, and a dry run shows that hold. With include: \"comments\" each selected post's comments cost what that platform's comment endpoint charges per page (1 credit on most platforms, 5 on Instagram, LinkedIn and Reddit), charged only for pages that came back with comments; the call holds comments_top_posts times the pages comments_per_post can take and refunds the rest" },
17495
+ pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 126375, description: "1 credit per successful row on most platforms and 5 on LinkedIn, charged at each handle's own platform tier. Up to 50 items per call: the call holds the summed worst case up front and refunds every not_found, unsupported, errored and deferred row. With include: \"posts\" (up to 25 items) a row also costs its post list page, 1 credit (5 on LinkedIn), charged only when that page came back with posts. With posts_limit the call walks the list and charges each page that came back with posts; it holds the most pages the limit can take (10 at most per handle) and refunds the unused ones, and a dry run shows that hold. With include: \"comments\" each selected post's comments cost what that platform's comment endpoint charges per page (1 credit on most platforms, 5 on Instagram, LinkedIn and Reddit), charged only for pages that came back with comments; the call holds comments_top_posts times the pages comments_per_post can take and refunds the rest. With include: \"insights\" (youtube, tiktok and instagram handles only) a row also costs 1 credit when its insights are added, and 35 more for a creator whose contacts come back; a row whose insights are not added costs nothing more, and the call holds 36 credits a handle for them and refunds the rest" },
17179
17496
  archetype: "Analytics",
17180
17497
  summary: "Up to 50 (platform, handle) pairs → one canonical Author per row, failed handles refunded.",
17181
- description: "Batch profile lookup for handle vetting. POST a JSON body with an `items` array of 1-50 `{ platform, handle, custom_id? }` objects (handle accepts an @handle, a bare handle, or a pasted profile URL); returns one row per item: the canonical Author object (same shape as the single GET profile endpoint), a `status` of ok / not_found / unsupported / error / deferred, the caller's `custom_id` echoed, and the credits that row cost: in input order. Per-item isolation: one dead or private handle never fails the batch. Billing is per item at each platform's own credit tier (most platforms 1 credit; LinkedIn 5); only successful rows are charged, everything else is refunded. Supported platforms: instagram, tiktok, youtube, twitter, threads, twitch, snapchat, truthsocial, bluesky, kwai, reddit, telegram, linkedin (a member, or a company page as a `linkedin.com/company/…` URL), facebook. A LinkedIn lookup that is rate limited is retried once and then answered `deferred` at no charge: re-request it. Never cached. Optionally streams Server-Sent Events when the client sends `Accept: text/event-stream`. Send `include: \"posts\"` (up to 25 items) to add each handle's first page of posts beside its profile: every ok row gains a `posts` block with the same post rows, `next_cursor` and `has_more` as that handle's own post list endpoint (`endpoint` names it: instagram profile/posts, tiktok profile/videos, youtube channel/videos, twitter user/tweets, threads user/posts, facebook profile/posts, reddit profile/posts, telegram profile/posts, linkedin profile/posts or company/posts; other platforms answer `posts.status: \"unsupported\"`). `since` on the body and `stop_at_id` on an item stop each page at a date or at a post you already hold, as on those endpoints, and `posts.stopped_at` says which. Add `posts_limit` (1 to 100) to walk each handle's post list until that many posts are held: `posts.pages` is the pages charged and `posts.stopped` says why the walk ended (`limit`, `end`, `window`, `page_cap`). `include: \"posts,about\"` also returns `activity` (`last_post_at`, `posts_30d`, `posts_90d`, `media_mix`) and `stats` (`avg_likes`, `avg_comments`, `engagement_rate`) on every row, computed from the posts held. Add `comments` to `include` (it implies posts) to read the comments of each handle's top posts: the `comments_top_posts` posts (default 3) with the most comments among the posts walked (a post without a comment count is ranked by views after them, or rank all by views with `comments_select_by: \"views\"`) each gain `comments` with `items` (the same comment rows as that platform's comment endpoint: instagram, tiktok and facebook post/comments, youtube video/comments, twitter tweet/replies, linkedin post/comments, reddit post/comments, threads post/comments), `total` (the post's comment count), `truncated` and `next_cursor`, up to `comments_per_post` (default 20) per post; the row's `comments` block gives `status` (ok, partial, failed, deferred, empty, unsupported) and the credits. One post that fails never drops the row. The profile in `data` is unchanged.",
17498
+ description: "Batch profile lookup for handle vetting. POST a JSON body with an `items` array of 1-50 `{ platform, handle, custom_id? }` objects (handle accepts an @handle, a bare handle, or a pasted profile URL); returns one row per item: the canonical Author object (same shape as the single GET profile endpoint), a `status` of ok / not_found / unsupported / error / deferred, the caller's `custom_id` echoed, and the credits that row cost: in input order. Per-item isolation: one dead or private handle never fails the batch. Billing is per item at each platform's own credit tier (most platforms 1 credit; LinkedIn 5); only successful rows are charged, everything else is refunded. Supported platforms: instagram, tiktok, youtube, twitter, threads, twitch, snapchat, truthsocial, bluesky, kwai, reddit, telegram, linkedin (a member, or a company page as a `linkedin.com/company/…` URL), facebook. A LinkedIn lookup that is rate limited is retried once and then answered `deferred` at no charge: re-request it. Never cached. Optionally streams Server-Sent Events when the client sends `Accept: text/event-stream`. Send `include: \"posts\"` (up to 25 items) to add each handle's first page of posts beside its profile: every ok row gains a `posts` block with the same post rows, `next_cursor` and `has_more` as that handle's own post list endpoint (`endpoint` names it: instagram profile/posts, tiktok profile/videos, youtube channel/videos, twitter user/tweets, threads user/posts, facebook profile/posts, reddit profile/posts, telegram profile/posts, linkedin profile/posts or company/posts; other platforms answer `posts.status: \"unsupported\"`). `since` on the body and `stop_at_id` on an item stop each page at a date or at a post you already hold, as on those endpoints, and `posts.stopped_at` says which. Add `posts_limit` (1 to 100) to walk each handle's post list until that many posts are held: `posts.pages` is the pages charged and `posts.stopped` says why the walk ended (`limit`, `end`, `window`, `page_cap`). `include: \"posts,about\"` also returns `activity` (`last_post_at`, `posts_30d`, `posts_90d`, `media_mix`) and `stats` (`avg_likes`, `avg_comments`, `engagement_rate`) on every row, computed from the posts held. Add `comments` to `include` (it implies posts) to read the comments of each handle's top posts: the `comments_top_posts` posts (default 3) with the most comments among the posts walked (a post without a comment count is ranked by views after them, or rank all by views with `comments_select_by: \"views\"`) each gain `comments` with `items` (the same comment rows as that platform's comment endpoint: instagram, tiktok and facebook post/comments, youtube video/comments, twitter tweet/replies, linkedin post/comments, reddit post/comments, threads post/comments), `total` (the post's comment count), `truncated` and `next_cursor`, up to `comments_per_post` (default 20) per post; the row's `comments` block gives `status` (ok, partial, failed, deferred, empty, unsupported) and the credits. One post that fails never drops the row. Add `insights` to `include` (youtube, tiktok and instagram handles; any other platform is a free 400) to add `author.ext.insights` to every ok row: follower, view, like and post-count growth over 90 days, median views, likes and comments, gender, primary and spoken languages, whether a YouTube channel is family friendly, whether an Instagram account is private, the last post date, and `contacts`: the addresses the creator publishes in its description or on a linked profile, as the same objects as `author.ext.contacts[]` (creators on our suppression list get none). Addresses behind YouTube's View email address button are not part of insights: youtube/channel/about returns them. `insights_status` on the row says `ok`, `not_found`, `capacity` (the day's lookups are used up; `insights_retry_after_seconds` says when they reset), `failed`, or `pending` (still being read; send the same handles again after `insights_retry_after_seconds` and they are collected, not read again). In a job, pending insights are asked again by the job itself. The profile fields in `data` are unchanged.",
17182
17499
  execution: "sse",
17183
17500
  streaming: "accept-header",
17184
17501
  recommended_timeout_s: 68,
@@ -17435,6 +17752,7 @@ export const ENDPOINTS = [
17435
17752
  { name: "max_credits", type: "string", description: "The most the run may spend: 500 when you send none, or the lower or higher limit you send. The run is billed only for what it spends, pauses at the limit and never overspends." },
17436
17753
  { name: "depth", type: "string", description: "quick (at most 3 fast platforms, 15 s), standard (default) or deep (background).", example: "quick" },
17437
17754
  { name: "dry_run", type: "string", description: "true answers the plan of searches and the estimate of credits and seconds, free, and starts nothing." },
17755
+ { name: "plan", type: "string", description: "Dry run only: include (default) or omit, which leaves data.plan out (estimate.by_platform still totals it)." },
17438
17756
  { name: "country", type: "string", description: "ISO 3166 codes: keep rows whose row or author country is one of these; also picks the news edition." },
17439
17757
  { name: "exclude_country", type: "string", description: "ISO 3166 codes: drop rows from these countries." },
17440
17758
  { name: "unknown_country", type: "string", description: "keep (default) or drop rows whose country is unknown, when country is sent. A geo.country guessed with confidence below 0.3 (from language or currency, say) counts as unknown, so a kept row can show such a guess for another country." },
@@ -17458,7 +17776,7 @@ export const ENDPOINTS = [
17458
17776
  { name: "sites", type: "string", description: "Domains searched on the web source, up to 20, or auto to find the sites that hold the topic; web is added when you send no platforms or preset, and an explicit platform set must include web. Named sites run next to web's own whole-web keyword search; send search_in.web=sites to search only inside them." },
17459
17777
  { name: "relevance", type: "string", description: "filter (default: drop off-topic rows), score (keep every row with its score) or off." },
17460
17778
  { name: "relevance_threshold", type: "string", description: "The relevance score a kept row needs, 0 to 1 (default 0.5); on the POST a group's own relevance_threshold sets it for that group's rows." },
17461
- { name: "label", type: "string", description: "Judgments to add to each row, each billed: mention (needs brands), intent, niche, sponsored_model, stance (judgments.stance { label, confidence } toward the group's brand, else its keywords, else its context; uncertain apart in summary.stance), or none. With view=accounts, fit, role and account_kind judge accounts (the default)." },
17779
+ { name: "label", type: "string", description: "Judgments to add to each row, each billed: mention (needs brands), intent, niche, sponsored_model, stance (judgments.stance { label, confidence, best, scores }: label is null under confidence 0.5, best is the leading label anyway; toward the group's brand, else its keywords, else its context; uncertain apart in summary.stance), or none. With view=accounts, fit, role and account_kind judge accounts (the default)." },
17462
17780
  { name: "role", type: "string", description: "Accounts only: keep accounts of these roles (seller, reseller, buyer, warner, reviewer, promoter, other); adds the role judgment." },
17463
17781
  { name: "intent", type: "string", description: "Keep only rows with these intents: switching, complaint, recommendation, question, purchase_intent or selling (implies label=intent)." },
17464
17782
  { name: "account_kind", type: "string", description: "Accounts only: keep accounts of these kinds (individual_creator, brand_or_business, media_or_publisher, fan_or_repost_page, cannot_tell); adds the account_kind judgment." },
@@ -17561,6 +17879,7 @@ export const ENDPOINTS = [
17561
17879
  { name: "limit", type: "string", description: "Kept rows returned per group (default 500 on a background run)." },
17562
17880
  { name: "depth", type: "string", description: "quick (at most 3 fast platforms, 15 s, no expansion), standard (default) or deep (background)." },
17563
17881
  { name: "dry_run", type: "string", description: "true answers the plan and the estimate, free, and starts nothing." },
17882
+ { name: "plan", type: "string", description: "Dry run only: include (default) or omit, which leaves data.plan out (estimate.by_platform still totals it)." },
17564
17883
  { name: "country", type: "string", description: "ISO 3166 codes: keep rows whose row or author country is one of these; also picks the news edition." },
17565
17884
  { name: "exclude_country", type: "string", description: "ISO 3166 codes: drop rows from these countries." },
17566
17885
  { name: "unknown_country", type: "string", description: "keep (default) or drop rows whose country is unknown, when country is sent. A geo.country guessed with confidence below 0.3 (from language or currency, say) counts as unknown, so a kept row can show such a guess for another country." },
@@ -17584,7 +17903,7 @@ export const ENDPOINTS = [
17584
17903
  { name: "sites", type: "string", description: "Domains searched on the web source, up to 20, or auto to find the sites that hold the topic; web is added when you send no platforms or preset, and an explicit platform set must include web. Named sites run next to web's own whole-web keyword search; send search_in.web=sites to search only inside them." },
17585
17904
  { name: "relevance", type: "string", description: "filter (default: drop off-topic rows), score (keep every row with its score) or off." },
17586
17905
  { name: "relevance_threshold", type: "string", description: "The relevance score a kept row needs, 0 to 1 (default 0.5); on the POST a group's own relevance_threshold sets it for that group's rows." },
17587
- { name: "label", type: "string", description: "Judgments to add to each row, each billed: mention (needs brands), intent, niche, sponsored_model, stance (judgments.stance { label, confidence } toward the group's brand, else its keywords, else its context; uncertain apart in summary.stance), or none. With view=accounts, fit, role and account_kind judge accounts (the default)." },
17906
+ { name: "label", type: "string", description: "Judgments to add to each row, each billed: mention (needs brands), intent, niche, sponsored_model, stance (judgments.stance { label, confidence, best, scores }: label is null under confidence 0.5, best is the leading label anyway; toward the group's brand, else its keywords, else its context; uncertain apart in summary.stance), or none. With view=accounts, fit, role and account_kind judge accounts (the default)." },
17588
17907
  { name: "role", type: "string", description: "Accounts only: keep accounts of these roles (seller, reseller, buyer, warner, reviewer, promoter, other); adds the role judgment." },
17589
17908
  { name: "intent", type: "string", description: "Keep only rows with these intents: switching, complaint, recommendation, question, purchase_intent or selling (implies label=intent)." },
17590
17909
  { name: "account_kind", type: "string", description: "Accounts only: keep accounts of these kinds (individual_creator, brand_or_business, media_or_publisher, fan_or_repost_page, cannot_tell); adds the account_kind judgment." },
@@ -17630,6 +17949,7 @@ export const ENDPOINTS = [
17630
17949
  { name: "walk_urls", type: "string", description: "With search_in.web=walk: pages walked per site and keyword, 1 to 500 (default 50)." },
17631
17950
  { name: "pages_per_platform", type: "string", description: "Pages per search, 1 (default) to 10; above 3 the run continues in the background." },
17632
17951
  { name: "schedule", type: "string", description: "POST only: { every (1h, 6h, 12h, 1d, 7d or 30d), max_credits_per_run? (defaults to max_credits; one of them is required), max_credits_per_month?, name? (1 to 100 characters), purpose? (business, brand, creator or organisation; required with authors or author_list_id), start_at? (ISO 8601 with its zone, up to 90 days ahead; omit to run now) } runs this request again on its own, each run from the previous run's watermark. Not combined with async=false, since_watermark or continue. Creating it is free; each run bills like a background run, capped at max_credits_per_run. Manage it at /v1/prism/discover/schedules." },
17952
+ { name: "notify_url", type: "string", description: "POST only: an https URL on a public host that receives one signed POST each time the run settles (completed, partial, paused, failed or cancelled) with its run_id, status, stopped_because and credits_spent. The x-socialcrawl-signature header is signed with data.notify.secret, which the POST answer and the run read give." },
17633
17953
  { name: "retention_days", type: "string", description: "Days the run and its rows stay readable, 1 to 30 (default 30)." },
17634
17954
  { name: "async", type: "string", description: "Has no effect on the POST, which always runs in the background; async=false with schedule is a free 400." },
17635
17955
  { name: "fresh", type: "string", description: "true bypasses cached search pages, at full price." },
@@ -18336,7 +18656,7 @@ export const ENDPOINTS = [
18336
18656
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
18337
18657
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
18338
18658
  { name: "since", type: "string", couplesWith: { param: "sort_by", value: "newest" }, description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Sending it sets the newest-first sort shown in this endpoint's sort parameter. If you send another sort, the results keep that ranking and rows before the date are left off each page. The walk then does not stop at the date, a page left with no rows is free, and `_warnings` says so. The page still costs what a page costs, so you pay for the pages you walk and no more. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
18339
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
18659
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
18340
18660
  ],
18341
18661
  oneOfGroups: [],
18342
18662
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -18681,7 +19001,7 @@ export const ENDPOINTS = [
18681
19001
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
18682
19002
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
18683
19003
  { name: "since", type: "string", couplesWith: { param: "sort_by", value: "most_recent" }, description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Sending it sets the newest-first sort shown in this endpoint's sort parameter. If you send another sort, the results keep that ranking and rows before the date are left off each page. The walk then does not stop at the date, a page left with no rows is free, and `_warnings` says so. The page still costs what a page costs, so you pay for the pages you walk and no more. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
18684
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19004
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
18685
19005
  ],
18686
19006
  oneOfGroups: [],
18687
19007
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -18946,7 +19266,7 @@ export const ENDPOINTS = [
18946
19266
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
18947
19267
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
18948
19268
  { name: "since", type: "string", couplesWith: { param: "sort_by", value: "most_recent" }, description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Sending it sets the newest-first sort shown in this endpoint's sort parameter. If you send another sort, the results keep that ranking and rows before the date are left off each page. The walk then does not stop at the date, a page left with no rows is free, and `_warnings` says so. The page still costs what a page costs, so you pay for the pages you walk and no more. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
18949
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19269
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
18950
19270
  ],
18951
19271
  oneOfGroups: [],
18952
19272
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -19219,8 +19539,8 @@ export const ENDPOINTS = [
19219
19539
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
19220
19540
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
19221
19541
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
19222
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
19223
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19542
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
19543
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19224
19544
  ],
19225
19545
  oneOfGroups: [],
19226
19546
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -19341,8 +19661,8 @@ export const ENDPOINTS = [
19341
19661
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
19342
19662
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
19343
19663
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
19344
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
19345
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19664
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
19665
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19346
19666
  ],
19347
19667
  oneOfGroups: [],
19348
19668
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -19455,8 +19775,8 @@ export const ENDPOINTS = [
19455
19775
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
19456
19776
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
19457
19777
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
19458
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
19459
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19778
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
19779
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
19460
19780
  ],
19461
19781
  oneOfGroups: [],
19462
19782
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -20126,8 +20446,8 @@ export const ENDPOINTS = [
20126
20446
  { name: "fit", type: "enum", enumValues: ["goal"], description: "Optional. When goal, keep the rows and fields needed for the goal you pass in goal= (plus any that are uncertain, and the first and last), and replace the rest with a stub. data.held_back lists the held ids and a recall id that re-reads the full page from cache at no extra charge. Without this param the page is unchanged." },
20127
20447
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
20128
20448
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
20129
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
20130
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
20449
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
20450
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
20131
20451
  ],
20132
20452
  oneOfGroups: [],
20133
20453
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -23604,8 +23924,8 @@ export const ENDPOINTS = [
23604
23924
  optionalParams: [
23605
23925
  { name: "id", type: "string", description: "HN story id (the numeric `objectID`). Send id or url.", example: "8863" },
23606
23926
  { name: "url", type: "string", description: "The story's Hacker News permalink, for example https://news.ycombinator.com/item?id=8863 (each row's `post.url`). Send id or url." },
23607
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
23608
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
23927
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
23928
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
23609
23929
  ],
23610
23930
  oneOfGroups: [["id", "url"]],
23611
23931
  creditTier: "standard",
@@ -23672,8 +23992,8 @@ export const ENDPOINTS = [
23672
23992
  optionalParams: [
23673
23993
  { name: "time", type: "enum", enumValues: ["all", "hour", "day", "week", "month", "year"], description: "Recency window: all, hour, day, week, month, or year. Default all." },
23674
23994
  { name: "limit", type: "integer", minimum: 1, maximum: 10, description: "Maximum rows to return, 1 to 10. Default 10." },
23675
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
23676
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
23995
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
23996
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
23677
23997
  ],
23678
23998
  oneOfGroups: [],
23679
23999
  creditTier: "advanced",
@@ -23748,8 +24068,8 @@ export const ENDPOINTS = [
23748
24068
  optionalParams: [
23749
24069
  { name: "time", type: "enum", enumValues: ["all", "hour", "day", "week", "month", "year"], description: "Recency window: all, hour, day, week, month, or year. Default all." },
23750
24070
  { name: "limit", type: "integer", minimum: 1, maximum: 10, description: "Maximum rows to return, 1 to 10. Default 10." },
23751
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
23752
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
24071
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
24072
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
23753
24073
  ],
23754
24074
  oneOfGroups: [],
23755
24075
  creditTier: "advanced",
@@ -23788,8 +24108,8 @@ export const ENDPOINTS = [
23788
24108
  optionalParams: [
23789
24109
  { name: "time", type: "enum", enumValues: ["all", "hour", "day", "week", "month", "year"], description: "Recency window: all, hour, day, week, month, or year. Default all." },
23790
24110
  { name: "limit", type: "integer", minimum: 1, maximum: 10, description: "Maximum rows to return, 1 to 10. Default 10." },
23791
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
23792
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
24111
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
24112
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
23793
24113
  ],
23794
24114
  oneOfGroups: [],
23795
24115
  creditTier: "advanced",
@@ -23936,8 +24256,8 @@ export const ENDPOINTS = [
23936
24256
  { name: "sort", type: "enum", enumValues: ["relevance", "most_liked", "latest"], description: "Result ordering: relevance, most_liked, or latest. Default relevance." },
23937
24257
  { name: "published", type: "enum", enumValues: ["all", "day", "week", "half_year"], description: "Recency window: all, day, week, or half_year. Default all." },
23938
24258
  { name: "duration", type: "enum", enumValues: ["all", "under_1m", "one_to_five_m", "over_5m"], description: "Length filter: all, under_1m, one_to_five_m, or over_5m. Default all." },
23939
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
23940
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
24259
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
24260
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
23941
24261
  ],
23942
24262
  oneOfGroups: [],
23943
24263
  creditTier: "advanced",
@@ -24016,8 +24336,8 @@ export const ENDPOINTS = [
24016
24336
  { name: "limit", type: "integer", minimum: 1, maximum: 25, description: "Rows to return, 1 to 25. Default 10. Each row costs 5 credits and you are charged only for rows returned." },
24017
24337
  { name: "recent_days", type: "integer", minimum: 1, maximum: 3650, description: "Only return videos published in the last N days. Leave unset for the newest regardless of age." },
24018
24338
  { name: "exclude_pinned", type: "boolean", description: "Set true to skip videos pinned to the top of the profile, which can be old." },
24019
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
24020
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
24339
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
24340
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
24021
24341
  ],
24022
24342
  oneOfGroups: [["handle", "url", "id"]],
24023
24343
  creditTier: "advanced",
@@ -24090,8 +24410,8 @@ export const ENDPOINTS = [
24090
24410
  ],
24091
24411
  optionalParams: [
24092
24412
  { name: "limit", type: "integer", minimum: 1, maximum: 100, description: "Comments to return, 1 to 100. Default 20. Each comment costs 1 credit and you are charged only for comments returned." },
24093
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
24094
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
24413
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
24414
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
24095
24415
  ],
24096
24416
  oneOfGroups: [],
24097
24417
  creditTier: "standard",
@@ -25316,16 +25636,17 @@ export const ENDPOINTS = [
25316
25636
  { name: "group_name", type: "string", description: "Label for the `keywords` series in the response. Defaults to the first keyword. Not used with `groups`." },
25317
25637
  { name: "device", type: "enum", enumValues: ["pc", "mo"], description: "Restrict to `pc` or `mo` (mobile). Omit for both." },
25318
25638
  { name: "gender", type: "enum", enumValues: ["f", "m"], description: "Restrict to `f` or `m`. Omit for both." },
25319
- { name: "ages", type: "string", description: "Comma-separated age-band codes, `1` to `11`: `1` 0-12, `2` 13-18, `3` 19-24, `4` 25-29, `5` 30-34, `6` 35-39, `7` 40-44, `8` 45-49, `9` 50-54, `10` 55-59, `11` 60+. Several codes are SUMMED into one audience, not split. NOTE this endpoint uses different codes from `shopping-insight/*`, which takes 10/20/30/40/50/60." },
25639
+ { name: "ages", type: "string", description: "Comma-separated age-band codes, `1` to `11`: `1` 0-12, `2` 13-18, `3` 19-24, `4` 25-29, `5` 30-34, `6` 35-39, `7` 40-44, `8` 45-49, `9` 50-54, `10` 55-59, `11` 60+. Several codes are SUMMED into one audience, not split; to split them, add `breakdown=age`. NOTE this endpoint uses different codes from `shopping-insight/*`, which takes 10/20/30/40/50/60." },
25640
+ { name: "breakdown", type: "enum", enumValues: ["device", "gender", "age"], description: "Split every series by `gender` (f, m), `device` (pc, mo) or `age` (the 11 bands), one Naver request per segment at 5 credits each: `gender` and `device` cost 10, `age` costs 55. Setting the matching filter narrows the split, so `breakdown=age&ages=3,4` sends two requests. Each `data.series` entry then carries `segment` and `segment_label`, and each raw point carries `group`." },
25320
25641
  ],
25321
25642
  oneOfGroups: [["keywords", "groups"]],
25322
25643
  csvConstraints: { "keywords": { max: 20 }, "ages": { enumValues: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"] } },
25323
25644
  creditTier: "advanced",
25324
25645
  creditCost: 5,
25325
- pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
25646
+ pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "metered", minCost: 5, maxCost: 55, description: "5 credits a call. With `breakdown`, 5 credits per segment that returns data: 10 for `gender` or `device`, 55 for all 11 age bands, held up front and refunded down." },
25326
25647
  archetype: "Analytics",
25327
25648
  summary: "Get Naver search-volume trend for Korean keywords (검색어트렌드)",
25328
- description: "Returns relative search-interest time series for Korean keywords from Naver Data Lab, one series per keyword group, under `data.results[].data[]` as `{period, ratio}` pairs. This is Korea's equivalent of Google Trends, and for the Korean market it is the more meaningful signal because Naver carries the majority of Korean search. `keywords` form ONE combined series (their volumes are summed). To compare topics, send `groups` instead: up to 5 groups in one call, one series each, and Naver scales them together so they are directly comparable. IMPORTANT: `ratio` is a RELATIVE index (the busiest series in the request peaks at 100), not a search count, so two different requests are NOT comparable. `gender`, `ages` and `device` filter the whole request, so compare demographic segments by the shape of their curves, not their levels. Periods Naver omits for low volume come back as `ratio: 0`. Naver counts whole weeks (Monday to Sunday) and months; the one still in progress carries `partial: true`. History starts 2016-01-01; an earlier `start_date` is clamped up to it. A request with no measurable volume in any series returns no data points and is not charged.",
25649
+ description: "Returns relative search-interest time series for Korean keywords from Naver Data Lab, one series per keyword group, under `data.results[].data[]` as `{period, ratio}` pairs. This is Korea's equivalent of Google Trends, and for the Korean market it is the more meaningful signal because Naver carries the majority of Korean search. `keywords` form ONE combined series (their volumes are summed). To compare topics, send `groups` instead: up to 5 groups in one call, one series each, and Naver scales them together so they are directly comparable. IMPORTANT: `ratio` is a RELATIVE index (the busiest series in the request peaks at 100), not a search count, so two different requests are NOT comparable. `gender`, `ages` and `device` filter the whole request, so compare demographic segments by the shape of their curves, not their levels. Periods Naver omits for low volume come back as `ratio: 0`. Naver counts whole weeks (Monday to Sunday) and months; the one still in progress carries `partial: true`. History starts 2016-01-01; an earlier `start_date` is clamped up to it. `data.series` carries the same series in the /v1/google_trends/explore shape (`{keyword, points: [{date, value}]}`) beside Naver's own keys, so one parser reads both. Set `breakdown` to `gender`, `device` or `age` to split every series by segment: we send one Naver request per segment (2 genders, 2 devices or 11 age bands, or only the values you set in that filter) and each series in `data.series` carries `segment` and a readable `segment_label` (`female`, `mobile`, `25-29`). Naver scales each segment's request on its own, so compare segments by the shape of their curves, not their levels. A breakdown costs 5 credits per segment request that returns data. A request with no measurable volume in any series returns no data points and is not charged.",
25329
25650
  recommended_timeout_s: 10,
25330
25651
  cache: { category: "analytics", ttlSeconds: 1800 },
25331
25652
  upstream: { kind: "naver-datalab" },
@@ -25381,7 +25702,7 @@ export const ENDPOINTS = [
25381
25702
  method: "GET",
25382
25703
  params: [
25383
25704
  { name: "category_code", required: true, description: "A single Naver Shopping category id to search within (e.g. `50000000`). Required.", example: "50000000" },
25384
- { name: "keyword", required: true, description: "Comma-separated keywords, up to 5, each returned as its own comparable series inside that category. Required. When `breakdown` is set, only the first keyword is used.", example: "코트" },
25705
+ { name: "keyword", required: true, description: "Comma-separated keywords, up to 5, each returned as its own comparable series inside that category. Required. With `breakdown`, every keyword is split, one request per keyword.", example: "코트" },
25385
25706
  ],
25386
25707
  optionalParams: [
25387
25708
  { name: "start_date", type: "string", description: "Window start, `YYYY-MM-DD`. Defaults to 12 months before `end_date`. Clamped up to 2017-08-01, the earliest Shopping Insight data Naver holds." },
@@ -25390,16 +25711,16 @@ export const ENDPOINTS = [
25390
25711
  { name: "device", type: "enum", enumValues: ["pc", "mo"], description: "Restrict to `pc` or `mo` (mobile). Omit for both." },
25391
25712
  { name: "gender", type: "enum", enumValues: ["f", "m"], description: "Restrict to `f` or `m`. Omit for both." },
25392
25713
  { name: "ages", type: "string", description: "Comma-separated age buckets: `10`, `20`, `30`, `40`, `50`, `60`. NOTE these differ from `search-trend`, which takes 1-11." },
25393
- { name: "breakdown", type: "enum", enumValues: ["device", "gender", "age"], description: "Split a single keyword by `device`, `gender`, or `age` instead of comparing several keywords." },
25714
+ { name: "breakdown", type: "enum", enumValues: ["device", "gender", "age"], description: "Split every keyword by `device`, `gender`, or `age` instead of comparing the keywords. One Naver request per keyword at 5 credits each, so 3 keywords cost 15. A keyword with no clicks is not charged." },
25394
25715
  ],
25395
25716
  oneOfGroups: [],
25396
25717
  csvConstraints: { "category_code": { max: 1 }, "keyword": { max: 5 }, "ages": { enumValues: ["10", "20", "30", "40", "50", "60"] } },
25397
25718
  creditTier: "advanced",
25398
25719
  creditCost: 5,
25399
- pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
25720
+ pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "metered", minCost: 5, maxCost: 25, description: "5 credits a call. With `breakdown`, 5 credits per keyword that returns data (up to 25 for 5 keywords), held up front and refunded down." },
25400
25721
  archetype: "Analytics",
25401
25722
  summary: "Get Naver Shopping click trend for keywords inside a category (쇼핑인사이트)",
25402
- description: "Returns a relative click-share time series for up to 5 search keywords WITHIN one Naver Shopping category, under `data.results[].data[]` as `{period, ratio}` pairs. Each keyword gets its OWN comparable series, so this is the endpoint for questions like which product term is gaining share inside 패션의류. Set `breakdown` to split a single keyword by `device`, `gender`, or `age`. `ratio` is a relative index within the requested window, not an absolute count. Shopping Insight history starts 2017-08-01 (later than search-trend's 2016-01-01); an earlier `start_date` is clamped up to it. A keyword with no measurable clicks returns no data points and is not charged.",
25723
+ description: "Returns a relative click-share time series for up to 5 search keywords WITHIN one Naver Shopping category, under `data.results[].data[]` as `{period, ratio}` pairs. Each keyword gets its OWN comparable series, so this is the endpoint for questions like which product term is gaining share inside 패션의류. Set `breakdown` to split every keyword by `device`, `gender`, or `age`: Naver splits one keyword per request, so we send one request per keyword at 5 credits each. `data.series` carries the series in the /v1/google_trends/explore shape (`{keyword, points: [{date, value}]}`) beside Naver's own keys, with `segment` and a readable `segment_label` (`female`, `mobile`, `20-29`) when `breakdown` is set. `ratio` is a relative index within the requested window, not an absolute count. Shopping Insight history starts 2017-08-01 (later than search-trend's 2016-01-01); an earlier `start_date` is clamped up to it. A keyword with no measurable clicks returns no data points and is not charged.",
25403
25724
  cache: { category: "analytics", ttlSeconds: 1800 },
25404
25725
  upstream: { kind: "naver-datalab" },
25405
25726
  tags: ["naver"],
@@ -25540,7 +25861,7 @@ export const ENDPOINTS = [
25540
25861
  { name: "goal", type: "string", requires: "fit", description: "Required by fit=goal. What you are trying to do, in your own words, up to 300 characters." },
25541
25862
  { name: "fit_tokens", type: "integer", requires: "fit", description: "Optional, only with fit=goal. Soft cap on how much of the page to keep, in tokens. Uncertain blocks and the first and last block are kept even if they exceed it." },
25542
25863
  { name: "since", type: "string", couplesWith: { param: "sort", value: "recent" }, description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the page, and the page that reaches one ends the walk: `next_cursor` is not returned and `pagination.stopped_at` is `since`. Sending it sets the newest-first sort shown in this endpoint's sort parameter. If you send another sort, the results keep that ranking and rows before the date are left off each page. The walk then does not stop at the date, a page left with no rows is free, and `_warnings` says so. The page still costs what a page costs, so you pay for the pages you walk and no more. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
25543
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
25864
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
25544
25865
  ],
25545
25866
  oneOfGroups: [["id", "url"]],
25546
25867
  csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
@@ -25849,8 +26170,8 @@ export const ENDPOINTS = [
25849
26170
  { name: "url", required: true, description: "Rumble video URL.", example: "https://rumble.com/v792vns-example.html" },
25850
26171
  ],
25851
26172
  optionalParams: [
25852
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
25853
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
26173
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
26174
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
25854
26175
  ],
25855
26176
  oneOfGroups: [],
25856
26177
  creditTier: "standard",
@@ -26441,8 +26762,8 @@ export const ENDPOINTS = [
26441
26762
  { name: "country", type: "string", description: "Country as an ISO 3166-1 alpha-2 code, in any case (`us`, `DE`, `kr`). Apple Music publishes a chart for most countries where it is sold; one it does not is rejected with a free 400. `uk` is read as `gb`. Defaults to `us`.", example: "de" },
26442
26763
  { name: "type", type: "enum", enumValues: ["songs", "albums", "music-videos", "playlists"], description: "Which chart: `songs` (the default), `albums`, `music-videos` or `playlists`.", example: "songs" },
26443
26764
  { name: "limit", type: "integer", minimum: 1, maximum: 100, description: "How many chart positions to return, from the top, 1 to 100. Defaults to 50.", example: "10" },
26444
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
26445
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
26765
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
26766
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
26446
26767
  ],
26447
26768
  oneOfGroups: [],
26448
26769
  creditTier: "standard",
@@ -27570,13 +27891,13 @@ export const ENDPOINTS = [
27570
27891
  pricing: { cost: 10, tier: "premium", ladderCost: 10, model: "ladder" },
27571
27892
  archetype: "JobList",
27572
27893
  summary: "Search LinkedIn job listings",
27573
- description: "Returns LinkedIn job listings matching a keyword and optional location, date, employment type, experience, workplace, or company-id filters. Each row has job id, title, company, location, posting date, and listing URL. Pass an id to GET /v1/jobs/linkedin for the full description. Page 2 with the cursor from page 1.",
27894
+ description: "Returns LinkedIn job listings matching a keyword and optional location, date, employment type, experience, workplace, or company-id filters. Each row has job id, title, company, location, posting date, and listing URL. Pass an id to GET /v1/jobs/linkedin for the full description. Page 2 with the cursor from page 1. When a backup source answers a keyword and location search, job.url is LinkedIn's short job link, and job.company.url and job.ext.linkedin_company_name are null.",
27574
27895
  recommended_timeout_s: 10,
27575
27896
  budget_ms: 20000,
27576
27897
  pagination: { style: "cursor", nativeParam: "cursor" },
27577
27898
  emptyOn404: true,
27578
27899
  cache: { category: "search", ttlSeconds: 120 },
27579
- upstream: { kind: "rapidapi-jobs" },
27900
+ upstream: { kind: "rapidapi-jobs", fallbackKinds: ["litescrape"] },
27580
27901
  group: "Jobs",
27581
27902
  tags: ["jobs"],
27582
27903
  featuredParams: [
@@ -28856,8 +29177,8 @@ export const ENDPOINTS = [
28856
29177
  optionalParams: [
28857
29178
  { name: "topic", type: "string", description: "Product Hunt topic slug, as in producthunt.com/topics/<slug>, for example artificial-intelligence or developer-tools. A display name such as Developer Tools is converted to its slug. An unrecognised topic returns no launches, with a note in data._warnings, and costs nothing.", example: "artificial-intelligence" },
28858
29179
  { name: "query", type: "string", description: "Case-insensitive text filter applied to the product name and tagline of the current launches. It filters this feed; it does not search Product Hunt's archive." },
28859
- { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
28860
- { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
29180
+ { name: "since", type: "string", description: "Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`." },
29181
+ { name: "until", type: "string", description: "Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`." },
28861
29182
  ],
28862
29183
  oneOfGroups: [],
28863
29184
  creditTier: "standard",