Facebook API (beta)
Read public Facebook data in one call: meta Ad Library, Pages, posts with comments, events and Marketplace, logged out. Responses come in Facebook’s own JSON, over REST or MCP.
- Endpoints
- 17
- From
- 1 credit · $0.01
- Failed calls
- Refunded
- Access
- REST · MCP · SDK
Facebook event API
Endpoint details →import os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/facebook/events/1649516750156210",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json(){ "id": "1649516750156210", "name": "TOM PETTY APPRECIATION BAND -w/Joe Burke", "url": "https://www.facebook.com/events/1649516750156210/", "day_time_sentence": "Friday, November 27, 2026 at 8:30 PM EST", "start_timestamp": 1795829400, "is_canceled": false, "is_past": false, "is_online": false, "event_kind": "PUBLIC_TYPE", "event_place": { "__typename": "FreeformPlace", "contextual_name": "667 N River St, Plains, PA", "location": { "latitude": 41.26097, "longitude": -75.86608 }, "name": "667 N River St, Plains, PA", "__isNode": "FreeformPlace", "id": "1735520278576672", "__isPlace": "FreeformPlace", "place_type": "TEXT", "is_user_specified_location": false }, "one_line_address": "667 N River St, Wilkes-Barre, PA 18702, United States", "event_description": { "text": "Must be 21 and over to enter. Under 21 permissible as long as accompanied by a parent. \nDoors open at 7:30\nShowtime 830\n…", "delight_ranges": [], "image_ranges": [], "inline_style_ranges": [], "aggregated_ranges": [], "ranges": [], "color_ranges": [] }, "event_creator": { "__typename": "User", "name": "River Street Jazz Cafe", "id": "100063561491454" }, "event_hosts_that_can_view_guestlist": [ { "__typename": "User", "__isProfile": "User", "id": "100063561491454", "name": "River Street Jazz Cafe", "is_verified": false, "url": "https://www.facebook.com/riverstreetjazzcafe", "profile_picture": { "uri": "https://scontent-sea5-1.xx.fbcdn.net/v/t39.30808-1/299189673_495784885883557_1492215430930644980_n.jpg?stp=cp0_dst-jpg_s…" } } ], "event_buy_ticket_url": "https://holdmyticket.com/tickets/467449", "discovery_categories": [], "responded_count": 166, "current_start_timestamp": 1795829400, "start_time_formatted": "Fri, Nov 27 at 8:30 PM EST", "price_info": null, "cover_media_renderer": { "__typename": "EventCoverPhotoRenderer", "cover_photo": { "photo": { "viewer_image": { "height": 2868, "width": 1320 }, "accessibility_caption": "May be a doodle of text", "full_image": { "height": 2048, "uri": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-6/850305393_1735520408576659_7787654639296658701_n.jpg?stp=dst-jpg_s108…", "width": 943 }, "blurred_image": { "uri": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-6/850305393_1735520408576659_7787654639296658701_n.jpg?stp=dst-jpg_fb50…", "width": 147, "height": 320 }, "url": "https://www.facebook.com/photo/?fbid=1735520405243326&set=gm.1649516836822868", "id": "1735520405243326" }, "focus": { "x": 0.5, "y": 0.38314738696418 } }, "__module_operation_EventCometPermalinkHeaderMediaBlock_event": { "__dr": "EventCometPermalinkHeaderCoverPhotoRenderer_coverMedia$normalization.graphql" }, "__module_component_EventCometPermalinkHeaderMediaBlock_event": { "__dr": "EventCometPermalinkHeaderCoverPhotoRenderer.react" } }, "created_for_group": null, "location": { "reverse_geocode": { "city_page": { "id": "110030575682062", "name": "Wilkes-Barre, Pennsylvania" } } }, "ticket_settings": { "nodes": [] }, "…": "3 more fields"}All Facebook endpoints
Credits per call · refunded on failure · Code tutorialsWhat people build with it
Social listening
Track mentions of a brand, product or topic as they post.
Creator research
Profiles, follower counts and recent posts for vetting.
Agent context
Give an AI agent what people are saying, with sources.
Pricing
Pay per call with credit packs that never expire, or keyless per call. No subscription. 100 free credits to start.
All packs →| Provider | Per 1,000 | Unit |
|---|---|---|
| Groundsocial | $1.00 → $0.40 | standard calls; $0.01 per call keyless |
| SocialCrawl | £6.00 → £1.99 | credits |
| ScrapeCreators | $1.88 → $0.99 | credits |
| Apify | From $1.70 | results, varies by actor |
| Bright Data | $1.50 → $1.30 | records |
| Data365 | €0.85 → €0.60 | credits |
| Phyllo | Quote only | custom plans |
Other providers’ prices from their public pages, in their own currency. A credit buys a different amount on each.
Facebook API questions
Do I need a Facebook account or API key?
No. Every call reads what Facebook shows a logged-out visitor. You only need a Groundsocial API key, or none at all with pay-per-call.
How much does the Facebook API cost?
From 1 credit per call. Credits cost $1.00 to $0.40 per 1,000 depending on the pack, or $0.01 per call keyless. Failed calls are refunded. You start with 100 free credits.
What format is the data in?
Responses come in Facebook’s own JSON, not a lossy cross-platform schema, so field names match what Facebook itself uses.
Can an AI agent use it?
Yes. Every Facebook endpoint is an MCP tool (facebook_event_get, …), and agents can sign themselves up with POST /v1/agent/signup.
Is it official?
No. Groundsocial is an independent API for public data. Facebook is a trademark of Meta Platforms, Inc. We are not affiliated with or endorsed by Meta.
More social APIs
All platforms →14 endpoints
Instagram API26 endpoints
LinkedIn API12 endpoints
Threads API6 endpoints
Bluesky API27 endpoints
Pinterest API10 endpoints
Facebook is a trademark of Meta Platforms, Inc. We are not affiliated with or endorsed by Meta.