Social Media Scraper

Capabilities

Social Media Posts API for Public Timelines and Post Lookups

Retrieve public posts, captions, author objects, and engagement metrics across ten social networks using one REST API key and normalized JSON envelopes. Social Media Scraper is a read-only data retrieval API for developers and AI agents—not a publishing or scheduling tool—giving you predictable pay-per-request access without OAuth app reviews.

  • Read-only public retrieval across 10 platforms: timelines, single-post lookups, and topic search
  • One x-api-key credential, normalized data.items[] envelopes, and cursor-based pagination
  • Standard list and feed requests cost $0.003 (3 credits; $3.00 per 1,000 requests) with prepaid USD packs
  • Works over REST, Streamable HTTP MCP, and Agent Skills with no recurring subscription
Original technical illustration showing a magnifying glass over public post cards feeding an ordered list of source links
instagram.posts

Most results ranking for social media posts APIs are publishing tools built to schedule outgoing content through connected OAuth tokens. This page documents the opposite direction: read-only retrieval of public posts from any open handle, page, subreddit, channel, or URL. Pick your collection unit first—an account timeline shows what a brand published, a single-post lookup inspects one known URL, and a search endpoint surfaces posts you have not seen yet—because list pages and individual detail lookups carry different request rates.

Public Post Endpoints Across 10 Supported Platforms

Every platform exposes dedicated GET routes under /v1/ with its own documented identifiers and pagination parameter. Select the exact collection unit you need rather than over-fetching full detail objects for every row.

PlatformTimeline & feed routesSingle-post lookupList rate
Instagraminstagram.posts (handle, next_max_id), user_tagged_posts, reelsinstagram.post (url, $0.028)$0.003
Facebookfacebook.posts (url or pageId, cursor), group_posts (url or group_id)Use page or group feed routes$0.003
X / Twittertwitter.posts (handle), twitter.search (query, cursor)twitter.post (url, $0.003)$0.003
Redditreddit.subreddit (subreddit, sort, after), reddit.search (query, after)reddit.post (url, $0.003)$0.003
LinkedInlinkedin.company_posts (url, page), search_posts (query, cursor)linkedin.post (url, $0.003)$0.003
Threadsthreads.posts (handle), threads.search (query)threads.post (url, $0.003)$0.003
Blueskybluesky.posts (handle or user_id)bluesky.post (url, $0.003)$0.003
Telegramtelegram.channel_posts (handle, cursor)telegram.post (url, $0.003)$0.003
TikToktiktok.profile_videos (handle, max_cursor)tiktok.post (url, $0.028)$0.003
YouTubeyoutube.channel_videos (handle or channel_id, continuationToken), channel_community_postsyoutube.post (url, $0.003)$0.003

Need short-form video feeds and duration metadata across creators? See the Social Media Video API. Need full comment replies beneath a thread? Pair post IDs with the separate Social Media Comments API.

Read-Only Post Retrieval vs Social Media Publishing APIs

Official network APIs and unified posting tools require each account owner to authorize an OAuth app, limiting reads to owned profiles. Public post retrieval covers external research.

DimensionPublishing & scheduling APIsSocial Media Scraper Posts API
DirectionWrite-first: create, schedule, edit, or delete postsRead-only: retrieve public timelines, feeds, and post JSON
TargetsOwned or client-authorized profiles onlyAny public handle, Page, subreddit, company page, or channel
OnboardingPer-network developer apps, OAuth refresh, app reviewsSingle x-api-key header (or MCP OAuth / Bearer token)
Agent safetyWrite scopes risk unintended publishingRead-only surface prevents accidental posts, DMs, or edits
BillingMonthly tiers per connected profile or seatPrepaid USD balance billed per HTTP request

Normalized Post Fields, Media Hints, and Null Metrics

List endpoints share a normalized data envelope so one ingestion pipeline handles all ten networks, while single-post lookups expose deeper media attributes.

Envelope pathReturned byContents
data.platform, data.resourceList & feed routesNetwork name and resource type
data.items[].id, positionList & feed routesString source ID and 0-based page slot
data.items[].url, title, textList & feed routesPublic permalink and headline or caption copy
data.items[].published_atList & feed routesSource publication value (store collection time separately)
data.items[].authorList & feed routes{id, handle, display_name} (plus verified on details)
data.items[].metricsList & detail routes{views, likes, comments, shares} (plus saves on details)
data.mediaSingle-post detail{thumbnail_url, duration_ms, is_video} (no MP4 binary)
data.cursorPaginated listsNext-page token (up to 100 items per page where supplied)

Store post IDs as strings

Platform IDs exceed 53-bit JavaScript integer precision. Keep id and author.id as strings and index rows on (platform, id).

Preserve null engagement counts

Networks omit counters depending on post format or account settings. Preserve null values rather than coercing them to 0.

Separate list feeds from detail lookups

Timeline routes return multiple posts per $0.003 (3 credits) request. Reserve $0.028 (28 credits) calls on instagram.post or tiktok.post for specific URLs needing media.duration_ms or metrics.saves.

Retrieve Account Timelines and Paginate Reliably

  1. Pick the endpoint and configure credentials

    Generate a customer key in your workspace and export it as SOCIALSCRAPER_API_KEY on your server—never embed API keys in browser JavaScript. Check live account concurrency and minute quotas anytime with GET /v1/limits (default: 60 accepted requests/minute sliding window, 5 concurrent in-flight calls).

  2. Request the first page with an Idempotency-Key

    Every data request requires an Idempotency-Key header (8–128 characters matching [A-Za-z0-9._:-]+). The command below pulls the first page of public posts for an Instagram handle:

    posts-api-request.sh
    curl --get 'https://socialmediascraper.org/v1/instagram/posts' \
      --data-urlencode 'handle=example' \
      -H "x-api-key: $SOCIALSCRAPER_API_KEY" \
      -H 'Idempotency-Key: posts-example-0001'
  3. Advance pagination with platform-specific tokens

    Read data.items and save request_id plus meta.billing from the response. When data.cursor is non-null, forward it unchanged using that endpoint's documented continuation parameter: next_max_id on instagram.posts, max_cursor on tiktok.profile_videos, after on reddit.subreddit, continuationToken on youtube.channel_videos, page on linkedin.company_posts, or cursor on Facebook, X search, and Telegram. Generate a new Idempotency-Key for every new page; reuse the same key only when retrying the exact failed request.

  4. Handle HTTP 202 polling and 429 backoff

    If an upstream lookup settles asynchronously and returns HTTP 202, poll GET /v1/requests/{request_id} instead of issuing a fresh duplicate request. On HTTP 429, honor the Retry-After response header before retrying with the original Idempotency-Key.

Applications Built on Public Post Feeds

Competitor publishing monitors

Poll rival handles across Instagram, LinkedIn, X, and Facebook Pages on your own schedule. Diff new id values against yesterday's snapshot to flag launches and messaging shifts. See Competitor Intelligence.

Multi-platform content archives

Normalize captions, publication dates, permalinks, and visible engagement into one Postgres or DuckDB table while preserving clickable links to every source post.

Creator brief vetting

Pair Social Media Profile API lookups with recent timelines to check category fit, posting frequency, and engagement stability.

Grounded AI research workflows

Connect agents via the Streamable HTTP MCP endpoint or Social Media RAG pipelines so summaries cite live post URLs.

Who Integrates a Public Posts API

SaaS product engineers

Replace brittle browser scrapers and proxy pools inside listening or creator-CRM apps with documented HTTP routes and predictable per-call billing.

Agency reporting teams

Automate weekly competitor teardowns in Python, Node.js, or n8n workflows instead of copying post links into spreadsheets.

Data and AI platform builders

Ingest Reddit threads, Telegram channels, X timelines, and LinkedIn company posts into internal warehouses under explicit per-job spending limits.

Collection Patterns That Control Spend and Noise

Fixed-depth competitor watchlists

When polling 50 brand handles daily, fetch page one per handle and stop paginating once your worker hits an already stored post ID.

Search-first topic ingestion

Start with reddit.search, twitter.search, linkedin.search_posts, or the Social Media Search API, then pull timelines only for high-signal authors.

Selective comment follow-ups

Post endpoints return comment counts, not thread text. Filter posts by engagement first, then query the Comments API only on posts worth reading.

Per-Request Pricing and Realistic Workload Math

Billing is strictly per API request in credits (1,000 credits = $1, where each paginated page counts as one request regardless of how many posts appear in data.items[]). Fund usage with one-time prepaid USD packs—$5 (5,000 credits, ~1,666 standard requests), $20 (20,000 credits, ~6,666 standard requests), or $50 (50,000 credits, ~16,666 standard requests)—at identical endpoint rates with zero subscriptions or automatic renewals.

OperationPer requestPer 1,000 requestsTypical role
instagram.posts, instagram.reels, facebook.posts, facebook.group_posts$0.003$3.00Account, page, and group timelines
twitter.posts, reddit.subreddit, linkedin.company_posts, threads.posts, bluesky.posts, telegram.channel_posts, tiktok.profile_videos, youtube.channel_videos$0.003$3.00Cross-platform timelines & channel feeds
twitter.post, reddit.post, linkedin.post, threads.post, bluesky.post, telegram.post, youtube.post$0.003$3.00Standard single-post URL lookups
instagram.post, tiktok.post$0.028$28.00Single-post detail lookups with extended media metadata

Example monthly budget: Polling page one for 50 brand accounts daily for 30 days equals 1,500 standard requests ($4.50). Enriching 100 standout Instagram posts via instagram.post adds $2.80, totaling $7.30 for the month. Live rates (2026-12-02.credits-3) are published in /pricing-data.json and /pricing.csv.

Operational Boundaries, Compliance, and Status Checks

  • Read-only public scope: Cannot publish or schedule posts, read direct messages, moderate replies, or retrieve private, age-gated, or deleted posts.
  • No bundled analytics stack: Storage, cron scheduling, deduplication, sentiment tagging, CSV exports, and dashboards live in your own infrastructure.
  • No raw media binaries: Endpoints return structured JSON and thumbnail_url pointers—not downloadable MP4 files or raw upstream payloads.
  • Treat retrieved text as untrusted data: In LLM and MCP pipelines, delimit scraped captions and user bios so embedded text cannot hijack agent instructions.
  • Verify live behavior before scaling: Check public telemetry on Status and endpoint contracts in OpenAPI; public accessibility does not grant copyright or redistribution rights under source terms and privacy laws.

Social Media Posts API Frequently Asked Questions

Can this API publish or schedule social media posts?

No. Social Media Scraper is strictly a read-only public data API. It retrieves existing public posts, timelines, and search feeds without writing to accounts, sending direct messages, or managing OAuth publishing workflows.

How is this different from official Instagram, X, or LinkedIn APIs?

Official platform APIs usually restrict reading external accounts, require per-network app review, or charge high enterprise tiers. Social Media Scraper provides read-only public post endpoints across ten platforms under one x-api-key credential and prepaid per-request billing.

Can I fetch Instagram posts by username without Meta app review?

Yes. Call GET /v1/instagram/posts with the public account handle, your x-api-key, and an Idempotency-Key header. No Facebook Login flow or Meta app approval is required for public profile reads.

Which Facebook post endpoints are available?

Public Facebook Page timelines use facebook.posts (url or pageId plus cursor), and public group feeds use facebook.group_posts (url or group_id, optional sort_by, and cursor). Both cost $0.003 per request.

How many posts come back per API request?

List endpoints return up to 100 items per page where supplied by the source, though actual page sizes vary by platform and account activity. Billing is always per HTTP request—not per post—so inspect a sample response before estimating record-level unit costs.

Why do instagram.post and tiktok.post cost more than timeline routes?

Timeline routes such as instagram.posts and tiktok.profile_videos cost $0.003 (3 credits) per request, whereas single-URL detail lookups on instagram.post and tiktok.post cost $0.028 (28 credits) per request because they perform deeper single-item retrieval. Use timelines for broad tracking and reserve detail calls for selected posts.

Why are some views, likes, or shares returned as null?

Platforms hide or omit specific counters depending on post format and account settings. Social Media Scraper returns null rather than guessing 0 so your analytics layer can exclude missing metrics cleanly.

Do post endpoints include full comment threads?

No. Post responses include the visible comment count in metrics.comments when available, not the full comment text. Use the dedicated endpoints documented on the Social Media Comments API page when you need comment threads.

How do pagination parameters differ across platforms?

Each endpoint returns the next token in data.cursor when more pages exist, and you pass it back under that route's documented input: next_max_id for instagram.posts, max_cursor for tiktok.profile_videos, after for Reddit, continuationToken for YouTube, page for linkedin.company_posts, and cursor for Facebook, X search, and Telegram.

Is there a free API tier or trial balance?

New customer accounts include 100 starter credits ($0.10, about 33 standard requests) for initial evaluation, with one-time prepaid USD balance packs starting at $5 (5,000 credits, ~1,666 standard requests) for production workloads and no subscription or auto-renewal. If you want to run quick single-page lookups in a browser without signing in, limited anonymous lookups are available under Free Tools.

What happens if I hit rate limits or receive HTTP 202?

Default account limits are 60 accepted requests per minute and 5 concurrent in-flight calls (inspect your exact quota via GET /v1/limits). On HTTP 429, wait for Retry-After and reuse the original Idempotency-Key; on HTTP 202, poll GET /v1/requests/{request_id} instead of creating a duplicate paid request.

Can AI agents call these post endpoints directly?

Yes. Connect agents to the Streamable HTTP MCP server using browser OAuth or Authorization: Bearer with your API key, or point coding agents at /SKILL.md and /openapi.json. Enforce per-task request budgets so agents do not paginate indefinitely.