API para LinkedIn

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.

POST/v1/run/linkedin.post_comments
Disponibilidade
100,00%
30d · 885 chamadas
Requisições
885
30d · semanal, últimas 12 sem.
Resposta
2,0s
mediana · 30d

Teste

Faça sua primeira requisição

Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "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 da resposta
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 30d
POST /v1/run/linkedin.post_comments
curl -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"}'
CampoTipoValor de exemplo
Corpo da requisição
urlstring"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.
limitinteger10Número máximo de comentários a retornar.
postedLimitenumRetorna só comentários publicados nesta janela de tempo (padrão: qualquer).
Resposta
dataobjectThe post comments result, or null when not found.
data.itemsobject[]The post's comments. Populated whenever the provider has data for the entity.
data.items[].actorobjectThe commenter (a profile or a company).
data.items[].actor.idstringLinkedIn identifier of the commenter.
data.items[].actor.imagestringProfile picture URL of the commenter. Populated whenever the provider has data for the entity.
data.items[].actor.linkedinUrlstringCanonical LinkedIn URL of the commenter. Populated whenever the provider has data for the entity.
data.items[].actor.namestringDisplay name of the commenter. Populated whenever the provider has data for the entity.
data.items[].actor.positionstringCommenter's headline or job title as displayed. Populated whenever the provider has data for the entity.
data.items[].actor.typestringCommenter kind, e.g. 'profile' or 'company'.
data.items[].commentarystringFull text of the comment. Populated whenever the provider has data for the entity.
data.items[].createdUtcnumberUTC 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[].editedbooleanWhether the comment has been edited.
data.items[].engagementobjectEngagement metrics for the comment.
data.items[].engagement.commentsintegerNumber of replies to the comment.
data.items[].engagement.likesintegerNumber of likes on the comment.
data.items[].idstringUnique identifier of the comment. Populated whenever the provider has data for the entity.
data.items[].pinnedbooleanWhether the comment is pinned on the post.
data.items[].urlstringCanonical permalink URL of the comment. Populated whenever the provider has data for the entity.
foundbooleanWhether 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çãoUSDUS$ 0,005
Preço /mil req.USDUS$ 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.

Custa a partir de US$ 5 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

Liste os comentários de um post do LinkedIn: texto completo, nome/URL/cargo de quem comentou, horários e engajamento. A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

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. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.