Skip to content
Fourohtwo

netintel.dev/text-to-json

Turn unstructured text into structured JSON matching a caller-supplied schema using Claude Haiku — the agent declares the fields and types it wants, and gets back populated JSON with values pulled from the text and coerced to the right types, so agents can structure any prose into the exact shape their pipeline expects.

BaseSolanaAnswering
POSThttps://netintel.dev/text-to-json

Uptime100% 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://netintel.dev/text-to-json", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"schema":{"company":"string","employees":"number","founded_year":"number","is_public":"boolean","locations":"string[]"},"text":"Acme Corp is a privately held software company founded in 2010. The San Francisco-based firm, which also has an office in London, now employs roughly 250 people."}),
});
console.log(await res.json());

Example input

{
  "schema": {
    "company": "string",
    "employees": "number",
    "founded_year": "number",
    "is_public": "boolean",
    "locations": "string[]"
  },
  "text": "Acme Corp is a privately held software company founded in 2010. The San Francisco-based firm, which also has an office in London, now employs roughly 250 people."
}

More from NetIntelProvider status