linkedin.comment API
Comment on a LinkedIn post from your connected account, or reply in a comment thread. Pass the post's link (or its activity id from social.search) and the text; the result names the post's author, ready for linkedin.invite. One comment per post per account, 2 minutes apart, at most 20 a day (10 in the account's first week). A deleted post, one the account cannot open, or one with comments turned off comes back as a miss. You are the author of record: the comment is public under your name.
Unipile:
all inputs
✓ marks a combination proven with a real provider call. Others are wired and unit-tested; their first live run verifies them.
| Provider | Status |
|---|---|
Unipile |
live |
Unit: per_comment · unmatched results billed: no
Priced per comment posted; a refused or skipped comment bills nothing. RouterGrowth paces comments per account: at least 2 minutes apart, at most 20 a day (10 on an account connected under a week), and a second top-level comment under the same post is blocked with repeat_touch. The day starts again at 00:00 UTC.
The exact quote is returned by /v1/inspect before every call and held with headroom on execution. The quote is the price floor: if the provider's actual cost overruns it, the run bills the overrun at the same rate, never above the hold. The unused part of every hold is released.
curl https://api.routergrowth.com/v1/run \ -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \ -d '{ "capability": "linkedin.comment", "input": { "text": "..." }, "routing": {"provider": "auto"} }'
{
"properties": {
"account_id": {
"description": "The account name (or id) from linkedin.accounts; optional when you have one account",
"type": "string"
},
"comment_id": {
"description": "Reply in this comment\u0027s thread instead of commenting on the post, e.g. the comment_id of your own earlier comment",
"type": "string"
},
"post_id": {
"description": "Instead of post_url: the post\u0027s activity id (the id field social.search returns) or its urn",
"type": "string"
},
"post_url": {
"description": "The post\u0027s link, e.g. https://www.linkedin.com/posts/\u003cname\u003e_\u003cslug\u003e-activity-\u003cid\u003e-\u003chash\u003e or https://www.linkedin.com/feed/update/urn:li:activity:\u003cid\u003e",
"type": "string"
},
"text": {
"description": "The comment, up to 1,250 characters",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}
comment_id · post_id · post_url · author · post_text · reactions · comments