Skip to content
Fourohtwo

Structured extraction

quartermaster.surewhynot.app/v1/extract-json

Structured extraction: give a JSON Schema plus a URL or raw text, get back JSON matching the schema.

BaseSolanaAnswering
GEThttps://quartermaster.surewhynot.app/v1/extract-json

Uptime100% of 2 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://quartermaster.surewhynot.app/v1/extract-json?schema=%7B%22properties%22%3A%7B%22title%22%3A%7B%22type%22%3A%22string%22%7D%2C%22author%22%3A%7B%22type%22%3A%22string%22%7D%7D%7D&url=https%3A%2F%2Fexample.com%2Farticle");
console.log(await res.json());

Example input

{
  "schema": "{\"properties\":{\"title\":{\"type\":\"string\"},\"author\":{\"type\":\"string\"}}}",
  "url": "https://example.com/article"
}