FACEBOOK SCRAPER API

Facebook Events Near Me API

List the events Facebook suggests in a city, with each event's name, start time, venue, attendance and cover image. Find the city's `locationId` with the location search. Page through the events with `cursor`.

Endpoint
POST /facebook/get-events-by-location
Price
1 credit per request
SDK
client.facebook.getEventsByLocation()
MCP tool
facebook_get_events_by_location
Terminal
curl -X POST "https://api.bridgly.app/facebook/get-events-by-location" \
-H "Authorization: Bearer $BRIDGLY_KEY" \
-H "Content-Type: application/json" \
-d '{
"locationId": "106224666074625",
"count": 12
}'
[ REQUEST AND RESPONSE ]

What does the Facebook Events Near Me API return?

List the events Facebook suggests in any city as JSON: name, date, venue, attendance and cover image, page after page. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.

Request body

cursorstring
The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
locationIdstringrequired
Numeric ID of the city, as returned by the location search, e.g. "106224666074625" for Austin, Texas.
countinteger · 1–12 · default 12
Number of results to return (1–12). Defaults to 12.
cacheMaxAgeHoursinteger
Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean
Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.

Example response

200 OK · application/json
{
"timeMs": 1840,
"creditsCost": 1,
"cachedAt": "2026-01-15T09:30:00.000Z",
"data": {
"nextCursor": "string",
"events": [
{
"id": "string",
"url": "string",
"name": "string",
"startsAt": "string",
"timeText": "string",
"isPast": true,
"isCanceled": true,
"isOnline": true,
"isHappeningNow": true,
"kind": "string",
"parentEventId": "string",
"groupId": "string",
"place": {
"id": "string",
"name": "string"
},
"city": "string",
"attendance": "string",
"coverPhotoUrl": "string",
"createdBy": {
"id": "string",
"name": "string",
"url": "string",
"profilePictureUrl": "string"
},
"sharedBy": {
"id": "string",
"name": "string",
"url": "string",
"profilePictureUrl": "string"
}
}
]
}
}
[ USE CASES ]

What can you build with the Facebook Events Near Me API?

Local event guides

Build a list of what is happening in a city this week.

Venue research

Find the busiest venues and organizers in a market.

Travel apps

Show travellers the events at their destination.

[ FAQ ]

Facebook Events Near Me API questions

How do I get a city’s locationId?

Search the city with the Facebook location search endpoint and pass the id of the result.

How do I use the Facebook Events Near Me API?

Send a POST request to https://api.bridgly.app/facebook/get-events-by-location with locationId in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.facebook.getEventsByLocation(). AI agents connected to Bridgly over MCP can call the facebook_get_events_by_location tool.

How much does the Facebook Events Near Me API cost?

Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.

Try the Facebook Events Near Me API

100 free credits on business email, no card. Your first call takes a minute.

APIMCPSDKCLI
free credits

On business email signup. No credit card required.

Start free with 100 credits