All endpoints

Keyword post search

POSThttps://myagentmail.com/linkedin/search/content

Search LinkedIn posts for a keyword and return posts with their author's name, profile URL, post URL, time-ago, and a short excerpt. Useful for keyword monitoring + just-in-time outreach.

Request body

Content-Type: application/json

sessionId
required
string
keyword
required
string
datePosted
"past-24h" | "past-week" | "past-month" | "any"

enum: "past-24h" | "past-week" | "past-month" | "any"

default: "past-24h"

count
integer

default: 10

Responses

200application/jsonPosts matching the keyword.
ok
boolean
posts
object[]
activityUrn
string
postUrl
string
authorName
string
authorProfileUrl
string
authorProfileSlug
string
timeAgo
string
excerpt
string
404Session not found.
429Daily quota exceeded for this session.

Authentication

Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.