Skip to content
Fourohtwo

Synap by Linkrra

synap402.com/api/billing/x402/tasks/extract-json

Synap by Linkrra - JSON extraction: send text and a JSON Schema, get data validated against that schema server-side (one automatic repair retry). Output still invalid = 422 and nothing is charged. Open models on dedicated GPUs. Pay per call in USDC on any network in the payment challenge; no account, no API key.

BaseSolanaAnswering
POSThttps://synap402.com/api/billing/x402/tasks/extract-json

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://synap402.com/api/billing/x402/tasks/extract-json", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"schema":{"properties":{"due_date":{"type":["string","null"]},"invoice_number":{"type":"string"},"total":{"type":"number"},"vendor":{"type":"string"}},"required":["invoice_number","vendor","total"],"type":"object"},"text":"Invoice INV-2041 from Acme Corp, total $1,250.00, due 2026-12-01."}),
});
console.log(await res.json());

Example input

{
  "schema": {
    "properties": {
      "due_date": {
        "type": [
          "string",
          "null"
        ]
      },
      "invoice_number": {
        "type": "string"
      },
      "total": {
        "type": "number"
      },
      "vendor": {
        "type": "string"
      }
    },
    "required": [
      "invoice_number",
      "vendor",
      "total"
    ],
    "type": "object"
  },
  "text": "Invoice INV-2041 from Acme Corp, total $1,250.00, due 2026-12-01."
}

More from Synap by Linkrra