LinkedIn post comments and reactions together
fetchinio.linkedin.post.engagementFetch a post's comments and reactions in a single call.
- Price
- $0.003/callPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 24 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1PreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
Returns both datasets atomically. The call consumes two credits and two rate-limit units.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
commentCount | inteiro | Opcional | 1 | |
commentStart | inteiro | Opcional | ||
postUrlOrUrn | string | Obrigatório | Post URL, activity URN or share URN. | urn:li:activity:7508596155145043968 |
reactionCount | inteiro | Opcional | 1 | |
reactionStart | inteiro | Opcional | ||
commentPaginationToken | string | Opcional | ||
- Parâmetros de consulta
commentCountinteiroOpcionalExemplo:
1commentStartinteiroOpcionalpostUrlOrUrnstringObrigatórioPost URL, activity URN or share URN.
Exemplo:
urn:li:activity:7508596155145043968reactionCountinteiroOpcionalExemplo:
1reactionStartinteiroOpcionalcommentPaginationTokenstringOpcional
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.engagement?commentCount=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968&reactionCount=1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.003/call, incluindo a taxa de serviço.