Skip to content
Fourohtwo

Extract structured JSON from a web page, PDF or text

agent-toolbox.zafermemon87.workers.dev/v1/extract

Extract structured JSON from a web page, PDF or text: name the fields you want (up to 25, with types) and get each value with the exact quote from the page that states it. Every quote is checked against the page itself (verified, quoted, unverified or not_found), so values are never invented. Charged only when at least one field is found.

BaseDown
POSThttps://agent-toolbox.zafermemon87.workers.dev/v1/extract

Uptime0.0% of 3 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://agent-toolbox.zafermemon87.workers.dev/v1/extract", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"fields":{"availability":"string: stock availability","price":"number: the price including tax","title":"string: the book title"},"url":"https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"}),
});
console.log(await res.json());

Example input

{
  "fields": {
    "availability": "string: stock availability",
    "price": "number: the price including tax",
    "title": "string: the book title"
  },
  "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
}

More from Agent ToolboxProvider status