Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man json-dev-pack

/json-dev-pack

agentutility / compose / json-dev-pack
PRICE / CALL
$0.03
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
compose
CATEGORY
uncategorized
STATUS
live
NAME
json-dev-pack converts a json document to typescript types and yaml, with optional schema validation, in one call
SYNOPSIS
POST https://x402.agentutility.ai/json-dev-pack
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Converts a JSON document to TypeScript types and YAML, with optional schema validation, in one call. Composite: one call runs type-inference-from-json + json-yaml in parallel, plus json-schema-validate when you supply a schema. Returns a generated TypeScript interface (with date-time/uuid/uri/email format detection), the YAML rendering of the same document, and, when a JSON Schema (draft-07 or 2020-12) is provided, a validation report with per-error instance_path + keyword + message. Input capped at 200k chars. Includes composed_of + per-component telemetry; partial failure degrades instead of failing. Use it as an API response toolkit, quicktype-style type generation with format conversion, or structured-output verifier bundle.

INPUTrequest schema
propertytypedescriptionreq?
jsonstring | object | arrayJSON sample: a JSON string or a pre-parsed object/array. Max 200,000 chars stringified.required
schemaobjectOptional JSON Schema (draft-07 or 2020-12) to validate the sample against.optional
OUTPUTresponse shape
fieldtypedescription
typesstring
yamlstring
validationstring
composed_ofstring
componentsstring
degradedstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/json-dev-pack \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the json-dev-pack tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
composejsondevpackjson-dev-pack
methods
POST
cluster
compose
price
$0.03 USDC per call
ADJACENTother endpoints in compose
endpointdescriptionprice
address-intel-packEnriches a street address in one call: parse, geocode, timezone, and building permits.$0.03
clean-text-packSanitizes raw text in one call: Unicode normalization, homoglyph audit, PII detection, and PII redaction.$0.03
contact-normalize-packNormalizes a contact record in one call, generating stable match keys for email, name, phone, and address plus parsed US address components.$0.03
email-trust-reportVets an email address in one call: deliverability, disposable check, DMARC posture, and a dedupe key.$0.03
flight-briefReports live flight status with FAA airport delays and airport info in one call.$0.03
onchain-identity-packResolves an EVM address or name across ENS, Basenames, and known-wallet labels in one call.$0.03
regex-packGenerates a regex from a natural-language prompt and live-tests it in one call.$0.03
text-intel-packRuns full text analysis in one call: language detection, sentiment, named entities, token count, and optional zero-shot classification.$0.03
SEE ALSO
agentutility · compose · x402 · mcp · llms.txt · registry.json · bazaar.x402.org