urlstringobbligatorio
Full URL of the LinkedIn member profile whose comments on other people's posts should be listed.
https://api.sandbase.ai/v1/api/linkedin/profile-commentsList the comments a LinkedIn member has left on other people's posts - the comment text, its permalink and timestamp, plus the post it was left on and that post's author and engagement.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns the comments a LinkedIn member has left on other people's posts. Each item has the comment text, its link and timestamp, plus the post it was left on, that post's author and engagement counts. It needs the full profile URL in url.
engagement counts.curl -X POST "https://api.sandbase.ai/v1/api/linkedin/profile-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/in/jeffweiner08", "limit": 10}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Full URL of the LinkedIn member profile whose comments on other people's posts should be listed. |
limit | integer | No | Maximum number of comments to return. |
postedLimit | string | No | Only return comments posted within this window (default any). |
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 edited or isAuthor, and it is served only by a source that returns |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"actor": {
"id": "ACoAAAFUu6sBhlQbcvAS0GdcPE344dA3vwutzVM",
"image": "https://media.licdn.com/dms/image/v2/C4D03AQFM3Y2r-OEStw/profile-displayphoto-sh…",
"linkedinUrl": "https://www.linkedin.com/in/jeffweiner08",
"name": "Jeff Weiner",
"position": "Founding Partner Next Play Ventures; Former CEO / Executive Chairman at LinkedIn"
},
"commentary": "Congrats Daniel, Ryan, and the entire content team on the incredible recognition…",
"createdUtc": 1793468458,
"edited": null,
"engagement": {
"comments": 0,
"likes": 13
},
"id": "7522351927607660544",
"isAuthor": null,
"post": {
"author": {
"headline": "VP of Content | Editor in Chief | Building content-led products, media, and know…",
"image": "https://media.licdn.com/dms/image/v2/D4E03AQFssLpG8RItRA/profile-displayphoto-sh…",
"name": "Daniel Roth",
"profileUrl": "https://www.linkedin.com/in/danielroth1",
"publicIdentifier": "danielroth1"
},
"engagement": {
"comments": 68,
"reactions": 671,
"reposts": 8
},
"id": "7522345650261270528",
"postedUtc": 1793466961,
"text": "If you'd told me early in my career that I'd be sitting in the Hollywood Palladi…",
"url": "https://www.linkedin.com/posts/danielroth1_if-youd-told-me-early-in-my-career-th…"
},
"url": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7522345650261270528?commentU…"
}
]
},
"found": true
}
| Field | Meaning |
|---|---|
data.items[].id | ID of the comment. |
data.items[].commentary | Text of the comment. Long text may be cut. |
data.items[].url | Permalink to the comment on LinkedIn, inside the post it belongs to. |
data.items[].createdUtc | Time the comment was created, as a Unix timestamp in seconds. |
data.items[].engagement.likes / data.items[].engagement.comments | Number of likes and replies on the comment itself. |
data.items[].actor.name / data.items[].actor.position / data.items[].actor.linkedinUrl | Name, headline and profile URL of the member who wrote the comment. |
data.items[].post.id / data.items[].post.url | ID and link of the post that was commented on. |
data.items[].post.text | Text of the post that was commented on. Some posts have no text key. |
data.items[].post.postedUtc | Time the post was published, as a Unix timestamp in seconds. |
data.items[].post.author.name / data.items[].post.author.headline / data.items[].post.author.profileUrl / data.items[].post.author.publicIdentifier | Name, headline, profile URL and public handle of the person who wrote the post. |
data.items[].post.engagement.reactions / data.items[].post.engagement.comments / data.items[].post.engagement.reposts | Counts of reactions, comments and reposts on the post. |
url, for example https://www.linkedin.com/in/jeffweiner08. You can find it with LinkedIn Profile Search.limit accepts 1 to 100. Use postedLimit with 24h, week or month to keep only recent comments.edited and isAuthor came back as null in this response. Name them in requireFields if you need them, but the call may then cost more.Billed at the actual cost of each call, about $0.0029 for the request above. Failed calls are not charged.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/profile-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/in/jeffweiner08",
"limit": 10
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
urlstringobbligatorioFull URL of the LinkedIn member profile whose comments on other people's posts should be listed.
limitintegerMaximum number of comments to return.
Predefinito: 100
postedLimitstringOnly return comments posted within this window (default any).
Valori possibili: any, 24h, week, month
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 `edited` or `isAuthor`, 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 comment that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
LinkedIn Profile CommentsQuesta API LinkedIn | Da $0.0029 per chiamata | JSON |
LinkedIn | Da $0.0012 per chiamata | JSON |
LinkedIn | Da $0.0331 per chiamata | JSON |
LinkedIn | Da $0.0012 per chiamata | JSON |
LinkedIn | Da $0.00569 per chiamata | JSON |
LinkedIn | Da $0.0026 per chiamata | JSON |
Guide:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/linkedin/profile-comments con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
A partire da $0.0029 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: url (string). Facoltativi: limit (integer), postedLimit (uno tra any, 24h, week, month) e requireFields (array). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. LinkedIn Profile Comments funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API LinkedIn.