Infer a JSON Schema (draft 2020-12) from an example JSON value
x402.deepsense.stream/api/v1/json/schema
Infer a JSON Schema (draft 2020-12) from an example JSON value: nested objects, arrays, required keys, integer vs number, and string formats (date, date-time, email, uri, uuid). Useful for tool definitions and structured-output contracts.
POST
https://x402.deepsense.stream/api/v1/json/schemaUptime100% 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://x402.deepsense.stream/api/v1/json/schema", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"value":{"id":1,"name":"Ada","tags":["a"],"createdAt":"2026-10-19T10:00:00Z"}}),
});
console.log(await res.json());Example input
{
"value": {
"id": 1,
"name": "Ada",
"tags": [
"a"
],
"createdAt": "2026-10-19T10:00:00Z"
}
}More from Agent Data Bench
- x402.deepsense.stream/api/v1/feedbackTell us what data or tool you wish existed. Paid structured capability request: use case, missing endpoint, needs, optional contact. Every submission is read; high-demand requests get built and announced.0.002
- x402.deepsense.stream/api/v1/feedbackTell us what data or tool you wish existed. Paid structured capability request: use case, missing endpoint, needs, optional contact. Every submission is read; high-demand requests get built and announced.0.002
- x402.deepsense.stream/api/v1/hashHash text with sha256 (default), sha512, sha1 or md5 and get hex plus base64 in one call. Handy for agents that must fingerprint prompts, files or payloads without a local crypto library.0.001
- x402.deepsense.stream/api/v1/json/repairRepair almost-JSON produced by LLMs: strips markdown code fences, normalises smart quotes, removes comments and trailing commas, then parses. Returns the parsed value plus the list of repairs applied, or a precise parse error. Pure computation, no upstream data.0.002
- x402.deepsense.stream/api/v1/market/gasFee inputs for the next transaction: gas ladder for Base or Ethereum (slow/normal/fast, priority fee, max fee, EIP-1559 base fee) or the priority-fee ladder for Solana, plus the native token price. One call for the numbers a transaction builder needs.0.001
- x402.deepsense.stream/api/v1/market/holdersTop token holders with wallet, balance, percent of supply, labels/tags and first-seen time. Percent of supply is computed for you from total supply, so the result is ready for concentration checks, whale tracking or airdrop analysis. Works for Solana SPL and ERC-20 tokens on Base and Ethereum.0.003
- x402.deepsense.stream/api/v1/market/ohlcvOHLCV candles for any DEX pool, from 1 second to 1 day buckets, newest N returned oldest-first with numeric open/high/low/close/volume. Drop-in for backtests, indicator calculations and chart rendering without running an indexer or decoding swap events.0.002
- x402.deepsense.stream/api/v1/market/poolOne DEX pool by address: token metadata on both sides, price, market cap, liquidity, LP burned percent, bonding-curve progress, and volume/price-change reports for 5m, 15m, 30m, 1h, 4h, 6h, 12h and 24h. Use it to price a pair, check depth before a trade, or resolve a token address to its deepest market.0.002
- x402.deepsense.stream/api/v1/market/searchResolve a token symbol, name or address to DEX pools on Solana, Base or Ethereum: pool, token, dex, price, liquidity, market cap and 24h volume, best liquidity first. Use it to turn a ticker into a tradeable pool address before calling pool, ohlcv, trades or holders.0.002
- x402.deepsense.stream/api/v1/web/extractReadable web page extraction for agents: fetch a public URL and return clean text (boilerplate removed), title, description, word count and outbound link summary. Max 12k characters, 2MB response cap, private/SSRF targets blocked.0.005
- x402.deepsense.stream/api/v1/web/extractReadable web page extraction for agents: fetch a public URL and return clean text (boilerplate removed), title, description, word count and outbound link summary. Max 12k characters, 2MB response cap, private/SSRF targets blocked.0.005
