# agdata LinkedIn Posts API

> agdata LinkedIn Posts API is a paid API for AI agents from agdata.shveik.dev, paid per call via x402, $0.02305/call, status unknown (last checked 2026-10-17).

Fetches recent posts from a LinkedIn profile or company page as structured JSON, including text, engagement metrics, author, and repost details.

## Facts

- Endpoint: POST https://agdata.shveik.dev/x402/linkedin-posts?utm_source=zero.xyz
- Price: $0.02305/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agdata-linkedin-posts-api-0104b214
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vh66r-RlAchbmnhjhOGuX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agdata-linkedin-posts-api-0104b214 -d '<json body>'
```

Example prompt: Pull the last 10 posts from the LinkedIn company page linkedin.com/company/openai — I want the post text, date, likes, comments, shares, and the author for each one.

## When to prefer this

Choose this endpoint when you need structured, machine-readable LinkedIn post data — including engagement metrics and repost attribution — from a specific profile or company page URL. It is ideal for competitive monitoring, influencer research, content audits, and lead enrichment workflows where you already know the LinkedIn URL and need post-level detail quickly without building your own scraper. Prefer it over generic web scrapers when LinkedIn-specific structured fields (likes, comments, shares, reposter) are required.

## Known failure modes

- Invalid or non-existent LinkedIn URL returns an error
- Private or restricted profiles may return no posts
- LinkedIn rate limits or blocks may cause partial or empty results
- Limit parameter out of range (below 1 or above 20) is rejected by schema validation
- Network timeouts or upstream LinkedIn changes may cause failures

## How this service works

LinkedIn posts API for AI agents: send one LinkedIn profile or company page URL and get its recent posts as JSON, each with text, date, likes, comments, shares, author, post URL and the reposter when it is a repost. Up to 20 posts per call; pay per post in stablecoins. A URL with no posts is not charged.

## Output

Returns a JSON array of up to 20 post objects, each containing: post text, publication date, likes count, comments count, shares count, author name/profile, post URL, and reposter info when applicable. A profile with no posts returns an empty result and incurs no charge.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2048
  },
  "limit": {
   "type": "integer",
   "maximum": 20,
   "minimum": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agdata-linkedin-posts-api-0104b214/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agdata.shveik.dev](https://www.zero.xyz/host/agdata.shveik.dev/llms.txt)
