API para Facebook: Eventos do perfil
Liste eventos futuros e passados organizados por qualquer página pública do Facebook pela URL (nome, programação, local e organizador) em JSON normalizado.
Rede de provedores
Provedores ordenados por tráfego
Teste
Faça sua primeira requisição
{
"data": {
"events": [
{
"city": "San Francisco",
"creatorName": "Example title",
"dayTimeSentence": "2024-01-15T09:30:00Z",
"id": "a1b2c3d4",
"isCanceled": true,
"isOnline": true,
"isPast": true,
"name": "Example title",
"placeName": "Example title",
"startTimestamp": 42,
"url": "https://example.com/page"
}
],
"hasNextPage": true,
"nextCursor": "example",
"totalCount": 12500
},
"found": true,
"reason": "not_found"
}interface FacebookProfileEventsResponse {
data: {
events: {
city: string;
creatorName: string;
dayTimeSentence: string;
id: string;
isCanceled: boolean;
isOnline: boolean;
isPast: boolean;
name: string;
placeName: string;
startTimestamp: number;
url: string;
}[];
hasNextPage: boolean;
nextCursor: string | null;
totalCount: number;
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/facebook.profile_events \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.facebook.com/brickyardoldtown"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| url | string | "https://www.facebook.com/brickyardoldtown"A URL da página do Facebook. |
| cursor | string | Cursor de paginação de uma resposta anterior. |
| Resposta | ||
| data | object | |
| data.events | object[] | Populated whenever the provider has data for the entity. |
| data.events[].city | string | |
| data.events[].creatorName | string | Populated whenever the provider has data for the entity. |
| data.events[].dayTimeSentence | string | |
| data.events[].id | string | Populated whenever the provider has data for the entity. |
| data.events[].isCanceled | boolean | |
| data.events[].isOnline | boolean | |
| data.events[].isPast | boolean | |
| data.events[].name | string | Populated whenever the provider has data for the entity. |
| data.events[].placeName | string | |
| data.events[].startTimestamp | integer | |
| data.events[].url | string | Populated whenever the provider has data for the entity. |
| data.hasNextPage | boolean | |
| data.nextCursor | string | Opaque cursor for the next page of events, or null when this lane has no more. Pass it back as cursor to continue. |
| data.totalCount | integer | |
| found | boolean | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Eventos do perfil da API para Facebook
O endpoint Eventos do perfil da AnyAPI para Facebook retorna dados de Facebook em JSON normalizado com uma chamada POST para /v1/run/facebook.profile_events. Liste eventos futuros e passados organizados por qualquer página pública do Facebook pela URL (nome, programação, local e organizador) em JSON normalizado. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Eventos do perfil da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,5 segundos, em 4.474 chamadas medidas.