Api Endpoint

Tanod pdfpeek

pdfpeek (Tanod) PDF bookmarks: the outline written from a nested JSON tree. Use when a PDF needs bookmarks written from a nested list of titles and pages. Add output=url for a 24 h link.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/pdf/set-outline
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
pdf-bookmarks, write-outline, table-of-contents, pdf, pdfpeek, pdf-tools, ocr, documents, set, outline

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.005 USDC
Atomic price: 5000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.005 USDC
Atomic price: 5000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.005 USDC
Atomic price: 5000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "5000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "5000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "5000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
843 ms
Average latency
837 ms
HTTP status
204
Last checked
Reachability
100% over 11 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"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "additionalProperties": false,
      "properties": {
        "url": {
          "anyOf": [
            {
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
        },
        "pdf_base64": {
          "anyOf": [
            {
              "maxLength": 13398872,
              "minLength": 1,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
        },
        "outline": {
          "description": "The new bookmarks as a tree of {title, page, open?, children?}: at most 1,000 in all and 8 levels deep; an empty list removes every bookmark. They replace the ones the PDF has.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "title": {
                "description": "The bookmark's text (1-300 printable characters).",
                "maxLength": 300,
                "minLength": 1,
                "type": "string"
              },
              "page": {
                "description": "The 1-based page the bookmark opens.",
                "maximum": 2000,
                "minimum": 1,
                "type": "integer"
              },
              "open": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Whether a bookmark with children starts expanded (default false)."
              },
              "children": {
                "anyOf": [
                  {
                    "items": {
                      "additionalProperties": true,
                      "type": "object"
                    },
                    "type": "array"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "description": "Child bookmarks: objects with these same fields (title, page, open, children)."
              }
            },
            "required": [
              "title",
              "page"
            ],
            "type": "object"
          },
          "maxItems": 1000,
          "type": "array"
        },
        "output": {
          "default": "base64",
          "description": "base64 (default): inline. url: stored for 24 hours; link, metadata.",
          "enum": [
            "base64",
            "url"
          ],
          "type": "string"
        }
      },
      "required": [
        "outline"
      ],
      "type": "object"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "outline": {
              "description": "The new bookmarks as a tree of {title, page, open?, children?}: at most 1,000 in all and 8 levels deep; an empty list removes every bookmark. They replace the ones the PDF has.",
              "items": {
                "additionalProperties": false,
                "properties": {
                  "children": {
                    "anyOf": [
                      {
                        "items": {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Child bookmarks: objects with these same fields (title, page, open, children)."
                  },
                  "open": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Whether a bookmark with children starts expanded (default false)."
                  },
                  "page": {
                    "description": "The 1-based page the bookmark opens.",
                    "maximum": 2000,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "title": {
                    "description": "The bookmark's text (1-300 printable characters).",
                    "maxLength": 300,
                    "minLength": 1,
                    "type": "string"
                  }
                },
                "required": [
                  "title",
                  "page"
                ],
                "type": "object"
              },
              "maxItems": 1000,
              "type": "array"
            },
            "pdf_base64": {
              "anyOf": [
                {
                  "maxLength": 13398872,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
            },
            "url": {
              "anyOf": [
                {
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
            }
          },
          "required": [
            "outline"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "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"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}