Skip to content
Fourohtwo

netintel.dev/normalize/json

Conform messy or inconsistent JSON to a target schema using Claude Haiku — renames keys, coerces types (string→number, "true"→boolean, etc.), and fills missing fields with null, returning JSON that matches the exact shape the caller specified so agents can normalize data from varied sources into one consistent structure.

BaseSolanaAnswering
POSThttps://netintel.dev/normalize/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://netintel.dev/normalize/json", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"data":{"active":"yes","age":"42","fullName":"Jane Doe","signup":"March 1 2024","tags":"vip,beta"},"schema":{"age":"number","full_name":"string","is_active":"boolean","signup_date":"date","tags":"string[]"}}),
});
console.log(await res.json());

Example input

{
  "data": {
    "active": "yes",
    "age": "42",
    "fullName": "Jane Doe",
    "signup": "March 1 2024",
    "tags": "vip,beta"
  },
  "schema": {
    "age": "number",
    "full_name": "string",
    "is_active": "boolean",
    "signup_date": "date",
    "tags": "string[]"
  }
}

More from NetIntel