LinkedIn Post
POST /api/v1/linkedin/post
Scrape a public LinkedIn post or Pulse article for text, author, timestamp and reaction counts when available.
Overview
Scrape a public LinkedIn post or Pulse article for text, author, timestamp and reaction counts when available.
POST /api/v1/linkedin/post
Method: POST Path: /api/v1/linkedin/post Category: Jobs & B2B
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| post_url | string | Required | LinkedIn post, feed update, or pulse article URL. |
Request Example
LinkedIn Post Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/linkedin/post" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"post_url": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "feed_and_articles": { "headline": "string", "post_text": "string", "author_profile": "string", "author_profile_url": "https://example.com/...", "timestamp": "2026-01-01T12:00:00Z", "reaction_breakdown": { "likes": 0, "loves": 0, "insightful": 0, "curious": 0 }, "comment_count": 0, "share_count": 0, "comment_thread": [ { "author": "string", "text": "string", "replies": [ {} ] } ], "poll": { "question": "string", "vote_distributions": [ { "option": "string", "votes": 0 } ] }, "url": "https://example.com/..." }, "error": "string", "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "LinkedIn Post", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| feed_and_articles | object | Yes | Public post / article fields. |
| feed_and_articles.headline | string | No | Article / post headline when available. |
| feed_and_articles.post_text | string | Yes | Main post or article body text. |
| feed_and_articles.author_profile | string | Yes | Author name or public identifier. |
| feed_and_articles.author_profile_url | string | No | Author LinkedIn profile URL when available. |
| feed_and_articles.timestamp | string | Yes | Published / posted timestamp. |
| feed_and_articles.reaction_breakdown | object | Yes | |
| feed_and_articles.reaction_breakdown.likes | integer | null | No | |
| feed_and_articles.reaction_breakdown.loves | integer | null | No | |
| feed_and_articles.reaction_breakdown.insightful | integer | null | No | |
| feed_and_articles.reaction_breakdown.curious | integer | null | No | |
| feed_and_articles.comment_count | integer | null | No | Number of comments when available. |
| feed_and_articles.share_count | integer | null | Yes | Number of shares / reposts when available. |
| feed_and_articles.comment_thread | array<object> | Yes | |
| feed_and_articles.comment_thread[].author | string | No | |
| feed_and_articles.comment_thread[].text | string | No | |
| feed_and_articles.comment_thread[].replies | array<object> | No | |
| feed_and_articles.poll | object | null | No | |
| feed_and_articles.poll.question | string | No | |
| feed_and_articles.poll.vote_distributions | array<object> | No | |
| feed_and_articles.poll.vote_distributions[].option | string | No | |
| feed_and_articles.poll.vote_distributions[].votes | integer | No | |
| feed_and_articles.url | string | No | Canonical post URL. |
| error | string | No | Present only when scraping fails. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/linkedin/post?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
post_url example
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 400 | INVALID_PARAMETER | The input was rejected by the source, e.g. a URL that is not a product page. Not billed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 404 | RESOURCE_NOT_FOUND | The item (product, profile, page) does not exist on the source or has no results. Not billed. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |