Facebook Public Event Details
Retrieve public Facebook event metadata including event title, schedule text, venue city/address, attendance count, host, and description.
curl -sG "https://api.agentapigate.ai/v1/facebook/event/detail" \ --data-urlencode "event_id=4045709448982422" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Facebook Public Event Details (`facebook.event.detail`) **event_id**: 4045709448982422 · **name**: Kansas Comic Con 2026 · **day_time**: Oct 31 at 10:00 AM – Nov 1 at 5:00 PM CST · **city**: Wichita, Kansas · **attendance_count**: 2490
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:facebook.event.detail · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| event_id | string | required | 4045709448982422 | Facebook numeric event ID (e.g. 4045709448982422) or facebook.com/events/<id> URL |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0030 / call | $0/mo · Balance never expires |
| Remote MCP Tool | facebook_event_detail | OAuth 2.1 Hub & /mcp/social |
| x402 Base USDC | $0.0030 / call | Zero-signup USDC enabled |
| P50 Latency | 1842 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 722t → 61t (-93%) | Partner credit: paid_usd / x402 |
More Social & Video Real-Time APIs
Fetch TikTok account profile bio, verification badge, follower count, heart count, and video count.
List recent short videos posted by a TikTok creator with view, like, comment, and share counts.
Fetch full metadata, audio track, author details, and engagement metrics for a TikTok video URL or ID.
Fetch top comments on a TikTok video URL or ID with author handles and like counts.
Search TikTok short videos by keyword with view, like, and creator statistics.
Fetch currently trending viral TikTok videos in a target country code.
Frequently Asked Questions
How do I call Facebook Public Event Details (facebook.event.detail) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/facebook/event/detail with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool facebook_event_detail on https://mcp.agentapigate.ai/mcp.
What does facebook.event.detail cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.003 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on facebook.event.detail?
Passing ?format=md transforms the response into normalized Markdown (~61 tokens vs ~722 raw tokens, saving 93% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only social endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["social"], optional allowed_endpoints: ["facebook.event.detail"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.