Get replies to a LinkedIn comment
harvestapi.linkedin.post.comment_repliesGet replies of LinkedIn post comment by comment URL.
- Price
- $0.004/callAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Sep 10, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.post.comment_replies?url=https%3A%2F%2Fwww.linkedin.com%2Ffeed%2Fupdate%2Furn%3Ali%3Aactivity%3A7503320303024926720%3FcommentUrn%3Durn%253Ali%253Acomment%253A%2528activity%253A7503320303024926720%252C7503367222199975936%2529%26dashCommentUrn%3Durn%253Ali%253Afsd_comment%253A%25287503367222199975936%252Curn%253Ali%253Aactivity%253A7503320303024926720%2529Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
Use only the declared query parameters, once each, without a request body. Results are provider-native: inspect element/elements and body status/error; HTTP 200 alone does not prove a hit. Empty results can still be charged.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
url | string | Required | URL of the LinkedIn comment (required) | https://www.linkedin.com/feed/update/urn:li:activity:7503320303024926720?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7503320303024926720%2C7503367222199975936%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287503367222199975936%2Curn%3Ali%3Aactivity%3A7503320303024926720%29 |
paginationToken | string | Optional | Use this token from the previous page response. | |
- Query parameters
urlstringRequiredURL of the LinkedIn comment (required)
Example:
https://www.linkedin.com/feed/update/urn:li:activity:7503320303024926720?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7503320303024926720%2C7503367222199975936%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287503367222199975936%2Curn%3Ali%3Aactivity%3A7503320303024926720%29paginationTokenstringOptionalUse this token from the previous page response.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.post.comment_replies?url=https%3A%2F%2Fwww.linkedin.com%2Ffeed%2Fupdate%2Furn%3Ali%3Aactivity%3A7503320303024926720%3FcommentUrn%3Durn%253Ali%253Acomment%253A%2528activity%253A7503320303024926720%252C7503367222199975936%2529%26dashCommentUrn%3Durn%253Ali%253Afsd_comment%253A%25287503367222199975936%252Curn%253Ali%253Aactivity%253A7503320303024926720%2529' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/harvestapi.linkedin.post.comment_replies?url=https%3A%2F%2Fwww.linkedin.com%2Ffeed%2Fupdate%2Furn%3Ali%3Aactivity%3A7503320303024926720%3FcommentUrn%3Durn%253Ali%253Acomment%253A%2528activity%253A7503320303024926720%252C7503367222199975936%2529%26dashCommentUrn%3Durn%253Ali%253Afsd_comment%253A%25287503367222199975936%252Curn%253Ali%253Aactivity%253A7503320303024926720%2529",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/harvestapi.linkedin.post.comment_replies?url=https%3A%2F%2Fwww.linkedin.com%2Ffeed%2Fupdate%2Furn%3Ali%3Aactivity%3A7503320303024926720%3FcommentUrn%3Durn%253Ali%253Acomment%253A%2528activity%253A7503320303024926720%252C7503367222199975936%2529%26dashCommentUrn%3Durn%253Ali%253Afsd_comment%253A%25287503367222199975936%252Curn%253Ali%253Aactivity%253A7503320303024926720%2529", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.004/call, including the service fee.