Skip to content
Fourohtwo

agents.204-168-199-108.sslip.io/v1/util/json-schema-infer

Infer a JSON Schema (draft 2020-12) from one JSON value or, with samples=true, from an array of samples (keys present in every sample become required; types are merged, e.g. integer+number → number, value or null → [type, null]). Detects string formats date-time, date, email, uri, uuid, ipv4. Use to build structured-output / tool-call schemas, API contracts or validators from real data.

BaseSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/util/json-schema-infer

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

// 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://agents.204-168-199-108.sslip.io/v1/util/json-schema-infer?data=%5B%7B%22id%22%3A1%2C%22email%22%3A%22a%40x.com%22%2C%22price%22%3A9.5%2C%22tags%22%3A%5B%22new%22%5D%2C%22created%22%3A%222026-11-27T10%3A00%3A00Z%22%7D%2C%7B%22id%22%3A2%2C%22email%22%3A%22b%40y.io%22%2C%22price%22%3A12%2C%22tags%22%3A%5B%5D%2C%22created%22%3A%222026-11-26T08%3A30%3A00Z%22%2C%22coupon%22%3Anull%7D%5D&samples=true");
console.log(await res.json());

Example input

{
  "data": "[{\"id\":1,\"email\":\"a@x.com\",\"price\":9.5,\"tags\":[\"new\"],\"created\":\"2026-11-27T10:00:00Z\"},{\"id\":2,\"email\":\"b@y.io\",\"price\":12,\"tags\":[],\"created\":\"2026-11-26T08:30:00Z\",\"coupon\":null}]",
  "samples": "true"
}