Facebook events for a city by URL
scrapecreators.x.v1-facebook-eventsGet the events of a city.
- Price
- $0.00188/callPelo preço do provedor
- Success rate
- 100%Last 30 days · 38 calls
- Latency p50
- 755 msp95 2.7 s
- Last verified
- 28 de jul. de 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 onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
url | string | Obrigatório | The URL of the city's Facebook Events page | https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547 |
time | string | Opcional | The time frame to search for. Defaults to all time | |
cursor | string | Opcional | The cursor to paginate to the next page | eyJzdGFydF... |
- Parâmetros de consulta
urlstringObrigatórioThe URL of the city's Facebook Events page
Exemplo:
https://www.facebook.com/events/explore/saint-petersburg-florida/111326725552547timestringOpcionalThe time frame to search for. Defaults to all time
cursorstringOpcionalThe cursor to paginate to the next page
Exemplo:
eyJzdGFydF...
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00188/call, incluindo a taxa de serviço.