PDF Text Extraction
Extract all text from a PDF. Send as pdf_base64 (base64-encoded PDF, max ~10 MB decoded). Returns text (full concatenated text), pages array (per-page text + char_count), page_count, and metadata (title, author, creator). Encode with: Buffer.from(pdfBytes).toString('base64'). Ideal for RAG pipelines, document QA, or LLM ingestion.
Offering
- Provider
- agentsvc.io
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Data
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agentsvc.io/api/v1/proxy/pdf-extract- MIME type
- application/json
- First seen
- 2026-10-16T01:51:10.599Z
- Last seen
- Tags
- pdf-to-text, pdf-parsing, pdf, Text, extract
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.0055 USDC
Atomic price: 5500 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.0055 USDC
Atomic price: 5500 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact - Payment option 3
- 0.0055 USDC
Atomic price: 5500 · Network: eip155:137 · Asset: USDC · Scheme: exact - Payment option 4
- 0.0055 USDC
Atomic price: 5500 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5500",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5500",
"payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg"
},
{
"scheme": "exact",
"network": "eip155:137",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5500",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
},
{
"scheme": "exact",
"network": "eip155:42161",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5500",
"payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27"
}
]Observed health
- Status
- Healthy
- Latest latency
- 321 ms
- Average latency
- 899 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 15 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"enum": [
"POST",
"PUT",
"PATCH"
]
},
"bodyType": {
"type": "string",
"enum": [
"json",
"form-data",
"text"
]
},
"body": {
"properties": {
"pdf_base64": {
"type": "string",
"description": "Base64-encoded PDF file content. Decode a PDF file to base64 and pass it here. Max ~10 MB (unencoded)."
},
"max_pages": {
"type": "integer",
"default": 50,
"description": "Maximum number of pages to extract. Default: 50. Use to limit processing time for large PDFs."
}
},
"required": [
"pdf_base64"
]
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"required": [
"success",
"data"
],
"properties": {
"success": {
"type": "boolean"
},
"data": {
"type": "object",
"required": [
"text",
"page_count",
"extracted_at"
],
"properties": {
"text": {
"type": "string",
"description": "Full extracted text from all pages, joined with newlines. Preserves paragraph structure where possible."
},
"page_count": {
"type": "integer",
"description": "Total number of pages in the PDF"
},
"pages": {
"type": "array",
"description": "Per-page text content (first max_pages pages)",
"items": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"description": "Page number (1-based)"
},
"text": {
"type": "string",
"description": "Extracted text for this page"
},
"char_count": {
"type": "integer",
"description": "Number of characters on this page"
}
}
}
},
"metadata": {
"type": "object",
"description": "PDF document metadata (if available)",
"properties": {
"title": {
"type": "string"
},
"author": {
"type": "string"
},
"subject": {
"type": "string"
},
"creator": {
"type": "string"
},
"producer": {
"type": "string"
},
"creation_date": {
"type": "string"
}
}
},
"file_size_bytes": {
"type": "integer",
"description": "Size of the decoded PDF in bytes"
},
"extracted_at": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp of extraction"
}
}
}
}
}
},
"required": [
"type"
]
}