Social Media API

One social media API for Facebook, Instagram, groups and ads.

Profiles, pages, groups, posts, comments and the ads library behind one key, one schema and one bill. Built for data products rather than app integrations.

See pricing
  • Public data only
  • One key, every platform
  • Cancel anytime
api.socialmediaapi.lol200 OK
GET https://api.socialmediaapi.lol/v1/...
Authorization: Bearer sk_live_...

{ "status": "ok", "data": { ... }, "credits_used": 1 }

# facebook, instagram, groups, ads
# the same envelope for all four
12.4Brequests served in the last year
38,000+developers building on the API
99.95%rolling 12 month uptime
380msmedian response time
The platform

Four data families, one contract.

Most teams end up stitching together an official API, a scraping library and a proxy vendor before they can ship a single data feature. socialmediaapi.lol collapses that into one REST surface with one auth header and one response envelope.

Facebook profiles, pages and posts; Instagram profiles, media and hashtags; public group posts and comments; and the full Meta ads library. Same key, same pagination, same error codes, same billing.

Included on every plan

  • Facebook profile, page, post and comment endpoints
  • Instagram profile, media, hashtag and comment endpoints
  • Public Facebook group posts, comments and search
  • Meta ads library search, advertiser and creative endpoints
  • Sandbox playground, code snippets and monitor webhooks
Endpoints

Social Media API endpoints

Same auth header, same response envelope, cursor pagination on every list.

Facebook API

Details

Public profiles, pages, posts, comments and reactions, normalized into one envelope.

GET/v1/facebook/profile

Public name, about text, follower count, work history and verification.

  • followers
  • about
  • verified
GET/v1/facebook/page

Page metadata plus the newest feed items, reactions and comment counts.

  • feed
  • likes
  • talking_about
GET/v1/facebook/posts

Search public posts by keyword, page, author or date range.

  • query
  • since
  • until
GET/v1/facebook/comments

Every public comment on a post, with authors and parent replies.

  • post_id
  • replies
  • authors

Instagram API

Details

Profiles, posts, reels, hashtags and engagement metrics for public accounts.

GET/v1/instagram/profile

Follower counts, bio links, business category and engagement rate.

  • followers
  • category
  • engagement_rate
GET/v1/instagram/posts

Captions, hashtags, media URLs and per post metrics for a feed.

  • caption
  • likes
  • hashtags
GET/v1/instagram/hashtag

Top and recent media for any hashtag, with reach estimates.

  • top_media
  • recent_media
GET/v1/instagram/comments

Comment threads with authors, timestamps and reply structure.

  • comments
  • authors
Playground

Try any endpoint before you write a line of code.

Pick an endpoint, set the parameters and run it. Sign in with Google to unlock the playground, and your subscription decides whether you land here or on pricing.

GET https://api.socialmediaapi.lol/v1/facebook/profile?handle=zuck&fields=about%2CfollowersJSON

Public profile fields for any handle: bio, follower count, work history and verified status.

Sign in with Google to unlock the playground. Accounts without an active plan are sent to pricing, where every plan includes the full sandbox and a live API key.

sandbox response200 OK
Response bodynot sent yet
{
  "status": "idle",
  "message": "Run the request to see the response shape returned by this endpoint.",
  "endpoint": "/v1/facebook/profile"
}
  • Read-only access. We never post, like or follow on your behalf.
  • Credit based pricing, so one page of data costs one credit.
  • Public data only, sourced from the platforms own public surfaces.
Architecture

Built to be left running.

Requests are distributed across a managed pool with automatic retries, back off and rotation, so upstream throttling never becomes your on call problem. Endpoints are versioned, and a deprecation window is published before any contract changes.

Response times sit under 400 milliseconds at the median because data is fetched at request time. Nothing you receive is served from a shared cache that someone else poisoned last week.

Operational guarantees

  • 99.95 percent rolling 12 month uptime
  • Bursts to 500 requests per second on every plan
  • Machine readable error codes with retry hints
  • Versioned endpoints with published deprecation windows
  • US and EU edge locations, no payload retention
Why socialmediaapi.lol

Why teams pick our Social Media API

The parts of a social data pipeline you would otherwise build and maintain yourself.

Unified authentication

One long lived key across every platform and endpoint.

Unified schema

The same envelope, error codes and pagination everywhere.

No infrastructure

No proxies, no browser farm, no session refresh jobs.

Credit pricing

Per page of results, not per seat. Rollover on annual plans.

Sandbox playground

Inspect every response shape before you commit to a plan.

Monitor webhooks

Subscribe to new posts, new ads or keyword matches.

Pricing

Pay for data, not for seats.

Every plan is priced in credits rather than users, so a two person team and a fifty person team pay the same for the same volume of data. One page of results costs one credit, and ads search with full creatives costs five.

Start on the free plan to validate the data shape, move to Pro when a side project starts returning value, and step up to Ultra or Mega when a pipeline is pulling millions of records a month.

Code examples

Three lines to your first response.

Send an API key, get JSON back. No OAuth dance, no browser automation and no session to keep warm.

  • Bearer token auth, one header for every endpoint
  • Cursor pagination on every list response
  • Errors carry a machine readable code and a retry hint
  • Sandbox and live modes share the same contract
curl -G "https://api.socialmediaapi.lol/v1/facebook/profile" \
  -H "Authorization: Bearer $SOCIALMEDIAAPI_KEY" \
  -d "handle=zuck" \
  -d "fields=about%2Cfollowers"
FAQ

Social Media API questions

An HTTP interface that returns public social platform data as structured JSON. This one covers Facebook, Instagram, public Facebook groups and the Meta ads library behind a single key.

Start using the Social Media API today.

Create an account, generate a key and make your first request in the next five minutes.

Compare plans
  • Public data only
  • Cancel anytime
  • Human support

Ship notes, once a month

New endpoints, platform changes and deprecation windows. No marketing filler.

One email a month. Unsubscribe with a single click.

Social Media API - Facebook, Instagram, Groups and Ads Data