Scraping

Read public data from social networks and the web as clean JSON: 74 operations for transcripts, summaries, stats, comments, profiles, channel videos and search. Postkea only reads public content and never logs in as anyone.

Run an operation

Every operation has its own URL, POST /v1/scrape/{platform}/{operation}, and takes its input as the JSON body. The response wraps the result in data, with the credits charged, whether it came from the cached result of a recent identical request, and the operation id.

curl -X POST "https://postkea.com/api/v1/scrape/youtube/transcript" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "language": "en"
}'
Response
{
  "success": true,
  "data": {
    "data": {
      "id": "jNQXAC9IVRw",
      "title": "Me at the zoo",
      "durationSec": 19,
      "language": "en",
      "source": "captions",
      "text": "All right, so here we are in front of the elephants...",
      "segments": [
        {
          "start": 1.2,
          "end": 4.8,
          "text": "All right, so here we are in front of the elephants"
        }
      ],
      "translation": null,
      "sttMinutes": 0
    },
    "credits": 1,
    "cached": false,
    "operation": "youtube.transcript"
  }
}

Each operation also answers GET with its input as query parameters, which is handy in a browser tab or a spreadsheet. Add fresh=true to either form to skip the cache.

GET
curl "https://postkea.com/api/v1/scrape/tiktok/comments?url=https://www.tiktok.com/@nasa/video/7301&limit=40&sentiment=true" \
  -H "Authorization: Bearer $POSTKEA_API_KEY"

Scrape any link

POST /v1/scrape/auto takes any URL, detects the network and content type, and runs the right operation. Set want to details (default), transcript, summary or comments, and pass extra input in options. Links the networks above do not cover fall back to the page's metadata. The response adds the detected platform.

curl -X POST "https://postkea.com/api/v1/scrape/auto" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://www.instagram.com/reel/C9x2k1lMabc/",
  "want": "summary"
}'

Batch: one operation, many URLs

POST /v1/scrape/batch runs one operation on up to 500 URLs as a background job. The response is 202 with a jobId; options is added to every URL's input.

curl -X POST "https://postkea.com/api/v1/scrape/batch" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "operation": "tiktok.stats",
  "urls": [
    "https://www.tiktok.com/@nasa/video/7301",
    "https://www.tiktok.com/@nasa/video/7302"
  ]
}'

Poll GET /v1/jobs/{id} for free. Each URL becomes a child job with its own result, error and cost, listed in children. Set webhookUrl to be called when the batch finishes, or subscribe to the job.completed event. See Downloads and jobs.

Pipeline: discover, then act

A pipeline is two steps in one job. discover lists content, for example the latest videos of a channel or a search, and action runs on every URL it found, for example a summary of each video. limit caps how many items are processed (up to 200).

curl -X POST "https://postkea.com/api/v1/scrape/pipeline" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "discover": {
    "operation": "youtube.videos",
    "input": {
      "url": "@YouTube",
      "type": "videos"
    }
  },
  "action": {
    "operation": "youtube.summarize"
  },
  "limit": 10
}'

Operations that can discover: youtube.videos, youtube.playlist, youtube.search, tiktok.videos, tiktok.search, tiktok.hashtag, instagram.posts, instagram.reels, x.tweets, reddit.posts, reddit.search, bluesky.posts, bluesky.search, threads.posts, pinterest.board, mastodon.posts, mastodon.hashtag, telegram.posts.

Costs and caching

Successful operations cost credits; failed ones are always free. Each operation in the catalog below shows the credits for its example input.

OperationCredits
Details of a post, video, profile, page or channel1
Comments, channel videos, posts and search results1 per started page of 20 items
Transcripts1, plus 1 per minute when there are no captions and the audio is transcribed
Summaries2, plus 1 per minute when there are no captions and the audio is transcribed
Sentiment labels on comments (sentiment: true)Free
The catalog itself (GET /v1/scrape)Free
Results are cached for a few minutes to a day depending on the operation, and a cached result costs the same as a fresh one. Use fresh=true when you need the latest numbers. Turn off speechToText on transcript and summary operations to avoid transcription costs; videos without captions then return content_unavailable.

All operations

The 74 operations below are read from the live catalog, the same list GET /v1/scrape returns with full JSON schemas. Every operation is also an MCP tool named platform_operation, for example youtube_transcript.

YouTube

YouTube video details

1 credit for the example

POST /v1/scrape/youtube/stats

Title, description, views, likes, comment count, duration, tags, chapters and channel of a video or Short.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/youtube/stats \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"}'

YouTube transcript

1 credit for the example

POST /v1/scrape/youtube/transcript

Full transcript with timestamps from captions, or from speech to text when the video has none.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/youtube/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw","speechToText":true}'

YouTube summary

2 credits for the example

POST /v1/scrape/youtube/summarize

Summary, key points, topics, takeaways, sentiment and chapters of a video.

NameTypeDescription
urlrequiredstring
languagestringLanguage of the summary
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
promptstringExtra instructions, e.g. 'focus on pricing'
Example
curl -X POST https://postkea.com/api/v1/scrape/youtube/summarize \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw","speechToText":true}'

YouTube comments

1 credit for the example

POST /v1/scrape/youtube/comments

Top or newest comments of a video with authors, likes and reply counts.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/youtube/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw","limit":20,"sort":"top","sentiment":false}'

YouTube channel details

1 credit for the example

POST /v1/scrape/youtube/channel

Name, handle, subscribers, description, avatar and video count of a channel.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/youtube/channel \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/@YouTube"}'

YouTube channel videos

Discovers URLs1 credit for the example

POST /v1/scrape/youtube/videos

Latest videos, Shorts or streams of a channel.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
typevideos | shorts | streamsDefault: "videos"
Example
curl -X POST https://postkea.com/api/v1/scrape/youtube/videos \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"@YouTube","limit":10,"type":"videos"}'

YouTube playlist videos

Discovers URLs1 credit for the example

POST /v1/scrape/youtube/playlist

Videos in a playlist, in order.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
Example
curl -X POST https://postkea.com/api/v1/scrape/youtube/playlist \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI","limit":10}'

TikTok

TikTok video details

1 credit for the example

POST /v1/scrape/tiktok/stats

Caption, views, likes, comments, shares, saves, hashtags, music, media URLs and author (with followers) of a TikTok video or photo post.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/tiktok/stats \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@nasa/video/7697300954667994381"}'

TikTok transcript

1 credit for the example

POST /v1/scrape/tiktok/transcript

Timestamped transcript of a TikTok video from its captions, or from speech to text when it has none.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/tiktok/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@nasa/video/7697300954667994381","speechToText":true}'

TikTok summary

2 credits for the example

POST /v1/scrape/tiktok/summarize

Summary, key points, topics, takeaways and sentiment of a TikTok video (falls back to the caption when there is no speech).

NameTypeDescription
urlrequiredstring
languagestringLanguage of the summary
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
promptstringExtra instructions, e.g. 'focus on pricing'
Example
curl -X POST https://postkea.com/api/v1/scrape/tiktok/summarize \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@nasa/video/7697300954667994381","speechToText":true}'

TikTok comments

1 credit for the example

POST /v1/scrape/tiktok/comments

Comments of a TikTok video with authors, likes and reply counts, optionally with their replies.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
repliesbooleanAlso fetch replies (they count toward the limit)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/tiktok/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@nasa/video/7697300954667994381","limit":20,"sort":"top","sentiment":false,"replies":false}'

TikTok profile

1 credit for the example

POST /v1/scrape/tiktok/profile

Name, bio, avatar, followers, following, total likes, video count and verification of a TikTok account.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/tiktok/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@nasa"}'

TikTok account videos

Discovers URLs1 credit for the example

POST /v1/scrape/tiktok/videos

Latest videos of a TikTok account with views, likes, comments, shares and captions.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
Example
curl -X POST https://postkea.com/api/v1/scrape/tiktok/videos \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"@nasa","limit":10}'

TikTok hashtag

Discovers URLs1 credit for the example

POST /v1/scrape/tiktok/hashtag

Views, video count and description of a TikTok hashtag, plus its videos when TikTok serves them anonymously.

NameTypeDescription
hashtagrequiredstringHashtag with or without #, or a tiktok.com/tag/ URL
limitinteger, 1 to 200Default: 20
Example
curl -X POST https://postkea.com/api/v1/scrape/tiktok/hashtag \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtag":"nasa","limit":10}'

Instagram

Instagram post details

1 credit for the example

POST /v1/scrape/instagram/stats

Caption, likes, comments, views, owner, every carousel image and video URL, music, location and date of a post or reel.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/instagram/stats \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.instagram.com/p/DeaMlUSEpgs/"}'

Instagram transcript

1 credit for the example

POST /v1/scrape/instagram/transcript

Transcript with timestamps of a reel or video post, made with speech to text.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/instagram/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.instagram.com/reel/DesCx16hQLn/","speechToText":true}'

Instagram summary

2 credits for the example

POST /v1/scrape/instagram/summarize

Summary, key points, topics and sentiment of a reel or post, from its speech or, for photos, its caption.

NameTypeDescription
urlrequiredstring
languagestringLanguage of the summary
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
promptstringExtra instructions, e.g. 'focus on pricing'
Example
curl -X POST https://postkea.com/api/v1/scrape/instagram/summarize \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.instagram.com/reel/DesCx16hQLn/","speechToText":true}'

Instagram comments

1 credit for the example

POST /v1/scrape/instagram/comments

Comments of a post or reel with authors, likes, reply counts and dates.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/instagram/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.instagram.com/p/DeaMlUSEpgs/","limit":20,"sort":"top","sentiment":false}'

Instagram profile

1 credit for the example

POST /v1/scrape/instagram/profile

Name, bio, links, followers, following, post count, avatar and verified status of a public account.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/instagram/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.instagram.com/nasa/"}'

Instagram recent posts

Discovers URLs1 credit for the example

POST /v1/scrape/instagram/posts

The latest posts of a public account (about 12 without login) with captions, counts and dates.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
Example
curl -X POST https://postkea.com/api/v1/scrape/instagram/posts \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"@nasa","limit":12}'

Instagram recent reels

Discovers URLs1 credit for the example

POST /v1/scrape/instagram/reels

The latest reels of a public account (about 12 without login) with views, likes and comments.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
Example
curl -X POST https://postkea.com/api/v1/scrape/instagram/reels \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"@nasa","limit":12}'

Facebook

Facebook post or video details

1 credit for the example

POST /v1/scrape/facebook/stats

Text, reactions (with breakdown), comments, shares, views, media URLs and author of a public Facebook post, video or reel.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/facebook/stats \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.facebook.com/reel/1557618349384047"}'

Facebook video transcript

1 credit for the example

POST /v1/scrape/facebook/transcript

Timestamped transcript of a public Facebook video or reel from its captions, or from speech to text when it has none.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/facebook/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.facebook.com/reel/1557618349384047","speechToText":true}'

Facebook video summary

2 credits for the example

POST /v1/scrape/facebook/summarize

Summary, key points, topics, takeaways and sentiment of a public Facebook video or reel (falls back to the post text when there is no speech).

NameTypeDescription
urlrequiredstring
languagestringLanguage of the summary
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
promptstringExtra instructions, e.g. 'focus on pricing'
Example
curl -X POST https://postkea.com/api/v1/scrape/facebook/summarize \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.facebook.com/reel/1557618349384047","speechToText":true}'

Facebook comments

1 credit for the example

POST /v1/scrape/facebook/comments

Top comments of a public Facebook post, video or reel that Facebook shows to logged-out visitors (usually up to 10), with the total count.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/facebook/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.facebook.com/NASA/posts/1658876782274358","limit":20,"sort":"top","sentiment":false}'

Facebook page details

1 credit for the example

POST /v1/scrape/facebook/page

Name, category, bio, followers, following, website, email, avatar, cover and verification of a public Facebook page or profile.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/facebook/page \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.facebook.com/NASA"}'

X

X post details

1 credit for the example

POST /v1/scrape/x/tweet

Text, author, views, likes, reposts, replies, quotes, bookmarks, photos, video variants, poll and quoted post of an X post.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/x/tweet \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://x.com/elonmusk/status/1585341984679469056"}'

X thread

1 credit for the example

POST /v1/scrape/x/thread

All consecutive posts of the author in a thread, in order, with the joined text.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/x/thread \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://x.com/elonmusk/status/1585341984679469056"}'

X post replies

1 credit for the example

POST /v1/scrape/x/comments

Replies to an X post, ranked by likes or newest first, with authors and like counts.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/x/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://x.com/elonmusk/status/1585341984679469056","limit":20,"sort":"top","sentiment":false}'

X profile

1 credit for the example

POST /v1/scrape/x/profile

Name, bio, avatar, banner, website, location, followers, following, post and like counts and join date of an X account.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/x/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://x.com/NASA"}'

X profile posts

Discovers URLs1 credit for the example

POST /v1/scrape/x/tweets

Latest posts of an X account with text, media and engagement counts.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
repliesbooleanInclude the account's repliesDefault: false
repostsbooleanInclude reposts of other accounts' postsDefault: true
Example
curl -X POST https://postkea.com/api/v1/scrape/x/tweets \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"@NASA","limit":20,"replies":false,"reposts":true}'

X Article to Markdown

1 credit for the example

POST /v1/scrape/x/article

Title, cover image, author, engagement and the full body of an X Article as Markdown.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/x/article \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://x.com/X/status/2007184284944322584"}'

X video transcript

1 credit for the example

POST /v1/scrape/x/transcript

Transcript with timestamps of the video in an X post, from X captions or speech to text.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/x/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://x.com/elonmusk/status/1585341984679469056","speechToText":true}'

LinkedIn

LinkedIn post details

1 credit for the example

POST /v1/scrape/linkedin/post

Text, author, reactions, comment count, images, video and publish date of a public LinkedIn post or article.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/linkedin/post \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/posts/nasa_the-aircraft-lineup-just-keeps-getting-bigger-activity-7516947214028664833-bmkC"}'

LinkedIn post comments

1 credit for the example

POST /v1/scrape/linkedin/comments

Comments shown on the public page of a LinkedIn post (usually the first 10) with authors, likes and dates.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/linkedin/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/posts/nasa_the-aircraft-lineup-just-keeps-getting-bigger-activity-7516947214028664833-bmkC","limit":20,"sort":"top","sentiment":false}'

LinkedIn profile

1 credit for the example

POST /v1/scrape/linkedin/profile

Name, headline, location, followers, about, current positions, education and recent posts of a public LinkedIn member profile.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/linkedin/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/in/williamhgates"}'

LinkedIn company page

1 credit for the example

POST /v1/scrape/linkedin/company

Name, tagline, description, logo, website, industry, size, headquarters, founding year, followers, specialties and recent posts of a company page.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/linkedin/company \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/company/nasa"}'

LinkedIn video transcript

1 credit for the example

POST /v1/scrape/linkedin/transcript

Transcript with timestamps of a LinkedIn video post, from LinkedIn captions or speech to text.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/linkedin/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/posts/nasa_the-aircraft-lineup-just-keeps-getting-bigger-activity-7516947214028664833-bmkC","speechToText":true}'

Reddit

Reddit post details

1 credit for the example

POST /v1/scrape/reddit/post

Title, text, score, upvote ratio, comment count, author, subreddit, flair and every image, gallery item or video of a post.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/reddit/post \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"}'

Reddit comments

3 credits for the example

POST /v1/scrape/reddit/comments

Comments of a post, flattened in thread order with parent ids, depth, scores and authors.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/reddit/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/","limit":50,"sort":"top","sentiment":false}'

Subreddit details

1 credit for the example

POST /v1/scrape/reddit/subreddit

Title, description, subscribers, active users, icon, banner and creation date of a subreddit.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/reddit/subreddit \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.reddit.com/r/videos/"}'

Subreddit posts

Discovers URLs2 credits for the example

POST /v1/scrape/reddit/posts

Hot, new, top, rising or controversial posts of a subreddit.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
sorthot | new | top | rising | controversialDefault: "hot"
timehour | day | week | month | year | allTime range for top and controversialDefault: "day"
Example
curl -X POST https://postkea.com/api/v1/scrape/reddit/posts \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"r/videos","limit":25,"sort":"hot","time":"day"}'

Reddit user profile

1 credit for the example

POST /v1/scrape/reddit/user

Karma, avatar, banner, bio, account age and the latest posts of a Reddit user.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 0 to 100Recent posts to include; the first 20 are included in the priceDefault: 10
Example
curl -X POST https://postkea.com/api/v1/scrape/reddit/user \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"u/spez","limit":10}'

Bluesky

Bluesky post details

1 credit for the example

POST /v1/scrape/bluesky/post

Text, likes, reposts, quotes, replies, images, video, link card, quoted post and author of a Bluesky post.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/bluesky/post \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"}'

Bluesky thread

1 credit for the example

POST /v1/scrape/bluesky/thread

All posts of a thread written by its author, in order, from any post of the thread.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/bluesky/thread \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"}'

Bluesky replies

1 credit for the example

POST /v1/scrape/bluesky/comments

Replies of a Bluesky post, nested replies included, with authors and like counts.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/bluesky/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l","limit":20,"sort":"top","sentiment":false}'

Bluesky profile

1 credit for the example

POST /v1/scrape/bluesky/profile

Name, bio, avatar, banner, followers, following, post count, verification and join date of a Bluesky account.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/bluesky/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app"}'

Bluesky posts of an account

Discovers URLs1 credit for the example

POST /v1/scrape/bluesky/posts

Latest posts of a Bluesky account, with reposts flagged, filtered to originals, replies, media or videos.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
filterposts_no_replies | posts_with_replies | posts_with_media | posts_with_video | posts_and_author_threadsWhich posts to includeDefault: "posts_no_replies"
includeRepostsbooleanDefault: true
Example
curl -X POST https://postkea.com/api/v1/scrape/bluesky/posts \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app","limit":20,"filter":"posts_no_replies","includeReposts":true}'

Bluesky video transcript

1 credit for the example

POST /v1/scrape/bluesky/transcript

Transcript of a Bluesky video post from its captions, or from speech to text when it has none.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/bluesky/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://bsky.app/profile/bsky.app/post/3mxyyerrxak2m","speechToText":true}'

Threads

Threads post details

1 credit for the example

POST /v1/scrape/threads/post

Text, likes, replies, reposts, quotes, shares, images, videos, links and author of a Threads post, plus the author's follow-up posts.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/threads/post \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.threads.com/@nasa/post/Decc755lYhC"}'

Threads replies

1 credit for the example

POST /v1/scrape/threads/comments

The first public replies of a Threads post (about 10 to 20 without login) with nested answers, likes and dates.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/threads/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.threads.com/@nasa/post/Decc755lYhC","limit":20,"sort":"top","sentiment":false}'

Threads profile

1 credit for the example

POST /v1/scrape/threads/profile

Name, bio, links, followers, post count, avatar and verified status of a Threads account.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/threads/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.threads.com/@nasa"}'

Threads recent posts

Discovers URLs1 credit for the example

POST /v1/scrape/threads/posts

The latest posts of a Threads account shown to logged out visitors (pinned posts included) with likes, replies and reposts.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
Example
curl -X POST https://postkea.com/api/v1/scrape/threads/posts \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"@nasa","limit":10}'

Pinterest

Pinterest pin details

1 credit for the example

POST /v1/scrape/pinterest/pin

Title, description, saves, reactions, comments, views for videos, images, video URL, outbound link, board and creator of a pin.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/pinterest/pin \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.pinterest.com/pin/142567144448951872/"}'

Pinterest board pins

Discovers URLs2 credits for the example

POST /v1/scrape/pinterest/board

Board details (name, description, pin and follower counts, owner) and its pins with titles, images, videos, saves and links.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
Example
curl -X POST https://postkea.com/api/v1/scrape/pinterest/board \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.pinterest.com/nasa/hubble-space-telescope/","limit":25}'

Pinterest profile

1 credit for the example

POST /v1/scrape/pinterest/profile

Name, bio, avatar, cover, website, followers, following, pin and board counts, monthly views and verification of a Pinterest account.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/pinterest/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.pinterest.com/nasa/"}'

Mastodon

Mastodon post details

1 credit for the example

POST /v1/scrape/mastodon/post

Text, author, likes, boosts, replies, media, poll and link card of a post on any Mastodon server.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/mastodon/post \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://mastodon.social/@Mastodon/117466985005297414"}'

Mastodon replies

3 credits for the example

POST /v1/scrape/mastodon/comments

Replies to a post, flattened in thread order with parent ids, likes and authors.

NameTypeDescription
urlrequiredstring
limitinteger, 1 to 2000Comments to return; every 20 comments cost 1 creditDefault: 50
sorttop | newDefault: "top"
sentimentbooleanLabel every comment positive, neutral or negative and add a summary (no extra credits)Default: false
Example
curl -X POST https://postkea.com/api/v1/scrape/mastodon/comments \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://mastodon.social/@Mastodon/117466985005297414","limit":50,"sort":"top","sentiment":false}'

Mastodon profile

1 credit for the example

POST /v1/scrape/mastodon/profile

Name, bio, avatar, header, followers, following, post count and profile links of an account.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/mastodon/profile \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://mastodon.social/@Mastodon"}'

Mastodon account posts

Discovers URLs1 credit for the example

POST /v1/scrape/mastodon/posts

Latest public posts of an account, optionally with replies, boosts or media only.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
repliesbooleanInclude repliesDefault: false
boostsbooleanInclude boostsDefault: true
mediaOnlybooleanOnly posts with mediaDefault: false
Example
curl -X POST https://postkea.com/api/v1/scrape/mastodon/posts \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://mastodon.social/@Mastodon","limit":20,"replies":false,"boosts":true,"mediaOnly":false}'

Mastodon hashtag posts

Discovers URLs1 credit for the example

POST /v1/scrape/mastodon/hashtag

Latest public posts with a hashtag on a Mastodon server.

NameTypeDescription
tagrequiredstringHashtag with or without #, or a tag URL such as https://mastodon.social/tags/photography
instancestringServer to read the tag timeline from, when tag is not a URLDefault: "mastodon.social"
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
localbooleanOnly posts from accounts on that serverDefault: false
Example
curl -X POST https://postkea.com/api/v1/scrape/mastodon/hashtag \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tag":"photography","instance":"mastodon.social","limit":20,"local":false}'

Telegram

Telegram channel details

1 credit for the example

POST /v1/scrape/telegram/channel

Title, description, avatar, exact subscriber count, verification and media counters of a public Telegram channel.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/telegram/channel \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://t.me/telegram"}'

Telegram channel posts

Discovers URLs1 credit for the example

POST /v1/scrape/telegram/posts

Latest messages of a public Telegram channel with text, views, reactions, date, photos, videos and link previews, optionally filtered by a search query.

NameTypeDescription
urlrequiredstringChannel, profile or playlist URL (or @handle)
limitinteger, 1 to 500Items to return; every 20 items cost 1 creditDefault: 20
querystringOnly messages matching this text
beforeintegerStart with messages older than this message id
Example
curl -X POST https://postkea.com/api/v1/scrape/telegram/posts \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://t.me/s/telegram","limit":20}'

Telegram post details

1 credit for the example

POST /v1/scrape/telegram/post

Text, views, reactions, date, media, link preview, poll and forward source of one public Telegram channel post.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/telegram/post \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://t.me/telegram/441"}'

Any website

Any link details

1 credit for the example

POST /v1/scrape/web/auto

Detects the platform and page type of any URL and returns the matching details (video stats, post, tweet, pin, profile, channel or page metadata).

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/web/auto \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@nasa"}'

Link metadata

1 credit for the example

POST /v1/scrape/web/metadata

Title, description, images, favicon, Open Graph, Twitter card, oEmbed, JSON-LD, feeds and language of any URL.

NameTypeDescription
urlrequiredstringPost, video or profile URL
oembedbooleanAlso fetch the page's oEmbed data when it advertises oneDefault: true
Example
curl -X POST https://postkea.com/api/v1/scrape/web/metadata \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.nasa.gov/news/","oembed":true}'

Article text

1 credit for the example

POST /v1/scrape/web/article

Readable main text of an article or blog post as Markdown and plain text, with title, author, dates, images and reading time.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/web/article \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.nasa.gov/missions/artemis/"}'

Video file transcript

1 credit for the example

POST /v1/scrape/web/transcript

Timestamped transcript of a direct video or audio file URL, or of a video on any of the 1,000+ sites yt-dlp supports.

NameTypeDescription
urlrequiredstring
languagestringPreferred caption language, e.g. en, vi
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
Example
curl -X POST https://postkea.com/api/v1/scrape/web/transcript \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://images-assets.nasa.gov/video/jsc2023m000094-Victor_Glover_Artemis_II_Crew_Announcement_Resource_Reel/jsc2023m000094-Victor_Glover_Artemis_II_Crew_Announcement_Resource_Reel~mobile.mp4","speechToText":true}'

Video or page summary

2 credits for the example

POST /v1/scrape/web/summarize

Summary, key points, topics, takeaways and sentiment of a video file, a video on any yt-dlp site, or the article on a web page.

NameTypeDescription
urlrequiredstring
languagestringLanguage of the summary
translateTostringTranslate the transcript into this language (needs the AI service)
speechToTextbooleanTranscribe the audio when the video has no captions (1 extra credit per minute)Default: true
promptstringExtra instructions, e.g. 'focus on pricing'
sourceauto | video | articleWhat to summarize: the video, the article text, or detect itDefault: "auto"
Example
curl -X POST https://postkea.com/api/v1/scrape/web/summarize \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.nasa.gov/missions/artemis/","speechToText":true,"source":"auto"}'

Video formats

1 credit for the example

POST /v1/scrape/web/formats

Every downloadable format and quality (resolution, codecs, bitrate, size) of a video on any yt-dlp supported site or a direct media URL.

NameTypeDescription
urlrequiredstringPost, video or profile URL
Example
curl -X POST https://postkea.com/api/v1/scrape/web/formats \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.youtube.com/watch?v=jNQXAC9IVRw"}'