LinkedIn

Search LinkedIn posts

Post search by keywords or a post search URL, one or the other. Each hit carries the postId used by the post, comment and reaction endpoints.

POST

/api/v1/linkedin/posts/search

Request bodyrequired

connectedAccountIdrequired

string · uuid

Connected account to act as

keywordsoptional

string

searchUrloptional

string · uri

A search URL copied from LinkedIn, searching for the same kind of entity this endpoint returns. Filters carried in the URL take precedence.

cursoroptional

string

limitoptional

integer

Page size, capped at 49 for a post keyword search. Use cursor for the next page.

Response

200Posts and an optional cursor.

posts

object[]

cursor

string | null

Errors

  • 400: Bad request
  • 401: Unauthorized: missing or invalid API key
  • 403: Forbidden
  • 404: Not found
  • 422: Invalid request payload

Search docs

Search documentation, API reference, and MCP tools

We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy