Beauty & Personal Care · x402 · early usage
pdfpeek (Tanod) PDF bookmarks: the outline written from a nested JSON tree
pdfpeek (Tanod) PDF bookmarks: the outline written from a nested JSON tree.
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 bookmarks: the outline written from a nested JSON tree.
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
{
"outline": [
{
"children": [
{
"page": 1,
"title": "Part I: Taxpayer Identification Number"
},
{
"page": 1,
"title": "Part II: Signature"
}
],
"open": true,
"page": 1,
"title": "Form W-9"
},
{
"page": 2,
"title": "General Instructions"
}
],
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
}Output example
{
"active_content_removed": {
"javascript": 1,
"xfa": 1
},
"file": {
"bytes": 90412,
"content_type": "application/pdf",
"data_base64": "JVBERi0xLjcKJb/3... (trimmed: 120,552 base64 characters in the reply)",
"name": "bookmarked.pdf",
"pages": 6
},
"input_bytes": 140815,
"input_pages": 6,
"operation": "set-outline",
"outline_depth": 2,
"outline_items": 4,
"output_bytes": 90412,
"replaced": false,
"untrusted_content": 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/35884.jsonfor the price and payment options. - Pay. Call
GET https://tanod.dev/v1/pdf/set-outline. 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_removed": {
"type": "object"
},
"file": {
"properties": {
"bytes": {
"type": "integer"
},
"content_type": {
"type": "string"
},
"data_base64": {
"type": "string"
},
"name": {
"type": "string"
},
"pages": {
"type": "integer"
}
},
"required": [
"name",
"content_type",
"bytes",
"data_base64"
],
"type": "object"
},
"input_bytes": {
"type": "integer"
},
"input_pages": {
"type": "integer"
},
"operation": {
"type": "string"
},
"outline_depth": {
"type": "integer"
},
"outline_items": {
"type": "integer"
},
"output_bytes": {
"type": "integer"
},
"replaced": {
"type": "boolean"
},
"untrusted_content": {
"type": "boolean"
}
},
"required": [
"operation",
"input_bytes",
"file",
"output_bytes",
"active_content_removed",
"untrusted_content",
"outline_items",
"replaced"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"active_content_removed": {},
"file": {
"bytes": 0,
"content_type": "string",
"data_base64": "string",
"name": "string",
"pages": 0
},
"input_bytes": 0,
"input_pages": 0,
"operation": "string",
"outline_depth": 0,
"outline_items": 0,
"output_bytes": 0,
"replaced": true,
"untrusted_content": true
},
"type": "string"
}Examples
curl
curl "https://tanod.dev/v1/pdf/set-outline"
# -> 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/set-outline");
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/set-outline")
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/set-outline
- Machine-readable
/resources/35884.json