← Market

X402 · Json Extract

APEX. Extract structured JSON data from unstructured text ($0.005): POST /api/x402/json-extract with {text, fields or schema, instruction?}. Backed by Workers AI JSON mode plus deterministic JSON repair so output is always valid parsed JSON. Extract structured JSON data from unstructured text ($0.005). POST {text, fields or schema, instruction?, model?}.

POST https://apexfaucet.xyz/api/x402/json-extract

0.005 USDC on Base · payTo 0xd334ab5151c624cada654854e2879903dc4217ed

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.005 USDC · payTo 0xd334ab5151c624cada654854e2879903dc4217ed · via cdp · settles direct
Base · 0.005 USDC · payTo 0xd334ab5151c624cada654854e2879903dc4217ed · via cdp · settles direct
Solana · 0.005 USDC · payTo HYiepS7mNCVVKoaDmZLQ6rNtMWHTQqKheM1NLGn1x8kJ · via cdp · settles direct
{
  "fields": [
    "invoiceNumber",
    "vendor",
    "totalUsd",
    "dueDate",
    "email"
  ],
  "text": "Invoice #4821 from Acme Cloud LLC for $149.00 due 2026-12-01, contact billing@acmecloud.io"
}
{
  "data": {
    "dueDate": "2026-12-01",
    "email": "billing@acmecloud.io",
    "invoiceNumber": "4821",
    "totalUsd": 149,
    "vendor": "Acme Cloud LLC"
  },
  "model": "llama-3.3-70b",
  "ok": true,
  "paid": 0.005,
  "repaired": false,
  "usage": {
    "completion_tokens": 34,
    "prompt_tokens": 92,
    "total_tokens": 126
  }
}

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 score67 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency796 ms
Paid calls (30d, on-chain)2 calls · 2 buyers · shared price cohort of 24

How to call

POST https://apexfaucet.xyz/api/x402/json-extract · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 14000,
      "description": "Unstructured text (invoice, email, webpage, receipt) to extract structured JSON from."
    },
    "fields": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of up to 40 field names to extract (required unless schema is provided)."
    },
    "schema": {
      "type": "object",
      "description": "Optional JSON Schema object describing the desired output structure."
    },
    "instruction": {
      "type": "string",
      "maxLength": 500,
      "description": "Optional extra extraction instruction."
    },
    "model": {
      "type": "string",
      "enum": [
        "llama-3.3-70b",
        "gpt-oss-120b",
        "gpt-oss-20b",
        "llama-3.1-8b",
        "qwen3-30b"
      ],
      "description": "Default llama-3.3-70b."
    }
  },
  "required": [
    "text"
  ]
}
Output schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "paid": {
      "type": "number"
    },
    "model": {
      "type": "string"
    },
    "repaired": {
      "type": "boolean"
    },
    "data": {
      "type": "object"
    },
    "usage": {
      "type": "object",
      "properties": {
        "prompt_tokens": {
          "type": "integer"
        },
        "completion_tokens": {
          "type": "integer"
        },
        "total_tokens": {
          "type": "integer"
        }
      }
    }
  },
  "required": [
    "ok",
    "model",
    "data"
  ]
}
curl -i -X POST 'https://apexfaucet.xyz/api/x402/json-extract' \
  -H 'content-type: application/json' -d '{"text":"Invoice #4821 from Acme Cloud LLC for $149.00 due 2026-12-01, contact billing@acmecloud.io","fields":["invoiceNumber","vendor","totalUsd","dueDate","email"]}'

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

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