AgentAPIGate
Back to Catalog
GET /v1/facebook/event/detailPack: social·MCP Tool: facebook_event_detail

Facebook Public Event Details

Retrieve public Facebook event metadata including event title, schedule text, venue city/address, attendance count, host, and description.

API Key Price:$0.0030 / call
x402 Base USDC:$0.0030 / call
Partner Credit:paid_usd / x402 only
1. Parameters & Controls
Facebook numeric event ID (e.g. 4045709448982422) or facebook.com/events/<id> URL
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-93% tokens
# 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
ParameterTypeReqSample / DefaultDescription
event_idstringrequired4045709448982422Facebook numeric event ID (e.g. 4045709448982422) or facebook.com/events/<id> URL
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0030 / call$0/mo · Balance never expires
Remote MCP Toolfacebook_event_detailOAuth 2.1 Hub & /mcp/social
x402 Base USDC$0.0030 / callZero-signup USDC enabled
P50 Latency1842 ms$0 billed on empty or 4xx/5xx
Token Economy722t → 61t (-93%)Partner credit: paid_usd / x402

More Social & Video Real-Time APIs

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.