AI Inference · x402 · early usage

Conform messy or inconsistent JSON to a target schema using Claude Haiku — renames keys…

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 no…

by netintel.dev · discovered, not yet claimed by its owner · updated 2026-10-13

30d calls3
30d payers3
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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.

Tags: json normalization · data cleaning · schema mapping · text to json · llm · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "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[]"
  }
}
Output example
{
  "cached": false,
  "fields_in_schema": 5,
  "fields_nulled": 0,
  "fields_populated": 5,
  "findings": [],
  "grade": "A",
  "normalized": {
    "age": 42,
    "full_name": "Jane Doe",
    "is_active": true,
    "signup_date": "2024-03-01",
    "tags": [
      "vip",
      "beta"
    ]
  },
  "schema_match": true,
  "score": 100
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/29554.json for the price and payment options.
  3. Pay. Call GET https://netintel.dev/normalize/json. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.05 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Demand
3 calls · 3 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.050xdaDc335482AD545296Fd7b28518A251fFCbEb9Df300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.058FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "50000",
    "amountUsd": 0.05,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "cached": {
          "description": "True if served from the in-memory cache.",
          "type": "boolean"
        },
        "fields_in_schema": {
          "description": "Number of fields in the target schema.",
          "type": "number"
        },
        "fields_nulled": {
          "description": "Number of null fields in the output.",
          "type": "number"
        },
        "fields_populated": {
          "description": "Number of non-null fields in the output.",
          "type": "number"
        },
        "findings": {
          "description": "Informational findings (e.g. schema_mismatch_corrected, mostly_nulled).",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "grade": {
          "description": "Letter grade A-F.",
          "type": "string"
        },
        "normalized": {
          "description": "The input conformed to the target schema: keys are exactly the schema field names, values coerced to the declared types, missing fields null.",
          "type": "object"
        },
        "schema_match": {
          "description": "True when the model's output keys were exactly the schema field names. False when code had to force-conform (strip extra / add missing) keys.",
          "type": "boolean"
        },
        "score": {
          "description": "Quality score 0-100.",
          "type": "number"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "cached": true,
    "fields_in_schema": 0,
    "fields_nulled": 0,
    "fields_populated": 0,
    "findings": [
      "string"
    ],
    "grade": "string",
    "normalized": {},
    "schema_match": true,
    "score": 0
  },
  "type": "string"
}

Examples

curl
curl "https://netintel.dev/normalize/json"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://netintel.dev/normalize/json");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://netintel.dev/normalize/json")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
netintel.dev
Endpoint
https://netintel.dev/normalize/json
Machine-readable
/resources/29554.json