Api Endpoint

Octio

PDF text: The text of a public PDF (up to 15 MB), page by page, with page count and document metadata (title, author, dates, producer).

Open interactive test console

Offering

Provider
www.octio.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://www.octio.xyz/v1/docs/pdf-text
MIME type
application/json
First seen
2026-11-25T19:22:21.746Z
Last seen
Tags
other

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:4663 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x3c7022c492bAD845106430dB43D1A3fBFB88f3eB"
  },
  {
    "scheme": "exact",
    "network": "eip155:4663",
    "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
    "amount": "10000",
    "payTo": "0x3c7022c492bAD845106430dB43D1A3fBFB88f3eB"
  }
]

Observed health

Status
Healthy
Latest latency
119 ms
Average latency
118 ms
HTTP status
402
Last checked
Reachability
100% over 2 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": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "required": [
        "url"
      ],
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048,
          "minLength": 1,
          "description": "The PDF (public https URL, at most 15 MB)."
        },
        "pages": {
          "type": "string",
          "maxLength": 20,
          "minLength": 1,
          "description": "A page (\"3\") or range (\"1-5\"); at most 50 pages per call. Default: the first 50."
        },
        "max_chars": {
          "type": "integer",
          "default": 50000,
          "maximum": 200000,
          "minimum": 1000,
          "description": "Most text returned across all pages."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "required": [
        "data",
        "meta"
      ],
      "properties": {
        "data": {
          "type": "object",
          "required": [
            "url",
            "final_url",
            "bytes",
            "page_count",
            "pages_requested",
            "max_pages_per_call",
            "metadata",
            "pages",
            "chars",
            "truncated",
            "incomplete",
            "no_text_layer",
            "message",
            "note"
          ],
          "properties": {
            "url": {
              "type": "string"
            },
            "note": {
              "type": "string"
            },
            "bytes": {
              "type": "integer",
              "minimum": 0
            },
            "chars": {
              "type": "integer",
              "minimum": 0
            },
            "pages": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "page",
                  "text",
                  "chars",
                  "truncated"
                ],
                "properties": {
                  "page": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "text": {
                    "type": "string"
                  },
                  "chars": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "truncated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "maxItems": 50
            },
            "message": {
              "type": [
                "string",
                "null"
              ]
            },
            "metadata": {
              "type": "object",
              "required": [
                "title",
                "author",
                "subject",
                "creator",
                "producer",
                "created_at",
                "modified_at",
                "pdf_version",
                "language"
              ],
              "properties": {
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "author": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "creator": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "subject": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "language": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "producer": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "created_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "modified_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pdf_version": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": false
            },
            "final_url": {
              "type": "string"
            },
            "truncated": {
              "type": "boolean"
            },
            "incomplete": {
              "type": "boolean"
            },
            "page_count": {
              "type": "integer",
              "minimum": 0
            },
            "no_text_layer": {
              "type": "boolean"
            },
            "pages_requested": {
              "type": [
                "object",
                "null"
              ],
              "required": [
                "from",
                "to"
              ],
              "properties": {
                "to": {
                  "type": "integer",
                  "minimum": 1
                },
                "from": {
                  "type": "integer",
                  "minimum": 1
                }
              },
              "additionalProperties": false
            },
            "max_pages_per_call": {
              "type": "integer",
              "minimum": 1
            }
          },
          "additionalProperties": false
        },
        "meta": {
          "type": "object",
          "description": "call_id, endpoint, provider, charged, and for an x402 call `paid` (network, asset, amount, tx_hash, status)."
        }
      }
    }
  },
  "required": [
    "type"
  ]
}