LinkedIn post comments by URL or URN
fetchinio.linkedin.post.commentsFetch comments from a professional post with author information and replies.
- Price
- $0.0015/callAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Sep 24, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/fetchinio.linkedin.post.comments?count=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968PreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
Advance start by the number of comments returned and preserve paginationToken when the response supplies one. Keep paging while hasMore is true.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
count | integer | Optional | 1 | |
start | integer | Optional | ||
postUrlOrUrn | string | Required | Post URL, activity URN or share URN. | urn:li:activity:7508596155145043968 |
paginationToken | string | Optional | Pass the token from the previous response unchanged when present. | |
- Query parameters
countintegerOptionalExample:
1startintegerOptionalpostUrlOrUrnstringRequiredPost URL, activity URN or share URN.
Example:
urn:li:activity:7508596155145043968paginationTokenstringOptionalPass the token from the previous response unchanged when present.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.comments?count=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.comments?count=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/fetchinio.linkedin.post.comments?count=1&postUrlOrUrn=urn%3Ali%3Aactivity%3A7508596155145043968", {
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.0015/call, including the service fee.