Facebook events for a city by URL
scrapecreators.x.v1-facebook-eventsGet the events of a city.
- Price
- $0.00188/callAl precio del proveedor
- Success rate
- 100 %Last 30 days · 38 calls
- Latency p50
- 755 msp95 2.7 s
- Last verified
- 28 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547PreviewTry onlinePróximamenteProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
url | cadena | Obligatorio | The URL of the city's Facebook Events page | https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547 |
time | cadena | Opcional | The time frame to search for. Defaults to all time | |
cursor | cadena | Opcional | The cursor to paginate to the next page | eyJzdGFydF... |
- Parámetros de consulta
urlcadenaObligatorioThe URL of the city's Facebook Events page
Ejemplo:
https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547timecadenaOpcionalThe time frame to search for. Defaults to all time
cursorcadenaOpcionalThe cursor to paginate to the next page
Ejemplo:
eyJzdGFydF...
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v1-facebook-events?url=https%3A%2F%2Fwww.facebook.com%2Fevents%2Fexplore%2Fsaint-petersburg-florida%2F111326725552547", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.00188/call, incluida la tarifa de servicio.