Scraping
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"
}'const res = await fetch("https://postkea.com/api/v1/scrape/youtube/transcript", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTKEA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.youtube.com/watch?v=jNQXAC9IVRw",
language: "en",
}),
});
const { data: transcript } = await res.json();
console.log(transcript);import os, requests
r = requests.post(
"https://postkea.com/api/v1/scrape/youtube/transcript",
headers={"Authorization": f"Bearer {os.environ['POSTKEA_API_KEY']}"},
json={
"url": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
"language": "en",
},
)
transcript = r.json()["data"]
print(transcript){
"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.
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"
}'const res = await fetch("https://postkea.com/api/v1/scrape/auto", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTKEA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
url: "https://www.instagram.com/reel/C9x2k1lMabc/",
want: "summary",
}),
});
const { data: result } = await res.json();
console.log(result);import os, requests
r = requests.post(
"https://postkea.com/api/v1/scrape/auto",
headers={"Authorization": f"Bearer {os.environ['POSTKEA_API_KEY']}"},
json={
"url": "https://www.instagram.com/reel/C9x2k1lMabc/",
"want": "summary",
},
)
result = r.json()["data"]
print(result)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"
]
}'const res = await fetch("https://postkea.com/api/v1/scrape/batch", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTKEA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
operation: "tiktok.stats",
urls: ["https://www.tiktok.com/@nasa/video/7301", "https://www.tiktok.com/@nasa/video/7302"],
}),
});
const { data: job } = await res.json();
console.log(job);import os, requests
r = requests.post(
"https://postkea.com/api/v1/scrape/batch",
headers={"Authorization": f"Bearer {os.environ['POSTKEA_API_KEY']}"},
json={
"operation": "tiktok.stats",
"urls": ["https://www.tiktok.com/@nasa/video/7301", "https://www.tiktok.com/@nasa/video/7302"],
},
)
job = r.json()["data"]
print(job)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
}'const res = await fetch("https://postkea.com/api/v1/scrape/pipeline", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTKEA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
discover: {
operation: "youtube.videos",
input: {
url: "@YouTube",
type: "videos",
},
},
action: {
operation: "youtube.summarize",
},
limit: 10,
}),
});
const { data: job } = await res.json();
console.log(job);import os, requests
r = requests.post(
"https://postkea.com/api/v1/scrape/pipeline",
headers={"Authorization": f"Bearer {os.environ['POSTKEA_API_KEY']}"},
json={
"discover": {
"operation": "youtube.videos",
"input": {
"url": "@YouTube",
"type": "videos",
},
},
"action": {
"operation": "youtube.summarize",
},
"limit": 10,
},
)
job = r.json()["data"]
print(job)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.
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 examplePOST /v1/scrape/youtube/stats
Title, description, views, likes, comment count, duration, tags, chapters and channel of a video or Short.
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 examplePOST /v1/scrape/youtube/transcript
Full transcript with timestamps from captions, or from speech to text when the video has none.
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 examplePOST /v1/scrape/youtube/summarize
Summary, key points, topics, takeaways, sentiment and chapters of a video.
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 examplePOST /v1/scrape/youtube/comments
Top or newest comments of a video with authors, likes and reply counts.
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 examplePOST /v1/scrape/youtube/channel
Name, handle, subscribers, description, avatar and video count of a channel.
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 examplePOST /v1/scrape/youtube/videos
Latest videos, Shorts or streams of a channel.
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 examplePOST /v1/scrape/youtube/playlist
Videos in a playlist, in order.
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}'YouTube search
Discovers URLs1 credit for the examplePOST /v1/scrape/youtube/search
Search YouTube videos by keyword.
curl -X POST https://postkea.com/api/v1/scrape/youtube/search \
-H "Authorization: Bearer $POSTKEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"social media tips","limit":10,"shorts":false}'TikTok
TikTok video details
1 credit for the examplePOST /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.
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 examplePOST /v1/scrape/tiktok/transcript
Timestamped transcript of a TikTok video from its captions, or from speech to text when it has none.
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 examplePOST /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).
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 examplePOST /v1/scrape/tiktok/comments
Comments of a TikTok video with authors, likes and reply counts, optionally with their replies.
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 examplePOST /v1/scrape/tiktok/profile
Name, bio, avatar, followers, following, total likes, video count and verification of a TikTok account.
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 examplePOST /v1/scrape/tiktok/videos
Latest videos of a TikTok account with views, likes, comments, shares and captions.
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 search
Discovers URLs1 credit for the examplePOST /v1/scrape/tiktok/search
Search TikTok videos by keyword (TikTok serves search only to signed, logged-in sessions, so this usually reports unsupported).
curl -X POST https://postkea.com/api/v1/scrape/tiktok/search \
-H "Authorization: Bearer $POSTKEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"space exploration","limit":10}'TikTok hashtag
Discovers URLs1 credit for the examplePOST /v1/scrape/tiktok/hashtag
Views, video count and description of a TikTok hashtag, plus its videos when TikTok serves them anonymously.
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 post details
1 credit for the examplePOST /v1/scrape/instagram/stats
Caption, likes, comments, views, owner, every carousel image and video URL, music, location and date of a post or reel.
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 examplePOST /v1/scrape/instagram/transcript
Transcript with timestamps of a reel or video post, made with speech to text.
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 examplePOST /v1/scrape/instagram/summarize
Summary, key points, topics and sentiment of a reel or post, from its speech or, for photos, its caption.
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 examplePOST /v1/scrape/instagram/comments
Comments of a post or reel with authors, likes, reply counts and dates.
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 examplePOST /v1/scrape/instagram/profile
Name, bio, links, followers, following, post count, avatar and verified status of a public account.
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 examplePOST /v1/scrape/instagram/posts
The latest posts of a public account (about 12 without login) with captions, counts and dates.
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 examplePOST /v1/scrape/instagram/reels
The latest reels of a public account (about 12 without login) with views, likes and comments.
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 post or video details
1 credit for the examplePOST /v1/scrape/facebook/stats
Text, reactions (with breakdown), comments, shares, views, media URLs and author of a public Facebook post, video or reel.
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 examplePOST /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.
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 examplePOST /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).
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 examplePOST /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.
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 examplePOST /v1/scrape/facebook/page
Name, category, bio, followers, following, website, email, avatar, cover and verification of a public Facebook page or profile.
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 examplePOST /v1/scrape/x/tweet
Text, author, views, likes, reposts, replies, quotes, bookmarks, photos, video variants, poll and quoted post of an X post.
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 examplePOST /v1/scrape/x/thread
All consecutive posts of the author in a thread, in order, with the joined text.
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 examplePOST /v1/scrape/x/comments
Replies to an X post, ranked by likes or newest first, with authors and like counts.
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 examplePOST /v1/scrape/x/profile
Name, bio, avatar, banner, website, location, followers, following, post and like counts and join date of an X account.
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 examplePOST /v1/scrape/x/tweets
Latest posts of an X account with text, media and engagement counts.
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 examplePOST /v1/scrape/x/article
Title, cover image, author, engagement and the full body of an X Article as Markdown.
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 examplePOST /v1/scrape/x/transcript
Transcript with timestamps of the video in an X post, from X captions or speech to text.
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 post details
1 credit for the examplePOST /v1/scrape/linkedin/post
Text, author, reactions, comment count, images, video and publish date of a public LinkedIn post or article.
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 examplePOST /v1/scrape/linkedin/comments
Comments shown on the public page of a LinkedIn post (usually the first 10) with authors, likes and dates.
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 examplePOST /v1/scrape/linkedin/profile
Name, headline, location, followers, about, current positions, education and recent posts of a public LinkedIn member profile.
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 examplePOST /v1/scrape/linkedin/company
Name, tagline, description, logo, website, industry, size, headquarters, founding year, followers, specialties and recent posts of a company page.
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 examplePOST /v1/scrape/linkedin/transcript
Transcript with timestamps of a LinkedIn video post, from LinkedIn captions or speech to text.
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 post details
1 credit for the examplePOST /v1/scrape/reddit/post
Title, text, score, upvote ratio, comment count, author, subreddit, flair and every image, gallery item or video of a post.
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 examplePOST /v1/scrape/reddit/comments
Comments of a post, flattened in thread order with parent ids, depth, scores and authors.
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 examplePOST /v1/scrape/reddit/subreddit
Title, description, subscribers, active users, icon, banner and creation date of a subreddit.
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 examplePOST /v1/scrape/reddit/posts
Hot, new, top, rising or controversial posts of a subreddit.
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 search
Discovers URLs1 credit for the examplePOST /v1/scrape/reddit/search
Search Reddit posts by keyword, across Reddit or inside one subreddit.
curl -X POST https://postkea.com/api/v1/scrape/reddit/search \
-H "Authorization: Bearer $POSTKEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"nasa artemis","limit":20,"sort":"relevance","time":"all"}'Reddit user profile
1 credit for the examplePOST /v1/scrape/reddit/user
Karma, avatar, banner, bio, account age and the latest posts of a Reddit user.
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 examplePOST /v1/scrape/bluesky/post
Text, likes, reposts, quotes, replies, images, video, link card, quoted post and author of a Bluesky post.
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 examplePOST /v1/scrape/bluesky/thread
All posts of a thread written by its author, in order, from any post of the thread.
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 examplePOST /v1/scrape/bluesky/comments
Replies of a Bluesky post, nested replies included, with authors and like counts.
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 examplePOST /v1/scrape/bluesky/profile
Name, bio, avatar, banner, followers, following, post count, verification and join date of a Bluesky account.
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 examplePOST /v1/scrape/bluesky/posts
Latest posts of a Bluesky account, with reposts flagged, filtered to originals, replies, media or videos.
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 search
Discovers URLs2 credits for the examplePOST /v1/scrape/bluesky/search
Search Bluesky posts (top or latest) or accounts by keyword.
curl -X POST https://postkea.com/api/v1/scrape/bluesky/search \
-H "Authorization: Bearer $POSTKEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"social media marketing","limit":25,"type":"posts","sort":"top"}'Bluesky video transcript
1 credit for the examplePOST /v1/scrape/bluesky/transcript
Transcript of a Bluesky video post from its captions, or from speech to text when it has none.
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 examplePOST /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.
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 examplePOST /v1/scrape/threads/comments
The first public replies of a Threads post (about 10 to 20 without login) with nested answers, likes and dates.
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 examplePOST /v1/scrape/threads/profile
Name, bio, links, followers, post count, avatar and verified status of a Threads account.
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 examplePOST /v1/scrape/threads/posts
The latest posts of a Threads account shown to logged out visitors (pinned posts included) with likes, replies and reposts.
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 pin details
1 credit for the examplePOST /v1/scrape/pinterest/pin
Title, description, saves, reactions, comments, views for videos, images, video URL, outbound link, board and creator of a pin.
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 examplePOST /v1/scrape/pinterest/board
Board details (name, description, pin and follower counts, owner) and its pins with titles, images, videos, saves and links.
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 examplePOST /v1/scrape/pinterest/profile
Name, bio, avatar, cover, website, followers, following, pin and board counts, monthly views and verification of a Pinterest account.
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 examplePOST /v1/scrape/mastodon/post
Text, author, likes, boosts, replies, media, poll and link card of a post on any Mastodon server.
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 examplePOST /v1/scrape/mastodon/comments
Replies to a post, flattened in thread order with parent ids, likes and authors.
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 examplePOST /v1/scrape/mastodon/profile
Name, bio, avatar, header, followers, following, post count and profile links of an account.
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 examplePOST /v1/scrape/mastodon/posts
Latest public posts of an account, optionally with replies, boosts or media only.
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 examplePOST /v1/scrape/mastodon/hashtag
Latest public posts with a hashtag on a Mastodon server.
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 examplePOST /v1/scrape/telegram/channel
Title, description, avatar, exact subscriber count, verification and media counters of a public Telegram channel.
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 examplePOST /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.
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 examplePOST /v1/scrape/telegram/post
Text, views, reactions, date, media, link preview, poll and forward source of one public Telegram channel post.
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 examplePOST /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).
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 examplePOST /v1/scrape/web/metadata
Title, description, images, favicon, Open Graph, Twitter card, oEmbed, JSON-LD, feeds and language of any URL.
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 examplePOST /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.
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 examplePOST /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.
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 examplePOST /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.
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 examplePOST /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.
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"}'