LinkedIn Réponses aux commentaires API
List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes.
Tarifs
Tarifs de l’API LinkedIn Réponses aux commentaires
Essayer
Obtenez LinkedIn Réponses aux commentaires en une requête
{
"data": {
"items": [
{
"actor": {
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"linkedinUrl": "https://example.com/page",
"name": "Example title",
"position": "example",
"type": "general"
},
"commentary": "example",
"contentAnnotations": [
{
"hyperlink": "https://example.com/page",
"length": 180,
"profileFirstName": "Alex",
"profileHandle": "alex_rivera",
"profileId": "a1b2c3d4",
"profileLastName": "Rivera",
"profileUrl": "https://example.com/page",
"start": 42,
"textLink": "https://example.com/page",
"type": "general"
}
],
"createdUtc": 12.5,
"edited": true,
"engagement": {
"likes": 12500,
"reactions": [
{
"count": null,
"type": null
}
]
},
"id": "a1b2c3d4",
"postId": "a1b2c3d4",
"url": "https://example.com/page"
}
]
},
"found": true,
"reason": "not_found"
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-10-23 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- urlstring
https://www.linkedin.com/feed/update/urn:li:activity:7510715600319467520?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7510715600319467520%2C7510749329649725442%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287510749329649725442%2Curn%3Ali%3Aactivity%3A7510715600319467520%29
LinkedIn comment URL, as returned in the url field of linkedin.post_comments or copied with "Copy link to comment" (a /feed/update/... link carrying commentUrn and dashCommentUrn). A reply's URL returns the thread it belongs to. A post URL without dashCommentUrn is refused as invalid input, with no charge.
Réponse
JSON, une valeur d’exemple par champ.
The person or company that replied.
- idstring
LinkedIn identifier of the replier.
- imagestring
Profile picture URL of the replier. Populated whenever the provider has data for the entity.
- linkedinUrlstring
Canonical LinkedIn URL of the replier. Populated whenever the provider has data for the entity.
- namestring
Display name of the replier. Populated whenever the provider has data for the entity.
- positionstring
Replier's headline or job title as displayed. Populated whenever the provider has data for the entity.
- typestring
Replier kind, e.g. 'profile' or 'company'.
Up to the 10 newest replies to the comment, newest first. Populated whenever the provider has data for the entity.
- commentarystring
Full text of the reply. Populated whenever the provider has data for the entity.
- createdUtcnumber
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- editedboolean
Whether the reply has been edited.
- idstring
Unique identifier of the reply. Populated whenever the provider has data for the entity.
- postIdstring
Identifier of the post the comment belongs to (e.g. activity:7510715600319467520).
- urlstring
Canonical permalink URL of the reply. Populated whenever the provider has data for the entity.
Structured mentions and links embedded in the reply text.
- hyperlinkstring
Canonical hyperlink attached to the annotation, when present.
- lengthinteger
Length of the annotated text span.
- profileFirstNamestring
First name of a mentioned profile, when present.
- profileHandlestring
Public LinkedIn handle of a mentioned profile, when present.
- profileIdstring
LinkedIn identifier of a mentioned profile, when present.
- profileLastNamestring
Last name of a mentioned profile, when present.
- profileUrlstring
Canonical LinkedIn URL of a mentioned profile, when present.
- startinteger
Zero-based start offset of the annotation in the reply text.
- textLinkstring
Canonical text link attached to the annotation, when present.
- typestring
Kind of content annotation.
Engagement metrics for the reply.
- likesinteger
Number of reactions on the reply.
Per-reaction-type breakdown of the reactions on the reply.
- countinteger
Number of reactions of this type.
- typestring
Reaction type, e.g. LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION.
- foundboolean
Whether the comment was found with at least one reply.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
À propos de l’API LinkedIn Réponses aux commentaires
L’API LinkedIn Réponses aux commentaires d’AnyAPI renvoie des données LinkedIn en JSON normalisé à partir d’un appel POST à /v1/run/linkedin.comment_replies. List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes. AnyAPI renvoie un schéma normalisé unique quelle que soit la source qui répond. Elle coûte à partir de 2,60 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels LinkedIn Réponses aux commentaires passés par AnyAPI ont réussi, avec un temps de réponse médian de 2,4 secondes, sur 1 appels mesurés.