mirrored listing x402 eip155:8453

SchemaLock — extract structured JSON data from a receipt PDF or image (merchant, items, su

SchemaLock — extract structured JSON data from a receipt PDF or image (merchant, items, subtotal, tax, tip, total, payment method). Unlike generic OCR (raw text) or text-only extraction APIs, this takes the raw file directly and validates against source math: line items checked against subtotal/tax/total, dates and currency checked, one automatic retry. If it still fails after that, you aren't charged — settlement is skipped, not just flagged.

Do you run doc-extract-api.thestarboy9696-4ef.workers.dev? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
20000 (raw units)
price
3
calls / 30d
1
unique payers
2026-09-08
updated

Provider

doc-extract-api.thestarboy9696-4ef.workers.dev · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x65c767C483dd862d08Bc3d6500Cd4CD770Ae28ED",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "file": "<binary: PDF, PNG, or JPEG of a receipt, max 15MB>"
        },
        "bodyType": "form-data",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "data": {
            "confidence": {
              "fields": {
                "merchant": 0.98,
                "total": 0.99
              },
              "overall": 0.96
            },
            "currency": "USD",
            "items": [
              {
                "amount": 4.75,
                "description": "Latte",
                "quantity": 1,
                "unit_price": 4.75
              },
              {
                "amount": 3.5,
                "description": "Bagel w/ cream cheese",
                "quantity": 1,
                "unit_price": 3.5
              }
            ],
            "merchant": {
              "address": "88 5th Ave, New York, NY 10011",
              "name": "Corner Cafe",
              "phone": "212-555-0199"
            },
            "payment_method": "Visa •••• 4242",
            "subtotal": 8.25,
            "tax": 0.73,
            "tip": 1.5,
            "total": 10.48,
            "transaction_date": "2026-08-12",
            "transaction_time": "13:42"
          },
          "retried": false,
          "validation_warnings": []
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {}
            },
            "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": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/receipt"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/receipt");
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://doc-extract-api.thestarboy9696-4ef.workers.dev/extract/receipt")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/8241.json, and this resource appears in /discovery/resources and /discovery/search.