API LinkedIn

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.

POST/v1/run/linkedin.comment_replies
Disponibilité
100,00%
30d · 1 appel
Requêtes
1
30d
Réponse
2,4s
médiane · 30d

Tarifs

Tarifs de l’API LinkedIn Réponses aux commentaires

Vous payez
26,00 $US
2,60 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 38 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez LinkedIn Réponses aux commentaires en une requête

Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complè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.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

actordata.items[].actor

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'.

each itemdata.items[]

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.

each contentAnnotationdata.items[].contentAnnotations[]

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.

engagementdata.items[].engagement

Engagement metrics for the reply.

  • likesinteger

    Number of reactions on the reply.

each reactiondata.items[].engagement.reactions[]

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.

top level
  • 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.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

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.

Elle coûte à partir de 2,60 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

List up to the 10 newest replies to a comment on a LinkedIn post - reply text, replier name/URL/job title, timestamps, and likes. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

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. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 38 appels LinkedIn Réponses aux commentaires à 0,0026 $US chacun.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/linkedin.comment_replies avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.
À appeler aussi

Autres endpoints LinkedIn

Profilà partir de 2,90 $US /1k reqEntrepriseà partir de 1,10 $US /1k reqPublications de l’entrepriseà partir de 2,90 $US /1k reqPublicationà partir de 0,80 $US /1k reqRecherche de publicationsà partir de 1,20 $US /1k reqAnnonceà partir de 1,20 $US /1k reqAnnoncesà partir de 1,58 $US /1k résultatsRecherche d’annoncesà partir de 1,20 $US /1k reqArticleà partir de 5,69 $US /1k reqComment reactionsà partir de 2,60 $US /1k reqEmployés de l’entrepriseà partir de 6,00 $US /1k reqPublications de l’entreprise (version légère)à partir de 1,20 $US /1k reqEntreprise (version légère)à partir de 1,00 $US /1k reqE-mailà partir de 11,00 $US /1k reqGroupà partir de 1,30 $US /1k reqPublications de groupeà partir de 2,60 $US /1k reqOffre d’emploià partir de 1,50 $US /1k reqOffres d’emploià partir de 28,60 $US /1k reqOffres d’emploi (version légère)à partir de 0,66 $US /1k reqCommentaires de la publicationà partir de 2,90 $US /1k reqRéactions à la publicationà partir de 2,90 $US /1k reqTranscription de la publicationà partir de 1,20 $US /1k reqCommentaires du profilà partir de 2,90 $US /1k reqPublications du profil (version complète)à partir de 5,00 $US /1k reqPublications du profil (version légère)à partir de 5,00 $US /1k reqRéactions du profilà partir de 2,90 $US /1k reqProfil (version légère)à partir de 0,80 $US /1k reqRecherche d’entreprisesà partir de 5,00 $US /1k reqSearch groupsà partir de 1,30 $US /1k reqSearch leadsà partir de 70,00 $US /1k reqRecherche de publications (version complète)à partir de 4,00 $US /1k reqRecherche de profilsà partir de 7,92 $US /1k résultatsRecherche de profils (e-mail)à partir de 12,92 $US /1k résultatsRecherche de profils (version légère)à partir de 36,00 $US /1k reqSearch servicesà partir de 2,60 $US /1k req