# PrimeAPI PDF Extract

> PrimeAPI PDF Extract is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.078761/call, status unknown (last checked 2026-09-13).

Extracts text and content from PDF documents via a pay-per-call API using USDC on Base

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/web/pdf-extract
- Price: $0.078761/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-pdf-extract-8550841c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m8ld2-5y_20i9SY3ejrzQ

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 primeapi-pdf-extract-8550841c -d '<json body>'
```

Example prompt: Can you extract all the text from this PDF for me? Here's the link: https://example.com/report.pdf

## When to prefer this

Use this endpoint when you need to programmatically extract text from a PDF document and want to pay per call without managing API keys, using USDC on Base via the x402 payment protocol. It is best for one-off or low-volume PDF extraction tasks where subscription-based services are overkill.

## Known failure modes

- Invalid or inaccessible PDF URL returns an error
- Malformed query input causes a 400 bad request
- Payment failure or insufficient USDC balance blocks the request
- Password-protected PDFs may not be parseable
- Scanned image-based PDFs without OCR may return empty or incomplete text
- Service downtime on Vercel deployment returns 5xx errors

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns the extracted text content and data parsed from the specified PDF document, including body text and potentially metadata, as a JSON response object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-pdf-extract-8550841c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
