Search LinkedIn posts
Search public LinkedIn posts by keyword and retrieve each result with the post endpoint's fields.
/v1/linkedin/search/postsx-api-keyHeaders
Get your API keyYour ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.
Keyword or phrase, 1–200 characters.
min 1 chars · max 200 chars
ai agentslast-hour, last-day, last-week, last-month or last-year. When the fallback search index serves the request, last-hour is applied at day granularity with a warning.
one of: last-hour, last-day, last-week, last-month, last-year
last-monthNext page number when another page may exist.
Earliest publication time to include, ISO 8601 or Unix seconds. Not combinable with date_posted.
Publication time to stop before, ISO 8601 or Unix seconds; later than since.
Operational correlation UUID.
Search request plus one page (and document manifests) per result.
Always included.
≥ 0
Always included.
≥ 0
Always included.
≥ 0
True when usable data is returned.
success or partial; failed/challenged on errors.
one of: success, partial
Search index endpoint used for discovery; posts are read from www.linkedin.com.
absolute HTTPS URL
UTC retrieval time.
Source is web_search; order is relevance. web_index_selection: results are the search index's selection, not every matching post. post_unavailable marks result pages that could not be read.
Always included.
one of: public_page, web_search
Always included.
Always included.
Optional.
one of: newest_first, oldest_first, ranked, relevance, source_order
Optional.
Optional.
Optional.
Keyword or phrase, 1–200 characters.
Up to ten posts with the post endpoint shape; can be empty when a window removes a page's results.
up to 10 items
Always included.
absolute HTTPS URL
Optional.
Optional.
Optional.
Always included.
Always included.
Always included.
Optional.
Always included.
Optional.
Optional.
Optional.
Optional.
Always included.
Always included.
Always included.
Optional.
Always included.
Always included.
up to 100 items
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Always included.
Optional.
up to 100 items
Next page number when another page may exist.
No fields match.
HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.
| HTTP | failure.code | Meaning |
|---|---|---|
| 400 | invalid_request | Not a public LinkedIn profile, company or post URL, or invalid parameters. |
| 401 | unauthorized | Invalid worker key. |
| 403 | restricted | LinkedIn redirected to a login page for this resource. |
| 404 | not_found | The page does not exist or the search returned no posts. |
| 429 | upstream_rate_limited | LinkedIn or the search index throttled retrieval. |
| 502 | upstream_challenged | LinkedIn answered with a challenge (HTTP 999/403 or an auth wall), including through the proxy. |
| 502 | upstream_error unsupported_page unsafe_redirect search_failed | Source or search index did not return a usable page. |
| 503 | search_unavailable busy | No search key configured, or all retrieval slots are busy. |
| 504 | timeout | The operation exceeded its deadline. |