← Market

Document · Extract

Extract data from a document. Extract named fields from a document as JSON: give a PDF, Word, Excel or PowerPoint file, a scan or a photo (PNG, JPEG, WebP) by URL or in a POST body (up to 10 MB; images 3 MB) and the field names you want, such as invoice_number, total, due_date. An AI model reads the file, scans by OCR, and returns one JSON object, with null where a value is not stated. Use to turn invoices, receipts, orders and contracts into rows.

GET https://agent-data-tools.revmesh2074.workers.dev/document/extract

0.03 USDC on Base · payTo 0x6293ded2684F1A76E26bEcef87c137D691Fbf800

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.03 USDC · payTo 0x6293ded2684F1A76E26bEcef87c137D691Fbf800 · via cdp · settles direct
Polygon · 0.03 USDC · payTo 0x6293ded2684F1A76E26bEcef87c137D691Fbf800 · via cdp · settles direct
Arbitrum · 0.03 USDC · payTo 0x6293ded2684F1A76E26bEcef87c137D691Fbf800 · via cdp · settles direct
Solana · 0.03 USDC · payTo 82wfSCZhCmZA7zwqqt6Q3FG8nqYBwUvbThP6M97fa9Q6 · via cdp · settles direct
{
  "fields": "invoice",
  "url": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/coolblue1.pdf"
}
{
  "charsRead": 1069,
  "data": {
    "currency": "EUR",
    "customer_name": "Pino Bluebird",
    "customer_vat_number": null,
    "due_date": null,
    "iban": "NL50INGB0683251309",
    "invoice_date": "2014-04-19",
    "invoice_number": "993548900",
    "line_items": [
      {
        "amount": 399,
        "description": "Apple iPad Air Wifi 16 GB Zilver",
        "quantity": 1,
        "unit_price": 399
      },
      {
        "amount": 69.99,
        "description": "Decoded Leather Slim Cover Apple iPad Air 2 Zwart",
        "quantity": 1,
        "unit_price": 69.99
      },
      {
        "amount": 189,
        "description": "Nintendo 3DS XL Wit + Blauw",
        "quantity": 1,
        "unit_price": 189
      },
      {
        "amount": 14.99,
        "description": "Nintendo AC-adapter",
        "quantity": 1,
        "unit_price": 14.99
      },
      {
        "amount": 44.99,
        "description": "Mario Kart 7 3DS",
        "quantity": 1,
        "unit_price": 44.99
      }
    ],
    "payment_reference": null,
    "subtotal": 593.36,
    "supplier_address": "Weena 664\n3012 CN Rotterdam\nNederland",
    "supplier_name": "Coolblue B.V.",
    "supplier_vat_number": "NL810433941B01",
    "tax_amount": 124.61,
    "total": 717.97
  },
  "missing": [
    "customer_vat_number",
    "due_date",
    "payment_reference"
  ],
  "model": "@cf/openai/gpt-oss-120b",
  "truncated": false,
  "type": "pdf",
  "url": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/coolblue1.pdf"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score66 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency1143 ms
Paid calls (30d, on-chain)3 calls · 2 buyers · shared price cohort of 6
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

GET https://agent-data-tools.revmesh2074.workers.dev/document/extract · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Absolute public http(s) URL of the file (or send the file in a POST body instead)",
      "examples": [
        "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/coolblue1.pdf"
      ]
    },
    "fields": {
      "type": "string",
      "description": "Comma-separated field names to extract (1-30). For rows, give the row keys in brackets: line_items[description,quantity,amount]. Or one word, invoice or receipt, for the usual fields of that document with its line items",
      "examples": [
        "invoice"
      ]
    }
  },
  "required": [
    "url",
    "fields"
  ]
}
Output schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "data": {
      "type": "object",
      "properties": {
        "supplier_name": {
          "type": "string"
        },
        "supplier_vat_number": {
          "type": "string"
        },
        "supplier_address": {
          "type": "string"
        },
        "customer_name": {
          "type": "string"
        },
        "customer_vat_number": {},
        "invoice_number": {
          "type": "string"
        },
        "invoice_date": {
          "type": "string"
        },
        "due_date": {},
        "currency": {
          "type": "string"
        },
        "subtotal": {
          "type": "number"
        },
        "tax_amount": {
          "type": "number"
        },
        "total": {
          "type": "number"
        },
        "iban": {
          "type": "string"
        },
        "payment_reference": {},
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "quantity": {
                "type": "number"
              },
              "unit_price": {
                "type": "number"
              },
              "amount": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "missing": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "model": {
      "type": "string"
    },
    "charsRead": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    }
  }
}
curl -i -X GET 'https://agent-data-tools.revmesh2074.workers.dev/document/extract?url=https%3A%2F%2Fraw.githubusercontent.com%2Finvoice-x%2Finvoice2data%2Fmaster%2Ftests%2Fcompare%2Fcoolblue1.pdf&fields=invoice'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)