LinkedIn Profile Comments API
Get LinkedIn Profile Comments data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by Harvestapi, pass parameters such as profile, and retrieve structured data including comment identifier, comment text, comment source URL, actor profile identifier, and actor display name for activity reference, and discussion research.
- Selected price
- $0.004 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
LinkedIn Profile Comments API
Prepare your request, then continue with your agent.
Selected price
$0.004 / call
- Provider
- API
- Pricing
On this page
Overview
LinkedIn Profile Comments API
Use profile as a profile URL, public identifier or profile ID. postedLimit is described as accepting 24h, week or month. page is an integer, with paginationToken required by the description for pages after the first. The elements array contains comments with actor, commentary, source URL and creation metadata.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: profile, postedLimit, page, paginationToken |
| Selected implementation | harvestapi · Get comments of LinkedIn profile |
| Billing | Per call; check the selected implementation pricing and charge conditions |
What You Can Build
- Activity reference: Associate comment records with source links.
- Discussion research: Retain text, actor identities and creation metadata.
Documented Response Fields
| Field | Meaning |
|---|---|
elements[].id |
Comment identifier |
elements[].commentary |
Comment text |
elements[].linkedinUrl |
Comment source URL |
elements[].actor.id |
Actor profile identifier |
elements[].actor.name |
Actor display name |
elements[].createdAt |
Comment creation time |
elements[].numComments |
Reported reply count |
elements[].reactionTypeCounts |
Reported reaction counts by type |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
"https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-comments" \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json' \
--data-urlencode profile=https://www.linkedin.com/in/satyanadella
Request and Response Examples
The response example is a schema template with illustrative or placeholder values; its HTTP status is assumed. The request is an independent calling template. Replace any REPLACE_WITH target value and use actual returned records and pagination for your chosen resource.
Published LinkedIn Profile Comments API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
harvestapiCurrent Get comments of LinkedIn profile · GET · View API reference | $0.004 / call | 0 | —successP50— |
- Unit price
- $0.004
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.4
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-comments- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
profile | URL query parametersquery | string | No | URL of the LinkedIn profile or public identifier or profile ID |
postedLimit | URL query parametersquery | string | No | Filter posts by maximum posted date. Supported values: '24h', 'week', 'month' |
page | URL query parametersquery | integer | No | Page number for pagination. Default is 1 |
paginationToken | URL query parametersquery | string | No | Required for pages > 1. Use this token from the previous page response. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
elementsobject[]actorobjectauthorbooleanidstringlinkedinUrlstringnamestringpictureobjectexpiresAtintegerheightintegerurlstringwidthinteger
pictureUrlstringpositionstring
commentarystringcontributedbooleancreatedAtstringcreatedAtTimestampintegereditedbooleanidstringlinkedinUrlstringnumCommentsintegernumImpressionsnullnumSharesnullpinnedbooleanpostIdstringreactionTypeCountsobject[]countintegertypestring
errorstringpaginationobjectpageNumberintegerpageSizeintegerpaginationTokenstringpreviousElementsintegertotalElementsintegertotalPagesinteger
statusinteger
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Schema template (HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 4
Review these request fields before running. Keep the published provider and request method unchanged.
profile- URL of the LinkedIn profile or public identifier or profile ID
postedLimit- Filter posts by maximum posted date. Supported values: '24h', 'week', 'month'
page- Page number for pagination. Default is 1
paginationToken- Required for pages > 1. Use this token from the previous page response.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/harvestapi/linkedin/profile-comments?profile=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fsatyanadella' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "elements": [ { "actor": { "author": false, "id": "ACoAABLGFg4BRMcDx84MmyU8X-Jqcw9wKCA1QxU", "linkedinUrl": "https://www.linkedin.com/in/harshavardhangh", "name": "Harshavardhan G H", "picture": { "expiresAt": 1753920000000, "height": 800, "url": "https://media.licdn.com/dms/image/v2/D5603AQF38AglH7bh-A/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1730799919024?e=1753920000&v=beta&t=Jo-oVn--3ftKSEMtrITF0b3_UG97a0n401-ztV_9Gac", "width": 800 }, "pictureUrl": "https://media.licdn.com/dms/image/v2/D5603AQF38AglH7bh-A/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1730799919024?e=1753920000&v=beta&t=Jo-oVn--3ftKSEMtrITF0b3_UG97a0n401-ztV_9Gac", "position": "Business Analyst | Data-Driven Decision Maker | 5+ Years of Experience in Municipal Data Systems & Public Sector Projects | Passionate About Driving Innovation in Local Governance | Always Exploring New Technologies" }, "commentary": "Exciting 🔥", "contributed": false, "createdAt": "2025-05-18T23:30:58.680Z", "createdAtTimestamp": 1747611058680, "edited": false, "id": "7330012053861998592", "linkedinUrl": "https://www.linkedin.com/feed/update/urn:li:ugcPost:7329991434395160578?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7329991434395160578%2C7330012053861998592%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287330012053861998592%2Curn%3Ali%3AugcPost%3A7329991434395160578%29", "numComments": 0, "numImpressions": null, "numShares": null, "pinned": false, "postId": "7329991434395160578", "reactionTypeCounts": [ { "count": 1, "type": "LIKE" } ] } ], "error": "<error>", "pagination": { "pageNumber": 0, "pageSize": 0, "paginationToken": "<paginationToken>", "previousElements": 0, "totalElements": 0, "totalPages": 0 }, "status": 0 }