Skip to content
Fourohtwo

Ysaere Agent Extract JSON

api.ysaere.com/v1/intel/extract-json

Ysaere Agent Extract JSON — $0.03 USDC. Input: {"url" or "text", "schema": <JSON Schema ≤8 KB: object/array/string/number/integer/boolean/enum/required>}. Returns data that validates against your schema plus output_sha512. Output that fails your schema is refused before payment.

BaseAnswering
POSThttps://api.ysaere.com/v1/intel/extract-json

Uptime100% of 4 checks 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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.ysaere.com/v1/intel/extract-json", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"schema":{"properties":{"company":{"type":"string"},"products":{"items":{"type":"string"},"type":"array"}},"required":["company"],"type":"object"},"url":"https://ysaere.com"}),
});
console.log(await res.json());

Example input

{
  "schema": {
    "properties": {
      "company": {
        "type": "string"
      },
      "products": {
        "items": {
          "type": "string"
        },
        "type": "array"
      }
    },
    "required": [
      "company"
    ],
    "type": "object"
  },
  "url": "https://ysaere.com"
}

More from YsaereProvider status