Social Media · Facebook Scraper
Facebook Events by City Scraper API
Pull the Facebook events happening in any city, with venue, start time, ticket links and how many people are going. No headless browsers, no captchas, proxies included.
// Facebook · Events by City
curl -H "X-API-Key: hpx_your_key_here" \
"https://hproxy.com/api/v1/scrape/facebook/events?url=https%3A%2F%2Fwww.facebook.com%2Fnasa"
// → { "data": { … }, "records": 1, "costUsd": … }
From Request to Clean JSON
You write one line. We do everything between the request and the data.
You send
One API call
GET the Facebook endpoint with your key. That's all your code does.
We handle
Proxies · captchas · parsing
Residential exit, anti-bot walls, JS rendering and extraction, all server-side, on us.
You get
Clean JSON
A structured object every time. No HTML, no scraping code, no maintenance.
The Facebook Events by City endpoint is one API call: send a URL with your HProxy key and get back a clean, structured JSON object. Pull the Facebook events happening in any city, with venue, start time, ticket links and how many people are going. HProxy runs the proxies, sessions, anti-bot handling and parsing server-side, so there is no headless browser to babysit and no parser to keep fixing when Facebook changes its markup. You only ever touch the JSON. Longer result sets come back page by page with a cursor, so you can walk the whole set without holding it in memory.
What the Facebook Events by City API returns
events[]
Each event with title, description and cover image.
startTime / endTime
Scheduled start and end, with timezone.
venue
Location name, address and coordinates where public.
attendance
Going and interested counts.
Example response
{
"events": [
{ "id": "88120...", "title": "Launch night", "startTime": "2026-08-14T18:00:00Z",
"venue": { "name": "The Hall", "city": "Berlin" },
"attendance": { "going": 412, "interested": 1890 } }
]
}Trimmed for brevity. Every call returns the full object with all fields listed here.
The Facebook events by city endpoint
Full Facebook reference/api/v1/scrape/facebook/eventsParameters
urlurlrequiredTarget URL (profile, post or video).
timestringoptionalFilter by date, as YYYY-MM-DD. Allowed values: `today`, `this_week`, `next_week`.
cursorstringoptionalPagination token from the previous response.
Example request
curl "https://hproxy.com/api/v1/scrape/facebook/events?url=https%3A%2F%2Fwww.facebook.com%2Fnasa" \
-H "X-API-Key: hpx_your_key_here"POST with a JSON body works too. Errors, timeouts and rate limits are never billed; a target that does not exist counts as a call.
Scraping Facebook events by city in three steps
Create a free account
Sign up and top up any amount. The balance pays for every HProxy product and never expires.
Grab your API key
One key from the dashboard authenticates every scraper, Facebook events by city included.
Call the endpoint
Send the target to the Facebook Events by City endpoint and read the JSON. That is the whole integration.
No captchas, ever
Anti-bot walls, JS rendering and rate limits are handled server-side. You call an API, that is the whole job.
Residential-backed
Every request exits through HProxy's own residential network, so it looks like a real user on a real device.
Pay per call
No subscription, no seat licenses. Calls are billed from your balance and the balance never expires.
Fresh on every call
Responses are scraped live at request time, no stale cache dressed up as data.
Errors are free
Blocked, errored or timed-out calls are not charged. A target that does not exist counts as a call, because the platform still had to be asked.
Scales with you
From one call to millions: same endpoint, same price curve, volume discounts as you grow.
What people build with it
Aggregate what is happening in a city into your own listings.
Track competitor and community events automatically.
Alert on new events matching a topic or venue.
Facebook Events by City pricing
$1.49
per 1,000 calls · 0.15¢ each
Pay per call, no subscription
Errors and timeouts are not charged
Proxies included in the price
Facebook Events by City scraper FAQ
How do I scrape Facebook events by city?
What does the Facebook events by city scraper return?
How much does it cost to scrape Facebook events by city?
Can I pull more than one page of Facebook events by city?
Do I need my own proxies to scrape Facebook?
Is scraping Facebook events by city allowed?
The same data on other platforms
All Event Scraper API endpointsReady when you are.Your dashboard is ten seconds away.
Or talk to us at support@hproxy.com