JSON shape ($0.15)
json_shapeTurn messy text into structured JSON. Parses a JSON blob or key: value lines (up to 50,000 characters) into an object using the field names given in schema_hint, and returns notes on what matched. Rule-based parsing with no LLM, so results are fast and predictable. Useful for normalizing tool output, logs or form dumps before further processing. Not for free-form language understanding or writing. Price: $0.15 USDC per call (x402 on Base) or 1 prepaid pack credit. Failed calls aren't charged when you pay per call with x402: if the job errors, the USDC payment is never settled. With pack credits (X-Entitlement-Key), a call that fails gives its credit back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw text or JSON to reshape (≤50k chars) | |
| schema_hint | Yes | Free-text hint of desired field names / shape |