API para LinkedIn: Comentários do post
Liste os comentários de um post do LinkedIn: texto completo, nome/URL/cargo de quem comentou, horários e engajamento.
Rede de provedores
Provedores ordenados por tráfego
com teto de US$ 0,22 por requisição1 resultadoUS$ 0,002250 resultadosUS$ 0,11100 resultadosUS$ 0,22 (teto)Você paga pelo que volta. Reduza o limite para pagar menos - e nenhuma requisição custa mais que o teto, não importa quanto volte.
com teto de US$ 0,143 por requisição1 resultadoUS$ 0,0014350 resultadosUS$ 0,0715100 resultadosUS$ 0,143 (teto)Você paga pelo que volta. Reduza o limite para pagar menos - e nenhuma requisição custa mais que o teto, não importa quanto volte.
Teste
Faça sua primeira requisição
{
"data": {
"items": [
{
"actor": {
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"linkedinUrl": "https://example.com/page",
"name": "Example title",
"position": "example",
"type": "general"
},
"commentary": "example",
"createdUtc": 12.5,
"edited": true,
"engagement": {
"comments": 12500,
"likes": 12500
},
"id": "a1b2c3d4",
"pinned": true,
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}interface LinkedinPostCommentsResponse {
data: {
items: {
actor?: {
id?: string;
image?: string;
linkedinUrl?: string;
name?: string;
position?: string;
type?: string;
};
commentary: string;
createdUtc?: number;
edited?: boolean;
engagement?: {
comments?: number;
likes?: number;
};
id: string;
pinned?: boolean;
url?: string;
}[];
} | 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/linkedin.post_comments \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":10,"url":"https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| url | string | "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ"URL completa do post do LinkedIn cujos comentários serão listados. |
| limit | integer | 10Número máximo de comentários a retornar. |
| postedLimit | enum | Retorna só comentários publicados nesta janela de tempo (padrão: qualquer). |
| Resposta | ||
| data | object | The post comments result, or null when not found. |
| data.items | object[] | The post's comments. Populated whenever the provider has data for the entity. |
| data.items[].actor | object | The commenter (a profile or a company). |
| data.items[].actor.id | string | LinkedIn identifier of the commenter. |
| data.items[].actor.image | string | Profile picture URL of the commenter. Populated whenever the provider has data for the entity. |
| data.items[].actor.linkedinUrl | string | Canonical LinkedIn URL of the commenter. Populated whenever the provider has data for the entity. |
| data.items[].actor.name | string | Display name of the commenter. Populated whenever the provider has data for the entity. |
| data.items[].actor.position | string | Commenter's headline or job title as displayed. Populated whenever the provider has data for the entity. |
| data.items[].actor.type | string | Commenter kind, e.g. 'profile' or 'company'. |
| data.items[].commentary | string | Full text of the comment. Populated whenever the provider has data for the entity. |
| data.items[].createdUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity. |
| data.items[].edited | boolean | Whether the comment has been edited. |
| data.items[].engagement | object | Engagement metrics for the comment. |
| data.items[].engagement.comments | integer | Number of replies to the comment. |
| data.items[].engagement.likes | integer | Number of likes on the comment. |
| data.items[].id | string | Unique identifier of the comment. Populated whenever the provider has data for the entity. |
| data.items[].pinned | boolean | Whether the comment is pinned on the post. |
| data.items[].url | string | Canonical permalink URL of the comment. Populated whenever the provider has data for the entity. |
| found | boolean | Whether comments were found for the post. |
| 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,005 |
| Preço /mil req. | USD | US$ 5,00 |
Dúvidas frequentes
Sobre o endpoint Comentários do post da API para LinkedIn
O endpoint Comentários do post da AnyAPI para LinkedIn retorna dados de LinkedIn em JSON normalizado com uma chamada POST para /v1/run/linkedin.post_comments. Liste os comentários de um post do LinkedIn: texto completo, nome/URL/cargo de quem comentou, horários e engajamento. A AnyAPI distribui cada requisição entre 3 fontes, com failover automático quando uma falha. Custa a partir de US$ 5 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Comentários do post da API para LinkedIn feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,0 segundos, em 885 chamadas medidas.