AI Inference · x402 · early usage

Turn unstructured text into structured JSON matching a caller-supplied schema using Cla…

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

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

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.

Tags: text to json · structured extraction · json schema · data extraction · llm · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "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."
}
Output example
{
  "cached": false,
  "fields_in_schema": 5,
  "fields_nulled": 0,
  "fields_populated": 5,
  "findings": [],
  "grade": "A",
  "result": {
    "company": "Acme Corp",
    "employees": 250,
    "founded_year": 2010,
    "is_public": false,
    "locations": [
      "San Francisco",
      "London"
    ]
  },
  "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/29556.json for the price and payment options.
  3. Pay. Call GET https://netintel.dev/text-to-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 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"
        },
        "result": {
          "description": "The extracted data: keys are exactly the schema field names, values pulled from the text and cast to the declared types, unfindable 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",
    "result": {},
    "schema_match": true,
    "score": 0
  },
  "type": "string"
}

Examples

curl
curl "https://netintel.dev/text-to-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/text-to-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/text-to-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/text-to-json
Machine-readable
/resources/29556.json