API para Facebook: Fotos
Obtenha fotos recentes publicadas por qualquer página ou perfil público do Facebook (URLs das imagens, legendas e dimensões) em JSON normalizado.
US$ 1,20/mil req., pague por requisição, sem assinatura.

Spurs
Photos

{"id": "6019283746501928","photoId": "6019283746501928","caption": "Final buzzer at the AT&T Center, the crowd on its feet","url": "https://www.facebook.com/photo/?fbid=6019283746501928","thumbnail": "https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_a_thumb.jpg","imageUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_a.jpg","imageWidth": 2048,"imageHeight": 1365}
Preços e provedores
Preços do endpoint Fotos da API para Facebook: uma API, 2 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Teste
Obtenha Fotos do Facebook em uma só requisição
Este exemplo mostra 13 de 14 campos. Ver todos os campos
{
"found": true,
"data": {
"nextCursor": "AbYq2_photos_cursor_02",
"nextPageId": "108374920184756",
"photos": [
{
"id": "6019283746501928",
"photoId": "6019283746501928",
"caption": "Final buzzer at the AT&T Center, the crowd on its feet",
"url": "https://www.facebook.com/photo/?fbid=6019283746501928",
"thumbnail": "https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_a_thumb.jpg",
"imageUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_a.jpg",
"imageWidth": 2048,
"imageHeight": 1365
},
{
"id": "6019283746501929",
"photoId": "6019283746501929",
"caption": "Warmups before tip-off, players in silver and black",
"url": "https://www.facebook.com/photo/?fbid=6019283746501929",
"thumbnail": "https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_b_thumb.jpg",
"imageUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_b.jpg",
"imageWidth": 2048,
"imageHeight": 1365
}
]
}
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Uma requisição, um formato de resposta.
Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.
Última verificação em 2026-11-14 · disponibilidade e latência medidas em 30d
Corpo da requisição
JSON, enviado via POST para este endpoint.
- urlstring
https://www.facebook.com/Spurs
URL da página ou perfil público do Facebook de onde buscar fotos (ex.: https://www.facebook.com/Spurs).
- cursorstring
Cursor de paginação de uma resposta anterior para buscar a próxima página.
- requireFieldsarray
Opcional; se omitido, o roteamento não muda e a fonte mais barata atende. Informe os campos de saída que esta requisição precisa poder retornar, por exemplo `imageWidth`, e ela só será atendida por uma fonte que retorne todos eles. Os campos que você não informar continuam sendo retornados sempre que a fonte que atende os tiver. Isso pode aumentar o seu preço: quando a fonte mais barata não consegue retornar um campo informado, uma fonte mais cara atende, e você recebe a cotação e é cobrado pelo preço dela. Um campo informado ainda pode vir ausente em uma foto que realmente não o tenha. Se você informar uma combinação de campos que nenhuma fonte retorna sozinha, a requisição é recusada como entrada inválida, sem cobrança.
Resposta
JSON, um valor de exemplo por campo.
- nextCursorstring
AbYq2_photos_cursor_02
Opaque cursor for the next page of photos, or null when this lane has no more. Pass it back as cursor to continue.
- nextPageIdstringpode ser exigido
108374920184756
Facebook's own id for the next page of photos. Null when the serving source does not report it; pass nextCursor back as cursor to continue either way.
Populated whenever the provider has data for the entity.
- captionstring
Final buzzer at the AT&T Center, the crowd on its feet
Populated whenever the provider has data for the entity.
- idstring
6019283746501928
Populated whenever the provider has data for the entity.
- imageHeightintegerpode ser exigido
1365
Height of imageUrl in pixels. Null when the serving source does not report it.
- imageUrlstring
https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_a.jpg
Populated whenever the provider has data for the entity.
- imageWidthintegerpode ser exigido
2048
Width of imageUrl in pixels. Null when the serving source does not report it.
- photoIdstring
6019283746501928
Populated whenever the provider has data for the entity.
- thumbnailstring
https://scontent.xx.fbcdn.net/v/t39.30808-6/spurs_photo_a_thumb.jpg
Populated whenever the provider has data for the entity.
- urlstring
https://www.facebook.com/photo/?fbid=6019283746501928
Populated whenever the provider has data for the entity.
- foundboolean
true
- 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.
Dúvidas frequentes
Sobre o endpoint Fotos da API para Facebook
O endpoint Fotos da AnyAPI para Facebook retorna dados de Facebook em JSON normalizado com uma chamada POST para /v1/run/facebook.photos. Obtenha fotos recentes publicadas por qualquer página ou perfil público do Facebook (URLs das imagens, legendas e dimensões) 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, 99,8% das chamadas ao endpoint Fotos da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 1,3 segundos, em 412 chamadas medidas.