Get a LinkedIn post
harvestapi.linkedin.post.getGet LinkedIn post details by post URL.
- Price
- $0.004/callAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- 10 sept 2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.post.get?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fwilliamhgates_ive-been-thinking-a-lot-about-the-idea-of-activity-7503320303024926720-1t50PreviewTry onlinePróximamenteProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
Use only the declared query parameters, once each, without a request body. Results are provider-native: inspect element/elements and body status/error; HTTP 200 alone does not prove a hit. Empty results can still be charged.
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
url | cadena | Obligatorio | URL of the LinkedIn post (required) | https://www.linkedin.com/posts/williamhgates_ive-been-thinking-a-lot-about-the-idea-of-activity-7503320303024926720-1t50 |
- Parámetros de consulta
urlcadenaObligatorioURL of the LinkedIn post (required)
Ejemplo:
https://www.linkedin.com/posts/williamhgates_ive-been-thinking-a-lot-about-the-idea-of-activity-7503320303024926720-1t50
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.post.get?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fwilliamhgates_ive-been-thinking-a-lot-about-the-idea-of-activity-7503320303024926720-1t50' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/harvestapi.linkedin.post.get?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fwilliamhgates_ive-been-thinking-a-lot-about-the-idea-of-activity-7503320303024926720-1t50",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/harvestapi.linkedin.post.get?url=https%3A%2F%2Fwww.linkedin.com%2Fposts%2Fwilliamhgates_ive-been-thinking-a-lot-about-the-idea-of-activity-7503320303024926720-1t50", {
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.004/call, incluida la tarifa de servicio.