urlstringobligatoire
Full URL of the public LinkedIn profile whose posts should be returned.
https://api.sandbase.ai/v1/api/linkedin/profile-posts-thinFetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/profile-posts-thin" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/in/williamhgates/", "limit": 10}'
The result is returned in outputs[0].data. A lookup that finds nothing still succeeds and returns found: false.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full URL of the public LinkedIn profile whose posts should be returned. |
cursor | string | No | Pagination cursor from a previous response's nextCursor. |
limit | integer | No | Most posts to return (10-100, default 10). Ignored on sources that page: each call returns one full page of 50 posts; follow nextCursor for more. Sources that cannot page return up to limit posts in one call with no ne |
requireFields | array | No | Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example nextCursor, and it is served only by a source that returns every one |
Billed at the actual cost of each call, usually $0.005 per request. A call can cost more when the first data source fails and another one answers. Failed calls are not charged. Lookups that find nothing and searches with no results are billed at their actual cost, which is often lower and can be $0.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/profile-posts-thin" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/in/williamhgates/",
"limit": 10
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
urlstringobligatoireFull URL of the public LinkedIn profile whose posts should be returned.
limitintegerMost posts to return (10-100, default 10). Ignored on sources that page: each call returns one full page of 50 posts; follow nextCursor for more. Sources that cannot page return up to `limit` posts in one call with no nextCursor.
Par défaut : 10
cursorstringPagination cursor from a previous response's nextCursor.
requireFieldsarrayOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `nextCursor`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge. On a paginated walk it applies to the first page only; later pages stay with the source that page chose, at the price it was quoted.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
LinkedIn Profile Posts (basic)Cette API LinkedIn | À partir de $0.005 par appel | JSON |
LinkedIn | À partir de $0.0012 par appel | JSON |
LinkedIn | À partir de $0.0331 par appel | JSON |
LinkedIn | À partir de $0.0012 par appel | JSON |
LinkedIn | À partir de $0.00569 par appel | JSON |
LinkedIn | À partir de $0.0026 par appel | JSON |
Guides :LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/linkedin/profile-posts-thin avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
À partir de $0.005 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : url (string). Facultatif : limit (integer), cursor (string) et requireFields (array). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone).
Non. LinkedIn Profile Posts (basic) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API LinkedIn séparément.