socialcrawl-mcp 2.5.0 → 2.7.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.
- package/README.md +2 -2
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/cost-guard.d.ts +13 -0
- package/dist/cost-guard.js +31 -4
- package/dist/data/docs-async.d.ts +1 -1
- package/dist/data/docs-async.js +19 -9
- package/dist/data/docs-handwritten.js +4 -3
- package/dist/data/endpoints.js +692 -210
- package/dist/data/examples.js +1 -1
- package/dist/data/guide.d.ts +2 -2
- package/dist/data/guide.js +2 -2
- package/dist/data/outputs.js +31 -18
- package/dist/data/platforms.js +4 -4
- package/dist/data/registry-meta.d.ts +8 -8
- package/dist/data/registry-meta.js +8 -8
- package/dist/endpoint-surface.js +10 -0
- package/dist/held-surfaces.d.ts +13 -2
- package/dist/held-surfaces.js +16 -3
- package/dist/schemas/async.d.ts +35 -8
- package/dist/schemas/async.js +40 -4
- package/dist/schemas/tools.d.ts +6 -3
- package/dist/schemas/tools.js +9 -3
- package/dist/server.js +1 -1
- package/dist/tools/async-common.d.ts +4 -2
- package/dist/tools/async-common.js +10 -2
- package/dist/tools/discover-runs.d.ts +6 -3
- package/dist/tools/discover-runs.js +126 -7
- package/dist/tools/manage.js +5 -4
- package/dist/tools/monitors.d.ts +3 -1
- package/dist/tools/monitors.js +20 -4
- package/dist/tools/pricing.js +33 -12
- package/dist/tools/search-runs.js +27 -3
- package/dist/unit-meters.d.ts +32 -0
- package/dist/unit-meters.js +137 -0
- package/dist/value-prices.d.ts +20 -0
- package/dist/value-prices.js +89 -0
- package/package.json +1 -1
package/dist/data/endpoints.js
CHANGED
|
@@ -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
|
|
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
|
|
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:
|
|
1700
|
+
budget_ms: 8000,
|
|
1701
1701
|
cache: { category: "post", ttlSeconds: 600 },
|
|
1702
|
-
upstream: { kind: "
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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"] } },
|
|
@@ -2517,21 +2517,27 @@ export const ENDPOINTS = [
|
|
|
2517
2517
|
{ name: "handle", required: true, description: "Instagram username without the @ symbol", example: "instagram" },
|
|
2518
2518
|
],
|
|
2519
2519
|
optionalParams: [
|
|
2520
|
-
{ name: "trim", type: "boolean", description: "Set to true to skip the recent-posts read. The profile comes back faster, at the same price, with `author.last_post_at` and `computed.engagement_rate` null." },
|
|
2520
|
+
{ name: "trim", type: "boolean", description: "Set to true to skip the recent-posts read. The profile comes back faster, at the same price, with `author.last_post_at` and `computed.engagement_rate` null. `include=posts` still returns the posts." },
|
|
2521
2521
|
{ name: "contact_email", type: "enum", enumValues: ["1"], description: "Optional. When 1, also returns author.ext.contact_email: when the bio lists two or more email addresses, the one the creator gives for contacting them personally, copied verbatim from the bio. Null when there is one address or none, when every address belongs to a manager, agency or brand, or when the choice was not confident. No extra credits." },
|
|
2522
|
+
{ name: "include", type: "string", description: "Comma list. `posts` adds `data.posts`, the first page of /v1/instagram/profile/posts, for 1 more credit (refunded when no posts come back). Any other value is a free 400." },
|
|
2523
|
+
{ name: "posts", type: "integer", minimum: 1, maximum: 12, description: "With `include=posts`, how many of the page's posts to return, 1 to 12, first rows first (default all 12). Same price whatever the number. A typo is a free 400." },
|
|
2522
2524
|
],
|
|
2523
2525
|
oneOfGroups: [],
|
|
2526
|
+
csvConstraints: { "include": { max: 1, enumValues: ["posts"] } },
|
|
2524
2527
|
creditTier: "standard",
|
|
2525
2528
|
creditCost: 1,
|
|
2526
|
-
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "
|
|
2529
|
+
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 2, description: "1 credit per call. `include=posts` adds 1 credit when the posts land, so profile plus posts is 2 credits; held up front and refunded when no posts came back. A call that fails, or a handle that does not exist, costs nothing." },
|
|
2527
2530
|
archetype: "Author",
|
|
2528
2531
|
summary: "Get Instagram user profile",
|
|
2529
|
-
description: "Returns public profile information for an Instagram user including the exact integer follower count, following count, bio, profile picture URL, and verification status. `author.posts_count` is the account's lifetime post count, for accounts of any size, in the same call and for the same 1 credit. In the rare case that count cannot be read in time the leaf is null rather than a wrong number, and a repeat call normally fills it. Age-restricted (18+) profiles are supported. Every link in the bio is listed in `author.ext.bio_links` (`{ title, url, link_type }`, the direct address), the Facebook-side id of the account is `author.ext.fbid`, and `author.ext.is_business` says whether it is an Instagram business account. `author.ext.hd_avatar_url` is the full-size profile picture. When the account publishes a contact address in its bio, it is returned as `author.ext.public_email`; otherwise that leaf is null. Instagram's in-app tap-to-email button is not readable from any public surface, so the bio is the only source for it. To vet a creator by market, call /v1/instagram/profile/about instead: it returns the follower count and the declared country in one call, at the same price, so there is no need to call both. `author.ext.address`, `author.ext.address_latitude` and `author.ext.address_longitude` (a business's address and its point), `author.ext.pronouns`, `author.ext.is_memorialized`, `author.ext.has_highlights`, `author.ext.threads_username` and `author.ext.latest_story_at` are filled when the answering source carries them; otherwise they are null and named on `data._warnings`. `author.ext.broadcast_channels` lists the account's public broadcast channels, each `{ title, member_count, invite_url }`, and `author.ext.account_type` is `personal`, `business` or `creator`; both are filled when the answering source carries them. For the account's country, join month and how many former usernames it has, call /v1/instagram/profile/about.",
|
|
2532
|
+
description: "Returns public profile information for an Instagram user including the exact integer follower count, following count, bio, profile picture URL, and verification status. `author.posts_count` is the account's lifetime post count, for accounts of any size, in the same call and for the same 1 credit. In the rare case that count cannot be read in time the leaf is null rather than a wrong number, and a repeat call normally fills it. Age-restricted (18+) profiles are supported. Every link in the bio is listed in `author.ext.bio_links` (`{ title, url, link_type }`, the direct address), the Facebook-side id of the account is `author.ext.fbid`, and `author.ext.is_business` says whether it is an Instagram business account. `author.ext.hd_avatar_url` is the full-size profile picture. When the account publishes a contact address in its bio, it is returned as `author.ext.public_email`; otherwise that leaf is null. Instagram's in-app tap-to-email button is not readable from any public surface, so the bio is the only source for it. To vet a creator by market, call /v1/instagram/profile/about instead: it returns the follower count and the declared country in one call, at the same price, so there is no need to call both. `author.ext.address`, `author.ext.address_latitude` and `author.ext.address_longitude` (a business's address and its point), `author.ext.pronouns`, `author.ext.is_memorialized`, `author.ext.has_highlights`, `author.ext.threads_username` and `author.ext.latest_story_at` are filled when the answering source carries them; otherwise they are null and named on `data._warnings`. `author.ext.broadcast_channels` lists the account's public broadcast channels, each `{ title, member_count, invite_url }`, and `author.ext.account_type` is `personal`, `business` or `creator`; both are filled when the answering source carries them. For the account's country, join month and how many former usernames it has, call /v1/instagram/profile/about. Send `include=posts` to get the account's recent posts in the same call, as `data.posts`: the first page of /v1/instagram/profile/posts (12 posts, newest first after any pinned posts), each row exactly as that endpoint returns it, for 1 more credit. Add `posts=8` to keep the first 8. It works with `trim=true`. When the posts cannot be read (a private account, or a failed lookup) the profile is returned without `posts`, `data._warnings` says `posts_unavailable` and the extra credit is refunded.",
|
|
2530
2533
|
recommended_timeout_s: 28,
|
|
2531
2534
|
budget_ms: 12000,
|
|
2532
2535
|
cache: { category: "profile", ttlSeconds: 900 },
|
|
2533
2536
|
upstream: { kind: "hiker", fallbackKinds: ["scrapecreators", "rapidapi-prosocial", "rocketapi", "fetchlayer"] },
|
|
2534
2537
|
tags: ["instagram"],
|
|
2538
|
+
hydration: [
|
|
2539
|
+
{ param: "include", token: "posts", sibling: "instagram/profile/posts", fills: ["posts"], creditsPerItem: 1, maxItems: 1, cacheSibling: true, warnings: { unavailable: "posts_unavailable", partial: "posts_partial" } },
|
|
2540
|
+
],
|
|
2535
2541
|
featuredParams: [
|
|
2536
2542
|
{ name: "trim", benefit: "Same price, lighter payload: drops the bulky raw fields.", example: "true" },
|
|
2537
2543
|
],
|
|
@@ -2936,8 +2942,8 @@ export const ENDPOINTS = [
|
|
|
2936
2942
|
optionalParams: [
|
|
2937
2943
|
{ name: "user_id", type: "string", description: "Instagram user id. Use for faster response times." },
|
|
2938
2944
|
{ 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
|
|
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
|
|
2945
|
+
{ 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`." },
|
|
2946
|
+
{ 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
2947
|
],
|
|
2942
2948
|
oneOfGroups: [["user_id", "handle"]],
|
|
2943
2949
|
creditTier: "standard",
|
|
@@ -2970,8 +2976,8 @@ export const ENDPOINTS = [
|
|
|
2970
2976
|
optionalParams: [
|
|
2971
2977
|
{ 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
2978
|
{ 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
|
|
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
|
|
2979
|
+
{ 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`." },
|
|
2980
|
+
{ 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
2981
|
],
|
|
2976
2982
|
oneOfGroups: [],
|
|
2977
2983
|
creditTier: "standard",
|
|
@@ -3286,19 +3292,23 @@ export const ENDPOINTS = [
|
|
|
3286
3292
|
],
|
|
3287
3293
|
optionalParams: [
|
|
3288
3294
|
{ name: "cursor", type: "string", description: "Pagination cursor. Pass the `next_cursor` from the previous response to get the next page; treat it as an opaque token." },
|
|
3289
|
-
{ name: "include", type: "
|
|
3290
|
-
{ name: "limit", type: "integer", minimum: 1, maximum: 12, description: "Cap the rows served, and with `include
|
|
3295
|
+
{ name: "include", type: "string", description: "Comma list. `profile` fills the exact `author.followers`, `author.following` and `author.posts_count` from each account's profile, 1 extra credit a row whose follower count landed. `about` fills `author.ext.country`, join month and public contact from the About panel, 2 extra credits a row filled. Never more than 12 rows. A typo is a free 400." },
|
|
3296
|
+
{ name: "limit", type: "integer", minimum: 1, maximum: 12, description: "Cap the rows served, and with `include` the credits held. 1 to 12. Default 8 when a token is present so the hold is 9 for `profile` and 17 for `about`." },
|
|
3297
|
+
{ name: "country", type: "enum", enumValues: ["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YE", "YT", "ZA", "ZM", "ZW"], description: "Two-letter ISO 3166-1 code (`IN`, `US`, `GB`). Keep only rows whose account declares this country on its About panel. Runs the `include=about` join, 2 credits a row looked up, kept or not; the counts dropped are in `data.country`. A typo is a free 400." },
|
|
3298
|
+
{ name: "min_followers", type: "integer", minimum: 0, description: "Keep only rows whose account has at least this many followers (inclusive). Runs the `include=profile` join, 1 credit a row looked up, kept or not; the counts dropped are in `data.followers`. A typo is a free 400." },
|
|
3299
|
+
{ name: "max_followers", type: "integer", minimum: 0, description: "Keep only rows whose account has at most this many followers (inclusive). Runs the `include=profile` join, 1 credit a row looked up, kept or not; with `min_followers` it is a band. A typo is a free 400." },
|
|
3291
3300
|
{ name: "max_pages", type: "integer", minimum: 1, maximum: 50, description: "1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). Walk up to this many pages in one call and return the rows from all of them. Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`, and carry this call's own request id as `walk_request_id`, so `GET /v1/credits/transactions?request_id=` with this call's id returns every page's rows. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped." },
|
|
3292
3301
|
{ name: "max_items", type: "integer", minimum: 1, maximum: 5000, description: "1 to 5000. Get more in one call: keep walking pages until the response holds at least this many rows, then stop with `data.walk.stopped: \"max_items\"`. The last page is returned whole (it was billed), so `data.items` can hold up to one page more than this, and `pagination.next_cursor` resumes right after it without skipping a row. Walks up to 50 pages unless `max_pages` says fewer; each page is billed as one call (a cached page is free). Add `max_credits` to cap the spend. A long walk can stop on the time budget first (`\"time_budget\"`): send the returned cursor with the same params to continue." },
|
|
3293
3302
|
{ name: "max_credits", type: "integer", minimum: 1, maximum: 100000, description: "1 to 100000. The most this call may spend, across every page it walks. A page starts only while the credits already spent plus that page's price (or, when higher, the most any page of this walk has cost) still fit, so the call never goes past it; the walk then stops with `data.walk.stopped: \"max_credits\"` and the cursor to resume. Sent alone, it walks as far as the budget goes (up to 50 pages). A value below the price of one page is a free 400 whose `error.details.page_credits` names that price. Credits a row join (`include=`) adds are known only once a page has run, so page 1 is checked against its own price." },
|
|
3294
3303
|
],
|
|
3295
3304
|
oneOfGroups: [],
|
|
3305
|
+
csvConstraints: { "include": { max: 2, enumValues: ["about", "profile"] } },
|
|
3296
3306
|
creditTier: "standard",
|
|
3297
3307
|
creditCost: 1,
|
|
3298
|
-
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost:
|
|
3308
|
+
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 37, description: "1 credit for the search page. With `include=profile` (or `min_followers` / `max_followers`), 1 plus 1 credit per row whose follower count landed, held at the top 8 (9) unless you send `limit` (12 holds 13). With `include=about` (or `country`), 1 plus 2 credits per row filled, held at the top 8 (17). Both add up. Every looked-up row is billed whether a filter keeps it or not, and rows a lookup could not fill are refunded. 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." },
|
|
3299
3309
|
archetype: "AuthorList",
|
|
3300
3310
|
summary: "Search Instagram profiles by keyword",
|
|
3301
|
-
description: "Searches Instagram's own account search for a keyword or phrase and returns matching public profiles mapped to the unified Author schema: `id`, `username`, `display_name`, `verified`, `avatar_url`, and the profile `url`, 20 a page with a `cursor` for the next. A search row carries no `bio`, `followers`, `following` or `posts_count` (they are null)
|
|
3311
|
+
description: "Searches Instagram's own account search for a keyword or phrase and returns matching public profiles mapped to the unified Author schema: `id`, `username`, `display_name`, `verified`, `avatar_url`, and the profile `url`, 20 a page with a `cursor` for the next. A plain search row carries no `bio`, `followers`, `following` or `posts_count` (they are null). Send `include=profile` to join each row, in the same call, to the account's profile for the exact `author.followers`, `author.following` and `author.posts_count`, 1 extra credit a row whose follower count landed, default the top 8 rows (9 credits held), `limit=12` for 12. Send `min_followers` and/or `max_followers` to keep only rows whose follower count is inside the bounds (inclusive); they run the same join, so `include=profile` is implied and priced the same, and `data.followers` counts `kept`, `dropped_below`, `dropped_above` and `dropped_unknown`. The plain call has no account country: Instagram does not put that on a search stub. Send `include=about` to join each row to the About-this-account panel for `author.ext.country`, the join month, and the public email and phone the account publishes, 2 extra credits a row filled, default the top 8 (17 credits held), `limit=12` for the page. Send `country=IN` (any ISO 3166-1 alpha-2 code) to keep only rows whose account declares that country on its About panel; it runs the About join (`include=about` implied, 2 credits a row looked up) and `data.country` counts `kept`, `dropped_other` and `dropped_unknown`. `country` narrows the rows a query found; it does not search a country, so a query that surfaces few accounts from it keeps few. There is no city or region filter: Instagram publishes no city for an account, only a street address on some business profiles. Every row the joins look up is billed whether a filter keeps it or not, because the lookup is what decides; a row a lookup could not read is refunded and dropped as unknown, never guessed. A page left with no rows says `followers_no_match` or `country_no_match`; a page emptied only by failed lookups costs nothing. With both `include` tokens, or `country` with a follower bound, both joins run (3 extra credits a row). For place-tagged posts, use /v1/instagram/search/location then /v1/instagram/location/posts.",
|
|
3302
3312
|
recommended_timeout_s: 34,
|
|
3303
3313
|
budget_ms: 12000,
|
|
3304
3314
|
pagination: { style: "cursor", nativeParam: "cursor", limitParam: "limit" },
|
|
@@ -3308,6 +3318,7 @@ export const ENDPOINTS = [
|
|
|
3308
3318
|
tags: ["instagram"],
|
|
3309
3319
|
hydration: [
|
|
3310
3320
|
{ param: "include", token: "about", sibling: "instagram/profile/about", fills: ["author.ext.country", "author.ext.account_created", "author.ext.public_email", "author.ext.public_phone"], creditsPerItem: 2, maxItems: 12, defaultRowLimit: 8, rowLimitParam: "limit", cacheSibling: true, warnings: { unavailable: "about_unavailable", partial: "about_partial" } },
|
|
3321
|
+
{ param: "include", token: "profile", sibling: "instagram/profile", fills: ["author.followers", "author.following", "author.posts_count"], creditsPerItem: 1, maxItems: 12, defaultRowLimit: 8, rowLimitParam: "limit", cacheSibling: true, warnings: { unavailable: "profile_unavailable", partial: "profile_partial" } },
|
|
3311
3322
|
],
|
|
3312
3323
|
responseShape: { root: "data.items[]", itemKey: "author" },
|
|
3313
3324
|
purpose: {
|
|
@@ -3325,8 +3336,8 @@ export const ENDPOINTS = [
|
|
|
3325
3336
|
method: "GET",
|
|
3326
3337
|
params: [],
|
|
3327
3338
|
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
|
|
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
|
|
3339
|
+
{ 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`." },
|
|
3340
|
+
{ 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
3341
|
],
|
|
3331
3342
|
oneOfGroups: [],
|
|
3332
3343
|
creditTier: "advanced",
|
|
@@ -3516,7 +3527,7 @@ export const ENDPOINTS = [
|
|
|
3516
3527
|
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
3528
|
archetype: "Post",
|
|
3518
3529
|
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.
|
|
3530
|
+
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
3531
|
recommended_timeout_s: 10,
|
|
3521
3532
|
budget_ms: 20000,
|
|
3522
3533
|
cache: { category: "post", ttlSeconds: 600 },
|
|
@@ -3927,8 +3938,8 @@ export const ENDPOINTS = [
|
|
|
3927
3938
|
{ name: "user_id", type: "string", description: "Instagram numeric user ID. Use this for faster responses." },
|
|
3928
3939
|
{ 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
3940
|
{ 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
|
|
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
|
|
3941
|
+
{ 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`." },
|
|
3942
|
+
{ 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
3943
|
],
|
|
3933
3944
|
oneOfGroups: [["handle", "user_id"]],
|
|
3934
3945
|
creditTier: "advanced",
|
|
@@ -4383,7 +4394,7 @@ export const ENDPOINTS = [
|
|
|
4383
4394
|
pricing: { cost: 25, tier: "premium", ladderCost: 10, model: "flat" },
|
|
4384
4395
|
archetype: "Author",
|
|
4385
4396
|
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.",
|
|
4397
|
+
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
4398
|
recommended_timeout_s: 120,
|
|
4388
4399
|
budget_ms: 250000,
|
|
4389
4400
|
route_budget_ms: 270000,
|
|
@@ -4412,7 +4423,7 @@ export const ENDPOINTS = [
|
|
|
4412
4423
|
{ name: "handle", type: "string", description: "YouTube channel handle without the @ symbol", example: "MrBeast" },
|
|
4413
4424
|
{ name: "sort", type: "enum", enumValues: ["latest", "popular", "oldest"], description: "Sort by latest, popular or oldest. YouTube has no popular order for a channel with few videos: its whole Videos tab is then listed by view count, most viewed first, and data._warnings says so. When a longer list cannot be read in popular order, the request answers 400 INVALID_REQUEST at 0 credits and says to call again with sort=latest. sort=oldest lists the channel from its first upload. Those rows come from a listing that prints rounded view counts, so `post.engagement.views` is null on them rather than a rounded number, and likes, comments and duration are null too; pass the ids to POST /v1/youtube/videos for exact counts. Their dates are exact (the free per-video lookup fills them)." },
|
|
4414
4425
|
{ name: "continuationToken", type: "string", description: "Continuation token to get more videos. Get 'continuationToken' from previous response." },
|
|
4415
|
-
{ name: "includeExtras", type: "string", description: "
|
|
4426
|
+
{ name: "includeExtras", type: "string", description: "Accepted for compatibility. Every row already carries the like count and comment count (`post.engagement.likes` / `.comments`) and the video description (`post.ext.description`), with or without it. For the full per-video detail use /v1/youtube/video." },
|
|
4416
4427
|
{ name: "is_paid_promotions", type: "string", description: "Accepted but not applied: the source ignores it on the channel feed, so the page is the channel's latest uploads and `data._warnings` says so. To find sponsored videos, list the channel's videos and read `post.ext.hasPaidProductPlacement` on each one from /v1/youtube/video." },
|
|
4417
4428
|
{ name: "include", type: "enum", enumValues: ["channel"], description: "Set to `channel` (one token only) to add the channel's subscriber count to every row (`post.ext.author_followers`, YouTube's own figure, rounded to three significant figures above 1,000) plus `post.author.display_name`, `.avatar_url` and `post.ext.channel_id` where missing, and 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). Every row is the same channel, so this is one channel lookup for the whole page: 1 credit, refunded if the channel could not be read, and free when the channel was looked up recently. Adds well under a second (never more than 8). Read `data.hydration` for what it did." },
|
|
4418
4429
|
{ 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`." },
|
|
@@ -4427,12 +4438,12 @@ export const ENDPOINTS = [
|
|
|
4427
4438
|
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 2, description: "1 credit for the page. include=channel adds 1 credit for the single channel lookup the page shares, refunded if the channel could not be read and free when it was looked up recently. 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." },
|
|
4428
4439
|
archetype: "PostList",
|
|
4429
4440
|
summary: "List YouTube channel videos",
|
|
4430
|
-
description: "Returns a list of recent videos published by a YouTube channel. Each video includes title, view count, like count, comment count, duration, thumbnail URL, and publish date. SHORTS: this reads the channel's Videos tab, which is long-form only. Shorts are a separate shelf on YouTube and never appear here (measured 0 of 30 items on 2 channels, 2026-08-11). For a channel's Shorts call `/v1/youtube/channel/shorts` (1 credit, same `channelId`/`handle`); the two sets are disjoint, so calling both and concatenating gives the channel's full catalogue for 2 credits. Every item on both endpoints carries `post.ext.content_type` (`video` or `short`) so the merged list stays separable. Send `include=channel` to add the channel's subscriber count to every row in the same call (1 credit). DATES: `post.published_at` is the exact publish time. A row that ever arrives with only a date derived from a relative label such as \"4 months ago\" is joined to the per-video lookup for the exact second, free; send `exact_dates=false` to keep the supplier's estimate instead, marked by `post.ext.published_precision`. TITLES: the free per-video lookup swaps YouTube's English machine-translated listing title for the creator's own (and description); a title not swapped carries `post.ext.title_maybe_translated: true` (`exact_dates=false` skips the lookup).",
|
|
4441
|
+
description: "Returns a list of recent videos published by a YouTube channel, newest first, up to 50 a page (a page can hold a few more when the channel has members-only videos). Each video includes title, view count, like count, comment count, duration, thumbnail URL, description, category and publish date. `post.engagement.comments` is the count as YouTube's Videos tab shows it, rounded (68,362 is 68000). MEMBERS-ONLY: videos the channel publishes for its members are listed in date order among the others; YouTube publishes no view count for them, so `post.engagement.views` is null on those rows. SHORTS: this reads the channel's Videos tab, which is long-form only. Shorts are a separate shelf on YouTube and never appear here (measured 0 of 30 items on 2 channels, 2026-08-11). For a channel's Shorts call `/v1/youtube/channel/shorts` (1 credit, same `channelId`/`handle`); the two sets are disjoint, so calling both and concatenating gives the channel's full catalogue for 2 credits. Every item on both endpoints carries `post.ext.content_type` (`video` or `short`) so the merged list stays separable. Send `include=channel` to add the channel's subscriber count to every row in the same call (1 credit). DATES: `post.published_at` is the exact publish time. A row that ever arrives with only a date derived from a relative label such as \"4 months ago\" is joined to the per-video lookup for the exact second, free; send `exact_dates=false` to keep the supplier's estimate instead, marked by `post.ext.published_precision`. TITLES: the free per-video lookup swaps YouTube's English machine-translated listing title for the creator's own (and description); a title not swapped carries `post.ext.title_maybe_translated: true` (`exact_dates=false` skips the lookup).",
|
|
4431
4442
|
recommended_timeout_s: 33,
|
|
4432
|
-
budget_ms:
|
|
4443
|
+
budget_ms: 8000,
|
|
4433
4444
|
pagination: { style: "cursor", nativeParam: "continuationToken" },
|
|
4434
4445
|
cache: { category: "post", ttlSeconds: 600 },
|
|
4435
|
-
upstream: { kind: "
|
|
4446
|
+
upstream: { kind: "youtube-poix", fallbackKinds: ["scrapecreators", "litescrape"] },
|
|
4436
4447
|
tags: ["youtube"],
|
|
4437
4448
|
hydration: [
|
|
4438
4449
|
{ param: "include", token: "channel", sibling: "youtube/channel", fills: ["post.ext.author_followers", "post.author.display_name", "post.author.avatar_url", "post.ext.channel_id", "post.ext.author_country"], creditsPerItem: 1, maxItems: 1, cacheSibling: true, warnings: { unavailable: "channel_unavailable", partial: "channel_partial" } },
|
|
@@ -4449,7 +4460,7 @@ export const ENDPOINTS = [
|
|
|
4449
4460
|
responseShape: { root: "data.items[]", itemKey: "post" },
|
|
4450
4461
|
purpose: {
|
|
4451
4462
|
summary: "List YouTube channel videos",
|
|
4452
|
-
returns: "Returns recent videos published by a channel, each with title, view
|
|
4463
|
+
returns: "Returns recent videos published by a channel, newest first and up to 50 a page, each with title, view, like and comment counts, duration, thumbnail, description, and publish date.",
|
|
4453
4464
|
use_when: "Use it for a channel's regular uploads; channel/shorts covers Shorts, channel/lives covers streams, channel/community-posts covers text posts.",
|
|
4454
4465
|
not_for: null,
|
|
4455
4466
|
},
|
|
@@ -4854,12 +4865,12 @@ export const ENDPOINTS = [
|
|
|
4854
4865
|
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 2, description: "1 credit for the page. include=channel adds 1 credit for the single channel lookup the page shares, refunded if the channel could not be read and free when it was looked up recently. 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." },
|
|
4855
4866
|
archetype: "PostList",
|
|
4856
4867
|
summary: "List YouTube channel shorts",
|
|
4857
|
-
description: "Returns a list of YouTube Shorts published by a channel, read from the channel's own Shorts shelf. Each short includes view count, like count, comment count, title, thumbnail, duration and exact publish date (measured 100% coverage on all six across 96 items, 2026-08-11), and unlike `/v1/youtube/search?type=shorts` every item carries channel identity. This is the Shorts complement to `/v1/youtube/channel/videos`, which is long-form only: the two sets are disjoint, so calling both and concatenating gives the channel's full catalogue for 2 credits. Every item carries `post.ext.content_type` (`short` here, `video` there) so the merged list stays separable. Send `include=channel` to add the channel's subscriber count, name, avatar and channel id to every row in the same call (1 credit). TITLES: the free per-video lookup swaps YouTube's English machine-translated listing title for the creator's own; a title not swapped carries `post.ext.title_maybe_translated: true` (`exact_dates=false` skips the lookup).",
|
|
4868
|
+
description: "Returns a list of YouTube Shorts published by a channel, read from the channel's own Shorts shelf, newest first, up to 50 a page. `post.engagement.comments` is the count as YouTube shows it, rounded (8,962 is 8900). Each short includes view count, like count, comment count, title, thumbnail, duration and exact publish date (measured 100% coverage on all six across 96 items, 2026-08-11), and unlike `/v1/youtube/search?type=shorts` every item carries channel identity. This is the Shorts complement to `/v1/youtube/channel/videos`, which is long-form only: the two sets are disjoint, so calling both and concatenating gives the channel's full catalogue for 2 credits. Every item carries `post.ext.content_type` (`short` here, `video` there) so the merged list stays separable. Send `include=channel` to add the channel's subscriber count, name, avatar and channel id to every row in the same call (1 credit). TITLES: the free per-video lookup swaps YouTube's English machine-translated listing title for the creator's own; a title not swapped carries `post.ext.title_maybe_translated: true` (`exact_dates=false` skips the lookup).",
|
|
4858
4869
|
recommended_timeout_s: 60,
|
|
4859
|
-
budget_ms:
|
|
4870
|
+
budget_ms: 8000,
|
|
4860
4871
|
pagination: { style: "cursor", nativeParam: "continuationToken" },
|
|
4861
4872
|
cache: { category: "post", ttlSeconds: 600 },
|
|
4862
|
-
upstream: { kind: "
|
|
4873
|
+
upstream: { kind: "youtube-poix", fallbackKinds: ["scrapecreators", "litescrape"] },
|
|
4863
4874
|
tags: ["youtube"],
|
|
4864
4875
|
hydration: [
|
|
4865
4876
|
{ param: "include", token: "channel", sibling: "youtube/channel", fills: ["post.ext.author_followers", "post.author.display_name", "post.author.avatar_url", "post.ext.channel_id", "post.ext.author_country"], creditsPerItem: 1, maxItems: 1, cacheSibling: true, warnings: { unavailable: "channel_unavailable", partial: "channel_partial" } },
|
|
@@ -5023,8 +5034,8 @@ export const ENDPOINTS = [
|
|
|
5023
5034
|
{ 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
5035
|
{ 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
5036
|
{ 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
|
|
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
|
|
5037
|
+
{ 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`." },
|
|
5038
|
+
{ 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
5039
|
],
|
|
5029
5040
|
oneOfGroups: [],
|
|
5030
5041
|
csvConstraints: { "include": { max: 2, enumValues: ["engagement", "channel"] } },
|
|
@@ -5063,8 +5074,8 @@ export const ENDPOINTS = [
|
|
|
5063
5074
|
params: [],
|
|
5064
5075
|
optionalParams: [
|
|
5065
5076
|
{ 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
|
|
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
|
|
5077
|
+
{ 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`." },
|
|
5078
|
+
{ 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
5079
|
],
|
|
5069
5080
|
oneOfGroups: [],
|
|
5070
5081
|
creditTier: "advanced",
|
|
@@ -5273,8 +5284,8 @@ export const ENDPOINTS = [
|
|
|
5273
5284
|
optionalParams: [
|
|
5274
5285
|
{ name: "channelId", type: "string", description: "YouTube channel ID." },
|
|
5275
5286
|
{ 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
|
|
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
|
|
5287
|
+
{ 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`." },
|
|
5288
|
+
{ 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
5289
|
],
|
|
5279
5290
|
oneOfGroups: [["channelId", "handle"]],
|
|
5280
5291
|
creditTier: "standard",
|
|
@@ -5948,8 +5959,8 @@ export const ENDPOINTS = [
|
|
|
5948
5959
|
{ 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
5960
|
],
|
|
5950
5961
|
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
|
|
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
|
|
5962
|
+
{ 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`." },
|
|
5963
|
+
{ 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
5964
|
],
|
|
5954
5965
|
oneOfGroups: [],
|
|
5955
5966
|
creditTier: "standard",
|
|
@@ -6404,8 +6415,8 @@ export const ENDPOINTS = [
|
|
|
6404
6415
|
optionalParams: [
|
|
6405
6416
|
{ 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
6417
|
{ 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
|
|
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
|
|
6418
|
+
{ 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`." },
|
|
6419
|
+
{ 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
6420
|
],
|
|
6410
6421
|
oneOfGroups: [["url", "id"]],
|
|
6411
6422
|
creditTier: "standard",
|
|
@@ -7216,8 +7227,8 @@ export const ENDPOINTS = [
|
|
|
7216
7227
|
],
|
|
7217
7228
|
optionalParams: [
|
|
7218
7229
|
{ 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
|
|
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
|
|
7230
|
+
{ 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`." },
|
|
7231
|
+
{ 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
7232
|
],
|
|
7222
7233
|
oneOfGroups: [],
|
|
7223
7234
|
creditTier: "premium",
|
|
@@ -7821,8 +7832,8 @@ export const ENDPOINTS = [
|
|
|
7821
7832
|
optionalParams: [
|
|
7822
7833
|
{ 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
7834
|
{ 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
|
|
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
|
|
7835
|
+
{ 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`." },
|
|
7836
|
+
{ 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
7837
|
],
|
|
7827
7838
|
oneOfGroups: [],
|
|
7828
7839
|
creditTier: "advanced",
|
|
@@ -7860,8 +7871,8 @@ export const ENDPOINTS = [
|
|
|
7860
7871
|
],
|
|
7861
7872
|
optionalParams: [
|
|
7862
7873
|
{ 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
|
|
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
|
|
7874
|
+
{ 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`." },
|
|
7875
|
+
{ 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
7876
|
],
|
|
7866
7877
|
oneOfGroups: [],
|
|
7867
7878
|
creditTier: "advanced",
|
|
@@ -8126,17 +8137,17 @@ export const ENDPOINTS = [
|
|
|
8126
8137
|
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
|
|
8127
8138
|
archetype: "SearchResult",
|
|
8128
8139
|
summary: "List a member's skills",
|
|
8129
|
-
description: "
|
|
8140
|
+
description: "Lists a LinkedIn member's skills, 20 per page in the order LinkedIn shows them, each with `skill` (its name) and `endorsements`, the number of endorsements LinkedIn shows against it. `endorsements` is null when the source that answered this page gives no count for that skill, which is the usual case; it is never a guess. For the exact endorsements of one skill, including past the 99 LinkedIn shows, page /v1/linkedin/profile/skills/endorsers to the end.",
|
|
8130
8141
|
recommended_timeout_s: 22,
|
|
8131
8142
|
budget_ms: 12000,
|
|
8132
8143
|
pagination: { style: "page", nativeParam: "page" },
|
|
8133
8144
|
cache: { category: "profile", ttlSeconds: 900 },
|
|
8134
|
-
upstream: { kind: "rapidapi-linkedin", fallbackKinds: ["rapidapi-linkedin-pnd"] },
|
|
8145
|
+
upstream: { kind: "rapidapi-linkedin", fallbackKinds: ["fetchin", "rapidapi-linkedin-pnd"] },
|
|
8135
8146
|
tags: ["linkedin"],
|
|
8136
8147
|
responseShape: { root: "data.items[]" },
|
|
8137
8148
|
purpose: {
|
|
8138
8149
|
summary: "List a member's skills",
|
|
8139
|
-
returns: "Returns the skills listed on a LinkedIn member's profile, with
|
|
8150
|
+
returns: "Returns the skills listed on a LinkedIn member's profile, each with its name and an endorsements count that is null when the answering source gives none.",
|
|
8140
8151
|
use_when: "Use it to score a person against a skill requirement, separately from the roles returned by profile/experiences.",
|
|
8141
8152
|
not_for: null,
|
|
8142
8153
|
},
|
|
@@ -8406,8 +8417,8 @@ export const ENDPOINTS = [
|
|
|
8406
8417
|
],
|
|
8407
8418
|
optionalParams: [
|
|
8408
8419
|
{ 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
|
|
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
|
|
8420
|
+
{ 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`." },
|
|
8421
|
+
{ 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
8422
|
],
|
|
8412
8423
|
oneOfGroups: [],
|
|
8413
8424
|
creditTier: "advanced",
|
|
@@ -8438,8 +8449,8 @@ export const ENDPOINTS = [
|
|
|
8438
8449
|
],
|
|
8439
8450
|
optionalParams: [
|
|
8440
8451
|
{ 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
|
|
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
|
|
8452
|
+
{ 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`." },
|
|
8453
|
+
{ 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
8454
|
],
|
|
8444
8455
|
oneOfGroups: [],
|
|
8445
8456
|
creditTier: "advanced",
|
|
@@ -9532,7 +9543,7 @@ export const ENDPOINTS = [
|
|
|
9532
9543
|
taxonomy: { purpose: "data_retrieval", job_family: "entity_profile", takes_item_id_from_another_endpoint: false },
|
|
9533
9544
|
latency_ms: { p50: 10967, p95: 26953, p99: 35271, n: 354 },
|
|
9534
9545
|
},
|
|
9535
|
-
// --- facebook (
|
|
9546
|
+
// --- facebook (35 endpoints) ---
|
|
9536
9547
|
{
|
|
9537
9548
|
platform: "facebook",
|
|
9538
9549
|
resource: "profile",
|
|
@@ -9676,6 +9687,7 @@ export const ENDPOINTS = [
|
|
|
9676
9687
|
{ 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
9688
|
{ 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
9689
|
{ name: "cursor", type: "string", description: "Cursor to get more comments. Get 'cursor' from previous response." },
|
|
9690
|
+
{ 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
9691
|
{ 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
9692
|
{ 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
9693
|
{ 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 +9706,19 @@ export const ENDPOINTS = [
|
|
|
9694
9706
|
csvConstraints: { "label": { max: 8, enumValues: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection", "none"] }, "exclude": { max: 2, enumValues: ["spam", "low_quality"] } },
|
|
9695
9707
|
creditTier: "standard",
|
|
9696
9708
|
creditCost: 1,
|
|
9697
|
-
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost:
|
|
9709
|
+
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
9710
|
archetype: "CommentList",
|
|
9699
9711
|
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
|
|
9712
|
+
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
9713
|
recommended_timeout_s: 26,
|
|
9702
9714
|
budget_ms: 14000,
|
|
9703
9715
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
9704
9716
|
cache: { category: "comments", ttlSeconds: 300 },
|
|
9705
|
-
upstream: { kind: "rapidapi-facebook", fallbackKinds: ["scrapecreators"] },
|
|
9717
|
+
upstream: { kind: "rapidapi-facebook", fallbackKinds: ["scrapecreators", "bridgly"] },
|
|
9706
9718
|
tags: ["facebook"],
|
|
9719
|
+
hydration: [
|
|
9720
|
+
{ 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" } },
|
|
9721
|
+
],
|
|
9707
9722
|
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
9723
|
featuredParams: [
|
|
9709
9724
|
{ 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 +9990,7 @@ export const ENDPOINTS = [
|
|
|
9975
9990
|
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
|
|
9976
9991
|
archetype: "Post",
|
|
9977
9992
|
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).",
|
|
9993
|
+
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
9994
|
recommended_timeout_s: 11,
|
|
9980
9995
|
cache: { category: "analytics", ttlSeconds: 1800 },
|
|
9981
9996
|
upstream: { kind: "scrapecreators" },
|
|
@@ -10029,7 +10044,7 @@ export const ENDPOINTS = [
|
|
|
10029
10044
|
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
10045
|
archetype: "PostList",
|
|
10031
10046
|
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.",
|
|
10047
|
+
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
10048
|
recommended_timeout_s: 10,
|
|
10034
10049
|
budget_ms: 25000,
|
|
10035
10050
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
@@ -10117,7 +10132,7 @@ export const ENDPOINTS = [
|
|
|
10117
10132
|
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
|
|
10118
10133
|
archetype: "AuthorList",
|
|
10119
10134
|
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.",
|
|
10135
|
+
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
10136
|
recommended_timeout_s: 10,
|
|
10122
10137
|
budget_ms: 10000,
|
|
10123
10138
|
singlePage: "Fixed-window feed: upstream returns a single non-cursored result set.",
|
|
@@ -10179,11 +10194,12 @@ export const ENDPOINTS = [
|
|
|
10179
10194
|
resource: "post/comment/replies",
|
|
10180
10195
|
method: "GET",
|
|
10181
10196
|
params: [
|
|
10182
|
-
{ name: "feedback_id", required: true, description: "`feedback_id` from `/v1/facebook/post/comments`
|
|
10183
|
-
{ name: "expansion_token", required: true, description: "
|
|
10197
|
+
{ name: "feedback_id", required: true, description: "The parent comment's `feedback_id` from `/v1/facebook/post/comments` (NOT the comment ID).", example: "ZmVlZGJhY2s6MzM3MzYxMzI5OTQ4Nzc1NV8xOTI5NTk0OTE3Njg3MTcz" },
|
|
10198
|
+
{ name: "expansion_token", required: true, description: "The parent comment's whole `expansion_token`.", example: "MjoxNzc4NjM1MDM3OgF_JaMa3kMP9RIWC" },
|
|
10184
10199
|
],
|
|
10185
10200
|
optionalParams: [
|
|
10186
|
-
{ name: "cursor", type: "string", description: "Cursor
|
|
10201
|
+
{ name: "cursor", type: "string", description: "Cursor from the previous response." },
|
|
10202
|
+
{ 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
10203
|
{ 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
10204
|
{ 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
10205
|
{ 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 +10218,10 @@ export const ENDPOINTS = [
|
|
|
10202
10218
|
csvConstraints: { "label": { max: 8, enumValues: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection", "none"] }, "exclude": { max: 2, enumValues: ["spam", "low_quality"] } },
|
|
10203
10219
|
creditTier: "standard",
|
|
10204
10220
|
creditCost: 1,
|
|
10205
|
-
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost:
|
|
10221
|
+
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
10222
|
archetype: "CommentList",
|
|
10207
10223
|
summary: "List replies to a Facebook post comment",
|
|
10208
|
-
description: "Returns the
|
|
10224
|
+
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
10225
|
recommended_timeout_s: 30,
|
|
10210
10226
|
budget_ms: 20000,
|
|
10211
10227
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
@@ -10213,6 +10229,9 @@ export const ENDPOINTS = [
|
|
|
10213
10229
|
cache: { category: "comments", ttlSeconds: 300 },
|
|
10214
10230
|
upstream: { kind: "rapidapi-facebook", fallbackKinds: ["scrapecreators"] },
|
|
10215
10231
|
tags: ["facebook"],
|
|
10232
|
+
hydration: [
|
|
10233
|
+
{ 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" } },
|
|
10234
|
+
],
|
|
10216
10235
|
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
10236
|
featuredParams: [
|
|
10218
10237
|
{ 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 +10249,44 @@ export const ENDPOINTS = [
|
|
|
10230
10249
|
taxonomy: { purpose: "data_retrieval", job_family: "engagement_thread", takes_item_id_from_another_endpoint: true },
|
|
10231
10250
|
latency_ms: { p50: 1910, p95: 16411, p99: 19496, n: 3566 },
|
|
10232
10251
|
},
|
|
10252
|
+
{
|
|
10253
|
+
platform: "facebook",
|
|
10254
|
+
resource: "post/comments/full",
|
|
10255
|
+
method: "GET",
|
|
10256
|
+
params: [
|
|
10257
|
+
{ 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" },
|
|
10258
|
+
],
|
|
10259
|
+
optionalParams: [
|
|
10260
|
+
{ 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." },
|
|
10261
|
+
{ 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." },
|
|
10262
|
+
{ 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`." },
|
|
10263
|
+
{ 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`." },
|
|
10264
|
+
],
|
|
10265
|
+
oneOfGroups: [],
|
|
10266
|
+
creditTier: "standard",
|
|
10267
|
+
creditCost: 1,
|
|
10268
|
+
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." },
|
|
10269
|
+
archetype: "CommentList",
|
|
10270
|
+
summary: "List every comment and reply on a Facebook post, at every depth",
|
|
10271
|
+
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.",
|
|
10272
|
+
budget_ms: 240000,
|
|
10273
|
+
route_budget_ms: 250000,
|
|
10274
|
+
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).",
|
|
10275
|
+
cache: { category: "comments", ttlSeconds: 300 },
|
|
10276
|
+
upstream: { kind: "apify-facebook-comments-full" },
|
|
10277
|
+
tags: ["facebook"],
|
|
10278
|
+
hydration: [
|
|
10279
|
+
{ 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" } },
|
|
10280
|
+
],
|
|
10281
|
+
responseShape: { root: "data.items[]", itemKey: "comment" },
|
|
10282
|
+
purpose: {
|
|
10283
|
+
summary: "List every comment and reply on a Facebook post, at every depth",
|
|
10284
|
+
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.",
|
|
10285
|
+
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.",
|
|
10286
|
+
not_for: null,
|
|
10287
|
+
},
|
|
10288
|
+
taxonomy: { purpose: "data_retrieval", job_family: "engagement_thread", takes_item_id_from_another_endpoint: false },
|
|
10289
|
+
},
|
|
10233
10290
|
{
|
|
10234
10291
|
platform: "facebook",
|
|
10235
10292
|
resource: "marketplace/location/search",
|
|
@@ -10721,12 +10778,12 @@ export const ENDPOINTS = [
|
|
|
10721
10778
|
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
10779
|
archetype: "AuthorList",
|
|
10723
10780
|
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`.",
|
|
10781
|
+
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
10782
|
recommended_timeout_s: 31,
|
|
10726
|
-
budget_ms:
|
|
10783
|
+
budget_ms: 28000,
|
|
10727
10784
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
10728
10785
|
cache: { category: "search", ttlSeconds: 120 },
|
|
10729
|
-
upstream: { kind: "rapidapi-facebook" },
|
|
10786
|
+
upstream: { kind: "rapidapi-facebook", fallbackKinds: ["bridgly"] },
|
|
10730
10787
|
tags: ["facebook"],
|
|
10731
10788
|
hydration: [
|
|
10732
10789
|
{ 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" } },
|
|
@@ -10794,7 +10851,7 @@ export const ENDPOINTS = [
|
|
|
10794
10851
|
{ name: "end_date", type: "string", description: "Ask Facebook for videos on or before this date (YYYY-MM-DD). Facebook applies it approximately and the search card carries no date, so a plain call can include newer videos and says so in `data._warnings`; send `include=details` to date every video and drop those outside the window." },
|
|
10795
10852
|
{ name: "recent_videos", type: "boolean", description: "When true, rank by recency instead of relevance." },
|
|
10796
10853
|
{ name: "location_uid", type: "string", description: "Facebook location id to scope the search." },
|
|
10797
|
-
{ name: "include", type: "enum", enumValues: ["details"], description: "Set to `details` (one token only) to fill `post.engagement.views`, `.likes`, `.comments` and `.shares`, `post.content.duration_seconds`, `post.published_at`, `post.author.avatar_url` and `post.ext.reaction_counts` on every video in this one call. Holds 1 credit per video (7 a page) and keeps only the rows filled from a fresh lookup: rows already in cache and rows the lookup cannot fill are refunded, so a page is never more than 8 credits. The join takes
|
|
10854
|
+
{ name: "include", type: "enum", enumValues: ["details"], description: "Set to `details` (one token only) to fill `post.engagement.views`, `.likes`, `.comments` and `.shares`, `post.content.duration_seconds`, `post.published_at`, `post.author.avatar_url` and `post.ext.reaction_counts` on every video in this one call. Holds 1 credit per video (7 a page) and keeps only the rows filled from a fresh lookup: rows already in cache and rows the lookup cannot fill are refunded, so a page is never more than 8 credits. The join takes 7 to 10 seconds on a fresh page, never more than 12, and nothing when the rows are already cached; read `data.hydration` for the rows, the credits held and kept, and the time. Without it the call is unchanged." },
|
|
10798
10855
|
{ 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`." },
|
|
10799
10856
|
{ 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`." },
|
|
10800
10857
|
{ name: "max_pages", type: "integer", minimum: 1, maximum: 50, description: "1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). Walk up to this many pages in one call and return the rows from all of them. Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`, and carry this call's own request id as `walk_request_id`, so `GET /v1/credits/transactions?request_id=` with this call's id returns every page's rows. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped." },
|
|
@@ -10807,7 +10864,7 @@ export const ENDPOINTS = [
|
|
|
10807
10864
|
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 8, description: "1 credit for the page. include=details holds 1 credit per video (7 a page) and keeps only the rows filled from a fresh lookup, so a page is at most 8 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." },
|
|
10808
10865
|
archetype: "PostList",
|
|
10809
10866
|
summary: "Search Facebook videos by keyword",
|
|
10810
|
-
description: "Searches public Facebook videos and reels by keyword and returns unified Post items: video id, caption, permalink, thumbnail, the author's name and numeric id (`post.ext.author_id`), the author's profile URL (`post.ext.author_url`), and the verified flag where Facebook shows it. `post.id` is the id in the video's permalink (`/reel/<id>/`, `/videos/<id>/` or `watch/?v=<id>`), so a video keeps one id on every page; the id Facebook's search gave the result is on `post.ext.search_result_id`, and on a reel it is often a different id. A video the walk already returned is left off later pages, and a page left with no new video is 0 credits. Facebook's search card carries no counts, no duration and no publish date (its view count is a rounded display string that runs well below the real count, so it is never parsed), so on a plain call `post.engagement`, `post.content.duration_seconds
|
|
10867
|
+
description: "Searches public Facebook videos and reels by keyword and returns unified Post items: video id, caption, permalink, thumbnail, the author's name and numeric id (`post.ext.author_id`), the author's profile URL (`post.ext.author_url`), and the verified flag where Facebook shows it. `post.id` is the id in the video's permalink (`/reel/<id>/`, `/videos/<id>/` or `watch/?v=<id>`), so a video keeps one id on every page; the id Facebook's search gave the result is on `post.ext.search_result_id`, and on a reel it is often a different id. A video the walk already returned is left off later pages, and a page left with no new video is 0 credits. Facebook's search card carries no counts, no duration and no publish date (its view count is a rounded display string that runs well below the real count, so it is never parsed), so on a plain call `post.engagement`, `post.content.duration_seconds` and `post.published_at` are null on every row. `post.author.avatar_url` is set on reel results, whose search card carries the author's picture, and null on the others. Send `include=details` and every video is joined, in the same call, to the per-post lookup for its permalink: the exact view, like, comment and share counts (`post.engagement.views`, `.likes`, `.comments` and `.shares`), the duration, the publish time, the author's avatar and the per-reaction breakdown (`post.ext.reaction_counts`) land on each row. The video id, permalink, caption and thumbnail the search row carries are never replaced. `start_date` and `end_date` are sent to Facebook, whose date filter on video search is approximate: a plain call can return videos from outside the window (2 of 7 on the first page of a 30-day `apple` search, 16/11/2026), and with no date on the row they cannot be checked, so the page says so in `data._warnings` (a line starting `undated_rows:`). `since` and `until` alone are not sent to Facebook. With `include=details` the join dates every video and a video dated outside your window is then dropped; its lookup is still billed, since the search card carries no date to filter on before it. Cost: 1 credit for the page plus 1 credit per video filled from a fresh lookup (7 videos a page, so 8 credits 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 credits. Time: `include=details` adds 7 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 videos a page. Forward `pagination.next_cursor` as `cursor`. When the main source is unavailable, the first page is answered by a second source: the same video fields, without the author's avatar, for up to 7 videos from the same search, ranked differently, with no next cursor. A later page, a date window, `recent_videos` or `location_uid` has no second source and returns an error to retry.",
|
|
10811
10868
|
recommended_timeout_s: 35,
|
|
10812
10869
|
budget_ms: 28000,
|
|
10813
10870
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
@@ -11039,11 +11096,11 @@ export const ENDPOINTS = [
|
|
|
11039
11096
|
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 2, description: "1 credit. include=community holds 1 more and keeps it only when the lookup returns the community's topics, so a call is at most 2 credits; a repeat within the cache window is 0." },
|
|
11040
11097
|
archetype: "Author",
|
|
11041
11098
|
summary: "Get Reddit subreddit details",
|
|
11042
|
-
description: "Returns detailed information about a subreddit including the subscriber count at `author.followers`, weekly active users and weekly contributions at `author.ext.weekly_active_users` and `author.ext.weekly_contributions`, the description, creation date, rules, and subreddit icon URL. The subscriber count and Reddit's own community language tag at `author.ext.language` come from a second source that runs only when the main one leaves the count empty, so on a small share of calls they are null while every other field is unchanged. The name can be sent in any casing: `askreddit` is resolved to Reddit's own spelling `AskReddit` and returns the whole object. The rules are also returned as rows at `author.ext.rules`, each with its `number`, `title` and `text`, when the source that answered reports them; otherwise that leaf is null and `author.ext.rules_text` carries them as one block. `author.ext.rules_status` says whether the rules are in the answer: `listed` when they are, `not_reported` when the source sent none, which does not mean the community has no rules; read them on the community's Reddit page in that case. `include=community` adds the community's topics as Reddit files them at `author.ext.topics` (for example `Tech News & Discussion`), the post types it allows at `author.ext.allowed_post_types` (an empty list where posting is restricted), and whether it is quarantined or restricts posting at `author.ext.is_quarantined` and `author.ext.posting_restricted`, for 1 more credit, kept only when a topic comes back, and about 5 seconds; without it those four are null.",
|
|
11099
|
+
description: "Returns detailed information about a subreddit including the subscriber count at `author.followers`, weekly active users and weekly contributions at `author.ext.weekly_active_users` and `author.ext.weekly_contributions`, the description, creation date, rules, and subreddit icon URL. The subscriber count and Reddit's own community language tag at `author.ext.language` come from a second source that runs only when the main one leaves the count empty, so on a small share of calls they are null while every other field is unchanged. That second source also fills the community icon at `author.avatar_url` when the main one sends none. The name can be sent in any casing: `askreddit` is resolved to Reddit's own spelling `AskReddit` and returns the whole object. The rules are also returned as rows at `author.ext.rules`, each with its `number`, `title` and `text`, when the source that answered reports them; otherwise that leaf is null and `author.ext.rules_text` carries them as one block. `author.ext.rules_status` says whether the rules are in the answer: `listed` when they are, `not_reported` when the source sent none, which does not mean the community has no rules; read them on the community's Reddit page in that case. `include=community` adds the community's topics as Reddit files them at `author.ext.topics` (for example `Tech News & Discussion`), the post types it allows at `author.ext.allowed_post_types` (an empty list where posting is restricted), and whether it is quarantined or restricts posting at `author.ext.is_quarantined` and `author.ext.posting_restricted`, for 1 more credit, kept only when a topic comes back, and about 5 seconds; without it those four are null.",
|
|
11043
11100
|
recommended_timeout_s: 52,
|
|
11044
11101
|
budget_ms: 15000,
|
|
11045
11102
|
cache: { category: "profile", ttlSeconds: 900 },
|
|
11046
|
-
upstream: { kind: "scrapecreators", fallbackKinds: ["
|
|
11103
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer", "rapidapi-redditdata", "apify-reddit-thread"] },
|
|
11047
11104
|
tags: ["reddit"],
|
|
11048
11105
|
hydration: [
|
|
11049
11106
|
{ param: "include", token: "community", sibling: "reddit/subreddit/details", fills: ["author.ext.topics", "author.ext.allowed_post_types", "author.ext.is_quarantined", "author.ext.posting_restricted"], creditsPerItem: 1, maxItems: 1, cacheSibling: false, warnings: { unavailable: "community_unavailable", partial: "community_partial" } },
|
|
@@ -11173,7 +11230,7 @@ export const ENDPOINTS = [
|
|
|
11173
11230
|
resource: "post/comments",
|
|
11174
11231
|
method: "GET",
|
|
11175
11232
|
params: [
|
|
11176
|
-
{ name: "url", required: true, description: "Full URL of the Reddit post to fetch comments for. Three other forms name the same post and fetch the same thread: the post's fullname on its own (`t3_1aq7xld`), a `redd.it/<id>` short link, and a post URL whose id is written `t3_<id>` (
|
|
11233
|
+
{ name: "url", required: true, description: "Full URL of the Reddit post to fetch comments for. Three other forms name the same post and fetch the same thread: the post's fullname on its own (`t3_1aq7xld`), a `redd.it/<id>` short link, and a post URL whose id is written `t3_<id>` (older links carry it; `reddit/search/comments` no longer returns that form in `comment.ext.post_url`).", example: "https://www.reddit.com/r/NoteTaking/comments/1o9s55r/i_tried_all_popular_ai_notetaking_apps_so_you/" },
|
|
11177
11234
|
],
|
|
11178
11235
|
optionalParams: [
|
|
11179
11236
|
{ name: "cursor", type: "string", description: "Cursor to get more comments, or replies." },
|
|
@@ -11369,8 +11426,8 @@ export const ENDPOINTS = [
|
|
|
11369
11426
|
{ 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
11427
|
{ 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
11428
|
{ 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
|
|
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
|
|
11429
|
+
{ 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`." },
|
|
11430
|
+
{ 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
11431
|
],
|
|
11375
11432
|
oneOfGroups: [],
|
|
11376
11433
|
csvConstraints: { "label": { max: 8, enumValues: ["sentiment", "spam", "question", "purchase_intent", "complaint", "toxic", "low_quality", "injection", "none"] }, "exclude": { max: 2, enumValues: ["spam", "low_quality"] } },
|
|
@@ -11434,7 +11491,7 @@ export const ENDPOINTS = [
|
|
|
11434
11491
|
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 5, description: "1 credit per page. Relevance against your query (by default, or with relevance=) is free. Adding relevant_to= holds 4 extra credits and refunds down to 1 credit per started 25 rows that were newly judged: rows already judged for the same topic 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." },
|
|
11435
11492
|
archetype: "CommentList",
|
|
11436
11493
|
summary: "Search Reddit comments",
|
|
11437
|
-
description: "Searches Reddit's COMMENT index directly, so a phrase that only ever appears three levels deep inside someone's reply is reachable in one call. Every other comment surface on this API needs a post you have already found; this one does not. Each hit arrives with its parent post inline, because a bare comment body off a search index is unreadable without it: `ext.post_title`, `ext.subreddit`, `ext.subreddit_subscribers`, `ext.post_score`, `ext.post_comment_count`, `ext.post_author`, `ext.post_published_at`, `ext.post_flair`, `ext.post_url` and `ext.content_language`. Reddit's search operators work in `query`, which is where most of the power is: `author:username` returns that account's indexed comments, `subreddit:name terms` scopes the sweep to one community, and quoted phrases tighten a loose match. `comment.parent_id` is null on this lane and that is honest rather than missing — the upstream does not say whether a hit is a top-level comment or a deep reply, and this API does not guess. Up to 25 hits per page; paginate with `cursor`. A query that matches nothing returns an empty `items` list and costs nothing. When the main source is unavailable, the first page is answered by a backup that reads the same comment index with the same fields, parent-post block included, and carries no next cursor. If that backup fails too, a third source answers with the same hits in the same order, up to 10 on a page, and its pages carry a next cursor that pages on that same source; on those pages `ext.subreddit_subscribers`, `ext.post_author`, `ext.post_flair`, `ext.content_language` and `author.display_name` are null, and the rest of the parent-post block is filled. If that fails as well, a fourth source
|
|
11494
|
+
description: "Searches Reddit's COMMENT index directly, so a phrase that only ever appears three levels deep inside someone's reply is reachable in one call. Every other comment surface on this API needs a post you have already found; this one does not. Each hit arrives with its parent post inline, because a bare comment body off a search index is unreadable without it: `ext.post_title`, `ext.subreddit`, `ext.subreddit_subscribers`, `ext.post_score`, `ext.post_comment_count`, `ext.post_author`, `ext.post_published_at`, `ext.post_flair`, `ext.post_url` and `ext.content_language`. Reddit's search operators work in `query`, which is where most of the power is: `author:username` returns that account's indexed comments, `subreddit:name terms` scopes the sweep to one community, and quoted phrases tighten a loose match. `comment.parent_id` is null on this lane and that is honest rather than missing — the upstream does not say whether a hit is a top-level comment or a deep reply, and this API does not guess. Up to 25 hits per page; paginate with `cursor`. A query that matches nothing returns an empty `items` list and costs nothing. When the main source is unavailable, the first page is answered by a backup that reads the same comment index with the same fields, parent-post block included, and carries no next cursor. If that backup fails too, a third source answers with the same hits in the same order, up to 10 on a page, and its pages carry a next cursor that pages on that same source; on those pages `ext.subreddit_subscribers`, `ext.post_author`, `ext.post_flair`, `ext.content_language` and `author.display_name` are null, and the rest of the parent-post block is filled. If that fails as well, a fourth source is asked only to confirm that a query has no hits: its page carries no parent-post block, so it is never served, and the call returns an error to retry with its credits refunded. `ext.author_karma` (the commenter's total karma) and `ext.author_joined_at` (when the commenter's account was created, ISO-8601 UTC) are filled when the source that answered sends them, which the main source does on nearly every row, and are null otherwise. A later page has no second source: it is answered by the source that served the page before it, and returns an error to retry when that source is unavailable. A page past the last hit returns an empty `items` list with no next cursor and costs nothing.",
|
|
11438
11495
|
recommended_timeout_s: 55,
|
|
11439
11496
|
budget_ms: 8000,
|
|
11440
11497
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
@@ -11730,7 +11787,7 @@ export const ENDPOINTS = [
|
|
|
11730
11787
|
{ 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
11788
|
{ 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
11789
|
{ 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
|
|
11790
|
+
{ 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
11791
|
],
|
|
11735
11792
|
oneOfGroups: [],
|
|
11736
11793
|
csvConstraints: { "include": { max: 2, enumValues: ["engagement", "country"] } },
|
|
@@ -11860,7 +11917,7 @@ export const ENDPOINTS = [
|
|
|
11860
11917
|
paginatable: true,
|
|
11861
11918
|
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
11919
|
cache: { category: "search", ttlSeconds: 120 },
|
|
11863
|
-
upstream: { kind: "scrapecreators", fallbackKinds: ["apify-threads-keyword-search"] },
|
|
11920
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer", "apify-threads-keyword-search"] },
|
|
11864
11921
|
tags: ["threads"],
|
|
11865
11922
|
hydration: [
|
|
11866
11923
|
{ 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 +11962,8 @@ export const ENDPOINTS = [
|
|
|
11905
11962
|
{ 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
11963
|
{ 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
11964
|
{ 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
|
|
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
|
|
11965
|
+
{ 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`." },
|
|
11966
|
+
{ 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
11967
|
],
|
|
11911
11968
|
oneOfGroups: [],
|
|
11912
11969
|
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 +11977,7 @@ export const ENDPOINTS = [
|
|
|
11920
11977
|
budget_ms: 20000,
|
|
11921
11978
|
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
11979
|
cache: { category: "comments", ttlSeconds: 300 },
|
|
11923
|
-
upstream: { kind: "scrapecreators", fallbackKinds: ["apify-threads-keyword-search"] },
|
|
11980
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer", "apify-threads-keyword-search"] },
|
|
11924
11981
|
tags: ["threads"],
|
|
11925
11982
|
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
11983
|
featuredParams: [
|
|
@@ -11961,9 +12018,10 @@ export const ENDPOINTS = [
|
|
|
11961
12018
|
summary: "Search Threads users",
|
|
11962
12019
|
description: "Searches Threads for user accounts matching a query. Returns up to about 10 matching accounts with the handle, display name, avatar and verification status. A plain call is that identity window for 1 credit, and `author.followers`, `author.bio`, `author.private` and `author.ext.bio_link` stay null: the search index does not carry them. Send `include=profile` to fill them by row hydration: each account is looked up on `/v1/threads/profile` by its handle in the same call, and only those four leaves are copied onto the row, so nothing already on it changes. It costs 1 credit per account filled, adds 3 to 6 seconds (never more than 12), and a `data.hydration` block reports the rows looked up, filled and served from cache and the credits held and kept; an account the lookup could not fill is refunded and named by `data._warnings: [\"profile_partial\"]`. `limit` (1 to 12) takes the top N accounts and caps the extra credits with them. `include_details=true`, the older spelling, is the same call at the same price. Post count and join date stay null either way: Threads does not publish them. `author.url` is the account's Threads permalink, built from the handle.",
|
|
11963
12020
|
recommended_timeout_s: 12,
|
|
12021
|
+
budget_ms: 20000,
|
|
11964
12022
|
singlePage: "The upstream exposes no cursor. The call is the fixed ~10-account identity window; `include=profile` fills follower count, bio and the private flag on those same rows, but still returns a single page with nothing to resume from.",
|
|
11965
12023
|
cache: { category: "search", ttlSeconds: 120 },
|
|
11966
|
-
upstream: { kind: "scrapecreators" },
|
|
12024
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer"] },
|
|
11967
12025
|
tags: ["threads"],
|
|
11968
12026
|
hydration: [
|
|
11969
12027
|
{ param: "include", token: "profile", sibling: "threads/profile", fills: ["author.followers", "author.bio", "author.private", "author.ext.bio_link"], creditsPerItem: 1, maxItems: 12, rowLimitParam: "limit", cacheSibling: true, warnings: { unavailable: "profile_unavailable", partial: "profile_partial" } },
|
|
@@ -12169,8 +12227,8 @@ export const ENDPOINTS = [
|
|
|
12169
12227
|
],
|
|
12170
12228
|
optionalParams: [
|
|
12171
12229
|
{ 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
|
|
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
|
|
12230
|
+
{ 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`." },
|
|
12231
|
+
{ 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
12232
|
],
|
|
12175
12233
|
oneOfGroups: [],
|
|
12176
12234
|
creditTier: "standard",
|
|
@@ -12347,8 +12405,8 @@ export const ENDPOINTS = [
|
|
|
12347
12405
|
optionalParams: [
|
|
12348
12406
|
{ 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
12407
|
{ 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
|
|
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
|
|
12408
|
+
{ 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`." },
|
|
12409
|
+
{ 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
12410
|
],
|
|
12353
12411
|
oneOfGroups: [],
|
|
12354
12412
|
creditTier: "standard",
|
|
@@ -12596,8 +12654,9 @@ export const ENDPOINTS = [
|
|
|
12596
12654
|
archetype: "Author",
|
|
12597
12655
|
summary: "Get Telegram channel profile",
|
|
12598
12656
|
description: "Returns a public Telegram channel or group profile including its display name, description, avatar URL, verification status, and subscriber count. The subscriber count is exact rather than abbreviated. Private channels, invite-only groups, and channels with no public preview return 404.",
|
|
12657
|
+
budget_ms: 20000,
|
|
12599
12658
|
cache: { category: "profile", ttlSeconds: 900 },
|
|
12600
|
-
upstream: { kind: "scrapecreators" },
|
|
12659
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["telegram-widget"] },
|
|
12601
12660
|
group: "Profiles",
|
|
12602
12661
|
tags: ["telegram"],
|
|
12603
12662
|
related: [
|
|
@@ -12673,8 +12732,9 @@ export const ENDPOINTS = [
|
|
|
12673
12732
|
archetype: "Post",
|
|
12674
12733
|
summary: "Get Telegram post",
|
|
12675
12734
|
description: "Returns one public Telegram post by its t.me URL, including the text, publish time, view count, the per-emoji reaction breakdown, and direct media URLs. View and reaction counts on posts are rounded by Telegram's own public preview, so use them for ranking rather than for exact deltas.",
|
|
12735
|
+
budget_ms: 20000,
|
|
12676
12736
|
cache: { category: "post", ttlSeconds: 600 },
|
|
12677
|
-
upstream: { kind: "scrapecreators" },
|
|
12737
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["telegram-widget"] },
|
|
12678
12738
|
tags: ["telegram"],
|
|
12679
12739
|
related: [
|
|
12680
12740
|
{ id: "tiktok/post", why: "The same data from tiktok." },
|
|
@@ -13113,7 +13173,7 @@ export const ENDPOINTS = [
|
|
|
13113
13173
|
taxonomy: { purpose: "data_retrieval", job_family: "content_item_detail", takes_item_id_from_another_endpoint: false },
|
|
13114
13174
|
latency_ms: { p50: 5390, p95: 6977, p99: 7282, n: 6, low_sample: true },
|
|
13115
13175
|
},
|
|
13116
|
-
// --- tiktokshop (
|
|
13176
|
+
// --- tiktokshop (11 endpoints) ---
|
|
13117
13177
|
{
|
|
13118
13178
|
platform: "tiktokshop",
|
|
13119
13179
|
resource: "product",
|
|
@@ -13363,6 +13423,244 @@ export const ENDPOINTS = [
|
|
|
13363
13423
|
taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
|
|
13364
13424
|
latency_ms: { p50: 3552, p95: 12743, p99: 23542, n: 99 },
|
|
13365
13425
|
},
|
|
13426
|
+
{
|
|
13427
|
+
platform: "tiktokshop",
|
|
13428
|
+
resource: "user/sales",
|
|
13429
|
+
method: "GET",
|
|
13430
|
+
params: [
|
|
13431
|
+
{ name: "handle", required: true, description: "The creator's TikTok handle, with or without the leading @.", example: "lopeztips" },
|
|
13432
|
+
],
|
|
13433
|
+
optionalParams: [
|
|
13434
|
+
{ 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." },
|
|
13435
|
+
{ 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." },
|
|
13436
|
+
],
|
|
13437
|
+
oneOfGroups: [],
|
|
13438
|
+
csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
|
|
13439
|
+
creditTier: "premium",
|
|
13440
|
+
creditCost: 36,
|
|
13441
|
+
pricing: { cost: 36, tier: "premium", ladderCost: 10, model: "flat" },
|
|
13442
|
+
archetype: "Author",
|
|
13443
|
+
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",
|
|
13444
|
+
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.",
|
|
13445
|
+
budget_ms: 30000,
|
|
13446
|
+
cache: { category: "profile", ttlSeconds: 43200 },
|
|
13447
|
+
upstream: { kind: "dataatscale-tiktokshop-sales" },
|
|
13448
|
+
tags: ["tiktokshop"],
|
|
13449
|
+
responseShape: { root: "data.author" },
|
|
13450
|
+
purpose: {
|
|
13451
|
+
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",
|
|
13452
|
+
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.",
|
|
13453
|
+
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.",
|
|
13454
|
+
not_for: null,
|
|
13455
|
+
},
|
|
13456
|
+
taxonomy: { purpose: "data_retrieval", job_family: "commerce_catalog", takes_item_id_from_another_endpoint: false },
|
|
13457
|
+
},
|
|
13458
|
+
{
|
|
13459
|
+
platform: "tiktokshop",
|
|
13460
|
+
resource: "affiliates/search",
|
|
13461
|
+
method: "GET",
|
|
13462
|
+
params: [],
|
|
13463
|
+
optionalParams: [
|
|
13464
|
+
{ 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" },
|
|
13465
|
+
{ name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
|
|
13466
|
+
{ 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." },
|
|
13467
|
+
{ name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers.", example: "gmv" },
|
|
13468
|
+
{ name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
|
|
13469
|
+
{ name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
|
|
13470
|
+
{ name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
|
|
13471
|
+
{ name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
|
|
13472
|
+
{ name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
|
|
13473
|
+
{ name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
|
|
13474
|
+
{ name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
|
|
13475
|
+
{ name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
|
|
13476
|
+
{ name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
|
|
13477
|
+
{ name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
|
|
13478
|
+
{ name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
|
|
13479
|
+
{ name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
|
|
13480
|
+
{ name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
|
|
13481
|
+
{ name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
|
|
13482
|
+
{ name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
|
|
13483
|
+
{ name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
|
|
13484
|
+
{ name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
|
|
13485
|
+
],
|
|
13486
|
+
oneOfGroups: [],
|
|
13487
|
+
csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
|
|
13488
|
+
creditTier: "premium",
|
|
13489
|
+
creditCost: 10,
|
|
13490
|
+
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" },
|
|
13491
|
+
archetype: "AuthorList",
|
|
13492
|
+
summary: "Find TikTok Shop affiliate creators by sales, ranked by GMV, growth or followers. 107 credits per creator returned",
|
|
13493
|
+
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.",
|
|
13494
|
+
budget_ms: 30000,
|
|
13495
|
+
singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
|
|
13496
|
+
cache: { category: "search", ttlSeconds: 43200 },
|
|
13497
|
+
upstream: { kind: "dataatscale-tiktokshop-affiliates" },
|
|
13498
|
+
tags: ["tiktokshop"],
|
|
13499
|
+
responseShape: { root: "data.items[]", itemKey: "author" },
|
|
13500
|
+
purpose: {
|
|
13501
|
+
summary: "Find TikTok Shop affiliate creators by sales, ranked by GMV, growth or followers. 107 credits per creator returned",
|
|
13502
|
+
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.",
|
|
13503
|
+
use_when: "Use it to find affiliates who already sell well in your category; product/affiliates names who promotes one product.",
|
|
13504
|
+
not_for: null,
|
|
13505
|
+
},
|
|
13506
|
+
taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
|
|
13507
|
+
},
|
|
13508
|
+
{
|
|
13509
|
+
platform: "tiktokshop",
|
|
13510
|
+
resource: "product/affiliates",
|
|
13511
|
+
method: "GET",
|
|
13512
|
+
params: [],
|
|
13513
|
+
optionalParams: [
|
|
13514
|
+
{ name: "url", type: "string", description: "The product's TikTok Shop link. Send this or product_id." },
|
|
13515
|
+
{ name: "product_id", type: "string", description: "The product's TikTok Shop id (19 digits). Send this or url.", example: "1729448464509734958" },
|
|
13516
|
+
{ 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." },
|
|
13517
|
+
{ name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
|
|
13518
|
+
{ 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." },
|
|
13519
|
+
{ name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers." },
|
|
13520
|
+
{ name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
|
|
13521
|
+
{ name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
|
|
13522
|
+
{ name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
|
|
13523
|
+
{ name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
|
|
13524
|
+
{ name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
|
|
13525
|
+
{ name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
|
|
13526
|
+
{ name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
|
|
13527
|
+
{ name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
|
|
13528
|
+
{ name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
|
|
13529
|
+
{ name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
|
|
13530
|
+
{ name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
|
|
13531
|
+
{ name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
|
|
13532
|
+
{ name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
|
|
13533
|
+
{ name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
|
|
13534
|
+
{ name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
|
|
13535
|
+
{ name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
|
|
13536
|
+
{ name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
|
|
13537
|
+
],
|
|
13538
|
+
oneOfGroups: [["url", "product_id"]],
|
|
13539
|
+
csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
|
|
13540
|
+
creditTier: "premium",
|
|
13541
|
+
creditCost: 10,
|
|
13542
|
+
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" },
|
|
13543
|
+
archetype: "AuthorList",
|
|
13544
|
+
summary: "Find the TikTok creators who promote a TikTok Shop product. 107 credits per creator returned",
|
|
13545
|
+
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.",
|
|
13546
|
+
budget_ms: 30000,
|
|
13547
|
+
singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
|
|
13548
|
+
cache: { category: "search", ttlSeconds: 43200 },
|
|
13549
|
+
upstream: { kind: "dataatscale-tiktokshop-affiliates" },
|
|
13550
|
+
tags: ["tiktokshop"],
|
|
13551
|
+
responseShape: { root: "data.items[]", itemKey: "author" },
|
|
13552
|
+
purpose: {
|
|
13553
|
+
summary: "Find the TikTok creators who promote a TikTok Shop product. 107 credits per creator returned",
|
|
13554
|
+
returns: "Returns the TikTok creators who promote one TikTok Shop product, with their sales, ranked by GMV, growth or followers.",
|
|
13555
|
+
use_when: "Use it to see who drives a product's sales, yours or a competitor's, before reaching out.",
|
|
13556
|
+
not_for: null,
|
|
13557
|
+
},
|
|
13558
|
+
taxonomy: { purpose: "data_retrieval", job_family: "audience_graph", takes_item_id_from_another_endpoint: true },
|
|
13559
|
+
},
|
|
13560
|
+
{
|
|
13561
|
+
platform: "tiktokshop",
|
|
13562
|
+
resource: "shop/affiliates",
|
|
13563
|
+
method: "GET",
|
|
13564
|
+
params: [],
|
|
13565
|
+
optionalParams: [
|
|
13566
|
+
{ name: "url", type: "string", description: "The shop's TikTok Shop link. Send this or shop_id." },
|
|
13567
|
+
{ name: "shop_id", type: "string", description: "The shop's TikTok Shop id (19 digits). Send this or url.", example: "7495620301677955118" },
|
|
13568
|
+
{ 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." },
|
|
13569
|
+
{ name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
|
|
13570
|
+
{ 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." },
|
|
13571
|
+
{ name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers." },
|
|
13572
|
+
{ name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
|
|
13573
|
+
{ name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
|
|
13574
|
+
{ name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
|
|
13575
|
+
{ name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
|
|
13576
|
+
{ name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
|
|
13577
|
+
{ name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
|
|
13578
|
+
{ name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
|
|
13579
|
+
{ name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
|
|
13580
|
+
{ name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
|
|
13581
|
+
{ name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
|
|
13582
|
+
{ name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
|
|
13583
|
+
{ name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
|
|
13584
|
+
{ name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
|
|
13585
|
+
{ name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
|
|
13586
|
+
{ name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
|
|
13587
|
+
{ name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
|
|
13588
|
+
{ name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
|
|
13589
|
+
],
|
|
13590
|
+
oneOfGroups: [["url", "shop_id"]],
|
|
13591
|
+
csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
|
|
13592
|
+
creditTier: "premium",
|
|
13593
|
+
creditCost: 10,
|
|
13594
|
+
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" },
|
|
13595
|
+
archetype: "AuthorList",
|
|
13596
|
+
summary: "Find the TikTok creators who promote a TikTok Shop shop's products. 107 credits per creator returned",
|
|
13597
|
+
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.",
|
|
13598
|
+
budget_ms: 30000,
|
|
13599
|
+
singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
|
|
13600
|
+
cache: { category: "search", ttlSeconds: 43200 },
|
|
13601
|
+
upstream: { kind: "dataatscale-tiktokshop-affiliates" },
|
|
13602
|
+
tags: ["tiktokshop"],
|
|
13603
|
+
responseShape: { root: "data.items[]", itemKey: "author" },
|
|
13604
|
+
purpose: {
|
|
13605
|
+
summary: "Find the TikTok creators who promote a TikTok Shop shop's products. 107 credits per creator returned",
|
|
13606
|
+
returns: "Returns the TikTok creators who promote any product of one TikTok Shop shop, with their sales, ranked by GMV, growth or followers.",
|
|
13607
|
+
use_when: "Use it to map a brand's whole affiliate roster rather than one product's.",
|
|
13608
|
+
not_for: null,
|
|
13609
|
+
},
|
|
13610
|
+
taxonomy: { purpose: "data_retrieval", job_family: "audience_graph", takes_item_id_from_another_endpoint: true },
|
|
13611
|
+
},
|
|
13612
|
+
{
|
|
13613
|
+
platform: "tiktokshop",
|
|
13614
|
+
resource: "affiliates/similar",
|
|
13615
|
+
method: "GET",
|
|
13616
|
+
params: [
|
|
13617
|
+
{ 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" },
|
|
13618
|
+
],
|
|
13619
|
+
optionalParams: [
|
|
13620
|
+
{ 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." },
|
|
13621
|
+
{ name: "markets", type: "string", description: "Comma-separated TikTok Shop markets: US, GB, SG (up to 3). Default all three." },
|
|
13622
|
+
{ 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." },
|
|
13623
|
+
{ name: "sort_by", type: "enum", enumValues: ["gmv", "growth", "followers"], description: "Order, highest first: gmv (default), growth or followers." },
|
|
13624
|
+
{ name: "category_ids", type: "string", description: "Comma-separated TikTok Shop category ids: only creators who promote products in them." },
|
|
13625
|
+
{ name: "min_gmv_usd", type: "string", description: "Minimum GMV over period_days, USD." },
|
|
13626
|
+
{ name: "max_gmv_usd", type: "string", description: "Maximum GMV over period_days, USD." },
|
|
13627
|
+
{ name: "min_gpm_usd", type: "string", description: "Minimum GMV per 1,000 views, USD." },
|
|
13628
|
+
{ name: "max_gpm_usd", type: "string", description: "Maximum GMV per 1,000 views, USD." },
|
|
13629
|
+
{ name: "min_growth_pct", type: "string", description: "Minimum GMV growth on the period before, percent." },
|
|
13630
|
+
{ name: "min_followers", type: "integer", minimum: 0, description: "Minimum followers." },
|
|
13631
|
+
{ name: "max_followers", type: "integer", minimum: 0, description: "Maximum followers." },
|
|
13632
|
+
{ name: "min_median_play_count", type: "integer", minimum: 0, description: "Minimum median plays of recent videos." },
|
|
13633
|
+
{ name: "max_median_play_count", type: "integer", minimum: 0, description: "Maximum median plays of recent videos." },
|
|
13634
|
+
{ name: "min_median_like_count", type: "integer", minimum: 0, description: "Minimum median likes of recent videos." },
|
|
13635
|
+
{ name: "max_median_like_count", type: "integer", minimum: 0, description: "Maximum median likes of recent videos." },
|
|
13636
|
+
{ name: "min_median_comment_count", type: "integer", minimum: 0, description: "Minimum median comments of recent videos." },
|
|
13637
|
+
{ name: "max_median_comment_count", type: "integer", minimum: 0, description: "Maximum median comments of recent videos." },
|
|
13638
|
+
{ name: "active_within_days", type: "integer", minimum: 1, maximum: 3650, description: "Only creators who promoted a product within this many days." },
|
|
13639
|
+
{ name: "exclude_promoters_of_products", type: "string", description: "Comma-separated product ids or links: leave out creators who promoted any." },
|
|
13640
|
+
{ name: "exclude_promoters_of_shops", type: "string", description: "Comma-separated shop ids or links: leave out creators who promoted any of their products." },
|
|
13641
|
+
],
|
|
13642
|
+
oneOfGroups: [],
|
|
13643
|
+
csvConstraints: { "markets": { max: 3, enumValues: ["US", "GB", "SG"] } },
|
|
13644
|
+
creditTier: "premium",
|
|
13645
|
+
creditCost: 10,
|
|
13646
|
+
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" },
|
|
13647
|
+
archetype: "AuthorList",
|
|
13648
|
+
summary: "Find TikTok Shop affiliates who promote products like yours. 107 credits per creator returned",
|
|
13649
|
+
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.",
|
|
13650
|
+
budget_ms: 30000,
|
|
13651
|
+
singlePage: "Each call is one fresh lookup with no cursor across lookups; raise `limit` (up to 25) for more creators.",
|
|
13652
|
+
cache: { category: "search", ttlSeconds: 43200 },
|
|
13653
|
+
upstream: { kind: "dataatscale-tiktokshop-affiliates" },
|
|
13654
|
+
tags: ["tiktokshop"],
|
|
13655
|
+
responseShape: { root: "data.items[]", itemKey: "author" },
|
|
13656
|
+
purpose: {
|
|
13657
|
+
summary: "Find TikTok Shop affiliates who promote products like yours. 107 credits per creator returned",
|
|
13658
|
+
returns: "Returns TikTok Shop affiliate creators who promote products like the one you describe, with their sales, ranked by GMV, growth or followers.",
|
|
13659
|
+
use_when: "Use it to find affiliates for a new product when you have no product or shop id to start from.",
|
|
13660
|
+
not_for: null,
|
|
13661
|
+
},
|
|
13662
|
+
taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
|
|
13663
|
+
},
|
|
13366
13664
|
// --- perplexity (1 endpoint) ---
|
|
13367
13665
|
{
|
|
13368
13666
|
platform: "perplexity",
|
|
@@ -13490,7 +13788,7 @@ export const ENDPOINTS = [
|
|
|
13490
13788
|
{ name: "query", required: true, description: "Search keyword or phrase to find advertisers in the Google Ads Transparency Center.", example: "lululemon" },
|
|
13491
13789
|
],
|
|
13492
13790
|
optionalParams: [
|
|
13493
|
-
{ name: "region", type: "string", description: "2-letter country code to search in.
|
|
13791
|
+
{ name: "region", type: "string", description: "2-letter country code to search in. Without it, advertisers from every country are searched." },
|
|
13494
13792
|
],
|
|
13495
13793
|
oneOfGroups: [],
|
|
13496
13794
|
creditTier: "advanced",
|
|
@@ -13498,16 +13796,17 @@ export const ENDPOINTS = [
|
|
|
13498
13796
|
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
|
|
13499
13797
|
archetype: "AuthorList",
|
|
13500
13798
|
summary: "Search Google Ad Library advertisers",
|
|
13501
|
-
description: "Searches the Google Ads Transparency Center for advertisers matching a query.
|
|
13799
|
+
description: "Searches the Google Ads Transparency Center for advertisers matching a query. Each advertiser comes back with its name (`author.display_name`), its advertiser id (`author.id`) and its country (`author.location`). Without `region` the search covers every country; pass a 2-letter country code (e.g. `US`, `CA`) to search one.",
|
|
13800
|
+
budget_ms: 20000,
|
|
13502
13801
|
singlePage: "Fixed-window feed: upstream returns a single non-cursored result set.",
|
|
13503
13802
|
cache: { category: "search", ttlSeconds: 120 },
|
|
13504
|
-
upstream: { kind: "scrapecreators" },
|
|
13803
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer"] },
|
|
13505
13804
|
tags: ["google", "google-ads"],
|
|
13506
13805
|
responseShape: { root: "data.items[]", itemKey: "author" },
|
|
13507
13806
|
purpose: {
|
|
13508
13807
|
summary: "Search Google Ad Library advertisers",
|
|
13509
13808
|
returns: "Returns advertisers in the Google Ads Transparency Center matching a name, each with its display name, advertiser id, and country.",
|
|
13510
|
-
use_when: "Use it first to look up the advertiser_id that company/ads needs
|
|
13809
|
+
use_when: "Use it first to look up the advertiser_id that company/ads needs from a brand name. Without region it searches every country; send a country code to search one.",
|
|
13511
13810
|
not_for: null,
|
|
13512
13811
|
},
|
|
13513
13812
|
taxonomy: { purpose: "data_retrieval", job_family: "ads_intelligence", takes_item_id_from_another_endpoint: false },
|
|
@@ -13576,9 +13875,10 @@ export const ENDPOINTS = [
|
|
|
13576
13875
|
summary: "List Google ads by company",
|
|
13577
13876
|
description: "Returns ads from a specific company/domain in the Google Ads Transparency Center. Each ad includes creative, format, and date range. The list carries no ad copy, so `post.content.text` is the advertiser's name and `post.ext.ad.text_kind` says `advertiser_name`; read the copy of one ad with `/v1/google/ad`. A `domain` query matches ads by where they send people, so one page can hold several advertisers: `post.ext.ad.advertiser_id` names each row's advertiser, `_warnings` says `mixed_advertisers` when a page spans more than one, and `advertiser_id` lists a single advertiser's ads. `start_date` filters on when an ad was shown, while `post.published_at` is the ad's first appearance, so a row dated before `start_date` that still ran inside the window is expected.",
|
|
13578
13877
|
recommended_timeout_s: 10,
|
|
13878
|
+
budget_ms: 20000,
|
|
13579
13879
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
13580
13880
|
cache: { category: "analytics", ttlSeconds: 1800 },
|
|
13581
|
-
upstream: { kind: "scrapecreators" },
|
|
13881
|
+
upstream: { kind: "scrapecreators", fallbackKinds: ["fetchlayer"] },
|
|
13582
13882
|
tags: ["google", "google-ads"],
|
|
13583
13883
|
responseShape: { root: "data.items[]", itemKey: "post" },
|
|
13584
13884
|
purpose: {
|
|
@@ -13647,8 +13947,8 @@ export const ENDPOINTS = [
|
|
|
13647
13947
|
{ 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
13948
|
{ 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
13949
|
{ 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
|
|
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
|
|
13950
|
+
{ 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`." },
|
|
13951
|
+
{ 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
13952
|
],
|
|
13653
13953
|
oneOfGroups: [["keyword", "cid", "place_id"]],
|
|
13654
13954
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -14040,8 +14340,8 @@ export const ENDPOINTS = [
|
|
|
14040
14340
|
{ 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
14341
|
{ 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
14342
|
{ 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
|
|
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
|
|
14343
|
+
{ 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`." },
|
|
14344
|
+
{ 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
14345
|
],
|
|
14046
14346
|
oneOfGroups: [["contributor_id", "url"]],
|
|
14047
14347
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -14080,8 +14380,8 @@ export const ENDPOINTS = [
|
|
|
14080
14380
|
{ name: "cid", type: "string", description: "Google customer id (cid) of the business." },
|
|
14081
14381
|
{ name: "location_name", type: "string", description: "Geographic context as 'City,Region,Country'." },
|
|
14082
14382
|
{ 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
|
|
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
|
|
14383
|
+
{ 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`." },
|
|
14384
|
+
{ 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
14385
|
],
|
|
14086
14386
|
oneOfGroups: [["keyword", "cid"]],
|
|
14087
14387
|
creditTier: "standard",
|
|
@@ -14119,8 +14419,8 @@ export const ENDPOINTS = [
|
|
|
14119
14419
|
{ name: "location_name", type: "string", description: "Geographic context as 'City,Region,Country'." },
|
|
14120
14420
|
{ name: "language_name", type: "string", description: "Result language (default 'English')." },
|
|
14121
14421
|
{ 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
|
|
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
|
|
14422
|
+
{ 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`." },
|
|
14423
|
+
{ 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
14424
|
],
|
|
14125
14425
|
oneOfGroups: [["keyword", "cid", "place_id"]],
|
|
14126
14426
|
creditTier: "advanced",
|
|
@@ -14421,8 +14721,8 @@ export const ENDPOINTS = [
|
|
|
14421
14721
|
{ 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
14722
|
{ 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
14723
|
{ 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
|
|
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
|
|
14724
|
+
{ 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`." },
|
|
14725
|
+
{ 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
14726
|
],
|
|
14427
14727
|
oneOfGroups: [],
|
|
14428
14728
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -14431,7 +14731,7 @@ export const ENDPOINTS = [
|
|
|
14431
14731
|
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
14732
|
archetype: "ReviewList",
|
|
14433
14733
|
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.",
|
|
14734
|
+
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
14735
|
recommended_timeout_s: 45,
|
|
14436
14736
|
budget_ms: 25000,
|
|
14437
14737
|
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 +15046,8 @@ export const ENDPOINTS = [
|
|
|
14746
15046
|
{ 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
15047
|
{ 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
15048
|
{ 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
|
|
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
|
|
15049
|
+
{ 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`." },
|
|
15050
|
+
{ 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
15051
|
],
|
|
14752
15052
|
oneOfGroups: [],
|
|
14753
15053
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -14861,12 +15161,12 @@ export const ENDPOINTS = [
|
|
|
14861
15161
|
{ name: "location_name", type: "string", description: "Google location name (e.g. 'South Korea')." },
|
|
14862
15162
|
{ name: "location_coordinate", type: "string", description: "GPS target as 'latitude,longitude,radius_mm' (e.g. '40.7128,-74.0060,200') for local-news radius queries." },
|
|
14863
15163
|
{ name: "language_code", type: "string", description: "Google language code (e.g. 'en', 'ko'). Default 'en'. Without a location, en and es get the US edition and most other languages their home edition (bn = Bangladesh, ko = South Korea). Region codes such as pt-BR, zh-TW or zh-Hans are accepted and pick that edition.", example: "en" },
|
|
14864
|
-
{ name: "time_range", type: "enum", enumValues: ["hour", "day", "week", "month", "year"], description: "Only return articles published within this window: hour, day, week, month, or year
|
|
14865
|
-
{ 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
|
|
15164
|
+
{ name: "time_range", type: "enum", enumValues: ["hour", "day", "week", "month", "year"], description: "Only return articles published within this window: hour, day, week, month, or year, each counted back from now (day is the last 24 hours, month the last 30 days). Ignored when from/to is present.", example: "day" },
|
|
15165
|
+
{ 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.", example: "bbc.com" },
|
|
14866
15166
|
{ 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
15167
|
{ 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
|
|
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
|
|
15168
|
+
{ 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`." },
|
|
15169
|
+
{ 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
15170
|
],
|
|
14871
15171
|
oneOfGroups: [],
|
|
14872
15172
|
creditTier: "standard",
|
|
@@ -14874,13 +15174,13 @@ export const ENDPOINTS = [
|
|
|
14874
15174
|
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "ladder" },
|
|
14875
15175
|
archetype: "NewsArticleList",
|
|
14876
15176
|
summary: "Search Google News",
|
|
14877
|
-
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
|
|
15177
|
+
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` (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
15178
|
recommended_timeout_s: 38,
|
|
14879
15179
|
budget_ms: 12000,
|
|
14880
|
-
singlePage: "Depth-based fan-out: page size is controlled by depth, one call (no cursor on
|
|
15180
|
+
singlePage: "Depth-based fan-out: page size is controlled by depth, one call (no cursor on any source).",
|
|
14881
15181
|
emptyOn404: true,
|
|
14882
15182
|
cache: { category: "search", ttlSeconds: 300 },
|
|
14883
|
-
upstream: { kind: "
|
|
15183
|
+
upstream: { kind: "hasdata", fallbackKinds: ["dfs-google-news", "rapidapi-gnews"] },
|
|
14884
15184
|
tags: ["google_news"],
|
|
14885
15185
|
related: [
|
|
14886
15186
|
{ id: "web/search", why: "The same data from web." },
|
|
@@ -15002,8 +15302,8 @@ export const ENDPOINTS = [
|
|
|
15002
15302
|
],
|
|
15003
15303
|
optionalParams: [
|
|
15004
15304
|
{ 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
|
|
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
|
|
15305
|
+
{ 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`." },
|
|
15306
|
+
{ 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
15307
|
],
|
|
15008
15308
|
oneOfGroups: [],
|
|
15009
15309
|
creditTier: "standard",
|
|
@@ -15160,7 +15460,7 @@ export const ENDPOINTS = [
|
|
|
15160
15460
|
taxonomy: { purpose: "data_retrieval", job_family: "finance_and_markets", takes_item_id_from_another_endpoint: false },
|
|
15161
15461
|
latency_ms: { p50: 342, p95: 353, p99: 354, n: 2, low_sample: true },
|
|
15162
15462
|
},
|
|
15163
|
-
// --- google_trends (
|
|
15463
|
+
// --- google_trends (4 endpoints) ---
|
|
15164
15464
|
{
|
|
15165
15465
|
platform: "google_trends",
|
|
15166
15466
|
resource: "explore",
|
|
@@ -15169,18 +15469,18 @@ export const ENDPOINTS = [
|
|
|
15169
15469
|
{ 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
15470
|
],
|
|
15171
15471
|
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." },
|
|
15472
|
+
{ 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
15473
|
{ 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
15474
|
{ 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
15475
|
],
|
|
15176
15476
|
oneOfGroups: [],
|
|
15177
|
-
csvConstraints: { "keywords": { max: 5 } },
|
|
15477
|
+
csvConstraints: { "keywords": { max: 5 }, "location": { max: 10 } },
|
|
15178
15478
|
creditTier: "advanced",
|
|
15179
15479
|
creditCost: 5,
|
|
15180
|
-
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "
|
|
15480
|
+
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
15481
|
archetype: "Analytics",
|
|
15182
15482
|
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.",
|
|
15483
|
+
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
15484
|
recommended_timeout_s: 55,
|
|
15185
15485
|
budget_ms: 8000,
|
|
15186
15486
|
cache: { category: "search", ttlSeconds: 120 },
|
|
@@ -15229,6 +15529,38 @@ export const ENDPOINTS = [
|
|
|
15229
15529
|
taxonomy: { purpose: "data_retrieval", job_family: "trends_and_charts", takes_item_id_from_another_endpoint: false },
|
|
15230
15530
|
latency_ms: { p50: 15585, p95: 35030, p99: 40693, n: 167 },
|
|
15231
15531
|
},
|
|
15532
|
+
{
|
|
15533
|
+
platform: "google_trends",
|
|
15534
|
+
resource: "regions",
|
|
15535
|
+
method: "GET",
|
|
15536
|
+
params: [
|
|
15537
|
+
{ 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" },
|
|
15538
|
+
],
|
|
15539
|
+
optionalParams: [
|
|
15540
|
+
{ 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." },
|
|
15541
|
+
{ 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." },
|
|
15542
|
+
{ 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." },
|
|
15543
|
+
{ 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." },
|
|
15544
|
+
],
|
|
15545
|
+
oneOfGroups: [],
|
|
15546
|
+
csvConstraints: { "keywords": { max: 5 } },
|
|
15547
|
+
creditTier: "advanced",
|
|
15548
|
+
creditCost: 5,
|
|
15549
|
+
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
|
|
15550
|
+
archetype: "Analytics",
|
|
15551
|
+
summary: "Get Google Trends interest by region",
|
|
15552
|
+
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.",
|
|
15553
|
+
cache: { category: "search", ttlSeconds: 120 },
|
|
15554
|
+
upstream: { kind: "hasdata" },
|
|
15555
|
+
tags: ["google_trends"],
|
|
15556
|
+
purpose: {
|
|
15557
|
+
summary: "Get Google Trends interest by region",
|
|
15558
|
+
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.",
|
|
15559
|
+
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.",
|
|
15560
|
+
not_for: null,
|
|
15561
|
+
},
|
|
15562
|
+
taxonomy: { purpose: "data_retrieval", job_family: "trends_and_charts", takes_item_id_from_another_endpoint: false },
|
|
15563
|
+
},
|
|
15232
15564
|
{
|
|
15233
15565
|
platform: "google_trends",
|
|
15234
15566
|
resource: "trending",
|
|
@@ -15326,7 +15658,7 @@ export const ENDPOINTS = [
|
|
|
15326
15658
|
{ 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
15659
|
{ 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
15660
|
{ 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
|
|
15661
|
+
{ 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
15662
|
],
|
|
15331
15663
|
oneOfGroups: [],
|
|
15332
15664
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -15341,7 +15673,7 @@ export const ENDPOINTS = [
|
|
|
15341
15673
|
route_budget_ms: 100000,
|
|
15342
15674
|
singlePage: "Depth-based fan-out: page size is controlled by depth, one call.",
|
|
15343
15675
|
cache: { category: "comments", ttlSeconds: 300 },
|
|
15344
|
-
upstream: { kind: "dfs-trustpilot", fallbackKinds: ["apify-trustpilot-reviews"] },
|
|
15676
|
+
upstream: { kind: "dfs-trustpilot", fallbackKinds: ["fetchlayer", "apify-trustpilot-reviews"] },
|
|
15345
15677
|
tags: ["trustpilot"],
|
|
15346
15678
|
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
15679
|
featuredParams: [
|
|
@@ -15498,11 +15830,11 @@ export const ENDPOINTS = [
|
|
|
15498
15830
|
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
15831
|
archetype: "ReviewList",
|
|
15500
15832
|
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.
|
|
15502
|
-
budget_ms:
|
|
15833
|
+
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 page cannot be read in full right now, the call returns a retryable 503 with Retry-After and is refunded, rather than a page with fields missing.",
|
|
15834
|
+
budget_ms: 28000,
|
|
15503
15835
|
pagination: { style: "cursor", nativeParam: "cursor", limitParam: "limit" },
|
|
15504
15836
|
cache: { category: "comments", ttlSeconds: 300 },
|
|
15505
|
-
upstream: { kind: "litescrape", fallbackKinds: ["
|
|
15837
|
+
upstream: { kind: "litescrape", fallbackKinds: ["hasdata"] },
|
|
15506
15838
|
group: "Reviews",
|
|
15507
15839
|
tags: ["yelp"],
|
|
15508
15840
|
judgments: { offParam: "judgments", labels: { param: "label", presets: ["sentiment", "issue", "reports", "incentivized", "injection"], free: ["sentiment", "issue"], metered: ["reports", "incentivized", "injection"], rowsPerCredit: 25, rowPath: "items[].review" } },
|
|
@@ -15516,7 +15848,7 @@ export const ENDPOINTS = [
|
|
|
15516
15848
|
purpose: {
|
|
15517
15849
|
summary: "Get Yelp reviews for a business",
|
|
15518
15850
|
returns: "Returns customer reviews for a Yelp business by encid, alias, or Yelp URL: 10 per page, cursor, owner replies, photos, and language. sort=newest puts the most recent reviews first.",
|
|
15519
|
-
use_when: "Use it to read or monitor a business's reviews, newest first with sort=newest. A Yelp URL
|
|
15851
|
+
use_when: "Use it to read or monitor a business's reviews, newest first with sort=newest. A browser Yelp URL works as url. For every review of many businesses, use POST /v1/prism/reviews/bulk.",
|
|
15520
15852
|
not_for: null,
|
|
15521
15853
|
},
|
|
15522
15854
|
taxonomy: { purpose: "data_retrieval", job_family: "reviews_and_ratings", takes_item_id_from_another_endpoint: false },
|
|
@@ -15612,31 +15944,32 @@ export const ENDPOINTS = [
|
|
|
15612
15944
|
resource: "reviews/bulk",
|
|
15613
15945
|
method: "POST",
|
|
15614
15946
|
params: [
|
|
15615
|
-
{ name: "platform", required: true, description: "The review platform: `yelp`, `tripadvisor`, `app_store` or `google_play`.", example: "yelp" },
|
|
15616
|
-
{ name: "items", required: true, description: "JSON array of 1 to 20,000 businesses. Yelp: business ids, aliases or links, for example la-folie-san-francisco-2. Tripadvisor: place ids or place pages (a url_path or URL that carries -d<id>-), for example 93450. App Store: numeric app ids or apps.apple.com links, for example 324684580. Google Play: package names or play.google.com links, for example com.spotify.music.", example: "[\"la-folie-san-francisco-2\",\"fleur-de-lys-san-francisco\"]" },
|
|
15947
|
+
{ name: "platform", required: true, description: "The review platform: `yelp`, `google_maps`, `tripadvisor`, `app_store` or `google_play`.", example: "yelp" },
|
|
15948
|
+
{ name: "items", required: true, description: "JSON array of 1 to 20,000 businesses. Yelp: business ids, aliases or links, for example la-folie-san-francisco-2. Tripadvisor: place ids or place pages (a url_path or URL that carries -d<id>-), for example 93450. App Store: numeric app ids or apps.apple.com links, for example 324684580. Google Play: package names or play.google.com links, for example com.spotify.music. Google Maps: place_ids, cids, 0x...:0x... feature ids or Google Maps place links, for example ChIJqdNaaBVbwokRLTafYrQlZI8 (GET /v1/google/business/search returns `place.ext.place_id` for every place it finds).", example: "[\"la-folie-san-francisco-2\",\"fleur-de-lys-san-francisco\"]" },
|
|
15617
15949
|
],
|
|
15618
15950
|
optionalParams: [
|
|
15619
15951
|
{ name: "since", type: "string", description: "Only reviews on or after this UTC day, as YYYY-MM-DD.", example: "2024-11-20", in: "body" },
|
|
15620
15952
|
{ name: "until", type: "string", description: "Only reviews on or before this UTC day, as YYYY-MM-DD.", in: "body" },
|
|
15621
|
-
{ 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" },
|
|
15953
|
+
{ 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. Google Maps: one language code, `en` by default; every review of the place is read, and a review written in another language comes back translated, with the original in `ext.google.original_text`. 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
15954
|
{ name: "max_reviews_per_item", type: "integer", description: "Stop each business after this many reviews, 1 to 100,000.", in: "body" },
|
|
15623
15955
|
{ 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" },
|
|
15956
|
+
{ 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" },
|
|
15957
|
+
{ name: "country", type: "string", description: "App Store and Google Play only: the two-letter storefront, such as `gb`; `us` by default.", in: "body" },
|
|
15625
15958
|
{ 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
15959
|
{ 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
15960
|
],
|
|
15628
15961
|
oneOfGroups: [],
|
|
15629
15962
|
creditTier: "standard",
|
|
15630
15963
|
creditCost: 25,
|
|
15631
|
-
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." },
|
|
15964
|
+
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, 20 on Google Maps, 25 on the App Store and 199 on Google Play, so 1,000 Google Maps reviews cost 13 credits. 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
15965
|
archetype: "Analytics",
|
|
15633
15966
|
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
|
|
15967
|
+
description: "Starts a background job (202) that collects the review history of many Yelp businesses (closed ones included), Google Maps places, 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. Google Maps reads every review of a place newest first, up to 5,000 pages of 20 a place (100,000 reviews), each in the same shape as GET /v1/google/business/reviews. The body takes `platform` (`yelp`, `google_maps`, `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; Google Maps place_ids, cids, 0x...:0x... feature ids or Google Maps place links; duplicates are collapsed), and optionally `since` and `until` (YYYY-MM-DD), `languages` (Yelp: `all` by default; Google Play: language codes, `en` by default; Google Maps: one language code, `en` by default, the language each review's text is returned in; 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, Google Maps included; 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
15968
|
execution: "async",
|
|
15636
15969
|
cache: { category: "comments", ttlSeconds: 0 },
|
|
15637
15970
|
upstream: { kind: "litescrape" },
|
|
15638
15971
|
family: "prism",
|
|
15639
|
-
tags: ["prism", "yelp", "tripadvisor", "app_store", "google_play"],
|
|
15972
|
+
tags: ["prism", "yelp", "google", "tripadvisor", "app_store", "google_play"],
|
|
15640
15973
|
featuredParams: [
|
|
15641
15974
|
{ name: "since", benefit: "Returns only posts after this date, so a daily poll pays only for the pages with new posts.", example: "2024-11-20" },
|
|
15642
15975
|
],
|
|
@@ -15693,6 +16026,8 @@ export const ENDPOINTS = [
|
|
|
15693
16026
|
{ name: "cursor", type: "string", description: "Opaque composite cursor from a prior response's `next_cursor` to resume harvesting." },
|
|
15694
16027
|
{ name: "sort", type: "enum", enumValues: ["top", "recent"], description: "`recent` (default: natural order) or `top` (most-liked first, ranked by each comment's like count). With `top`, the response adds `sorted_by: \"likes_desc\"`. On Instagram, `top` returns the platform's own ranked head (`sorted_by: \"popular\"`) rather than a re-sort, and that head is finite: use the default `recent` to harvest a whole Instagram thread.", example: "top" },
|
|
15695
16028
|
{ name: "limit", type: "integer", description: "Cap on how many top-level comments to return after sorting/scanning (1-5000, defaults to `max`). Truncates only the returned set, never what was scanned or billed. The response reports `returned`." },
|
|
16029
|
+
{ name: "since", type: "string", description: "Only comments published on or after this time: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp such as 2026-12-01T09:00:00Z (no offset means UTC). On Instagram (the default `sort=recent`), YouTube, X and LinkedIn the thread is read newest first and the walk stops at the first page that reaches older comments (`window.stopped_at` is `since`), so a recent window reads a page or two. On the other platforms, and with `sort=top`, the thread is read as far as `max` allows and then filtered, and `_warnings` says so. A comment with no published time is kept and counted in `window.undated_kept`.", example: "2026-12-01" },
|
|
16030
|
+
{ name: "until", type: "string", description: "Only comments published on or before this time: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp (a comment published at that instant is kept). Newer comments are left off and the walk reads on toward the window. Must not be earlier than `since`." },
|
|
15696
16031
|
],
|
|
15697
16032
|
oneOfGroups: [],
|
|
15698
16033
|
creditTier: "standard",
|
|
@@ -15700,7 +16035,7 @@ export const ENDPOINTS = [
|
|
|
15700
16035
|
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
16036
|
archetype: "Analytics",
|
|
15702
16037
|
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
|
|
16038
|
+
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. Send `since` and/or `until` (a date or an ISO 8601 timestamp) to keep only the top-level comments published inside that window; each returned comment keeps all of its replies, and `data.window` reports the bounds, whether the thread was read newest first (`ordered`), why the walk ended (`stopped_at` is `since`) and how many comments the window left off. `returned` counts the comments inside the window and `total_fetched` still counts every comment scanned, which is what the bill follows. On Instagram, YouTube, X and LinkedIn the walk stops at the first page older than `since`, so you pay only for the pages down to your window; elsewhere the thread is read up to `max` and filtered. A window with no comment in it returns an empty list and is not charged. 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
16039
|
execution: "sse",
|
|
15705
16040
|
streaming: "accept-header",
|
|
15706
16041
|
recommended_timeout_s: 50,
|
|
@@ -15710,6 +16045,9 @@ export const ENDPOINTS = [
|
|
|
15710
16045
|
upstream: { kind: "prism" },
|
|
15711
16046
|
family: "prism",
|
|
15712
16047
|
tags: ["prism"],
|
|
16048
|
+
featuredParams: [
|
|
16049
|
+
{ name: "since", benefit: "Returns only posts after this date, so a daily poll pays only for the pages with new posts.", example: "2026-12-01" },
|
|
16050
|
+
],
|
|
15713
16051
|
purpose: {
|
|
15714
16052
|
summary: "Every comment on a post, replies nested, server-paginated to completion.",
|
|
15715
16053
|
returns: "Returns every comment on a TikTok, YouTube, Facebook, Reddit, Hacker News, Instagram, X, Threads or LinkedIn post, paged to the end, with replies nested where the platform allows.",
|
|
@@ -16527,7 +16865,7 @@ export const ENDPOINTS = [
|
|
|
16527
16865
|
],
|
|
16528
16866
|
optionalParams: [
|
|
16529
16867
|
{ 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
|
|
16868
|
+
{ 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
16869
|
{ name: "employer", type: "string", description: "Optional current employer of the person, used only as context for the judgment (type=person only)." },
|
|
16532
16870
|
{ name: "location", type: "string", description: "Optional city or country, used only as context for the judgment." },
|
|
16533
16871
|
{ 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 +16874,13 @@ export const ENDPOINTS = [
|
|
|
16536
16874
|
{ 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
16875
|
],
|
|
16538
16876
|
oneOfGroups: [],
|
|
16539
|
-
csvConstraints: { "platforms": { enumValues: ["linkedin", "instagram", "tiktok", "twitter", "threads", "youtube"] } },
|
|
16877
|
+
csvConstraints: { "platforms": { enumValues: ["linkedin", "instagram", "tiktok", "twitter", "threads", "youtube", "facebook"] } },
|
|
16540
16878
|
creditTier: "advanced",
|
|
16541
16879
|
creditCost: 6,
|
|
16542
|
-
pricing: { cost: 6, tier: "advanced", ladderCost: 5, model: "metered", minCost: 2, maxCost:
|
|
16880
|
+
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
16881
|
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
|
|
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.",
|
|
16882
|
+
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.",
|
|
16883
|
+
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
16884
|
execution: "sync",
|
|
16547
16885
|
recommended_timeout_s: 28,
|
|
16548
16886
|
cache: { category: "analytics", ttlSeconds: 1800 },
|
|
@@ -16550,7 +16888,7 @@ export const ENDPOINTS = [
|
|
|
16550
16888
|
family: "prism",
|
|
16551
16889
|
tags: ["prism"],
|
|
16552
16890
|
purpose: {
|
|
16553
|
-
summary: "Turn a person's or a company's name into ranked candidate accounts on Instagram, TikTok, X and LinkedIn (Threads and
|
|
16891
|
+
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
16892
|
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
16893
|
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
16894
|
not_for: null,
|
|
@@ -17111,7 +17449,7 @@ export const ENDPOINTS = [
|
|
|
17111
17449
|
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "metered", minCost: 1, maxCost: 500, description: "1 credit per successful URL on most platforms, 2 on Instagram and 5 on LinkedIn, charged at each URL's own platform rate. Up to 100 URLs per call: the call holds the summed worst case up front (a 100-URL Instagram batch holds 200) and refunds every dead, errored and unsupported URL, so you pay for exactly the rows that returned counts" },
|
|
17112
17450
|
archetype: "Analytics",
|
|
17113
17451
|
summary: "Up to 100 mixed-platform post URLs → current engagement per URL, failed URLs refunded.",
|
|
17114
|
-
description: "Bulk stats refresh for verification loops (clipper payouts). POST a JSON body with a `urls` array (1-100 mixed-platform post links); returns one row per URL: platform, status (ok / not_found / error / unsupported), the unified engagement block (views/likes/comments/shares/saves/reposts), and a server `fetched_at` timestamp: in input order. An Instagram row carries the same counts as `GET /v1/instagram/post/stats`, including the save count and the repost count when Instagram's response includes them (for a save count on every reel, use that endpoint with include=saves), and accepts every Instagram permalink form, including `instagram.com/<handle>/p/<code>/` as returned by `/v1/instagram/profile/posts`. Per-URL isolation: one dead link never fails the batch. Metered per successful URL at that URL's platform rate: 1 credit on most platforms, 2 credits for an Instagram post (5 on the single Instagram post stats endpoint) and 5 for LinkedIn post stats; dead, errored, and unsupported URLs are refunded, so you pay exactly for the counts you got. Never cached (every call reads the live count). Optionally streams Server-Sent Events when the client sends `Accept: text/event-stream`.",
|
|
17452
|
+
description: "Bulk stats refresh for verification loops (clipper payouts). POST a JSON body with a `urls` array (1-100 mixed-platform post links); returns one row per URL: platform, status (ok / not_found / error / unsupported), the unified engagement block (views/likes/comments/shares/saves/reposts), and a server `fetched_at` timestamp: in input order. An Instagram row carries the same counts as `GET /v1/instagram/post/stats`, including the save count and the repost count when Instagram's response includes them (for a save count on every reel, use that endpoint with include=saves), and the same `ext.instagram_views` and `ext.facebook_views` split of a cross-posted reel's views, and accepts every Instagram permalink form, including `instagram.com/<handle>/p/<code>/` as returned by `/v1/instagram/profile/posts`. Per-URL isolation: one dead link never fails the batch. Metered per successful URL at that URL's platform rate: 1 credit on most platforms, 2 credits for an Instagram post (5 on the single Instagram post stats endpoint) and 5 for LinkedIn post stats; dead, errored, and unsupported URLs are refunded, so you pay exactly for the counts you got. Never cached (every call reads the live count). Optionally streams Server-Sent Events when the client sends `Accept: text/event-stream`.",
|
|
17115
17453
|
execution: "sse",
|
|
17116
17454
|
streaming: "accept-header",
|
|
17117
17455
|
recommended_timeout_s: 24,
|
|
@@ -17165,7 +17503,7 @@ export const ENDPOINTS = [
|
|
|
17165
17503
|
{ 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
17504
|
],
|
|
17167
17505
|
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." },
|
|
17506
|
+
{ 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
17507
|
{ 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
17508
|
{ 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
17509
|
{ 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 +17513,10 @@ export const ENDPOINTS = [
|
|
|
17175
17513
|
oneOfGroups: [],
|
|
17176
17514
|
creditTier: "standard",
|
|
17177
17515
|
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" },
|
|
17516
|
+
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
17517
|
archetype: "Analytics",
|
|
17180
17518
|
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`
|
|
17519
|
+
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
17520
|
execution: "sse",
|
|
17183
17521
|
streaming: "accept-header",
|
|
17184
17522
|
recommended_timeout_s: 68,
|
|
@@ -17435,6 +17773,7 @@ export const ENDPOINTS = [
|
|
|
17435
17773
|
{ 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
17774
|
{ name: "depth", type: "string", description: "quick (at most 3 fast platforms, 15 s), standard (default) or deep (background).", example: "quick" },
|
|
17437
17775
|
{ name: "dry_run", type: "string", description: "true answers the plan of searches and the estimate of credits and seconds, free, and starts nothing." },
|
|
17776
|
+
{ name: "plan", type: "string", description: "Dry run only: include (default) or omit, which leaves data.plan out (estimate.by_platform still totals it)." },
|
|
17438
17777
|
{ 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
17778
|
{ name: "exclude_country", type: "string", description: "ISO 3166 codes: drop rows from these countries." },
|
|
17440
17779
|
{ 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 +17797,7 @@ export const ENDPOINTS = [
|
|
|
17458
17797
|
{ 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
17798
|
{ name: "relevance", type: "string", description: "filter (default: drop off-topic rows), score (keep every row with its score) or off." },
|
|
17460
17799
|
{ 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)." },
|
|
17800
|
+
{ 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
17801
|
{ name: "role", type: "string", description: "Accounts only: keep accounts of these roles (seller, reseller, buyer, warner, reviewer, promoter, other); adds the role judgment." },
|
|
17463
17802
|
{ name: "intent", type: "string", description: "Keep only rows with these intents: switching, complaint, recommendation, question, purchase_intent or selling (implies label=intent)." },
|
|
17464
17803
|
{ 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 +17900,7 @@ export const ENDPOINTS = [
|
|
|
17561
17900
|
{ name: "limit", type: "string", description: "Kept rows returned per group (default 500 on a background run)." },
|
|
17562
17901
|
{ name: "depth", type: "string", description: "quick (at most 3 fast platforms, 15 s, no expansion), standard (default) or deep (background)." },
|
|
17563
17902
|
{ name: "dry_run", type: "string", description: "true answers the plan and the estimate, free, and starts nothing." },
|
|
17903
|
+
{ name: "plan", type: "string", description: "Dry run only: include (default) or omit, which leaves data.plan out (estimate.by_platform still totals it)." },
|
|
17564
17904
|
{ 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
17905
|
{ name: "exclude_country", type: "string", description: "ISO 3166 codes: drop rows from these countries." },
|
|
17566
17906
|
{ 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 +17924,7 @@ export const ENDPOINTS = [
|
|
|
17584
17924
|
{ 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
17925
|
{ name: "relevance", type: "string", description: "filter (default: drop off-topic rows), score (keep every row with its score) or off." },
|
|
17586
17926
|
{ 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)." },
|
|
17927
|
+
{ 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
17928
|
{ name: "role", type: "string", description: "Accounts only: keep accounts of these roles (seller, reseller, buyer, warner, reviewer, promoter, other); adds the role judgment." },
|
|
17589
17929
|
{ name: "intent", type: "string", description: "Keep only rows with these intents: switching, complaint, recommendation, question, purchase_intent or selling (implies label=intent)." },
|
|
17590
17930
|
{ 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 +17970,7 @@ export const ENDPOINTS = [
|
|
|
17630
17970
|
{ name: "walk_urls", type: "string", description: "With search_in.web=walk: pages walked per site and keyword, 1 to 500 (default 50)." },
|
|
17631
17971
|
{ name: "pages_per_platform", type: "string", description: "Pages per search, 1 (default) to 10; above 3 the run continues in the background." },
|
|
17632
17972
|
{ 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." },
|
|
17973
|
+
{ 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
17974
|
{ name: "retention_days", type: "string", description: "Days the run and its rows stay readable, 1 to 30 (default 30)." },
|
|
17634
17975
|
{ 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
17976
|
{ name: "fresh", type: "string", description: "true bypasses cached search pages, at full price." },
|
|
@@ -18336,7 +18677,7 @@ export const ENDPOINTS = [
|
|
|
18336
18677
|
{ 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
18678
|
{ 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
18679
|
{ 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
|
|
18680
|
+
{ 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
18681
|
],
|
|
18341
18682
|
oneOfGroups: [],
|
|
18342
18683
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -18681,7 +19022,7 @@ export const ENDPOINTS = [
|
|
|
18681
19022
|
{ 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
19023
|
{ 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
19024
|
{ 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
|
|
19025
|
+
{ 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
19026
|
],
|
|
18686
19027
|
oneOfGroups: [],
|
|
18687
19028
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -18946,7 +19287,7 @@ export const ENDPOINTS = [
|
|
|
18946
19287
|
{ 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
19288
|
{ 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
19289
|
{ 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
|
|
19290
|
+
{ 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
19291
|
],
|
|
18951
19292
|
oneOfGroups: [],
|
|
18952
19293
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -19219,8 +19560,8 @@ export const ENDPOINTS = [
|
|
|
19219
19560
|
{ 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
19561
|
{ 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
19562
|
{ 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
|
|
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
|
|
19563
|
+
{ 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`." },
|
|
19564
|
+
{ 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
19565
|
],
|
|
19225
19566
|
oneOfGroups: [],
|
|
19226
19567
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -19341,8 +19682,8 @@ export const ENDPOINTS = [
|
|
|
19341
19682
|
{ 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
19683
|
{ 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
19684
|
{ 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
|
|
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
|
|
19685
|
+
{ 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`." },
|
|
19686
|
+
{ 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
19687
|
],
|
|
19347
19688
|
oneOfGroups: [],
|
|
19348
19689
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -19455,8 +19796,8 @@ export const ENDPOINTS = [
|
|
|
19455
19796
|
{ 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
19797
|
{ 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
19798
|
{ 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
|
|
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
|
|
19799
|
+
{ 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`." },
|
|
19800
|
+
{ 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
19801
|
],
|
|
19461
19802
|
oneOfGroups: [],
|
|
19462
19803
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -20126,8 +20467,8 @@ export const ENDPOINTS = [
|
|
|
20126
20467
|
{ 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
20468
|
{ 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
20469
|
{ 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
|
|
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
|
|
20470
|
+
{ 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`." },
|
|
20471
|
+
{ 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
20472
|
],
|
|
20132
20473
|
oneOfGroups: [],
|
|
20133
20474
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -23604,8 +23945,8 @@ export const ENDPOINTS = [
|
|
|
23604
23945
|
optionalParams: [
|
|
23605
23946
|
{ name: "id", type: "string", description: "HN story id (the numeric `objectID`). Send id or url.", example: "8863" },
|
|
23606
23947
|
{ 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
|
|
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
|
|
23948
|
+
{ 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`." },
|
|
23949
|
+
{ 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
23950
|
],
|
|
23610
23951
|
oneOfGroups: [["id", "url"]],
|
|
23611
23952
|
creditTier: "standard",
|
|
@@ -23672,8 +24013,8 @@ export const ENDPOINTS = [
|
|
|
23672
24013
|
optionalParams: [
|
|
23673
24014
|
{ name: "time", type: "enum", enumValues: ["all", "hour", "day", "week", "month", "year"], description: "Recency window: all, hour, day, week, month, or year. Default all." },
|
|
23674
24015
|
{ 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
|
|
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
|
|
24016
|
+
{ 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`." },
|
|
24017
|
+
{ 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
24018
|
],
|
|
23678
24019
|
oneOfGroups: [],
|
|
23679
24020
|
creditTier: "advanced",
|
|
@@ -23683,7 +24024,7 @@ export const ENDPOINTS = [
|
|
|
23683
24024
|
summary: "Search Quora questions",
|
|
23684
24025
|
description: "Returns Quora questions matching a keyword: title, URL, answer count, follower count, and publish time. Filter by recency with time. For written answers to a topic call GET /v1/quora/answers with the same query.",
|
|
23685
24026
|
recommended_timeout_s: 16,
|
|
23686
|
-
budget_ms:
|
|
24027
|
+
budget_ms: 28000,
|
|
23687
24028
|
singlePage: "Upstream has no cursor. maxItemsPerQuery is a cap, probed 2026-09-01: limit=1 and limit=10 honoured, no page token in the schema or body.",
|
|
23688
24029
|
emptyOn404: true,
|
|
23689
24030
|
cache: { category: "search", ttlSeconds: 120 },
|
|
@@ -23719,7 +24060,7 @@ export const ENDPOINTS = [
|
|
|
23719
24060
|
archetype: "Post",
|
|
23720
24061
|
summary: "Get a Quora question",
|
|
23721
24062
|
description: "Returns one Quora question from its URL: title, body text, and published date. Quora questions rarely have a separate body; content.text is the title. For written answers call GET /v1/quora/answers with a keyword.",
|
|
23722
|
-
budget_ms:
|
|
24063
|
+
budget_ms: 28000,
|
|
23723
24064
|
cache: { category: "post", ttlSeconds: 600 },
|
|
23724
24065
|
upstream: { kind: "apify-quora" },
|
|
23725
24066
|
group: "Posts",
|
|
@@ -23748,8 +24089,8 @@ export const ENDPOINTS = [
|
|
|
23748
24089
|
optionalParams: [
|
|
23749
24090
|
{ name: "time", type: "enum", enumValues: ["all", "hour", "day", "week", "month", "year"], description: "Recency window: all, hour, day, week, month, or year. Default all." },
|
|
23750
24091
|
{ 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
|
|
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
|
|
24092
|
+
{ 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`." },
|
|
24093
|
+
{ 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
24094
|
],
|
|
23754
24095
|
oneOfGroups: [],
|
|
23755
24096
|
creditTier: "advanced",
|
|
@@ -23758,7 +24099,7 @@ export const ENDPOINTS = [
|
|
|
23758
24099
|
archetype: "PostList",
|
|
23759
24100
|
summary: "Search Quora answers",
|
|
23760
24101
|
description: "Returns Quora answers matching a keyword, including the answer text, author name and credential, upvotes, views, and the parent question title.",
|
|
23761
|
-
budget_ms:
|
|
24102
|
+
budget_ms: 28000,
|
|
23762
24103
|
singlePage: "Upstream has no cursor. maxItemsPerQuery is a cap, probed 2026-09-01: limit=1 and limit=10 honoured, no page token in the schema or body.",
|
|
23763
24104
|
emptyOn404: true,
|
|
23764
24105
|
cache: { category: "search", ttlSeconds: 120 },
|
|
@@ -23788,8 +24129,8 @@ export const ENDPOINTS = [
|
|
|
23788
24129
|
optionalParams: [
|
|
23789
24130
|
{ name: "time", type: "enum", enumValues: ["all", "hour", "day", "week", "month", "year"], description: "Recency window: all, hour, day, week, month, or year. Default all." },
|
|
23790
24131
|
{ 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
|
|
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
|
|
24132
|
+
{ 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`." },
|
|
24133
|
+
{ 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
24134
|
],
|
|
23794
24135
|
oneOfGroups: [],
|
|
23795
24136
|
creditTier: "advanced",
|
|
@@ -23798,7 +24139,7 @@ export const ENDPOINTS = [
|
|
|
23798
24139
|
archetype: "PostList",
|
|
23799
24140
|
summary: "Search Quora space posts",
|
|
23800
24141
|
description: "Returns posts from Quora Spaces matching a keyword: URL, author, upvotes, comments, and publish time. Post body text is often absent from this search surface.",
|
|
23801
|
-
budget_ms:
|
|
24142
|
+
budget_ms: 43000,
|
|
23802
24143
|
singlePage: "Upstream has no cursor. maxItemsPerQuery is a cap, probed 2026-09-01: limit=1 and limit=10 honoured, no page token in the schema or body.",
|
|
23803
24144
|
emptyOn404: true,
|
|
23804
24145
|
cache: { category: "search", ttlSeconds: 120 },
|
|
@@ -23833,7 +24174,7 @@ export const ENDPOINTS = [
|
|
|
23833
24174
|
archetype: "AuthorList",
|
|
23834
24175
|
summary: "Search Quora profiles",
|
|
23835
24176
|
description: "Returns Quora profiles matching a keyword: display name, profile URL, credential, follower count, and avatar.",
|
|
23836
|
-
budget_ms:
|
|
24177
|
+
budget_ms: 43000,
|
|
23837
24178
|
singlePage: "Upstream has no cursor. maxItemsPerQuery is a cap, probed 2026-09-01: limit=1 and limit=10 honoured, no page token in the schema or body.",
|
|
23838
24179
|
emptyOn404: true,
|
|
23839
24180
|
cache: { category: "search", ttlSeconds: 120 },
|
|
@@ -23870,8 +24211,8 @@ export const ENDPOINTS = [
|
|
|
23870
24211
|
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "ladder" },
|
|
23871
24212
|
archetype: "SearchResult",
|
|
23872
24213
|
summary: "Search Quora Spaces",
|
|
23873
|
-
description: "Returns Quora Spaces matching a keyword: name, URL, description,
|
|
23874
|
-
budget_ms:
|
|
24214
|
+
description: "Returns Quora Spaces matching a keyword: name, URL, description, follower count, and icon. Row shape follows the space search record.",
|
|
24215
|
+
budget_ms: 43000,
|
|
23875
24216
|
singlePage: "Upstream has no cursor. maxItemsPerQuery is a cap, probed 2026-09-01: limit=1 and limit=10 honoured, no page token in the schema or body.",
|
|
23876
24217
|
emptyOn404: true,
|
|
23877
24218
|
cache: { category: "search", ttlSeconds: 120 },
|
|
@@ -23906,7 +24247,7 @@ export const ENDPOINTS = [
|
|
|
23906
24247
|
archetype: "SearchResult",
|
|
23907
24248
|
summary: "Search Quora topics",
|
|
23908
24249
|
description: "Returns Quora topics matching a keyword: name, URL, follower count, and topic photo.",
|
|
23909
|
-
budget_ms:
|
|
24250
|
+
budget_ms: 43000,
|
|
23910
24251
|
singlePage: "Upstream has no cursor. maxItemsPerQuery is a cap, probed 2026-09-01: limit=1 and limit=10 honoured, no page token in the schema or body.",
|
|
23911
24252
|
emptyOn404: true,
|
|
23912
24253
|
cache: { category: "search", ttlSeconds: 120 },
|
|
@@ -23936,8 +24277,8 @@ export const ENDPOINTS = [
|
|
|
23936
24277
|
{ name: "sort", type: "enum", enumValues: ["relevance", "most_liked", "latest"], description: "Result ordering: relevance, most_liked, or latest. Default relevance." },
|
|
23937
24278
|
{ name: "published", type: "enum", enumValues: ["all", "day", "week", "half_year"], description: "Recency window: all, day, week, or half_year. Default all." },
|
|
23938
24279
|
{ 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
|
|
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
|
|
24280
|
+
{ 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`." },
|
|
24281
|
+
{ 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
24282
|
],
|
|
23942
24283
|
oneOfGroups: [],
|
|
23943
24284
|
creditTier: "advanced",
|
|
@@ -24016,8 +24357,8 @@ export const ENDPOINTS = [
|
|
|
24016
24357
|
{ 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
24358
|
{ 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
24359
|
{ 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
|
|
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
|
|
24360
|
+
{ 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`." },
|
|
24361
|
+
{ 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
24362
|
],
|
|
24022
24363
|
oneOfGroups: [["handle", "url", "id"]],
|
|
24023
24364
|
creditTier: "advanced",
|
|
@@ -24090,8 +24431,8 @@ export const ENDPOINTS = [
|
|
|
24090
24431
|
],
|
|
24091
24432
|
optionalParams: [
|
|
24092
24433
|
{ 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
|
|
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
|
|
24434
|
+
{ 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`." },
|
|
24435
|
+
{ 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
24436
|
],
|
|
24096
24437
|
oneOfGroups: [],
|
|
24097
24438
|
creditTier: "standard",
|
|
@@ -25316,16 +25657,17 @@ export const ENDPOINTS = [
|
|
|
25316
25657
|
{ name: "group_name", type: "string", description: "Label for the `keywords` series in the response. Defaults to the first keyword. Not used with `groups`." },
|
|
25317
25658
|
{ name: "device", type: "enum", enumValues: ["pc", "mo"], description: "Restrict to `pc` or `mo` (mobile). Omit for both." },
|
|
25318
25659
|
{ 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
|
|
25660
|
+
{ 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." },
|
|
25661
|
+
{ 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
25662
|
],
|
|
25321
25663
|
oneOfGroups: [["keywords", "groups"]],
|
|
25322
25664
|
csvConstraints: { "keywords": { max: 20 }, "ages": { enumValues: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"] } },
|
|
25323
25665
|
creditTier: "advanced",
|
|
25324
25666
|
creditCost: 5,
|
|
25325
|
-
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "
|
|
25667
|
+
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
25668
|
archetype: "Analytics",
|
|
25327
25669
|
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.",
|
|
25670
|
+
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
25671
|
recommended_timeout_s: 10,
|
|
25330
25672
|
cache: { category: "analytics", ttlSeconds: 1800 },
|
|
25331
25673
|
upstream: { kind: "naver-datalab" },
|
|
@@ -25381,7 +25723,7 @@ export const ENDPOINTS = [
|
|
|
25381
25723
|
method: "GET",
|
|
25382
25724
|
params: [
|
|
25383
25725
|
{ 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.
|
|
25726
|
+
{ 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
25727
|
],
|
|
25386
25728
|
optionalParams: [
|
|
25387
25729
|
{ 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 +25732,16 @@ export const ENDPOINTS = [
|
|
|
25390
25732
|
{ name: "device", type: "enum", enumValues: ["pc", "mo"], description: "Restrict to `pc` or `mo` (mobile). Omit for both." },
|
|
25391
25733
|
{ name: "gender", type: "enum", enumValues: ["f", "m"], description: "Restrict to `f` or `m`. Omit for both." },
|
|
25392
25734
|
{ 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
|
|
25735
|
+
{ 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
25736
|
],
|
|
25395
25737
|
oneOfGroups: [],
|
|
25396
25738
|
csvConstraints: { "category_code": { max: 1 }, "keyword": { max: 5 }, "ages": { enumValues: ["10", "20", "30", "40", "50", "60"] } },
|
|
25397
25739
|
creditTier: "advanced",
|
|
25398
25740
|
creditCost: 5,
|
|
25399
|
-
pricing: { cost: 5, tier: "advanced", ladderCost: 5, model: "
|
|
25741
|
+
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
25742
|
archetype: "Analytics",
|
|
25401
25743
|
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
|
|
25744
|
+
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
25745
|
cache: { category: "analytics", ttlSeconds: 1800 },
|
|
25404
25746
|
upstream: { kind: "naver-datalab" },
|
|
25405
25747
|
tags: ["naver"],
|
|
@@ -25540,7 +25882,7 @@ export const ENDPOINTS = [
|
|
|
25540
25882
|
{ 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
25883
|
{ 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
25884
|
{ 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
|
|
25885
|
+
{ 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
25886
|
],
|
|
25545
25887
|
oneOfGroups: [["id", "url"]],
|
|
25546
25888
|
csvConstraints: { "label": { max: 5, enumValues: ["sentiment", "issue", "reports", "incentivized", "injection", "none"] } },
|
|
@@ -25849,8 +26191,8 @@ export const ENDPOINTS = [
|
|
|
25849
26191
|
{ name: "url", required: true, description: "Rumble video URL.", example: "https://rumble.com/v792vns-example.html" },
|
|
25850
26192
|
],
|
|
25851
26193
|
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
|
|
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
|
|
26194
|
+
{ 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`." },
|
|
26195
|
+
{ 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
26196
|
],
|
|
25855
26197
|
oneOfGroups: [],
|
|
25856
26198
|
creditTier: "standard",
|
|
@@ -25971,8 +26313,9 @@ export const ENDPOINTS = [
|
|
|
25971
26313
|
summary: "Get a Bluesky post",
|
|
25972
26314
|
description: "Returns a single Bluesky post: record text, author info, embeds, replyCount, repostCount, likeCount, quoteCount, and a threaded `replies` array.",
|
|
25973
26315
|
recommended_timeout_s: 21,
|
|
26316
|
+
budget_ms: 8000,
|
|
25974
26317
|
cache: { category: "post", ttlSeconds: 600 },
|
|
25975
|
-
upstream: { kind: "scrapecreators" },
|
|
26318
|
+
upstream: { kind: "bluesky-appview", fallbackKinds: ["scrapecreators"] },
|
|
25976
26319
|
tags: ["bluesky"],
|
|
25977
26320
|
related: [
|
|
25978
26321
|
{ id: "tiktok/post", why: "The same data from tiktok." },
|
|
@@ -26441,8 +26784,8 @@ export const ENDPOINTS = [
|
|
|
26441
26784
|
{ 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
26785
|
{ name: "type", type: "enum", enumValues: ["songs", "albums", "music-videos", "playlists"], description: "Which chart: `songs` (the default), `albums`, `music-videos` or `playlists`.", example: "songs" },
|
|
26443
26786
|
{ 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
|
|
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
|
|
26787
|
+
{ 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`." },
|
|
26788
|
+
{ 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
26789
|
],
|
|
26447
26790
|
oneOfGroups: [],
|
|
26448
26791
|
creditTier: "standard",
|
|
@@ -27570,13 +27913,13 @@ export const ENDPOINTS = [
|
|
|
27570
27913
|
pricing: { cost: 10, tier: "premium", ladderCost: 10, model: "ladder" },
|
|
27571
27914
|
archetype: "JobList",
|
|
27572
27915
|
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.",
|
|
27916
|
+
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
27917
|
recommended_timeout_s: 10,
|
|
27575
27918
|
budget_ms: 20000,
|
|
27576
27919
|
pagination: { style: "cursor", nativeParam: "cursor" },
|
|
27577
27920
|
emptyOn404: true,
|
|
27578
27921
|
cache: { category: "search", ttlSeconds: 120 },
|
|
27579
|
-
upstream: { kind: "rapidapi-jobs" },
|
|
27922
|
+
upstream: { kind: "rapidapi-jobs", fallbackKinds: ["litescrape"] },
|
|
27580
27923
|
group: "Jobs",
|
|
27581
27924
|
tags: ["jobs"],
|
|
27582
27925
|
featuredParams: [
|
|
@@ -28856,8 +29199,8 @@ export const ENDPOINTS = [
|
|
|
28856
29199
|
optionalParams: [
|
|
28857
29200
|
{ 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
29201
|
{ 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
|
|
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
|
|
29202
|
+
{ 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`." },
|
|
29203
|
+
{ 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
29204
|
],
|
|
28862
29205
|
oneOfGroups: [],
|
|
28863
29206
|
creditTier: "standard",
|
|
@@ -31848,7 +32191,7 @@ export const ENDPOINTS = [
|
|
|
31848
32191
|
taxonomy: { purpose: "data_retrieval", job_family: "engagement_thread", takes_item_id_from_another_endpoint: false },
|
|
31849
32192
|
latency_ms: { p50: 5516, p95: 11490, p99: 13658, n: 9, low_sample: true },
|
|
31850
32193
|
},
|
|
31851
|
-
// --- economy (
|
|
32194
|
+
// --- economy (9 endpoints) ---
|
|
31852
32195
|
{
|
|
31853
32196
|
platform: "economy",
|
|
31854
32197
|
resource: "consumer-spend",
|
|
@@ -31999,6 +32342,145 @@ export const ENDPOINTS = [
|
|
|
31999
32342
|
taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
|
|
32000
32343
|
latency_ms: { p50: 773, p95: 795, p99: 797, n: 2, low_sample: true },
|
|
32001
32344
|
},
|
|
32345
|
+
{
|
|
32346
|
+
platform: "economy",
|
|
32347
|
+
resource: "tenders",
|
|
32348
|
+
method: "GET",
|
|
32349
|
+
params: [],
|
|
32350
|
+
optionalParams: [
|
|
32351
|
+
{ name: "status", type: "enum", enumValues: ["open", "all"], description: "`open` (default) is notices whose deadline is today or later. `all` is the whole archive, newest first, including contract awards and procurement plans, which have no deadline." },
|
|
32352
|
+
{ name: "country", type: "string", description: "Two-letter ISO country codes, comma-separated, up to 20, for example `LB` or `LB,KE,UZ`. Matches the country of the project. Regional projects (for example Eastern and Southern Africa) match only without a country filter.", example: "LB,KE" },
|
|
32353
|
+
{ name: "keyword", type: "string", description: "Words searched in the whole notice, 2 to 120 characters, for example `water supply` or `audit`." },
|
|
32354
|
+
{ name: "type", type: "string", description: "One or more notice types, comma-separated: `expression_of_interest`, `bid`, `prequalification`, `procurement_plan` or `award`. Defaults to the first three, the ones that take responses. `procurement_plan` and `award` have no deadline, so they need `status=all`." },
|
|
32355
|
+
{ name: "category", type: "string", description: "One or more categories, comma-separated: `consulting`, `goods`, `works` or `non_consulting`." },
|
|
32356
|
+
{ name: "submission", type: "enum", enumValues: ["email", "any"], description: "`email` keeps only notices that take responses by email and name no portal or e-procurement system. `any` (default) keeps every notice. Works with `status=open`.", example: "email" },
|
|
32357
|
+
{ name: "sort", type: "enum", enumValues: ["newest", "deadline"], description: "`newest` (default) is the latest published first. `deadline` is the soonest deadline first, and works with `status=open`." },
|
|
32358
|
+
{ name: "limit", type: "integer", minimum: 1, maximum: 100, description: "Notices per page, 1 to 100. Defaults to 25.", example: "10" },
|
|
32359
|
+
{ name: "page", type: "integer", minimum: 1, description: "Page number, starting at 1. With `status=all` the archive can be paged through its first 100,000 notices; a deeper page is a refunded 400, so narrow the filters. The universal `cursor` returned in `pagination.next_cursor` is the simpler way to continue." },
|
|
32360
|
+
{ name: "max_pages", type: "integer", minimum: 1, maximum: 50, description: "1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). Walk up to this many pages in one call and return the rows from all of them. Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`, and carry this call's own request id as `walk_request_id`, so `GET /v1/credits/transactions?request_id=` with this call's id returns every page's rows. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped." },
|
|
32361
|
+
{ name: "max_items", type: "integer", minimum: 1, maximum: 5000, description: "1 to 5000. Get more in one call: keep walking pages until the response holds at least this many rows, then stop with `data.walk.stopped: \"max_items\"`. The last page is returned whole (it was billed), so `data.items` can hold up to one page more than this, and `pagination.next_cursor` resumes right after it without skipping a row. Walks up to 50 pages unless `max_pages` says fewer; each page is billed as one call (a cached page is free). Add `max_credits` to cap the spend. A long walk can stop on the time budget first (`\"time_budget\"`): send the returned cursor with the same params to continue." },
|
|
32362
|
+
{ name: "max_credits", type: "integer", minimum: 1, maximum: 100000, description: "1 to 100000. The most this call may spend, across every page it walks. A page starts only while the credits already spent plus that page's price (or, when higher, the most any page of this walk has cost) still fit, so the call never goes past it; the walk then stops with `data.walk.stopped: \"max_credits\"` and the cursor to resume. Sent alone, it walks as far as the budget goes (up to 50 pages). A value below the price of one page is a free 400 whose `error.details.page_credits` names that price. Credits a row join (`include=`) adds are known only once a page has run, so page 1 is checked against its own price." },
|
|
32363
|
+
],
|
|
32364
|
+
oneOfGroups: [],
|
|
32365
|
+
creditTier: "standard",
|
|
32366
|
+
creditCost: 1,
|
|
32367
|
+
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "ladder" },
|
|
32368
|
+
archetype: "SearchResult",
|
|
32369
|
+
summary: "Search open World Bank tenders, with the email address and subject line to send a bid to",
|
|
32370
|
+
description: "Searches procurement notices for projects financed by the World Bank: requests for expressions of interest, invitations for bids and prequalification, published by the government agency running each project in more than 100 countries. By default it returns the notices still open (deadline today or later), newest first. Each notice is read for you: `submission.methods` says whether it takes responses by `email`, through a `portal`, or `in_person`, `submission.email` is the address to send to (with `cc` for any address to copy), `submission.subject_line` is the subject the buyer asks for when the notice sets one, and `submission.instructions` is the sentence it came from, so you can check it. Send `submission=email` to keep only notices that take email and name no portal or e-procurement system. Narrow with `country` (two-letter codes, comma-separated), `keyword` (searched in the full notice), `type` and `category`. `sort=deadline` puts the soonest deadline first. `status=all` searches the whole archive (more than 400,000 notices), newest first, including contract awards: an award notice carries `award` with the winning firms, the signed contract price and the other firms evaluated. Results come back under `data.items[]`, each with `id`, `title`, `buyer` (organization, contact, email, phone), `deadline`, `days_left`, `project`, `submission` and `text`. `text` is the notice as plain text, up to 20,000 characters (`text_truncated` says when it was cut; `economy/tender` returns it whole). `days_left` is whole days to the deadline, 0 on the closing day. `data.total` is the exact number of matches. Paginate with `page` or the universal `cursor`. No match is a 200 with an empty `items` and is not billed. To get new matches every day, create a Monitor on this endpoint with `track.row_key` set to `id` and `webhook_rows: \"new\"`.",
|
|
32371
|
+
budget_ms: 25000,
|
|
32372
|
+
pagination: { style: "page", nativeParam: "page", limitParam: "limit" },
|
|
32373
|
+
cache: { category: "search", ttlSeconds: 3600 },
|
|
32374
|
+
upstream: { kind: "worldbank" },
|
|
32375
|
+
tags: ["economy"],
|
|
32376
|
+
featuredParams: [
|
|
32377
|
+
{ name: "country", benefit: "Results for one country.", example: "LB,KE" },
|
|
32378
|
+
],
|
|
32379
|
+
responseShape: { root: "data.items[]" },
|
|
32380
|
+
purpose: {
|
|
32381
|
+
summary: "Search open World Bank tenders, with the email address and subject line to send a bid to",
|
|
32382
|
+
returns: "Returns open World Bank tenders with the buyer, deadline and notice text, plus how to submit (email, portal or in person), the address to send to and the subject line the buyer asks for.",
|
|
32383
|
+
use_when: "Use it to find buyers in a country or sector that take pitches by email, or schedule it as a daily Monitor to receive each new notice once.",
|
|
32384
|
+
not_for: null,
|
|
32385
|
+
},
|
|
32386
|
+
taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
|
|
32387
|
+
},
|
|
32388
|
+
{
|
|
32389
|
+
platform: "economy",
|
|
32390
|
+
resource: "tender",
|
|
32391
|
+
method: "GET",
|
|
32392
|
+
params: [
|
|
32393
|
+
{ name: "id", required: true, description: "The notice id, `OP` followed by digits, for example `OP00484703`.", example: "OP00484703" },
|
|
32394
|
+
],
|
|
32395
|
+
optionalParams: [],
|
|
32396
|
+
oneOfGroups: [],
|
|
32397
|
+
creditTier: "standard",
|
|
32398
|
+
creditCost: 1,
|
|
32399
|
+
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "ladder" },
|
|
32400
|
+
archetype: "Analytics",
|
|
32401
|
+
summary: "Get one World Bank tender with its full text, submission email and subject line",
|
|
32402
|
+
description: "Returns one World Bank procurement notice by its id (`OP` followed by digits, as in `economy/tenders` results and on the notice page). The response is one object, the same shape as an `economy/tenders` row, with the whole notice as plain text in `text`. `submission` says how the buyer wants responses sent, the address and the subject line, read from the notice. A contract award also carries `award`: `{ awarded_on, duration, winners: [{ name, country }], contract_price: { currency, amount }, other_bidders: [{ name, country, evaluated_price }] }`. An id that does not exist returns 404 and is not billed.",
|
|
32403
|
+
budget_ms: 15000,
|
|
32404
|
+
cache: { category: "analytics", ttlSeconds: 3600 },
|
|
32405
|
+
upstream: { kind: "worldbank" },
|
|
32406
|
+
tags: ["economy"],
|
|
32407
|
+
purpose: {
|
|
32408
|
+
summary: "Get one World Bank tender with its full text, submission email and subject line",
|
|
32409
|
+
returns: "Returns one World Bank procurement notice by id with its full text, the buyer and contact, the deadline, how to submit and, for a contract award, the winning firms and the signed price.",
|
|
32410
|
+
use_when: "Use it to read the whole notice behind an economy/tenders result, or to see who won an awarded contract and for how much.",
|
|
32411
|
+
not_for: null,
|
|
32412
|
+
},
|
|
32413
|
+
taxonomy: { purpose: "data_retrieval", job_family: "content_item_detail", takes_item_id_from_another_endpoint: true },
|
|
32414
|
+
},
|
|
32415
|
+
{
|
|
32416
|
+
platform: "economy",
|
|
32417
|
+
resource: "us-tenders",
|
|
32418
|
+
method: "GET",
|
|
32419
|
+
params: [],
|
|
32420
|
+
optionalParams: [
|
|
32421
|
+
{ name: "keyword", type: "string", description: "Words searched in the notice, 2 to 120 characters; every word must appear, for example `janitorial` or `waste management`." },
|
|
32422
|
+
{ name: "type", type: "string", description: "One or more notice types, comma-separated: `solicitation`, `combined`, `presolicitation`, `sources_sought`, `special_notice`, or `all`. Defaults to `solicitation,combined`, the ones that take bids now. `sources_sought` notices ask firms to send a capability statement, often by email." },
|
|
32423
|
+
{ name: "naics", type: "string", description: "NAICS industry codes or prefixes of 2 to 6 digits, comma-separated, up to 20, for example `5415` (computer systems design) or `541511,561720`." },
|
|
32424
|
+
{ name: "psc", type: "string", description: "Product and service codes or prefixes of 1 to 4 characters, comma-separated, up to 20, for example `R4` or `R425,D302`." },
|
|
32425
|
+
{ name: "set_aside", type: "string", description: "Small-business programs, comma-separated: `small_business`, `8a`, `hubzone`, `sdvosb`, `wosb`, `edwosb`, `veteran`, `indian_enterprise`. Each covers the set-aside and the sole-source codes of that program." },
|
|
32426
|
+
{ name: "state", type: "string", description: "Two-letter US state codes for the place of performance, comma-separated, up to 20, for example `VA` or `VA,MD,DC`." },
|
|
32427
|
+
{ name: "posted_within", type: "integer", minimum: 1, maximum: 365, description: "Only notices posted or amended in the last N days, 1 to 365. `1` is the daily feed.", example: "3" },
|
|
32428
|
+
{ name: "closing_within", type: "integer", minimum: 1, maximum: 365, description: "Only notices whose response deadline is within the next N days, 1 to 365." },
|
|
32429
|
+
{ name: "submission", type: "enum", enumValues: ["email", "any"], description: "`email` keeps only notices that take responses by email and name no portal. Each page then reads the next `limit` notices and returns the ones that take email. `any` (default) keeps every notice.", example: "email" },
|
|
32430
|
+
{ name: "limit", type: "integer", minimum: 1, maximum: 200, description: "Notices per page, 1 to 50, default 25. With `submission=email` it is how many notices each page reads, 1 to 200, default 200.", example: "100" },
|
|
32431
|
+
{ name: "page", type: "integer", minimum: 1, description: "Page number, starting at 1. SAM.gov's search reaches the first 10,000 notices of a search; a deeper page is a refunded 400, so narrow the filters. The universal `cursor` returned in `pagination.next_cursor` is the simpler way to continue." },
|
|
32432
|
+
{ name: "max_pages", type: "integer", minimum: 1, maximum: 50, description: "1 to 50 (default 1, or 50 when `max_items` or `max_credits` is sent). Walk up to this many pages in one call and return the rows from all of them. Each page walked is billed exactly as one call to this endpoint (a cached page is free) and counts against your rate limit; its charge and any refund are recorded under the page's own request id, listed in `data.walk.request_ids`, and carry this call's own request id as `walk_request_id`, so `GET /v1/credits/transactions?request_id=` with this call's id returns every page's rows. The walk stops early at the last page, or when the request's time budget runs low; `data.walk.stopped` says why (`end`, `max_pages`, `max_items`, `max_credits`, `time_budget`, `page_error`) and `pagination.next_cursor` continues from where it stopped." },
|
|
32433
|
+
{ name: "max_items", type: "integer", minimum: 1, maximum: 5000, description: "1 to 5000. Get more in one call: keep walking pages until the response holds at least this many rows, then stop with `data.walk.stopped: \"max_items\"`. The last page is returned whole (it was billed), so `data.items` can hold up to one page more than this, and `pagination.next_cursor` resumes right after it without skipping a row. Walks up to 50 pages unless `max_pages` says fewer; each page is billed as one call (a cached page is free). Add `max_credits` to cap the spend. A long walk can stop on the time budget first (`\"time_budget\"`): send the returned cursor with the same params to continue." },
|
|
32434
|
+
{ name: "max_credits", type: "integer", minimum: 1, maximum: 100000, description: "1 to 100000. The most this call may spend, across every page it walks. A page starts only while the credits already spent plus that page's price (or, when higher, the most any page of this walk has cost) still fit, so the call never goes past it; the walk then stops with `data.walk.stopped: \"max_credits\"` and the cursor to resume. Sent alone, it walks as far as the budget goes (up to 50 pages). A value below the price of one page is a free 400 whose `error.details.page_credits` names that price. Credits a row join (`include=`) adds are known only once a page has run, so page 1 is checked against its own price." },
|
|
32435
|
+
],
|
|
32436
|
+
oneOfGroups: [],
|
|
32437
|
+
creditTier: "standard",
|
|
32438
|
+
creditCost: 1,
|
|
32439
|
+
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "ladder" },
|
|
32440
|
+
archetype: "SearchResult",
|
|
32441
|
+
summary: "Search open US federal tenders on SAM.gov, with the email address and subject line to send a bid to",
|
|
32442
|
+
description: "Searches contract opportunities published on SAM.gov by US federal agencies. By default it returns the open solicitations and combined synopsis/solicitations (response deadline today or later), newest first. Each notice is read for you: `submission.methods` says whether it takes responses by `email`, through a `portal` (PIEE, DIBBS, NECO, eBuy and the like) or `in_person`, `submission.email` is the address to send to (with `cc` for any address to copy), `submission.subject_line` is the subject the buyer asks for when the notice sets one, and `submission.instructions` is the sentence it came from, so you can check it. Send `submission=email` to keep only notices that take email and name no portal: each page then reads the next `limit` notices (up to 200, the default) and returns the ones that take email, so a page can hold fewer rows, or none, and still have a next page. Narrow with `keyword` (every word must appear), `naics` and `psc` (codes or prefixes), `set_aside` (`small_business`, `8a`, `hubzone`, `sdvosb`, `wosb`, `edwosb`, `veteran`, `indian_enterprise`), `state` (place of performance), `posted_within` (days) and `closing_within` (days). `type` adds presolicitations, sources sought and special notices. Results come back under `data.items[]`, each with `id`, `solicitation_number`, `title`, `agency`, `buyer` (office, primary contact, email, phone), every named contact in `contacts`, `deadline` with `deadline_time`, `deadline_timezone` and `deadline_at`, `days_left`, `naics`, `psc`, `set_aside`, `place_of_performance`, `submission`, `attachments` (each with a download link when public) and `text`. `text` is the notice as plain text, up to 20,000 characters (`economy/us-tender` returns it whole). `data.total` is the number of open notices that match the filters. Paginate with `page` or the universal `cursor`. No match is a 200 with an empty `items` and is not billed. To get new matches every day, create a Monitor on this endpoint with `posted_within: 1`, `track.row_key` set to `id` and `webhook_rows: \"new\"`.",
|
|
32443
|
+
budget_ms: 25000,
|
|
32444
|
+
pagination: { style: "page", nativeParam: "page", limitParam: "limit" },
|
|
32445
|
+
cache: { category: "search", ttlSeconds: 3600 },
|
|
32446
|
+
upstream: { kind: "samgov" },
|
|
32447
|
+
tags: ["economy"],
|
|
32448
|
+
responseShape: { root: "data.items[]" },
|
|
32449
|
+
purpose: {
|
|
32450
|
+
summary: "Search open US federal tenders on SAM.gov, with the email address and subject line to send a bid to",
|
|
32451
|
+
returns: "Returns open US federal tenders from SAM.gov with the agency, industry codes, deadline, contacts and attachments, plus how to submit, the address to send to and any subject line asked for.",
|
|
32452
|
+
use_when: "Use it to find federal buyers that take quotes by email in your industry codes or state, or schedule it as a daily Monitor to receive each new notice once.",
|
|
32453
|
+
not_for: null,
|
|
32454
|
+
},
|
|
32455
|
+
taxonomy: { purpose: "data_retrieval", job_family: "search_discovery", takes_item_id_from_another_endpoint: false },
|
|
32456
|
+
},
|
|
32457
|
+
{
|
|
32458
|
+
platform: "economy",
|
|
32459
|
+
resource: "us-tender",
|
|
32460
|
+
method: "GET",
|
|
32461
|
+
params: [
|
|
32462
|
+
{ name: "id", required: true, description: "The 32-character notice id from `economy/us-tenders`, a sam.gov link such as `https://sam.gov/opp/<id>/view`, or a solicitation number such as `FA487727QA023`.", example: "19UP3027Q0001" },
|
|
32463
|
+
],
|
|
32464
|
+
optionalParams: [],
|
|
32465
|
+
oneOfGroups: [],
|
|
32466
|
+
creditTier: "standard",
|
|
32467
|
+
creditCost: 1,
|
|
32468
|
+
pricing: { cost: 1, tier: "standard", ladderCost: 1, model: "ladder" },
|
|
32469
|
+
archetype: "Analytics",
|
|
32470
|
+
summary: "Get one SAM.gov tender with its full text, contacts, attachments, submission email and subject line",
|
|
32471
|
+
description: "Returns one SAM.gov contract opportunity. `id` takes the notice id from `economy/us-tenders`, a sam.gov notice link, or the solicitation number printed on the notice (for example `FA487727QA023`). The response is one object, the same shape as an `economy/us-tenders` row, with the whole notice as plain text in `text`. `submission` says how the buyer wants responses sent, the address and the subject line, read from the notice; `attachments` lists every file and link, with a download link for each public file. A notice that does not exist returns 404 and is not billed.",
|
|
32472
|
+
budget_ms: 15000,
|
|
32473
|
+
cache: { category: "analytics", ttlSeconds: 3600 },
|
|
32474
|
+
upstream: { kind: "samgov" },
|
|
32475
|
+
tags: ["economy"],
|
|
32476
|
+
purpose: {
|
|
32477
|
+
summary: "Get one SAM.gov tender with its full text, contacts, attachments, submission email and subject line",
|
|
32478
|
+
returns: "Returns one SAM.gov tender by notice id, link or solicitation number with its full text, every contact, the attachments with download links and how to submit.",
|
|
32479
|
+
use_when: "Use it to read the whole notice behind an economy/us-tenders result, or to look up a solicitation number you already have.",
|
|
32480
|
+
not_for: null,
|
|
32481
|
+
},
|
|
32482
|
+
taxonomy: { purpose: "data_retrieval", job_family: "content_item_detail", takes_item_id_from_another_endpoint: true },
|
|
32483
|
+
},
|
|
32002
32484
|
{
|
|
32003
32485
|
platform: "economy",
|
|
32004
32486
|
resource: "imports",
|