# FetchGoblin > FetchGoblin is a prepaid HTTP API for structured public web data: social media profiles, posts, comments, followers, video transcripts and captions, search results, and ad libraries across platforms such as TikTok, Instagram, YouTube, X (Twitter), Facebook, LinkedIn, Reddit, Threads and Rumble. One API key, per-request credit pricing, JSON responses. ## Usage essentials - Base URL: https://fetchgoblin.com/api/data — every endpoint is `{METHOD} https://fetchgoblin.com/api/data{path}`. - Authentication: send your key in the `x-api-key` header. Keys look like `sl_live_…`. Create one at https://fetchgoblin.com/dashboard after signing up at https://fetchgoblin.com/signup. Call the API from a server; never put a key in browser code. - Responses are JSON. Successful responses include `credits_charged`, `credits_remaining` and `request_id`. - Errors return `{"error": {"code", "message"}}`. 402 `insufficient_credits` includes `required_credits`, `credits_remaining` and `top_up_url`. 429 means rate limited (120 requests/minute, 10 concurrent by default); respect `Retry-After`. - Safe retries: send an `Idempotency-Key` header (8–128 chars `A-Za-z0-9_.:-`). The same key and payload replay the original response for 24 hours without another charge. - Pagination: pass the cursor/next-page value from the previous response; each page is a separate request. - MCP server (Streamable HTTP): https://fetchgoblin.com/mcp — authenticate with the same `x-api-key` header (or `Authorization: Bearer `). Tools: search_endpoints, get_endpoint, call_endpoint, get_balance. ## Pricing - New verified accounts receive 50 free credits. No card is required for the trial. - Prepaid credits, no subscription. Purchases start at $5. Base rate: $2.00 per 1,000 credits. - Volume discounts apply to the whole purchase: 10% from $50, 20% from $100, 33% from $200, 50% from $500. - Most successful requests cost 1 credit. Failed requests are not charged. Cached responses (cache_max_age) cost 0 credits. ## Key resources - [Using FetchGoblin with AI agents](https://fetchgoblin.com/agents): MCP setup for Claude, Cursor and other clients, plus a prompt for coding agents. - [OpenAPI 3 specification](https://fetchgoblin.com/api/openapi.json): machine-readable schema for every endpoint, parameter and response. - [Quickstart, authentication, credits and errors](https://fetchgoblin.com/docs) - [Full endpoint reference in one file](https://fetchgoblin.com/llms-full.txt) - [Pricing](https://fetchgoblin.com/pricing) - [Service status](https://fetchgoblin.com/status) ## Endpoint reference ### TikTok #### Profile — `GET /api/data/v1/tiktok/profile` Retrieve profile from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-profile`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-profile.md - `handle` — string. TikTok handle. You can pass handle or user_id. - `user_id` — string. TikTok user id. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Profile Region — `GET /api/data/v1/tiktok/profile/region` Retrieve profile region from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-profile-region`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-profile-region.md - `handle` (required) — string. TikTok handle #### User's Audience Demographics — `GET /api/data/v1/tiktok/user/audience` Retrieve user's audience demographics from TikTok with a single API request. Cost: 26 credits. endpoint_id: `get-v1-tiktok-user-audience`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-user-audience.md - `handle` (required) — string. TikTok handle #### Collection Videos — `GET /api/data/v1/tiktok/collection/videos` Retrieve collection videos from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-collection-videos`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-collection-videos.md - `url` (required) — string. Public TikTok collection URL - `cursor` — string. Cursor to get more videos. Use max_cursor from the previous response. #### Profile Videos — `GET /api/data/v3/tiktok/profile/videos` Retrieve profile videos from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v3-tiktok-profile-videos`. Docs: https://fetchgoblin.com/docs/get-v3-tiktok-profile-videos.md - `handle` (required) — string. TikTok handle - `user_id` — string. TikTok user id. Use this for faster responses. - `sort_by` — enum: latest, popular. What to sort by - `region` — string. Country code passed to the profile-feed source. Defaults to US. If a profile should have videos but returns none, try another relevant two-letter country code. Changing this value does not guarantee that region-restricted posts will appear. - `include_pinned` — boolean. Whether to include pinned posts. Defaults to true. Set to false to exclude posts marked as pinned, including with trim=true. Keep this value unchanged while paginating. Filtering can produce shorter or empty pages; follow has_more and max_cursor. Successful pages still cost 1 credit, including empty results. - `trim` — boolean. Set to true for a trimmed down version of the response - `max_cursor` — string. Cursor to get more videos. Get 'max_cursor' from previous response. #### Video Info — `GET /api/data/v2/tiktok/video` Retrieve video info from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v2-tiktok-video`. Docs: https://fetchgoblin.com/docs/get-v2-tiktok-video.md - `url` (required) — string. TikTok video or photo/slideshow URL - `region` — string. Two-letter country code passed to the primary post source. Defaults to US. Try the creator's country if a post is unavailable. This does not guarantee a matching browser/proxy country or complete retrieval; the fallback source does not receive this parameter. - `get_transcript` — boolean. Native captions are opt-in via get_transcript=true and are included in the existing base endpoint price. This detail endpoint does not use AI transcription or an AI fallback; missing captions return no transcript. For AI fallback, use /v1/tiktok/video/transcript. - `trim` — boolean. Set to true to get a trimmed response - `download_media` — boolean. Set to true to download the video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Transcript — `GET /api/data/v1/tiktok/video/transcript` Retrieve transcript from TikTok with a single API request. Cost: 1 credit (up to 11 credits with use_ai_as_fallback=true). endpoint_id: `get-v1-tiktok-video-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-video-transcript.md - `url` (required) — string. TikTok video URL - `language` — string. Language of the transcript. 2 letter language code, ie 'en', 'es', 'fr', 'de', 'it', 'ja', 'ko', 'zh' - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `use_ai_as_fallback` — enum: true, false. Set to 'true' to use paid AI only when existing captions are unavailable. Defaults to false. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. #### Live — `GET /api/data/v1/tiktok/user/live` Retrieve live from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-user-live`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-user-live.md - `handle` (required) — string. TikTok handle #### Live Info — `GET /api/data/v1/tiktok/live` Retrieve live info from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-live`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-live.md - `room_id` (required) — string. TikTok live room id. Get this from `/v1/tiktok/user/live` in `liveRoomUserInfo.roomId` or `liveRoom.id` when the user is live. - `user_id` (required) — string. TikTok numeric user id for the live owner. Get this from `/v1/tiktok/profile` in `user.id`. #### Comments — `GET /api/data/v1/tiktok/video/comments` Retrieve comments from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-video-comments`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-video-comments.md - `url` (required) — string. TikTok video URL - `trim` — boolean. Set to true to get a trimmed response - `cursor` — number. Cursor to get more comments. Get 'cursor' from previous response. #### Comment Replies — `GET /api/data/v1/tiktok/video/comment/replies` Retrieve comment replies from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-video-comment-replies`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-video-comment-replies.md - `comment_id` (required) — string. TikTok comment ID. This is the cid from the comments endpoint. - `url` (required) — string. TikTok video URL. This is the url from the comments endpoint. - `cursor` — number. Cursor to get more replies. Get 'cursor' from previous response. #### Following — `GET /api/data/v1/tiktok/user/following` Retrieve following from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-user-following`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-user-following.md - `handle` (required) — string. TikTok handle - `trim` — boolean. Set to true to get a trimmed response - `min_time` — number. Used to paginate. Get 'min_time' from previous response. #### Followers — `GET /api/data/v1/tiktok/user/followers` Retrieve followers from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-user-followers`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-user-followers.md - `handle` — string. TikTok handle - `user_id` — string. User id. Use this for faster response times. - `trim` — boolean. Set to true to get a trimmed response - `min_time` — number. Used to paginate. Get 'min_time' from previous response. #### Search Users — `GET /api/data/v1/tiktok/search/users` Retrieve search users from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-search-users`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-search-users.md - `query` (required) — string. Search query for users - `trim` — boolean. Set to true to get a trimmed response - `cursor` — number. Cursor to get more users. Get 'cursor' from previous response. #### Search Suggestions — `GET /api/data/v1/tiktok/search/suggestions` Retrieve search suggestions from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-search-suggestions`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-search-suggestions.md - `query` (required) — string. Search query to get suggestions for - `region` — string. Region code for suggestions #### Search by Hashtag — `GET /api/data/v1/tiktok/search/hashtag` Retrieve search by hashtag from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-search-hashtag`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-search-hashtag.md - `hashtag` (required) — string. Hashtag to search for (without #) - `region` — string. Region the proxy will be set to. Note: this isn't going to grab you all tiktoks from this region, you're just setting the proxy there. - `trim` — boolean. Set to true to get a trimmed response - `cursor` — number. Cursor to get more videos. Get 'cursor' from previous response. #### Search by Keyword — `GET /api/data/v1/tiktok/search/keyword` Retrieve search by keyword from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-search-keyword`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-search-keyword.md - `query` (required) — string. Keyword to search for - `date_posted` — enum: yesterday, this-week, this-month, last-3-months, last-6-months, all-time. Time Frame - `sort_by` — enum: relevance, most-liked, date-posted. Sort by - `region` — string. Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc - `trim` — boolean. Set to true to get a trimmed response - `cursor` — string. Pass the cursor from the previous response unchanged with the same query, region, and filters. It can be a string or a legacy number. Omit it on the first page and stop when it is null. #### Top Search — `GET /api/data/v1/tiktok/search/top` Retrieve top search from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-search-top`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-search-top.md - `query` (required) — string. Keyword to search for - `publish_time` — enum: yesterday, this-week, this-month, last-3-months, last-6-months, all-time. Time Frame TikTok was posted - `sort_by` — enum: relevance, most-liked, date-posted. Sort by - `region` — string. Note, this doesn't filter the tiktoks only in a specfic region, it puts the proxy there. Use it in case you want to scrape posts only available for some country. Use 2 letter country codes like US, GB, FR, etc - `trim` — boolean. Set to true to get a trimmed response - `cursor` — number. Cursor to get more videos. Get 'cursor' from previous response. #### Get Song Details — `GET /api/data/v1/tiktok/song` Retrieve get song details from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-song`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-song.md - `clipId` (required) — string. This is a little confusing because this isn't songId like you'd think. It is the clipId. I guess because you can clip different portions of a song 🤷‍♂️ #### TikToks using Song — `GET /api/data/v1/tiktok/song/videos` Retrieve tiktoks using song from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-song-videos`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-song-videos.md - `clipId` — string. This is clipId. Can be found on a url like so: https://www.tiktok.com/music/That%27s-Who-I-Praise-7370375686554782506, where 7370375686554782506 is the clipId - `cursor` — number. The cursor to get the next page of results. #### Trending Feed — `GET /api/data/v1/tiktok/get-trending-feed` Retrieve trending feed from TikTok with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-get-trending-feed`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-get-trending-feed.md - `region` (required) — string. Where you want the proxy to be. This doesn't mean that you will only see TikToks from this region, you will just see the content that isn't banned in that region. - `trim` — boolean. Set to true to get a trimmed response. ### TikTok Shop #### Shop Search — `GET /api/data/v1/tiktok/shop/search` Retrieve shop search from TikTok Shop with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-shop-search`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-shop-search.md - `query` (required) — string. Term you want to search for - `region` — enum: US, GB, DE, FR, IT, ID, MY, MX, PH, SG, ES, TH, VN, BR, JP, IE. Region to search shop products in. Non-US TikTok Shop regions are not reliable right now and may return limited or inconsistent results. Sorry for the inconvenience. - `page` — number. Page number to retrieve #### Shop Products — `GET /api/data/v1/tiktok/shop/products` Retrieve shop products from TikTok Shop with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-shop-products`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-shop-products.md - `url` (required) — string. The TikTok Shop store URL. - `sort_by` — enum: top, new_releases. Sort products by best-selling items (`top`) or newest products (`new_releases`). Defaults to `top`. - `region` — enum: US, GB, DE, FR, IT, ID, MY, MX, PH, SG, ES, TH, VN, BR, JP, IE. Region to get shop products from. Defaults to US if not provided. Non-US regions are not reliable right now and may return `not_found` or limited catalog data even when the shop appears in search. Sorry for the inconvenience. - `cursor` — string. Cursor parameter from the previous response to retrieve the next page of products. Omit for the first page. #### Product Details — `GET /api/data/v1/tiktok/product` Retrieve product details from TikTok Shop with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-product`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-product.md - `url` (required) — string. The URL of the product to get details for. - `region` — string. Region for the product details request. US is the reliable region right now; non-US regions should not be considered reliable and may return `bad_request` or missing product data. Sorry for the inconvenience. #### Product Reviews — `GET /api/data/v1/tiktok/shop/product/reviews` Retrieve product reviews from TikTok Shop with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-shop-product-reviews`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-shop-product-reviews.md - `url` — string. The URL of the product (required if product_id is not provided) - `product_id` — string. The ID of the product (required if url is not provided) - `region` — string. The region of the product. US is the reliable region right now; non-US regions should not be considered reliable and may return limited or inconsistent review data. Sorry for the inconvenience. - `page` — number. The page number of the reviews #### User Showcase — `GET /api/data/v1/tiktok/user/showcase` Retrieve user showcase from TikTok Shop with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-user-showcase`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-user-showcase.md - `handle` (required) — string. The handle of the user - `region` — string. Region to put the proxy in. Non-US TikTok Shop regions are not reliable right now and may return limited or inconsistent showcase data. Sorry for the inconvenience. - `cursor` — string. The cursor to the next page of products ### Instagram #### Profile — `GET /api/data/v1/instagram/profile` Retrieve profile from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-profile`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-profile.md - `handle` (required) — string. Instagram handle - `region` — string. Two-letter country code (ASCII letters, case-insensitive), for example TH. When set, lookup attempts target only that country; Instagram may still not return the requested content. Omit it to keep the usual behavior. - `trim` — boolean. Set to true to get a trimmed response - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Basic Profile — `GET /api/data/v1/instagram/basic-profile` Retrieve basic profile from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-basic-profile`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-basic-profile.md - `userId` — string. Instagram user id - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Posts — `GET /api/data/v2/instagram/user/posts` Retrieve posts from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v2-instagram-user-posts`. Docs: https://fetchgoblin.com/docs/get-v2-instagram-user-posts.md - `handle` (required) — string. Instagram handle - `region` — string. Two-letter country code (ASCII letters, case-insensitive), for example TH. When set, lookup attempts target only that country; Instagram may still not return the requested content. Omit it to keep the usual behavior. Keep the same region on subsequent pages. - `require_play_counts` — boolean. Only the literal query value 'true' enables this check. It requires play_count on each returned video post; a real 0 is valid. It does not require ig_play_count or view counts, or counts on photos. If a required play_count is missing or null, the request returns an error without charging credits instead of a paid partial success. With the default false, counts remain best-effort: usable posts are still billable even with missing play counts. Retrying does not guarantee that Instagram will return the missing counts. [Why counts can be missing](https://fetchgoblin.com/blog/instagram-play-counts-missing). - `trim` — boolean. Set to true to get a trimmed response - `next_max_id` — string. Cursor to get next page of results. #### User Tagged Posts — `GET /api/data/v1/instagram/user/tagged-posts` Retrieve user tagged posts from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-user-tagged-posts`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-user-tagged-posts.md - `user_id` (required) — string. Numeric Instagram user ID. - `cursor` — string. Cursor returned by the previous response. #### Reels — `GET /api/data/v1/instagram/user/reels` Retrieve reels from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-user-reels`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-user-reels.md - `user_id` — string. Instagram user id. Use this for faster response times. - `handle` — string. Instagram handle. Use user_id for faster response times. - `region` — string. Two-letter country code (ASCII letters, case-insensitive), for example TH. When set, lookup attempts target only that country; Instagram may still not return the requested content. Omit it to keep the usual behavior. Keep the same region on subsequent pages. - `require_play_counts` — boolean. Only the literal query value 'true' enables this check. It requires a numeric, nonnegative play_count on every returned Reel, in both full responses (items[].media.play_count) and trim=true responses (items[].play_count); a real 0 is valid. A missing, null, nonnumeric or negative play_count returns HTTP 503 without charging credits instead of a paid partial success. It does not require ig_play_count or view counts. With the default false, counts remain best-effort: usable reels are still billable even with missing play counts. This checks presence and numeric validity; it does not guarantee count accuracy or agreement with Instagram Insights. Retrying does not guarantee that Instagram will return the missing counts. [Why counts can be missing](https://fetchgoblin.com/blog/instagram-play-counts-missing). - `trim` — boolean. Set to true for a trimmed down version of the response - `max_id` — string. Max id to get more reels. Get 'max_id' from previous response. #### Post/Reel Info — `GET /api/data/v1/instagram/post` Retrieve post/reel info from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-post`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-post.md - `url` (required) — string. Instagram post or reel URL - `region` — string. 2 letter country code to set the proxy in - `trim` — boolean. Set to true to get a trimmed response - `download_media` — boolean. Set to true to download the video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise. - `include_play_count` — boolean. Set to false to omit `video_play_count` and skip its additional fetch for a faster response. Defaults to true. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Transcript — `GET /api/data/v2/instagram/media/transcript` Retrieve transcript from Instagram with a single API request. Cost: 30 credits. endpoint_id: `get-v2-instagram-media-transcript`. Docs: https://fetchgoblin.com/docs/get-v2-instagram-media-transcript.md - `url` (required) — string. Instagram post or reel URL - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow_long_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Search Instagram — `GET /api/data/v1/instagram/search` Retrieve search instagram from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-search`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-search.md - `query` (required) — string. The username, hashtag, place, or keyword to search for. #### Popular Search — `GET /api/data/v1/instagram/search/popular` Retrieve popular search from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-search-popular`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-search-popular.md - `query` (required) — string. The Popular topic to search for. - `cursor` — string. The opaque cursor returned by the previous response. Use it with the same query to fetch the next page of posts. #### Search Hashtag Posts — `GET /api/data/v1/instagram/search/hashtag` Retrieve search hashtag posts from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-search-hashtag`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-search-hashtag.md - `hashtag` (required) — string. The hashtag to search for. Include or omit the #. - `date_posted` — enum: last-hour, last-day, last-week, last-month, last-year. Only return Google-indexed posts found in this relative window. - `media_type` — enum: all, reels. Use all to search public posts and reels, or reels to only return reels. Defaults to all. - `cursor` — string. The cursor returned by the previous response. It is the next Google results page number and cannot exceed 11; cursor 12 or greater returns a 400 response. #### Search Instagram Profiles — `GET /api/data/v1/instagram/search/profiles` Retrieve search instagram profiles from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-search-profiles`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-search-profiles.md - `query` (required) — string. The profile name or username to search for. #### Search Reels — `GET /api/data/v2/instagram/reels/search` Retrieve search reels from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v2-instagram-reels-search`. Docs: https://fetchgoblin.com/docs/get-v2-instagram-reels-search.md - `query` (required) — string. The keyword to search for - `date_posted` — enum: last-week, last-month, last-year. Google-indexed date window. Recent hour/day filters are not supported because Google does not index Instagram reels reliably enough in those windows. - `page` — number. The page number to return. Must be between 1 and 11; page 12 or greater returns a 400 response. #### Get Reels By Audio Id — `GET /api/data/v1/instagram/audio/reels` Retrieve get reels by audio id from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-audio-reels`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-audio-reels.md - `audio_id` (required) — string. The audio id from the Instagram audio page URL. - `cursor` — string. Pagination cursor returned by Instagram from the previous response. #### Trending Reels — `GET /api/data/v1/instagram/reels/trending` Retrieve trending reels from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-reels-trending`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-reels-trending.md #### Comments — `GET /api/data/v2/instagram/post/comments` Retrieve comments from Instagram with a single API request. Cost: 1 credit (up to 15 credits with include_replies=true). endpoint_id: `get-v2-instagram-post-comments`. Docs: https://fetchgoblin.com/docs/get-v2-instagram-post-comments.md - `url` (required) — string. The URL of the post or reel to get comments from - `include_replies` — boolean. Set to true to include replies for every returned comment. Costs 15 credits when comments are returned, even if no replies are found; successful pages with no comments cost 0 credits. This is much slower and may time out at 29 seconds. - `cursor` — string. The cursor to get more comments. Get 'cursor' from previous response. #### Comment Replies — `GET /api/data/v1/instagram/post/comment/replies` Retrieve comment replies from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-post-comment-replies`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-post-comment-replies.md - `url` (required) — string. The Instagram post or reel URL - `comment_id` (required) — string. The parent comment ID from the Comments endpoint - `cursor` — string. The cursor to get more replies. Get `cursor` from the previous response. #### Story Highlights — `GET /api/data/v1/instagram/user/highlights` Retrieve story highlights from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-user-highlights`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-user-highlights.md - `user_id` — string. Instagram user id. Use for faster response times. - `handle` — string. Instagram handle. Use user_id for faster response times. #### Highlights Details — `GET /api/data/v1/instagram/user/highlight/detail` Retrieve highlights details from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-user-highlight-detail`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-user-highlight-detail.md - `id` — string. The ID of the highlight to get details for #### Profile Post Count — `GET /api/data/v1/instagram/profile/post-count` Retrieve profile post count from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-profile-post-count`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-profile-post-count.md - `handle` (required) — string. Instagram handle - `allow_estimated` — boolean. Set to true to return scaled estimates when Instagram abbreviates counts for profiles with more than 10,000 posts. Defaults to false; false or omitted returns an uncharged 422 when only an estimate is available. #### Embed HTML — `GET /api/data/v1/instagram/user/embed` Retrieve embed html from Instagram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-instagram-user-embed`. Docs: https://fetchgoblin.com/docs/get-v1-instagram-user-embed.md - `handle` (required) — string. Instagram handle ### YouTube #### Channel Details — `GET /api/data/v1/youtube/channel` Retrieve channel details from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-channel`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-channel.md - `channelId` — string. YouTube channel ID. Can pass a channelId, handle or url - `handle` — string. YouTube channel handle. Can pass a channelId, handle or url - `url` — string. YouTube channel URL. Can pass a channelId, handle or url - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Channel Videos — `GET /api/data/v1/youtube/channel-videos` Retrieve channel videos from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-channel-videos`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-channel-videos.md - `channelId` — string. YouTube channel ID - `handle` — string. YouTube channel handle - `sort` — enum: latest, popular. Sort by latest or popular - `includeExtras` — string. This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. Honestly, if you use this param, the error rate is higher. We might deprecate this param in the future. - `continuationToken` — string. Continuation token to get more videos. Get 'continuationToken' from previous response. #### Channel Search — `GET /api/data/v1/youtube/channel/search` Retrieve channel search from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-channel-search`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-channel-search.md - `handle` (required) — string. YouTube channel handle, with or without @. - `query` (required) — string. Keywords to search within this channel. - `continuationToken` — string. Token from the previous response. Keep the same handle and query; stop when the token is null. #### Channel Playlists — `GET /api/data/v1/youtube/channel/playlists` Retrieve channel playlists from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-channel-playlists`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-channel-playlists.md - `channelId` — string. YouTube channel ID - `handle` — string. YouTube channel handle - `continuationToken` — string. Continuation token to get more playlists. Get 'continuationToken' from previous response. #### Channel Lives — `GET /api/data/v1/youtube/channel/lives` Retrieve channel lives from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-channel-lives`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-channel-lives.md - `channelId` — string. YouTube channel ID - `handle` — string. YouTube channel handle - `continuationToken` — string. Continuation token to get more lives. Get 'continuationToken' from previous response. #### Channel Community Posts — `GET /api/data/v1/youtube/channel/community-posts` Retrieve channel community posts from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-channel-community-posts`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-channel-community-posts.md - `channelId` — string. YouTube channel ID - `handle` — string. YouTube channel handle - `continuationToken` — string. Continuation token to get more community posts. Get 'continuationToken' from previous response. #### Channel Shorts — `GET /api/data/v1/youtube/channel/shorts` Retrieve channel shorts from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-channel-shorts`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-channel-shorts.md - `handle` — string. Can pass channelId or handle - `channelId` — string. Can pass channelId or handle - `sort` — enum: newest, popular. Sort by newest or popular - `continuationToken` — string. Continuation token to get more videos. Get 'continuationToken' from previous response. #### Video/Short Details — `GET /api/data/v1/youtube/video` Retrieve video/short details from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-video`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-video.md - `url` (required) — string. YouTube video or short URL - `language` — string. Preferred response language (mapped to Accept-Language header; not guaranteed due to YouTube localization behavior). 2 letter language code, ie 'en', 'es', 'fr' etc. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Transcript — `GET /api/data/v1/youtube/video/transcript` Retrieve transcript from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-video-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-video-transcript.md - `url` (required) — string. YouTube video or short URL - `language` — string. Language code, ie 'en', 'es', 'fr' or 'en-US'. Overrides the default track selection unless original_audio=true. If omitted, prefers captions matching the original spoken language when YouTube identifies the original audio. If that metadata is unavailable or ambiguous, prefers an auto-generated caption, otherwise the first caption track. If the requested or identified original language has no matching captions, the transcript will be null and no credits are charged. - `original_audio` — boolean. Set to true to return captions only in the original spoken language identified by YouTube. Takes precedence over language. If the original audio cannot be reliably identified or has no matching captions, transcript, transcript_only_text, and language are null and no credits are charged. No extra lookup or credit cost; a returned transcript costs the usual 1 credit. Omit or set to false for the existing default selection. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Video Sponsors — `GET /api/data/v1/youtube/video/sponsors` Retrieve video sponsors from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-video-sponsors`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-video-sponsors.md - `url` (required) — string. YouTube video or short URL - `language` — string. 2 letter language code used for transcript lookup, ie 'en', 'es', 'fr' etc. #### Search — `GET /api/data/v1/youtube/search` Retrieve search from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-search`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-search.md - `query` (required) — string. Search query. For stricter title matching, use YouTube's intitle: operator, for example intitle:"Foursquare Swarm". Quoted queries by themselves may still be broadened by YouTube when no fresh exact matches are available. - `uploadDate` — enum: today, this_week, this_month, this_year. Upload date - `sortBy` — enum: relevance, popular. Sort by - `type` — enum: videos, shorts, channels, playlists. Type of content to search for - `duration` — enum: under_3_min, between_3_and_20_min, over_20_min. Duration of the video. Only applies to videos (not shorts). - `region` — string. 2 letter country code of the country to put the proxy in. - `includeExtras` — string. This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.* - `continuationToken` — string. Continuation token to get more videos. Get 'continuationToken' from previous response. #### Search Typeahead — `GET /api/data/v1/youtube/search/typeahead` Retrieve search typeahead from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-search-typeahead`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-search-typeahead.md - `query` (required) — string. Partial or complete YouTube search query #### Search by Hashtag — `GET /api/data/v1/youtube/search/hashtag` Retrieve search by hashtag from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-search-hashtag`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-search-hashtag.md - `hashtag` (required) — string. Hashtag to search for - `type` — enum: all, shorts. Search for all types of content or only shorts - `continuationToken` — string. Continuation token to get more videos. Get 'continuationToken' from previous response. #### Comments — `GET /api/data/v1/youtube/video/comments` Retrieve comments from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-video-comments`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-video-comments.md - `url` (required) — string. YouTube video URL - `order` — enum: top, newest. Order of comments - `continuationToken` — string. Continuation token to get more comments. Get 'continuationToken' from previous response. #### Comment Replies — `GET /api/data/v1/youtube/video/comment/replies` Retrieve comment replies from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-video-comment-replies`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-video-comment-replies.md - `continuationToken` (required) — string. Continuation token for the comment replies. Use 'repliesContinuationToken' from the Comments endpoint, or 'continuationToken' from a previous replies response to paginate. #### Trending Shorts — `GET /api/data/v1/youtube/shorts/trending` Retrieve trending shorts from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-shorts-trending`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-shorts-trending.md #### Playlist — `GET /api/data/v1/youtube/playlist` Retrieve playlist from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-playlist`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-playlist.md - `playlist_id` (required) — string. The ID of the YouTube playlist. In the YouTube URL it will be the 'list' parameter. - `continuationToken` — string. Token from the previous response to get the next page. Omit for the first page. Stop when the returned continuationToken is null. #### Community Post Details — `GET /api/data/v1/youtube/community-post` Retrieve community post details from YouTube with a single API request. Cost: 1 credit. endpoint_id: `get-v1-youtube-community-post`. Docs: https://fetchgoblin.com/docs/get-v1-youtube-community-post.md - `url` (required) — string. The URL of the YouTube community post to get ### Rumble #### Search — `GET /api/data/v1/rumble/search` Retrieve search from Rumble with a single API request. Cost: 1 credit. endpoint_id: `get-v1-rumble-search`. Docs: https://fetchgoblin.com/docs/get-v1-rumble-search.md - `query` (required) — string. Search query. - `cursor` — string. Cursor from the previous response. This is the next page number, like 2 or 3. #### Channel Videos — `GET /api/data/v1/rumble/channel/videos` Retrieve channel videos from Rumble with a single API request. Cost: 1 credit. endpoint_id: `get-v1-rumble-channel-videos`. Docs: https://fetchgoblin.com/docs/get-v1-rumble-channel-videos.md - `handle` — string. Rumble channel handle. If you'd prefer to use the URL instead, use the url parameter. - `url` — string. Rumble channel URL. If you'd prefer to use the handle instead, use the handle parameter. - `cursor` — string. Cursor from the previous response. This is the next page number, like 2 or 3. #### Video — `GET /api/data/v1/rumble/video` Retrieve video from Rumble with a single API request. Cost: 1 credit. endpoint_id: `get-v1-rumble-video`. Docs: https://fetchgoblin.com/docs/get-v1-rumble-video.md - `url` (required) — string. Rumble video URL. #### Transcript — `GET /api/data/v1/rumble/video/transcript` Retrieve transcript from Rumble with a single API request. Cost: 1 credit. endpoint_id: `get-v1-rumble-video-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-rumble-video-transcript.md - `url` (required) — string. Rumble video URL. #### Comments — `GET /api/data/v1/rumble/video/comments` Retrieve comments from Rumble with a single API request. Cost: 1 credit. endpoint_id: `get-v1-rumble-video-comments`. Docs: https://fetchgoblin.com/docs/get-v1-rumble-video-comments.md - `url` (required) — string. Rumble video URL. ### LinkedIn #### Person's Profile — `GET /api/data/v1/linkedin/profile` Retrieve person's profile from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-profile`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-profile.md - `url` (required) — string. The URL of the LinkedIn profile to get #### Company Page — `GET /api/data/v1/linkedin/company` Retrieve company page from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-company`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-company.md - `url` (required) — string. The URL of the LinkedIn company page to get #### Company Posts — `GET /api/data/v1/linkedin/company/posts` Retrieve company posts from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-company-posts`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-company-posts.md - `url` (required) — string. The LinkedIn company (/company/) or school (/school/) page URL, for example https://www.linkedin.com/school/oxfordsbs/ - `page` — number. The page number to get #### Search Jobs — `GET /api/data/v1/linkedin/search/jobs` Retrieve search jobs from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-search-jobs`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-search-jobs.md - `query` (required) — string. Job search keyword or phrase. - `location` — string. City, region or country. Omit to use LinkedIn’s default location. - `date_posted` — enum: last-24-hours, last-week. Jobs posted in the last 24 hours or week. Omit for any time. - `company_id` — string. Numeric LinkedIn company ID, not a company name or URL. - `cursor` — string. Next offset returned by the previous response. Keep the same search and filters; maximum 990. #### Search Posts — `GET /api/data/v1/linkedin/search/posts` Retrieve search posts from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-search-posts`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-search-posts.md - `query` (required) — string. Keyword or phrase to search for in public LinkedIn posts - `date_posted` — enum: last-hour, last-day, last-week, last-month, last-year. Date posted filter based on Google-indexed results - `cursor` — string. The cursor returned from the previous response. The maximum cursor is 11; cursor 12 or greater returns a 400 response. #### Post — `GET /api/data/v1/linkedin/post` Retrieve post from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-post`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-post.md - `url` (required) — string. The URL of the LinkedIn post to get #### Job Details — `GET /api/data/v1/linkedin/job` Retrieve job details from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-job`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-job.md - `url` (required) — string. HTTPS LinkedIn job URL. Use the URL from search or a /jobs/view/ link ending in the numeric job ID. #### Post Transcript — `GET /api/data/v1/linkedin/post/transcript` Retrieve post transcript from LinkedIn with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-post-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-post-transcript.md - `url` (required) — string. The URL of the LinkedIn post to get the transcript from ### Facebook #### Profile — `GET /api/data/v1/facebook/profile` Retrieve profile from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-profile`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-profile.md - `url` (required) — string. Facebook profile URL - `get_business_hours` — string. Get the business's hours - `include_gated_profile` — enum: true, false. When true, returns limited public fields for gated or age-restricted profiles. Ignored for normal public profiles — those still return the full response. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Profile Reels — `GET /api/data/v1/facebook/profile/reels` Retrieve profile reels from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-profile-reels`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-profile-reels.md - `url` (required) — string. Facebook page URL - `next_page_id` — string. To paginate through to the next page - `cursor` — string. To paginate through to the next page #### Search Videos — `GET /api/data/v1/facebook/search/videos` Retrieve search videos from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-search-videos`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-search-videos.md - `query` (required) — string. The keyword or phrase to search for - `cursor` — string. The opaque cursor returned by the previous response. Keep the query unchanged when paginating. Stop when cursor is null or has_more is false. #### Profile Photos — `GET /api/data/v1/facebook/profile/photos` Retrieve profile photos from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-profile-photos`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-profile-photos.md - `url` (required) — string. Facebook page URL - `next_page_id` — string. To paginate through to the next page - `cursor` — string. To paginate through to the next page #### Profile Posts — `GET /api/data/v1/facebook/profile/posts` Retrieve profile posts from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-profile-posts`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-profile-posts.md - `url` — string. Facebook profile URL - `pageId` — string. Facebook profile page id - `cursor` — string. To paginate through the posts #### Profile Events — `GET /api/data/v1/facebook/profile/events` Retrieve profile events from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-profile-events`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-profile-events.md - `url` (required) — string. The URL of the public Facebook page - `cursor` — string. The cursor to paginate to get more events #### Post — `GET /api/data/v1/facebook/post` Retrieve post from Facebook with a single API request. Cost: 30 credits. endpoint_id: `get-v1-facebook-post`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-post.md - `url` (required) — string. The URL of the post to get - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `get_transcript` — boolean. Transcription is opt-in via get_transcript=true. Default short AI (up to 120 seconds, inclusive) is included in the existing base endpoint price, with no extra AI fee. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. On detail routes, successful paid-mode AI costs are in addition to the existing base endpoint cost; media-download pricing is unchanged. Returned native captions leave the base endpoint price unchanged. Empty AI results and errors incur no AI fee; the base scrape fee still applies when the detail scrape succeeds. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit; default short AI is included; allow_long_transcription=true adds 10 credits per started minute to the existing base cost). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Transcript — `GET /api/data/v1/facebook/post/transcript` Retrieve transcript from Facebook with a single API request. Cost: 30 credits. endpoint_id: `get-v1-facebook-post-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-post-transcript.md - `url` (required) — string. Facebook post URL - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (Returned native captions cost 1 credit, even for long videos with the paid flag. By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow_long_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits; no transcript: 0 credits). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Comments — `GET /api/data/v1/facebook/post/comments` Retrieve comments from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-post-comments`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-post-comments.md - `url` — string. Facebook post URL (or reel URL) - `feedback_id` — string. Using feedback_id (instead of url) will *really* speed up the request. You can get the feedback_id when you make a request to /v1/facebook/post. - `sort` — enum: most_relevant, all. Defaults to most_relevant, which can filter comments. Set sort=all to request Facebook's unfiltered view; this does not guarantee every counted comment is available. - `cursor` — string. Cursor from the previous response to get more comments. Keep the same sort on every cursor page. #### Comment Replies — `GET /api/data/v1/facebook/post/comment/replies` Retrieve comment replies from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-post-comment-replies`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-post-comment-replies.md - `feedback_id` (required) — string. The *feedback_id* of the comment. Be careful, this is not the comment id. You can get the feedback_id from the /v1/facebook/post/comments endpoint. - `expansion_token` (required) — string. Pass the comment's complete, fresh expansion_token from /v1/facebook/post/comments with sort=all for unfiltered replies. Do not reuse a token from the Most relevant view. - `cursor` — string. The cursor to paginate to the next page #### Facebook Group Info — `GET /api/data/v1/facebook/group` Retrieve facebook group info from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-group`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-group.md - `url` — string. The Facebook group URL. Group sub-page URLs such as /about work too. - `group_id` — string. The numeric Facebook group ID. Provide this instead of url if you already have it. #### Facebook Group Posts — `GET /api/data/v1/facebook/group/posts` Retrieve facebook group posts from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-group-posts`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-group-posts.md - `url` — string. The URL of the group - `group_id` — string. The ID of the group - `sort_by` — enum: TOP_POSTS, RECENT_ACTIVITY, CHRONOLOGICAL, CHRONOLOGICAL_LISTINGS. How to sort the posts. Defaults to CHRONOLOGICAL. - `cursor` — string. The cursor to paginate to the next page #### Facebook Answers — `GET /api/data/v1/facebook/answers` Retrieve facebook answers from Facebook with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-answers`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-answers.md - `url` (required) — string. The Facebook Answers topic page URL. ### GitHub #### User — `GET /api/data/v1/github/user` Retrieve user from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-user`. Docs: https://fetchgoblin.com/docs/get-v1-github-user.md - `handle` — string. GitHub username/handle of the user you want the details for - `url` — string. GitHub user URL, e.g. https://github.com/torvalds. #### Repositories — `GET /api/data/v1/github/user/repositories` Retrieve repositories from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-user-repositories`. Docs: https://fetchgoblin.com/docs/get-v1-github-user-repositories.md - `handle` — string. GitHub username/handle of the user you want the repositories for - `url` — string. GitHub user URL, e.g. https://github.com/kentcdodds. - `type` — enum: owner, all, member. Repository type. Defaults to owner. GitHub also supports all and member. - `sort` — enum: created, updated, pushed, full_name. Sort by created, updated, pushed, or full_name. Defaults to updated. - `direction` — enum: asc, desc. Sort direction: ascending or descending. - `cursor` — number. Cursor from the previous response. Defaults to 1. #### Pull Requests — `GET /api/data/v1/github/user/pull-requests` Retrieve pull requests from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-user-pull-requests`. Docs: https://fetchgoblin.com/docs/get-v1-github-user-pull-requests.md - `handle` (required) — string. GitHub username/handle of the user you want pull requests for - `since` — string. Only return pull requests created on or after this date. Use YYYY-MM-DD. - `until` — string. Only return pull requests created on or before this date. Use YYYY-MM-DD. - `cursor` — number. Cursor from the previous response. Defaults to 1. #### Activity — `GET /api/data/v1/github/user/activity` Retrieve activity from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-user-activity`. Docs: https://fetchgoblin.com/docs/get-v1-github-user-activity.md - `handle` — string. GitHub handle - `url` — string. GitHub user URL, e.g. https://github.com/kentcdodds. - `year` — number. When provided, returns profile contribution activity for that year. Defaults to the current year. - `cursor` — number. Cursor from the previous response. Pages backward by month through the selected year. #### Followers — `GET /api/data/v1/github/user/followers` Retrieve followers from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-user-followers`. Docs: https://fetchgoblin.com/docs/get-v1-github-user-followers.md - `handle` — string. GitHub username/handle of the user you want the followers for - `url` — string. GitHub user URL, e.g. https://github.com/torvalds. - `cursor` — number. Cursor from the previous response. Defaults to 1. #### Following — `GET /api/data/v1/github/user/following` Retrieve following from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-user-following`. Docs: https://fetchgoblin.com/docs/get-v1-github-user-following.md - `handle` — string. GitHub handle - `url` — string. GitHub profile URL - `cursor` — number. Cursor from the previous response. Defaults to 1. #### Contributions — `GET /api/data/v1/github/user/contributions` Retrieve contributions from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-user-contributions`. Docs: https://fetchgoblin.com/docs/get-v1-github-user-contributions.md - `handle` — string. GitHub handle - `url` — string. GitHub profile URL - `year` — number. Contribution graph year. Defaults to the current year. #### Repository — `GET /api/data/v1/github/repository` Retrieve repository from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-repository`. Docs: https://fetchgoblin.com/docs/get-v1-github-repository.md - `url` (required) — string. GitHub repository URL #### Trending Repositories — `GET /api/data/v1/github/trending/repositories` Retrieve trending repositories from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-trending-repositories`. Docs: https://fetchgoblin.com/docs/get-v1-github-trending-repositories.md - `language` — string. Optional coding language, e.g. javascript, python, or go. - `since` — enum: daily, weekly, monthly. Trending range: daily, weekly, or monthly. Defaults to daily. - `spoken_language_code` — string. Optional spoken language code filter, e.g. en. #### Trending Developers — `GET /api/data/v1/github/trending/developers` Retrieve trending developers from GitHub with a single API request. Cost: 1 credit. endpoint_id: `get-v1-github-trending-developers`. Docs: https://fetchgoblin.com/docs/get-v1-github-trending-developers.md - `language` — string. Optional trending coding language, e.g. javascript, python, or go. - `since` — enum: daily, weekly, monthly. Trending range: daily, weekly, or monthly. Defaults to daily. ### Facebook Marketplace #### Marketplace Location Search — `GET /api/data/v1/facebook/marketplace/location/search` Retrieve marketplace location search from Facebook Marketplace with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-marketplace-location-search`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-marketplace-location-search.md - `query` (required) — string. Location search query #### Marketplace Search — `GET /api/data/v1/facebook/marketplace/search` Retrieve marketplace search from Facebook Marketplace with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-marketplace-search`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-marketplace-search.md - `query` — string. Search keyword. Required unless category_id is provided. - `lat` (required) — number. Latitude for the search location - `lng` (required) — number. Longitude for the search location - `category_id` — string. Category ID from listing results. Omit query to browse a category below. Allowed IDs for keyword-free browsing: - Antiques: 393860164117441 - Appliances: 678754142233400 - Bicycles: 1658310421102081 - Boats: 712638205822882 - Electronics: 1792291877663080 - Furniture: 1583634935226685 - Garden: 800089866739547 - Household: 1569171756675761 - Tools: 1670493229902393 - Trailers: 655837954899686 - Vehicles: 807311116002614 - Vehicles (alternate ID): 546583916084032 Other category IDs, including Housing, Food, and Services, require a keyword. - `radius_km` — number. Search radius in kilometers - `min_price` — number. Minimum listing price - `max_price` — number. Maximum listing price - `sort_by` — enum: suggested, distance_ascend, creation_time_descend, price_ascend, price_descend. Facebook Marketplace sort option. creation_time_descend usually orders the first pages newest first, but Facebook can insert newer listings on later cursor pages. - `delivery_method` — enum: all, local_pickup, shipping. Delivery filter - `condition` — enum: new, used_like_new, used_good, used_fair. Condition filter - `date_listed` — enum: all, 1, 7, 30, last_24_hours, last_7_days, last_30_days. Facebook Marketplace date filter. Uses the same calendar-day buckets as the UI, so last_24_hours can include listings from the prior calendar day. - `availability` — enum: available, sold, all. Availability filter - `cursor` — string. Opaque pagination cursor returned from the previous response. Pass it back as-is. #### Marketplace Item — `GET /api/data/v1/facebook/marketplace/item` Retrieve marketplace item from Facebook Marketplace with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-marketplace-item`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-marketplace-item.md - `id` — string. Facebook Marketplace item id - `url` — string. Facebook Marketplace item URL ### Facebook Events #### Search Events — `GET /api/data/v1/facebook/events/search` Retrieve search events from Facebook Events with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-events-search`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-events-search.md - `query` (required) — string. The query to search for - `cursor` — string. The cursor to paginate to the next page #### Events — `GET /api/data/v1/facebook/events` Retrieve events from Facebook Events with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-events`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-events.md - `url` (required) — string. The URL of the city's Facebook Events page - `time` — enum: today, this_week, next_week. The time frame to search for. Defaults to all time - `cursor` — string. The cursor to paginate to the next page #### Event Details — `GET /api/data/v1/facebook/event/details` Retrieve event details from Facebook Events with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-event-details`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-event-details.md - `id` — string. The ID of the event - `url` — string. The URL of the event ### Facebook Ad Library #### Ad Details — `GET /api/data/v1/facebook/adLibrary/ad` Retrieve ad details from Facebook Ad Library with a single API request. Cost: 30 credits. endpoint_id: `get-v1-facebook-adlibrary-ad`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-adlibrary-ad.md - `id` — string. Facebook Ad Id - `url` — string. Facebook Ad URL - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `get_transcript` — boolean. Transcription is opt-in via get_transcript=true. Default short AI (up to 120 seconds, inclusive) is included in the existing base endpoint price, with no extra AI fee. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. On detail routes, successful paid-mode AI costs are in addition to the existing base endpoint cost; media-download pricing is unchanged. Returned native captions leave the base endpoint price unchanged. Empty AI results and errors incur no AI fee; the base scrape fee still applies when the detail scrape succeeds. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `trim` — boolean. Set to true for a trimmed down version of the response - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit; default short AI is included; allow_long_transcription=true adds 10 credits per started minute to the existing base cost). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Ad Transcript — `GET /api/data/v1/facebook/adLibrary/ad/transcript` Retrieve ad transcript from Facebook Ad Library with a single API request. Cost: 30 credits. endpoint_id: `get-v1-facebook-adlibrary-ad-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-adlibrary-ad-transcript.md - `id` — string. Facebook Ad Id - `url` — string. Facebook Ad URL - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (Returned native captions cost 1 credit, even for long videos with the paid flag. By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow_long_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits; no transcript: 0 credits). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Search — `GET /api/data/v1/facebook/adLibrary/search/ads` Retrieve search from Facebook Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-adlibrary-search-ads`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-adlibrary-search-ads.md - `query` (required) — string. Keyword to search for - `sort_by` — enum: total_impressions, relevancy_monthly_grouped. Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions. - `search_type` — enum: keyword_unordered, keyword_exact_phrase. If you want to search by exact phrase or not - `ad_type` — enum: all, political_and_issue_ads. Search for all ads or only political and issue ads - `country` — string. This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL. - `language` — string. Language to filter ads on. Needs to be a 2 letter language code, such as EN, ES, or FR. - `status` — enum: ALL, ACTIVE, INACTIVE. Status of the ad. Defaults to ACTIVE. - `media_type` — enum: ALL, IMAGE, VIDEO, MEME, IMAGE_AND_MEME, NONE. Media type of the ad. Defaults to ALL. Meme just means the ad has text and an image. No clue why they call it meme. - `start_date` — string. Impressions start date. Needs to be in YYYY-MM-DD format. - `end_date` — string. Impressions end date. Needs to be in YYYY-MM-DD format. - `trim` — boolean. Set to true for a trimmed down version of the response - `cursor` — string. Cursor to paginate through results #### Search — `POST /api/data/v1/facebook/adLibrary/search/ads` Retrieve search from Facebook Ad Library with a single API request. Cost: 1 credit. endpoint_id: `post-v1-facebook-adlibrary-search-ads`. Docs: https://fetchgoblin.com/docs/post-v1-facebook-adlibrary-search-ads.md - JSON body (required): see https://fetchgoblin.com/docs/post-v1-facebook-adlibrary-search-ads.md #### Company Ads — `GET /api/data/v1/facebook/adLibrary/company/ads` Retrieve company ads from Facebook Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-adlibrary-company-ads`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-adlibrary-company-ads.md - `pageId` — string. The intended company's Facebook Page ID. Use pageId for accurate Page selection instead of relying on the companyName lookup. You can get it from Search for Companies; verify that the result is the company you want. Provide pageId or companyName. - `companyName` — string. Company name for a convenience lookup. We look up the Page for you, but the match may not be the company you intended and can lead to inaccurate results. Use pageId to target the correct company. Provide companyName or pageId. - `country` — string. This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL. - `status` — enum: ALL, ACTIVE, INACTIVE. Status of the ad. Defaults to ACTIVE. - `media_type` — enum: ALL, IMAGE, VIDEO, MEME, IMAGE_AND_MEME, NONE. Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme. - `language` — string. Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc - `sort_by` — enum: total_impressions, relevancy_monthly_grouped. Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions. - `start_date` — string. Start date to search for. Format: YYYY-MM-DD - `end_date` — string. End date to search for. Format: YYYY-MM-DD - `trim` — boolean. Set to true for a trimmed down version of the response - `cursor` — string. Cursor to paginate through results #### Company Ads — `POST /api/data/v1/facebook/adLibrary/company/ads` Retrieve company ads from Facebook Ad Library with a single API request. Cost: 1 credit. endpoint_id: `post-v1-facebook-adlibrary-company-ads`. Docs: https://fetchgoblin.com/docs/post-v1-facebook-adlibrary-company-ads.md - JSON body (required): see https://fetchgoblin.com/docs/post-v1-facebook-adlibrary-company-ads.md #### Search for Companies — `GET /api/data/v1/facebook/adLibrary/search/companies` Retrieve search for companies from Facebook Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-facebook-adlibrary-search-companies`. Docs: https://fetchgoblin.com/docs/get-v1-facebook-adlibrary-search-companies.md - `query` (required) — string. Keyword to search for ### TikTok Ad Library #### Ad Library Search — `GET /api/data/v1/tiktok/ad-library/search` Retrieve ad library search from TikTok Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-ad-library-search`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-ad-library-search.md - `query` — string. General ad search. Provide either query or advertiser_name, not both. - `advertiser_name` — string. Advertiser name to resolve through TikTok's typeahead and search by advertiser entity. Falls back to TikTok's name search when no entity matches. Provide either advertiser_name or query, not both. - `adv_biz_ids` — string. TikTok advertiser business ID from a See all ads link. Use it with advertiser_name to pin the exact advertiser. Required companion: advertiser_name; ID-only searches return 400 because TikTok ignores the ID without the name. - `start_time` — integer. Inclusive lower bound for the ad's last shown date; end_time is the inclusive upper bound. Supply start_time and end_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start_time must be less than or equal to end_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad_request. - `end_time` — integer. Inclusive upper bound for the ad's last shown date; start_time is the inclusive lower bound. Supply start_time and end_time together as positive base-10 safe integers, no greater than 9007199254740991, in Unix seconds (preferred) or milliseconds. Values greater than 9999999999 are interpreted as milliseconds, divided by 1000 and rounded down to seconds. start_time must be less than or equal to end_time after normalization; equal bounds are accepted. If both are omitted, the last-shown date window defaults to the rolling 30 days ending at the time of each request. A missing companion, empty value, sign, fraction, scientific notation, whitespace, date string, unsafe integer or reversed interval returns 400 bad_request. - `region` — string. Filter by the ad's targeting/delivery country, not the advertiser's registration country. Omitted region defaults to all supported countries, not every country worldwide. Values are case-insensitive. Use all, one listed country code, or several codes separated by commas, such as FR,FI. Do not mix all with country codes. US is not supported. Empty values and unsupported countries return 400 bad_request. - `sort` — enum: last_shown_date,desc, last_shown_date,asc, create_time,desc, create_time,asc, impression,desc, impression,asc. Sort the ads. An omitted sort is sent as create_time,desc, newest publish time first. last_shown_date,desc is newest last-shown date first. last_shown_date,asc is the oldest last-shown date first. create_time,asc is the oldest publish time first. impression,desc and impression,asc sort by unique users. Any other value returns 400 bad_request. - `keyword_only` — boolean. Set true with query to match ad keywords rather than advertiser names. For newest last-shown ads first, also set sort=last_shown_date,desc. - `ad_type` — enum: all, video, image, text. Ad format. An omitted ad_type is sent as all, every format. video, image, and text match TikTok's format filter. Digits 0, 1, 2, and 3 are accepted for those four values. Any other value returns 400 bad_request. - `ad_status` — enum: active, inactive, all. Delivery status. An omitted ad_status is sent as active, ads TikTok marks as currently delivering. all includes active and inactive. inactive is ads no longer delivering. Digits 0, 1, and 2 are accepted for all, active, and inactive. Any other value returns 400 bad_request. - `ages` — string. Target age ranges. An omitted ages is sent as all. Otherwise pass one or more of 13-17, 18-24, 25-34, 35-44, 45-54, and 55+, separated by commas. Do not mix all with ranges, and do not repeat a range. Any other value returns 400 bad_request. - `ad_reach` — string. Estimated audience size. An omitted ad_reach is sent as all. Otherwise pass one or more of 0-10K, 10K-100K, and 100K+, separated by commas. Matching is case-insensitive. Do not mix all with sizes, and do not repeat a size. Any other value returns 400 bad_request. - `gender` — enum: all, female, male. Target gender. An omitted gender is sent as all. Otherwise female or male. Case-insensitive. Any other value returns 400 bad_request. - `cursor` — string. Opaque cursor returned from the previous response. Repeat the same query or advertiser_name, adv_biz_ids when used, and any explicit start_time, end_time, region, sort, keyword_only, ad_type, ad_status, ages, ad_reach, and gender filters with every returned cursor. Pass the cursor unchanged; it does not replace the search inputs or filters. #### Ad Library Ad — `GET /api/data/v1/tiktok/ad-library/ad` Retrieve ad library ad from TikTok Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-tiktok-ad-library-ad`. Docs: https://fetchgoblin.com/docs/get-v1-tiktok-ad-library-ad.md - `ad_id` (required) — string. Creative Center Top Ads material ID or URL, or a public Ads Library ad ID or library.tiktok.com detail URL. ### Google Ad Library #### Company Ads — `GET /api/data/v1/google/company/ads` Retrieve company ads from Google Ad Library with a single API request. Cost: 1 credit (up to 25 credits with get_ad_details=true). endpoint_id: `get-v1-google-company-ads`. Docs: https://fetchgoblin.com/docs/get-v1-google-company-ads.md - `domain` — string. The domain of the company - `advertiser_id` — string. The advertiser id of the company - `topic` — enum: all, political. The topic to search for. If you search for 'political', you will also need to pass a 'region', like 'US' or 'AU' - `region` — string. The region to search for. Defaults to anywhere - `start_date` — string. Start date to search for. Format: YYYY-MM-DD - `end_date` — string. End date to search for. Format: YYYY-MM-DD - `platform` — enum: google_maps, google_play, google_search, google_shopping, youtube. Platform to search for. - `format` — enum: text, image, video. Ad format to search for. - `get_ad_details` — enum: true, false. Set to true to get the ad details. Will cost 25 credits. - `cursor` — string. Leave empty for the first request. For the next page, use the cursor from your previous response and keep the same filters. #### Ad Details — `GET /api/data/v1/google/ad` Retrieve ad details from Google Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-google-ad`. Docs: https://fetchgoblin.com/docs/get-v1-google-ad.md - `url` (required) — string. The url of the ad - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Advertiser Search — `GET /api/data/v1/google/adLibrary/advertisers/search` Retrieve advertiser search from Google Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-google-adlibrary-advertisers-search`. Docs: https://fetchgoblin.com/docs/get-v1-google-adlibrary-advertisers-search.md - `query` (required) — string. The query to search for - `region` — string. 2-letter country code to search in. Defaults to US when omitted. ### LinkedIn Ad Library #### Search Ads — `GET /api/data/v1/linkedin/ads/search` Retrieve search ads from LinkedIn Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-ads-search`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-ads-search.md - `company` — string. The company name to search for. 'Microsoft' for example - `keyword` — string. The keyword to search for - `companyId` — string. The company id to search for - `countries` — string. Comma separated list of countries. Example: US,CA,MX - `startDate` — string. Start date in YYYY-MM-DD format. Must be used with endDate and cannot be earlier than the date one year ago. - `endDate` — string. End date in YYYY-MM-DD format. Must be used with startDate and cannot be today or a future date. - `paginationToken` — string. Pagination token to paginate through results #### Ad Details — `GET /api/data/v1/linkedin/ad` Retrieve ad details from LinkedIn Ad Library with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkedin-ad`. Docs: https://fetchgoblin.com/docs/get-v1-linkedin-ad.md - `url` (required) — string. The url of the ad ### Twitter #### Search Posts — `GET /api/data/v1/twitter/search/posts` Retrieve search posts from Twitter with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitter-search-posts`. Docs: https://fetchgoblin.com/docs/get-v1-twitter-search-posts.md - `query` (required) — string. Keyword or phrase to search for in Google-indexed public X/Twitter posts - `cursor` — string. Pass the cursor returned by the previous response. Supported page cursors are 1 through 11. A null response cursor means there are no more pages. #### Profile — `GET /api/data/v1/twitter/profile` Retrieve profile from Twitter with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitter-profile`. Docs: https://fetchgoblin.com/docs/get-v1-twitter-profile.md - `handle` (required) — string. Twitter handle - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### User Tweets — `GET /api/data/v1/twitter/user-tweets` Retrieve user tweets from Twitter with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitter-user-tweets`. Docs: https://fetchgoblin.com/docs/get-v1-twitter-user-tweets.md - `handle` (required) — string. Twitter handle - `trim` — boolean. Set to true for a trimmed down version of the response #### Tweet Details — `GET /api/data/v1/twitter/tweet` Retrieve tweet details from Twitter with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitter-tweet`. Docs: https://fetchgoblin.com/docs/get-v1-twitter-tweet.md - `url` (required) — string. Tweet URL - `trim` — boolean. Set to true for a trimmed down version of the response - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Transcript — `GET /api/data/v1/twitter/tweet/transcript` Retrieve transcript from Twitter with a single API request. Cost: 30 credits. endpoint_id: `get-v1-twitter-tweet-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-twitter-tweet-transcript.md - `url` (required) — string. Tweet URL - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (Returned native captions cost 1 credit, even for long videos with the paid flag. By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow_long_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits; no transcript: 0 credits). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Community — `GET /api/data/v1/twitter/community` Retrieve community from Twitter with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitter-community`. Docs: https://fetchgoblin.com/docs/get-v1-twitter-community.md - `url` (required) — string. Community URL #### Community Tweets — `GET /api/data/v1/twitter/community/tweets` Retrieve community tweets from Twitter with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitter-community-tweets`. Docs: https://fetchgoblin.com/docs/get-v1-twitter-community-tweets.md - `url` (required) — string. Community URL ### Reddit #### Profile — `GET /api/data/v1/reddit/profile` Retrieve profile from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-profile`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-profile.md - `url` (required) — string. A Reddit user profile URL. Both /user/ and /u/ links are accepted. #### Subreddit Details — `GET /api/data/v1/reddit/subreddit/details` Retrieve subreddit details from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-subreddit-details`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-subreddit-details.md - `subreddit` — string. Subreddit name. MUST be case sensitive. So 'AskReddit' not 'askreddit'. - `url` — string. Subreddit URL - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Subreddit Posts — `GET /api/data/v1/reddit/subreddit` Retrieve subreddit posts from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-subreddit`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-subreddit.md - `subreddit` (required) — string. Subreddit name - `timeframe` — enum: all, day, week, month, year. Timeframe to get posts from - `sort` — enum: best, hot, new, top, rising. Sort order - `trim` — boolean. Set to true for a trimmed down version of the response - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) - `after` — string. After to get more posts. Get 'after' from previous response. #### Subreddit Search — `GET /api/data/v1/reddit/subreddit/search` Retrieve subreddit search from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-subreddit-search`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-subreddit-search.md - `subreddit` (required) — string. Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL) - `query` — string. Search query to find matching content - `sort` — enum: relevance, hot, top, new, comments. Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new - `timeframe` — enum: all, year, month, week, day, hour. Timeframe to filter results - `cursor` — string. Cursor to get more results. Get 'cursor' from previous response. #### Post — `GET /api/data/v1/reddit/post` Retrieve post from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-post`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-post.md - `url` (required) — string. Reddit post URL #### Post Comments — `GET /api/data/v1/reddit/post/comments` Retrieve post comments from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-post-comments`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-post-comments.md - `url` (required) — string. Reddit post URL - `sort` — enum: confidence, top, new, old, controversial, qa. Comment sort for the first page: confidence (Best), top, new, old, controversial, or qa (Q&A). Use confidence, not best, for Best. Best is the recommended starting point for collecting more comments; browser checks found substantially more top-level comments with Best and Top than with the default, New, or Old on the tested post. This is not a guarantee for every post. Reddit can return different subsets for each sort. For broader coverage, start separate confidence, new, and old runs and deduplicate by comment ID. Follow each run's returned cursors unchanged; a cursor retains its sort, so changing sort does not change an existing cursor chain. Paginate nested replies separately. No sort guarantees every comment or the displayed total. If omitted, the post URL's supported sort is used when present; otherwise Reddit chooses its default. Supported by both GET query parameters and POST JSON-body parameters. - `trim` — boolean. Set to true for a trimmed down version of the response - `cursor` — string. One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors. #### Post Comments — `POST /api/data/v1/reddit/post/comments` Retrieve post comments from Reddit with a single API request. Cost: 1 credit. endpoint_id: `post-v1-reddit-post-comments`. Docs: https://fetchgoblin.com/docs/post-v1-reddit-post-comments.md - JSON body (required): see https://fetchgoblin.com/docs/post-v1-reddit-post-comments.md #### Post Transcript — `GET /api/data/v1/reddit/post/transcript` Retrieve post transcript from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-post-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-post-transcript.md - `url` (required) — string. Reddit post URL or direct v.redd.it video URL - `language` — string. 2 letter language code. Defaults to en. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Search — `GET /api/data/v1/reddit/search` Retrieve search from Reddit with a single API request. Cost: 1 credit. endpoint_id: `get-v1-reddit-search`. Docs: https://fetchgoblin.com/docs/get-v1-reddit-search.md - `query` (required) — string. Search query - `filter` — enum: posts, comments. Search posts or comments - `sort` — enum: relevance, new, top, comment_count. Sort by. Comment search supports relevance, new, and top; comment_count is for post search only. - `timeframe` — enum: all, day, week, month, year. Post search timeframe - `trim` — boolean. Set to true for a trimmed down version of the response - `after` — string. Used to paginate to next page ### Truth Social #### Profile — `GET /api/data/v1/truthsocial/profile` Retrieve profile from Truth Social with a single API request. Cost: 1 credit. endpoint_id: `get-v1-truthsocial-profile`. Docs: https://fetchgoblin.com/docs/get-v1-truthsocial-profile.md - `handle` (required) — string. Truth Social username #### User Posts — `GET /api/data/v1/truthsocial/user/posts` Retrieve user posts from Truth Social with a single API request. Cost: 1 credit. endpoint_id: `get-v1-truthsocial-user-posts`. Docs: https://fetchgoblin.com/docs/get-v1-truthsocial-user-posts.md - `handle` — string. Truth Social username - `user_id` — string. Truth Social user id. Use this for faster response times. Trumps is 107780257626128497. It is the 'id' field in the profile endpoint. - `trim` — boolean. Set to true for a trimmed down version of the response - `next_max_id` — string. Used to paginate to next page #### Post — `GET /api/data/v1/truthsocial/post` Retrieve post from Truth Social with a single API request. Cost: 1 credit. endpoint_id: `get-v1-truthsocial-post`. Docs: https://fetchgoblin.com/docs/get-v1-truthsocial-post.md - `url` (required) — string. Truth Social post URL - `download_media` — boolean. Set to true to download the attached video/images and get back permanent Supabase URLs. Costs 10 credits if media is found, 1 credit otherwise. ### Threads #### Profile — `GET /api/data/v1/threads/profile` Retrieve profile from Threads with a single API request. Cost: 1 credit. endpoint_id: `get-v1-threads-profile`. Docs: https://fetchgoblin.com/docs/get-v1-threads-profile.md - `handle` (required) — string. Threads username - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Posts — `GET /api/data/v1/threads/user/posts` Retrieve posts from Threads with a single API request. Cost: 1 credit. endpoint_id: `get-v1-threads-user-posts`. Docs: https://fetchgoblin.com/docs/get-v1-threads-user-posts.md - `handle` (required) — string. Threads username - `trim` — boolean. Set to true for a trimmed down version of the response #### Post — `GET /api/data/v1/threads/post` Retrieve post from Threads with a single API request. Cost: 1 credit. endpoint_id: `get-v1-threads-post`. Docs: https://fetchgoblin.com/docs/get-v1-threads-post.md - `url` (required) — string. The URL of the post to get - `trim` — boolean. Set to true for a trimmed down version of the response - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Search by Keyword — `GET /api/data/v1/threads/search` Retrieve search by keyword from Threads with a single API request. Cost: 1 credit. endpoint_id: `get-v1-threads-search`. Docs: https://fetchgoblin.com/docs/get-v1-threads-search.md - `query` (required) — string. Keyword to search for - `trim` — boolean. Set to true for a trimmed down version of the response #### Search Users — `GET /api/data/v1/threads/search/users` Retrieve search users from Threads with a single API request. Cost: 1 credit. endpoint_id: `get-v1-threads-search-users`. Docs: https://fetchgoblin.com/docs/get-v1-threads-search-users.md - `query` (required) — string. Username to search for ### Bluesky #### Profile — `GET /api/data/v1/bluesky/profile` Retrieve profile from Bluesky with a single API request. Cost: 1 credit. endpoint_id: `get-v1-bluesky-profile`. Docs: https://fetchgoblin.com/docs/get-v1-bluesky-profile.md - `handle` (required) — string. Bluesky handle #### Posts — `GET /api/data/v1/bluesky/user/posts` Retrieve posts from Bluesky with a single API request. Cost: 1 credit. endpoint_id: `get-v1-bluesky-user-posts`. Docs: https://fetchgoblin.com/docs/get-v1-bluesky-user-posts.md - `handle` — string. Bluesky handle - `user_id` — string. Bluesky 'did'. (For some reason Bluesky calls their user ids, 'did' for whatever reason) #### Post — `GET /api/data/v1/bluesky/post` Retrieve post from Bluesky with a single API request. Cost: 1 credit. endpoint_id: `get-v1-bluesky-post`. Docs: https://fetchgoblin.com/docs/get-v1-bluesky-post.md - `url` (required) — string. Bluesky post URL ### Pinterest #### Search — `GET /api/data/v1/pinterest/search` Retrieve search from Pinterest with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pinterest-search`. Docs: https://fetchgoblin.com/docs/get-v1-pinterest-search.md - `query` (required) — string. Search query - `trim` — boolean. Set to true for a trimmed down version of the response - `cursor` — string. Cursor #### Pin — `GET /api/data/v1/pinterest/pin` Retrieve pin from Pinterest with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pinterest-pin`. Docs: https://fetchgoblin.com/docs/get-v1-pinterest-pin.md - `url` (required) — string. Pinterest pin URL - `trim` — boolean. Set to true for a trimmed down version of the response - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### User Pins — `GET /api/data/v1/pinterest/user/pins` Retrieve user pins from Pinterest with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pinterest-user-pins`. Docs: https://fetchgoblin.com/docs/get-v1-pinterest-user-pins.md - `handle` (required) — string. Pinterest username, not a profile URL. - `feed` — enum: profile, created. profile (default): Public Pins from the profile, which can include both created and saved Pins. created: Only Pins from the profile's Created tab. - `cursor` — string. Pass the cursor from the previous page with the same handle and feed. #### User Boards — `GET /api/data/v1/pinterest/user/boards` Retrieve user boards from Pinterest with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pinterest-user-boards`. Docs: https://fetchgoblin.com/docs/get-v1-pinterest-user-boards.md - `handle` (required) — string. The username of the user to get boards for. (e.g. broadstbullycom from https://www.pinterest.com/broadstbullycom/) - `trim` — boolean. Set to true for a trimmed down version of the response #### Profile — `GET /api/data/v1/pinterest/profile` Retrieve profile from Pinterest with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pinterest-profile`. Docs: https://fetchgoblin.com/docs/get-v1-pinterest-profile.md - `url` (required) — string. A Pinterest profile URL (not a board or Pin URL). #### Topic — `GET /api/data/v1/pinterest/topic` Retrieve topic from Pinterest with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pinterest-topic`. Docs: https://fetchgoblin.com/docs/get-v1-pinterest-topic.md - `url` (required) — string. The Pinterest ideas URL of the topic to get. #### Board — `GET /api/data/v1/pinterest/board` Retrieve board from Pinterest with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pinterest-board`. Docs: https://fetchgoblin.com/docs/get-v1-pinterest-board.md - `url` (required) — string. The URL of the board to get - `trim` — boolean. Set to true for a trimmed down version of the response. Retains pins[].aggregated_pin_data.aggregated_stats.saves and pins[].pin_join.visual_annotation when Pinterest supplies them; these native save counts and keyword labels are not guaranteed for every pin. Only these nested leaves are retained, not the full aggregated_pin_data or pin_join objects. - `cursor` — string. The cursor to get the next page of results ### Google #### Search — `GET /api/data/v1/google/search` Retrieve search from Google with a single API request. Cost: 1 credit. endpoint_id: `get-v1-google-search`. Docs: https://fetchgoblin.com/docs/get-v1-google-search.md - `query` (required) — string. Search query - `region` — string. 2 letter country code, ie US, UK, CA, etc This will show results from that country - `date_posted` — enum: last-hour, last-day, last-week, last-month, last-year. Date posted - `page` — number. Page number to retrieve. Must be between 1 and 11; page 12 or greater returns a 400 response. ### Twitch #### Profile — `GET /api/data/v1/twitch/profile` Retrieve profile from Twitch with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitch-profile`. Docs: https://fetchgoblin.com/docs/get-v1-twitch-profile.md - `handle` (required) — string. Twitch handle - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### User Videos — `GET /api/data/v1/twitch/user/videos` Retrieve user videos from Twitch with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitch-user-videos`. Docs: https://fetchgoblin.com/docs/get-v1-twitch-user-videos.md - `handle` (required) — string. Twitch handle - `filter_by` — enum: HIGHLIGHT, ARCHIVE, UPLOAD. Filter by - `sort_by` — enum: TIME, VIEWS. Sort by #### User Schedule — `GET /api/data/v1/twitch/user/schedule` Retrieve user schedule from Twitch with a single API request. Cost: 1 credit. endpoint_id: `get-v1-twitch-user-schedule`. Docs: https://fetchgoblin.com/docs/get-v1-twitch-user-schedule.md - `handle` (required) — string. Twitch handle #### Clip Transcript — `GET /api/data/v1/twitch/clip/transcript` Retrieve clip transcript from Twitch with a single API request. Cost: 1 credit (up to 10 credits with use_ai_as_fallback=true). endpoint_id: `get-v1-twitch-clip-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-twitch-clip-transcript.md - `url` (required) — string. Twitch clip URL - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `use_ai_as_fallback` — boolean. Use paid AI only when native captions are unavailable. Defaults to false. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. ### Apple Music #### Artist — `GET /api/data/v1/apple-music/artist` Retrieve artist from Apple Music with a single API request. Cost: 1 credit. endpoint_id: `get-v1-apple-music-artist`. Docs: https://fetchgoblin.com/docs/get-v1-apple-music-artist.md - `id` — string. Apple Music artist id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Apple Music artist URL. If you'd prefer to use the id instead, you can use the id parameter instead. #### Album — `GET /api/data/v1/apple-music/album` Retrieve album from Apple Music with a single API request. Cost: 1 credit. endpoint_id: `get-v1-apple-music-album`. Docs: https://fetchgoblin.com/docs/get-v1-apple-music-album.md - `id` — string. Apple Music album id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Apple Music album URL. If you'd prefer to use the id instead, you can use the id parameter instead. #### Track — `GET /api/data/v1/apple-music/track` Retrieve track from Apple Music with a single API request. Cost: 1 credit. endpoint_id: `get-v1-apple-music-track`. Docs: https://fetchgoblin.com/docs/get-v1-apple-music-track.md - `id` — string. Apple Music song id. Some songs have standalone song URLs; for album tracks, use the url parameter. - `url` — string. Apple Music song URL or album track URL. #### Search — `GET /api/data/v1/apple-music/search` Retrieve search from Apple Music with a single API request. Cost: 1 credit. endpoint_id: `get-v1-apple-music-search`. Docs: https://fetchgoblin.com/docs/get-v1-apple-music-search.md - `query` (required) — string. Search query - `type` — string. Result type to return. Use all, song, album, artist, playlist, station, music_video, or radio_episode. ### Spotify #### Profile — `GET /api/data/v1/spotify/profile` Retrieve profile from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-profile`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-profile.md - `url` (required) — string. Public Spotify user profile URL. #### Artist — `GET /api/data/v1/spotify/artist` Retrieve artist from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-artist`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-artist.md - `id` — string. Spotify artist id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Spotify artist URL. If you'd prefer to use the id instead, you can use the id parameter instead. #### Track — `GET /api/data/v1/spotify/track` Retrieve track from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-track`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-track.md - `id` — string. Spotify track id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Spotify song URL. If you'd prefer to use the id instead, you can use the id parameter instead. #### Album — `GET /api/data/v1/spotify/album` Retrieve album from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-album`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-album.md - `id` — string. Spotify album id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Spotify album URL. If you'd prefer to use the id instead, you can use the id parameter instead. #### Playlist — `GET /api/data/v1/spotify/playlist` Retrieve playlist from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-playlist`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-playlist.md - `id` — string. Spotify playlist id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Spotify playlist URL. If you'd prefer to use the id instead, you can use the id parameter instead. - `cursor` — string. Cursor returned by the previous response. Omit it for the first page. #### Search — `GET /api/data/v1/spotify/search` Retrieve search from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-search`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-search.md - `query` (required) — string. Search query #### Podcast — `GET /api/data/v1/spotify/podcast` Retrieve podcast from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-podcast`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-podcast.md - `id` — string. Spotify podcast id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Spotify podcast URL. If you'd prefer to use the id instead, you can use the id parameter instead. #### Podcast Episodes — `GET /api/data/v1/spotify/podcast/episodes` Retrieve podcast episodes from Spotify with a single API request. Cost: 1 credit. endpoint_id: `get-v1-spotify-podcast-episodes`. Docs: https://fetchgoblin.com/docs/get-v1-spotify-podcast-episodes.md - `id` — string. Spotify podcast id. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. Spotify podcast URL. If you'd prefer to use the id instead, you can use the id parameter instead. - `cursor` — number. Cursor returned by the previous response. Omit for the first page. ### SoundCloud #### Artist — `GET /api/data/v1/soundcloud/artist` Retrieve artist from SoundCloud with a single API request. Cost: 1 credit. endpoint_id: `get-v1-soundcloud-artist`. Docs: https://fetchgoblin.com/docs/get-v1-soundcloud-artist.md - `handle` — string. SoundCloud artist handle. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. SoundCloud artist URL. If you'd prefer to use the handle instead, you can use the handle parameter instead. #### Artist Tracks — `GET /api/data/v1/soundcloud/artist/tracks` Retrieve artist tracks from SoundCloud with a single API request. Cost: 1 credit. endpoint_id: `get-v1-soundcloud-artist-tracks`. Docs: https://fetchgoblin.com/docs/get-v1-soundcloud-artist-tracks.md - `handle` — string. SoundCloud artist handle. If you'd prefer to use the URL instead, you can use the url parameter instead. - `url` — string. SoundCloud artist tracks URL. If you'd prefer to use the handle instead, you can use the handle parameter instead. - `cursor` — string. Cursor to get more tracks. Get 'cursor' from previous response. #### Track — `GET /api/data/v1/soundcloud/track` Retrieve track from SoundCloud with a single API request. Cost: 1 credit. endpoint_id: `get-v1-soundcloud-track`. Docs: https://fetchgoblin.com/docs/get-v1-soundcloud-track.md - `url` (required) — string. SoundCloud track URL. ### Kwai #### Profile — `GET /api/data/v1/kwai/profile` Retrieve profile from Kwai with a single API request. Cost: 1 credit. endpoint_id: `get-v1-kwai-profile`. Docs: https://fetchgoblin.com/docs/get-v1-kwai-profile.md - `handle` — string. Kwai profile handle. Use this or url. - `url` — string. Kwai profile URL. Use this or handle. #### User Posts — `GET /api/data/v1/kwai/user/posts` Retrieve user posts from Kwai with a single API request. Cost: 1 credit. endpoint_id: `get-v1-kwai-user-posts`. Docs: https://fetchgoblin.com/docs/get-v1-kwai-user-posts.md - `handle` — string. Kwai profile handle. Use this or url. - `url` — string. Kwai profile URL. Use this or handle. - `count` — number. Number of posts to return, max 50 - `cursor` — string. Cursor from the previous response for the next page #### Post — `GET /api/data/v1/kwai/post` Retrieve post from Kwai with a single API request. Cost: 1 credit. endpoint_id: `get-v1-kwai-post`. Docs: https://fetchgoblin.com/docs/get-v1-kwai-post.md - `url` — string. Kwai post URL ### Kick #### Channel Follower Count — `GET /api/data/v1/kick/channel/follower-count` Retrieve channel follower count from Kick with a single API request. Cost: 1 credit. endpoint_id: `get-v1-kick-channel-follower-count`. Docs: https://fetchgoblin.com/docs/get-v1-kick-channel-follower-count.md - `url` (required) — string. Public Kick channel URL #### Livestream — `GET /api/data/v1/kick/livestream` Retrieve livestream from Kick with a single API request. Cost: 1 credit. endpoint_id: `get-v1-kick-livestream`. Docs: https://fetchgoblin.com/docs/get-v1-kick-livestream.md - `url` (required) — string. Public Kick channel URL, not a clip or replay URL. #### Video (VOD) — `GET /api/data/v1/kick/video` Retrieve video (vod) from Kick with a single API request. Cost: 1 credit. endpoint_id: `get-v1-kick-video`. Docs: https://fetchgoblin.com/docs/get-v1-kick-video.md - `url` (required) — string. Public Kick replay URL, not a channel or clip URL. #### Clip Transcript — `GET /api/data/v1/kick/clip/transcript` Retrieve clip transcript from Kick with a single API request. Cost: 1 credit (up to 10 credits with use_ai_as_fallback=true). endpoint_id: `get-v1-kick-clip-transcript`. Docs: https://fetchgoblin.com/docs/get-v1-kick-clip-transcript.md - `url` (required) — string. Kick clip URL - `allow_long_transcription` — boolean. Paid opt-in, enabled only by the literal query value 'true' (allow_long_transcription=true). Defaults to false when omitted; other values do not enable paid mode. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. This flag does not force AI and does not enable transcription or AI fallback by itself. Keep get_transcript=true or use_ai_as_fallback=true where required by the endpoint. Returned native captions still cost 1 credit on dedicated transcript routes, even for long videos with this flag; on detail routes they leave the base price unchanged. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. - `use_ai_as_fallback` — boolean. Use paid AI only when native captions are unavailable. Defaults to false. By default, successful AI transcription of videos up to 120 seconds (two minutes, inclusive) costs a flat 1 credit per request. Over 120 seconds, videos cannot be AI-transcribed by default. Set allow_long_transcription=true to opt into paid AI with no fixed duration cap: ALL successful AI transcriptions in this mode cost 10 credits per started minute, including short videos: 10 * ceil(duration_seconds / 60). For example, 177 seconds costs 30 credits and an opted-in 60 seconds costs 10 credits. Empty AI results and errors cost 0 credits for AI transcription. These routes remain synchronous. Allow at least 30 seconds on your client. Paid long transcription can exceed resource limits or timeouts, so successful transcription of long videos is not guaranteed. #### Clip — `GET /api/data/v1/kick/clip` Retrieve clip from Kick with a single API request. Cost: 1 credit. endpoint_id: `get-v1-kick-clip`. Docs: https://fetchgoblin.com/docs/get-v1-kick-clip.md - `url` (required) — string. Kick clip URL ### Snapchat #### User Profile — `GET /api/data/v1/snapchat/profile` Retrieve user profile from Snapchat with a single API request. Cost: 1 credit. endpoint_id: `get-v1-snapchat-profile`. Docs: https://fetchgoblin.com/docs/get-v1-snapchat-profile.md - `handle` (required) — string. Snapchat username #### Spotlight by Link — `GET /api/data/v1/snapchat/spotlight` Retrieve spotlight by link from Snapchat with a single API request. Cost: 1 credit. endpoint_id: `get-v1-snapchat-spotlight`. Docs: https://fetchgoblin.com/docs/get-v1-snapchat-spotlight.md - `url` (required) — string. Snapchat Spotlight URL. #### Spotlight Comments by Link — `GET /api/data/v1/snapchat/spotlight/comments` Retrieve spotlight comments by link from Snapchat with a single API request. Cost: 1 credit. endpoint_id: `get-v1-snapchat-spotlight-comments`. Docs: https://fetchgoblin.com/docs/get-v1-snapchat-spotlight-comments.md - `url` (required) — string. Snapchat Spotlight URL. - `cursor` — string. Pagination cursor from the previous response. ### Telegram #### Channel Details — `GET /api/data/v1/telegram/channel` Retrieve channel details from Telegram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-telegram-channel`. Docs: https://fetchgoblin.com/docs/get-v1-telegram-channel.md - `handle` (required) — string. Public Telegram handle, @handle, or t.me channel URL. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Channel Posts — `GET /api/data/v1/telegram/channel/posts` Retrieve channel posts from Telegram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-telegram-channel-posts`. Docs: https://fetchgoblin.com/docs/get-v1-telegram-channel-posts.md - `handle` (required) — string. Public Telegram handle, @handle, or t.me channel URL. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) - `cursor` — string. Numeric cursor returned by the previous page. Omit it for the latest posts. #### Post Details — `GET /api/data/v1/telegram/post` Retrieve post details from Telegram with a single API request. Cost: 1 credit. endpoint_id: `get-v1-telegram-post`. Docs: https://fetchgoblin.com/docs/get-v1-telegram-post.md - `url` (required) — string. Public Telegram post URL. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) ### Cosmos #### Profile — `GET /api/data/v1/cosmos/profile` Retrieve profile from Cosmos with a single API request. Cost: 1 credit. endpoint_id: `get-v1-cosmos-profile`. Docs: https://fetchgoblin.com/docs/get-v1-cosmos-profile.md - `handle` (required) — string. Cosmos username without a profile URL. #### User Posts — `GET /api/data/v1/cosmos/user/posts` Retrieve user posts from Cosmos with a single API request. Cost: 1 credit. endpoint_id: `get-v1-cosmos-user-posts`. Docs: https://fetchgoblin.com/docs/get-v1-cosmos-user-posts.md - `handle` (required) — string. Cosmos username without a profile URL. - `cursor` — string. Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. #### User Collections — `GET /api/data/v1/cosmos/user/clusters` Retrieve user collections from Cosmos with a single API request. Cost: 1 credit. endpoint_id: `get-v1-cosmos-user-clusters`. Docs: https://fetchgoblin.com/docs/get-v1-cosmos-user-clusters.md - `handle` (required) — string. Cosmos username without a profile URL. - `cursor` — string. Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. #### Post — `GET /api/data/v1/cosmos/post` Retrieve post from Cosmos with a single API request. Cost: 1 credit. endpoint_id: `get-v1-cosmos-post`. Docs: https://fetchgoblin.com/docs/get-v1-cosmos-post.md - `url` (required) — string. Public Cosmos post URL. #### Collection — `GET /api/data/v1/cosmos/cluster` Retrieve collection from Cosmos with a single API request. Cost: 1 credit. endpoint_id: `get-v1-cosmos-cluster`. Docs: https://fetchgoblin.com/docs/get-v1-cosmos-cluster.md - `url` (required) — string. Public Cosmos collection URL. #### Collection Posts — `GET /api/data/v1/cosmos/cluster/posts` Retrieve collection posts from Cosmos with a single API request. Cost: 1 credit. endpoint_id: `get-v1-cosmos-cluster-posts`. Docs: https://fetchgoblin.com/docs/get-v1-cosmos-cluster-posts.md - `url` (required) — string. Public Cosmos collection URL. - `cursor` — string. Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. #### Search — `GET /api/data/v1/cosmos/search` Retrieve search from Cosmos with a single API request. Cost: 1 credit. endpoint_id: `get-v1-cosmos-search`. Docs: https://fetchgoblin.com/docs/get-v1-cosmos-search.md - `query` (required) — string. Search text. - `cursor` — string. Pass the previous response cursor unchanged. Stop when it is null; sending the literal string "null" returns an empty terminal page without fetching or charging. ### Creator Tools #### Find Social Profiles — `GET /api/data/v1/find-social-profiles` Retrieve find social profiles from Creator Tools with a single API request. Cost: 10 credits. endpoint_id: `get-v1-find-social-profiles`. Docs: https://fetchgoblin.com/docs/get-v1-find-social-profiles.md - `platform` (required) — enum: instagram, tiktok, youtube, x, twitter, facebook. Source social platform - `handle` (required) — string. Creator handle without a profile URL. A leading @ is optional. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (10 credits). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Find Creator Emails — `GET /api/data/v1/find-creator-emails` Retrieve find creator emails from Creator Tools with a single API request. Cost: 10 credits. endpoint_id: `get-v1-find-creator-emails`. Docs: https://fetchgoblin.com/docs/get-v1-find-creator-emails.md - `platform` (required) — enum: instagram, tiktok, youtube, x, twitter, facebook. Source social platform - `handle` (required) — string. Creator handle without a profile URL. A leading @ is optional. - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit with no emails; 10 credits with any email (live lookups)). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) #### Get Age and Gender — `GET /api/data/v1/detect-age-gender` Retrieve get age and gender from Creator Tools with a single API request. Cost: 1 credit. endpoint_id: `get-v1-detect-age-gender`. Docs: https://fetchgoblin.com/docs/get-v1-detect-age-gender.md - `url` (required) — string. URL to users social profile ### Linktree #### Linktree page — `GET /api/data/v1/linktree` Retrieve linktree page from Linktree with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linktree`. Docs: https://fetchgoblin.com/docs/get-v1-linktree.md - `url` (required) — string. URL to Linktree page - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) ### Komi #### Komi page — `GET /api/data/v1/komi` Retrieve komi page from Komi with a single API request. Cost: 1 credit. endpoint_id: `get-v1-komi`. Docs: https://fetchgoblin.com/docs/get-v1-komi.md - `url` (required) — string. URL to Komi page - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) ### Pillar #### Pillar page — `GET /api/data/v1/pillar` Retrieve pillar page from Pillar with a single API request. Cost: 1 credit. endpoint_id: `get-v1-pillar`. Docs: https://fetchgoblin.com/docs/get-v1-pillar.md - `url` (required) — string. URL to Pillar page - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) ### Linkbio #### Linkbio page — `GET /api/data/v1/linkbio` Retrieve linkbio page from Linkbio with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkbio`. Docs: https://fetchgoblin.com/docs/get-v1-linkbio.md - `url` (required) — string. URL to Linkbio (lnk.bio) page - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits) ### Amazon Shop #### Amazon Shop page — `GET /api/data/v1/amazon/shop` Retrieve amazon shop page from Amazon Shop with a single API request. Cost: 1 credit. endpoint_id: `get-v1-amazon-shop`. Docs: https://fetchgoblin.com/docs/get-v1-amazon-shop.md - `url` (required) — string. URL to Amazon Shop page - `pageToken` — string. Opaque page token returned by a previous response for the same shop URL. Pass it back unchanged and do not infer the response type from its prefix. A page can contain lists, videos, or both. ### Linkme #### Profile — `GET /api/data/v1/linkme` Retrieve profile from Linkme with a single API request. Cost: 1 credit. endpoint_id: `get-v1-linkme`. Docs: https://fetchgoblin.com/docs/get-v1-linkme.md - `url` (required) — string. Linkme profile URL - `cache_max_age` — enum: 1d, 3d, 7d, 14d, 30d. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://fetchgoblin.com/docs#credits)