Beauty & Personal Care · x402 · early usage
pdfpeek (Tanod) PDF inspect: page sizes, text layer or scan, forms, attachments, JavaSc…
pdfpeek (Tanod) PDF inspect: page sizes, text layer or scan, forms, attachments, JavaScript, bookmarks.
by tanod.dev · discovered, not yet claimed by its owner · updated 2026-10-09
30d calls2
30d payers2
MethodPOST
Outputjson
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
pdfpeek (Tanod) PDF inspect: page sizes, text layer or scan, forms, attachments, JavaScript, bookmarks.
Tags: pdfpeek · pdf · pdf-tools · ocr · documents · bazaar · builder-code
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-09
Input example from Bazaar metadata
{
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
}Output example
{
"active_content": {
"javascript": 1,
"xfa": 1
},
"attachments": 0,
"attachments_truncated": false,
"encrypted": false,
"form_fields": 23,
"has_attachments": false,
"has_form": true,
"has_javascript": true,
"has_outline": false,
"input_bytes": 140815,
"javascript_actions": 1,
"linearized": false,
"operation": "inspect",
"outline_depth": 0,
"outline_items": 0,
"page_count": 6,
"pages": [
{
"annotations": 23,
"has_text_layer": true,
"height_pt": 791.97,
"image_coverage": 0,
"images": 0,
"looks_scanned": false,
"mediabox": [
0,
0,
611.98,
791.97
],
"orientation": "portrait",
"page": 1,
"paper": "Letter",
"rotation": 0,
"text_chars": 5794,
"width_pt": 611.98
},
{
"annotations": 0,
"has_text_layer": true,
"height_pt": 791.97,
"image_coverage": 0,
"images": 0,
"looks_scanned": false,
"mediabox": [
0,
0,
611.98,
791.97
],
"orientation": "portrait",
"page": 2,
"paper": "Letter",
"rotation": 0,
"text_chars": 8392,
"width_pt": 611.98
},
{
"annotations": 0,
"has_text_layer": true,
"height_pt": 791.97,
"image_coverage": 0,
"images": 0,
"looks_scanned": false,
"mediabox": [
0,
0,
611.98,
791.97
],
"orientation": "portrait",
"page": 3,
"paper": "Letter",
"rotation": 0,
"text_chars": 7887,
"width_pt": 611.98
},
{
"annotations": 0,
"has_text_layer": true,
"height_pt": 791.97,
"image_coverage": 0,
"images": 0,
"looks_scanned": false,
"mediabox": [
0,
0,
611.98,
791.97
],
"orientation": "portrait",
"page": 4,
"paper": "Letter",
"rotation": 0,
"text_chars": 7457,
"width_pt": 611.98
},
{
"annotations": 0,
"has_text_layer": true,
"height_pt": 791.97,
"image_coverage": 0,
"images": 0,
"looks_scanned": false,
"mediabox": [
0,
0,
611.98,
791.97
],
"orientation": "portrait",
"page": 5,
"paper": "Letter",
"rotation": 0,
"text_chars": 6114,
"width_pt": 611.98
},
{
"annotations": 0,
"has_text_layer": true,
"height_pt": 791.97,
"image_coverage": 0,
"images": 0,
"looks_scanned": false,
"mediabox": [
0,
0,
611.98,
791.97
],
"orientation": "portrait",
"page": 6,
"paper": "Letter",
"rotation": 0,
"text_chars": 3147,
"width_pt": 611.98
}
],
"pages_with_text": 6,
"pdf_version": "1.7",
"scanned_page_count": 0,
"scanned_pages": [],
"signature_fields": 0,
"signed_fields": 0,
"tagged": true,
"text_analysis": "complete",
"untrusted_content": true,
"xfa": true
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/35880.jsonfor the price and payment options. - Pay. Call
GET https://tanod.dev/v1/pdf/inspect. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Polygon, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Polygon
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x593857A4a4F619543ea12394137C3004ce841720 | 300s |
| exact | Polygon eip155:137 | USDC | $0.005 | 0x593857A4a4F619543ea12394137C3004ce841720 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"active_content": {
"type": "object"
},
"attachments": {
"type": "integer"
},
"attachments_truncated": {
"type": "boolean"
},
"encrypted": {
"type": "boolean"
},
"form_fields": {
"type": "integer"
},
"has_attachments": {
"type": "boolean"
},
"has_form": {
"type": "boolean"
},
"has_javascript": {
"type": "boolean"
},
"has_outline": {
"type": "boolean"
},
"input_bytes": {
"type": "integer"
},
"input_pages": {
"type": "integer"
},
"javascript_actions": {
"type": "integer"
},
"linearized": {
"type": "boolean"
},
"operation": {
"type": "string"
},
"outline_depth": {
"type": "integer"
},
"outline_items": {
"type": "integer"
},
"page_count": {
"type": "integer"
},
"pages": {
"items": {
"properties": {
"annotations": {
"type": "integer"
},
"has_text_layer": {
"type": "boolean"
},
"height_pt": {
"type": "number"
},
"image_coverage": {
"type": "number"
},
"images": {
"type": "integer"
},
"looks_scanned": {
"type": "boolean"
},
"mediabox": {
"items": {
"type": "number"
},
"type": "array"
},
"orientation": {
"enum": [
"portrait",
"landscape",
"square"
],
"type": "string"
},
"page": {
"type": "integer"
},
"paper": {
"enum": [
"A3",
"A4",
"A5",
"Letter",
"Legal",
"Tabloid"
],
"type": "string"
},
"rotation": {
"enum": [
0,
90,
180,
270
],
"type": "integer"
},
"text_chars": {
"type": "integer"
},
"width_pt": {
"type": "number"
}
},
"required": [
"page",
"width_pt",
"height_pt",
"rotation",
"orientation",
"annotations"
],
"type": "object"
},
"type": "array"
},
"pages_with_text": {
"type": "integer"
},
"pdf_version": {
"type": "string"
},
"scanned_page_count": {
"type": "integer"
},
"scanned_pages": {
"items": {
"type": "integer"
},
"type": "array"
},
"signature_fields": {
"type": "integer"
},
"signed_fields": {
"type": "integer"
},
"tagged": {
"type": "boolean"
},
"text_analysis": {
"enum": [
"complete",
"partial",
"unavailable"
],
"type": "string"
},
"untrusted_content": {
"type": "boolean"
},
"xfa": {
"type": "boolean"
}
},
"required": [
"operation",
"input_bytes",
"untrusted_content",
"page_count",
"pdf_version",
"encrypted",
"has_form",
"has_attachments",
"has_javascript",
"has_outline",
"pages"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"active_content": {},
"attachments": 0,
"attachments_truncated": true,
"encrypted": true,
"form_fields": 0,
"has_attachments": true,
"has_form": true,
"has_javascript": true,
"has_outline": true,
"input_bytes": 0,
"input_pages": 0,
"javascript_actions": 0,
"linearized": true,
"operation": "string",
"outline_depth": 0,
"outline_items": 0,
"page_count": 0,
"pages": [
{
"annotations": 0,
"has_text_layer": true,
"height_pt": 0,
"image_coverage": 0,
"images": 0,
"looks_scanned": true,
"mediabox": [
0
],
"orientation": "portrait",
"page": 0,
"paper": "A3",
"rotation": 0,
"text_chars": 0,
"width_pt": 0
}
],
"pages_with_text": 0,
"pdf_version": "string",
"scanned_page_count": 0,
"scanned_pages": [
0
],
"signature_fields": 0,
"signed_fields": 0,
"tagged": true,
"text_analysis": "complete",
"untrusted_content": true,
"xfa": true
},
"type": "string"
}Examples
curl
curl "https://tanod.dev/v1/pdf/inspect"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidJavaScript
const res = await fetch("https://tanod.dev/v1/pdf/inspect");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://tanod.dev/v1/pdf/inspect")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- tanod.dev
- Endpoint
- https://tanod.dev/v1/pdf/inspect
- Machine-readable
/resources/35880.json