API para Facebook: Post
Um único post do Facebook pela URL: texto e métricas de engajamento (curtidas, comentários, compartilhamentos, visualizações).
US$ 1,20/mil req., pague por requisição, sem assinatura.
Watch live as our crew returns home from the International Space Station.
{"id": "25118307061088489","text": "Watch live as our crew returns home from the International Space Station.","likes": 2095,"comments": 48,"shares": 133,"views": 133000,"authorId": string,"authorImage": string,... 10 campos a mais}
Preços e provedores
Preços do endpoint Post da API para Facebook: uma API, 3 provedores intercambiáveis
O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.
Teste
Obtenha Post do Facebook em uma só requisição
Este exemplo mostra 8 de 28 campos. Ver todos os campos
{
"found": true,
"data": {
"id": "25118307061088489",
"text": "Watch live as our crew returns home from the International Space Station.",
"likes": 2095,
"comments": 48,
"shares": 133,
"views": 133000
}
}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/nasa/posts/1204545088344463
URL completa do post do Facebook.
- 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 `videoId` ou `views`, 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 um post 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.
- authorIdstring
Numeric Facebook id of the page or profile that posted.
- authorImagestring
Profile picture URL of the page or profile that posted.
- authorNamestring
Display name of the page or profile that posted.
- authorVerifiedbooleanpode ser exigido
Whether the posting page or profile carries a Facebook verification badge.
- commentsinteger
48
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- durationSecondsnumber
Length of the post's video in seconds, 0 when the post carries no video.
- feedbackIdstringpode ser exigido
Facebook feedback id of the post; pass it to facebook.post_comments as feedbackId to fetch its comments. Null when this source cannot read it.
- idstring
25118307061088489
Facebook post id. For a reel or video post this is NOT the id in the /reel/ URL; that one is videoId. Populated whenever the provider has data for the entity.
- imagestring
Preview image or video thumbnail URL for the post.
- likesinteger
2095
- sharesinteger
133
- textstring
Watch live as our crew returns home from the International Space Station.
Populated whenever the provider has data for the entity.
- urlstring
Canonical Facebook URL of the post.
- videoIdstringpode ser exigido
Facebook video id of the post's reel or video, the id that appears in its /reel/<id> URL. Null when the post carries no video or this lane cannot read it.
- videoUrlstringpode ser exigido
Playable video file URL of the post's reel or video. Null when the post carries no video or this source cannot read it.
- viewsintegerpode ser exigido
133000
Number of views on the post's video. Null when the source cannot report an exact count, for example when it gives only a rounded figure such as 14K.
Reaction counts on the post, broken down by reaction type. Null when this source reports only the total.
- angryinteger
Angry reactions.
- careinteger
Care reactions.
- hahainteger
Haha reactions.
- likeinteger
Like reactions.
- loveinteger
Love reactions.
- sadinteger
Sad reactions.
- wowinteger
Wow reactions.
- 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.
Vende esta API? Veja o schema completo que o seu endpoint precisa retornar.
Dúvidas frequentes
Sobre o endpoint Post da API para Facebook
O endpoint Post da AnyAPI para Facebook retorna dados de Facebook em JSON normalizado com uma chamada POST para /v1/run/facebook.post. Um único post do Facebook pela URL: texto e métricas de engajamento (curtidas, comentários, compartilhamentos, visualizações). A AnyAPI distribui cada requisição entre 3 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 Post da API para Facebook feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,0 segundos, em 1.032.069 chamadas medidas.