urlstringerforderlich
Full LinkedIn post or article URL.
https://api.sandbase.ai/v1/api/linkedin/postFetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Returns one LinkedIn post or article as a JSON object with its title, text, author, like and comment counts, and publish time. It needs the full post or article url.
likes and comments of a campaign post that you have the link for.curl -X POST "https://api.sandbase.ai/v1/api/linkedin/post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full LinkedIn post or article URL. |
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 image, and it is served only by a source that returns every one of t |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"author": "Stripe",
"authorImage": null,
"authorUrl": "https://www.linkedin.com/company/stripe",
"comments": 37,
"createdUtc": 1781197246,
"image": null,
"likes": 221,
"text": "Last week, agent traffic surpassed human traffic on the internet for the first t…",
"title": "Last week, agent traffic surpassed human traffic on the internet for the first t…",
"url": "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-ac…"
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the post was located. The call still succeeds with found: false when nothing matches. |
data.title | Title of the post or article. For a short post it matches the opening line of the text. |
data.text | Body text of the post. |
data.author / data.authorUrl | Display name of the author and the link to the author's LinkedIn page. For a company post, the URL points to the company page. |
data.likes / data.comments | Number of likes and number of comments on the post. |
data.createdUtc | Publish time as a Unix timestamp in seconds. |
data.authorImage / data.image | Author picture and post image. Both can be null, as in this response. |
data.url | The post URL that was looked up. |
url from the post's share link or the browser address bar. It must be the full LinkedIn post or article URL.authorImage and image can come back null. Pass them in requireFields to be served only by a source that returns them. The price can rise when this applies.Billed at the actual cost of each call, about $0.0008 for the request above. Failed calls are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/post" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
urlstringerforderlichFull LinkedIn post or article URL.
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 `image`, 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 post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
LinkedIn PostDiese API LinkedIn | Ab $0.0008 pro Aufruf | JSON |
LinkedIn | Ab $0.0012 pro Aufruf | JSON |
LinkedIn | Ab $0.0331 pro Aufruf | JSON |
LinkedIn | Ab $0.0012 pro Aufruf | JSON |
LinkedIn | Ab $0.00569 pro Aufruf | JSON |
LinkedIn | Ab $0.0026 pro Aufruf | JSON |
Anleitungen:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/linkedin/post mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
Ab $0.0008 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: url (string). Optional: requireFields (array). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. LinkedIn Post läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für LinkedIn API beantragen.