get_posts 4 credits
Fetch the recent LinkedIn posts of one person or one company. identifier accepts a profile or company URL, slug, or URN; the entity type is detected automatically. Returns one page of posts (text, created_at, author, likes, comments_count, shares, is_repost, url) with a cursor for older posts. Costs 4 credits per page. Use this for 'what has X been posting', voice-of-company research, or activity checks before outreach. Not for reading one specific post you already have a URL for, and not for keyword search across LinkedIn; neither is supported in v1.
Parameters
| Param | Required | Type | Description |
|---|---|---|---|
identifier | yes | string | Person or company URL, slug, or URN. |
cursor | no | string | Cursor from a previous page for older posts. |
freshness | no | string | recent (default) serves cached data from the last few hours when available; realtime forces a live fetch for +2 credits (refunded if we fall back to cached data). |
max_credits | no | integer | Spend ceiling for this one call. The call is rejected (nothing charged) if its quote exceeds this. Only the quote is ever reserved, never this ceiling. |
REST
GET /v1/posts · auth: required · metered: true
curl "https://api.veezee.io/v1/posts?identifier=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmicrosoft%2F" \
-H "Authorization: Bearer $VEEZEE_API_KEY" \
-H "Idempotency-Key: $(uuidgen)"
MCP
{
"method": "tools/call",
"params": {
"name": "get_posts",
"arguments": {
"identifier": "https://www.linkedin.com/company/microsoft/"
}
}
}
Input examples
Company posts
{
"identifier": "https://www.linkedin.com/company/microsoft/"
}
Person's posts by slug
{
"identifier": "williamhgates"
}
Output
Returns a posts envelope. Full field list: /docs/fields#posts.
Errors
REST returns application/problem+json; MCP returns the same content as an error result. message is written as the next-turn instruction.
| Code | HTTP status | Retriable | Meaning |
|---|---|---|---|
INVALID_INPUT | 400 | no | A parameter failed validation. Check param and message for what to fix. |
NOT_FOUND | 404 | no | Nothing matches the given identifier or URL. |
UNAUTHORIZED | 401 | no | Missing, invalid, or revoked API key. |
PROVISION_REQUIRED | 401 | no | No key was sent and none is on file. Call provision first. |
INSUFFICIENT_CREDITS | 402 | no | Your balance can't cover this call's quote. Check get_usage or add credits. |
QUOTE_EXCEEDS_MAX_CREDITS | 402 | no | The call's quote is higher than the max_credits you set. Nothing was charged. |
IDEMPOTENCY_KEY_REQUIRED | 400 | no | This is a metered call; send an Idempotency-Key header. |
IDEMPOTENCY_KEY_REUSED | 409 | no | That Idempotency-Key was already used with different arguments. Use a new key for a new call. |
CONCURRENCY_LIMIT | 429 | yes | Too many calls in flight for this key's plan. Wait for one to finish. |
RATE_LIMITED | 429 | yes | Too many calls per minute for this key's plan. Back off and retry. |
TRIAL_CAP_EXCEEDED | 403 | no | A trial-only limit was hit (concurrency, rate, search size, or realtime fetches). |
BUDGET_EXHAUSTED | 503 | no | A configured spend budget has been used up. |
UPSTREAM_UNAVAILABLE | 502 | yes | LinkedIn data wasn't reachable. Safe to retry. |
PAYLOAD_TOO_LARGE | 413 | no | The request or response exceeded the size limit. |
ORIGIN_FORBIDDEN | 403 | no | This request's origin isn't allowed to call the API. |
INTERNAL | 500 | yes | Something failed on our side. Safe to retry. |