Keyword post search
POST
https://myagentmail.com/linkedin/search/contentFor agents View as Markdown
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
sessionIdrequired string | |
keywordrequired string | |
datePosted"past-24h" | "past-week" | "past-month" | "any" | enum: "past-24h" | "past-week" | "past-month" | "any" default: "past-24h" |
countinteger | default: 10 |
Responses
200application/jsonPosts matching the keyword.
okboolean | |
postsobject[] | |
activityUrnstring | |
postUrlstring | |
authorNamestring | |
authorProfileUrlstring | |
authorProfileSlugstring | |
timeAgostring | |
excerptstring |
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.