# the402.ai Link Preview

> the402.ai Link Preview is a paid API for AI agents from api.the402.ai, paid per call via x402, $0.001/call, status down (last checked 2026-09-15, last successful call 2026-05-14).

Fetches a rich link preview (title, description, thumbnail, metadata) for a given URL

## Facts

- Endpoint: POST https://api.the402.ai/v1/services/svc_d52bd78fc12f48d1/purchase
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Last successful call: 2026-05-14
- Success rate: 100% of calls made through Zero
- Activations on Zero: 16
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-the402-ai-43df3f50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Re3JsUk6-fIRJmU7vSGDj

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 api-the402-ai-43df3f50 -d '<json body>'
```

Example prompt: Can you fetch a rich link preview for https://openai.com/blog/chatgpt — I need the title, description, and thumbnail image?

## When to prefer this

Use this endpoint when you need to generate a rich link preview card for any URL, especially in an agentic or automated pipeline that needs to display or summarize external content without manual scraping. Prefer this over general web scraping tools when you specifically need title, description, and thumbnail metadata in a single call at low cost.

## Known failure modes

- URL is unreachable or returns non-200 HTTP status
- Target page blocks crawlers or has no open graph / meta tags
- Invalid or malformed URL input
- Payment of 0.001 USDC not processed, returning 402 status
- Timeout fetching the remote page

## How this service works

Purchase: Link Preview

## Output

A structured link preview object containing the page title, description, thumbnail/image URL, site name, and other open graph or meta tag data extracted from the target URL.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "job_id": {
   "type": "string"
  },
  "status": {
   "type": "string"
  },
  "thread_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-the402-ai-43df3f50/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.the402.ai](https://www.zero.xyz/host/api.the402.ai/llms.txt)
