Overview
Generate ready-to-paste code from a JSON Schema (tool input schemas, API payloads, structured-output schemas): TypeScript interfaces, a Zod schema with inferred types (formats, min/max, enums, nullable, optional) and Pydantic v2 BaseModel classes (Optional, List, Literal, Field aliases and descriptions). Nested objects become named types; $ref to $defs / definitions is resolved. Pure function, instant.
Protocol
x402
Price
$0.0020
Payment Asset
USD Coin
Payment Network
Base
Category
crypto/defi
Provider
JSON Schema to TypeScript Zod
Indexed
2026-12-01 21:26:57
Health
Status
healthy
Latency (p50)
111ms
Uptime (30d)
100.0%
Reliability Score
97/100
Last Checked
2026-12-05 01:34:59
Last Healthy
2026-12-05 01:34:59
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"method": "GET",
"queryParams": {
"name": "Order",
"schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\"},\"email\":{\"type\":\"string\",\"format\":\"email\"},\"status\":{\"enum\":[\"paid\",\"pending\"]},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sku\":{\"type\":\"string\"},\"qty\":{\"type\":\"integer\",\"minimum\":1}},\"required\":[\"sku\",\"qty\"]}}},\"required\":[\"id\",\"email\",\"items\"]}"
},
"type": "http"
}
Output Schema
{
"example": {
"code": {
"pydantic": "from __future__ import annotations\n\nfrom typing import List, Literal, Optional\n\nfrom pydantic import BaseModel\n\n\nclass OrderItemsItem(BaseModel):\n sku: str\n qty: int\n\n\nclass Order(BaseModel):\n id: int\n email: str\n status: Optional[Literal[\"paid\", \"pending\"]] = None\n items: List[OrderItemsItem]\n",
"typescript": "export interface Order {\n id: number;\n email: string;\n status?: \"paid\" | \"pending\";\n items: OrderItemsItem[];\n}\n\nexport interface OrderItemsItem {\n sku: string;\n qty: number;\n}\n",
"zod": "import { z } from \"zod\";\n\nexport const OrderItemsItemSchema = z.object({\n sku: z.string(),\n qty: z.number().int().min(1),\n});\nexport type OrderItemsItem = z.infer<typeof OrderItemsItemSchema>;\n\nexport const OrderSchema = z.object({\n id: z.number().int(),\n email: z.string().email(),\n status: z.enum([\"paid\", \"pending\"]).optional(),\n items: z.array(OrderItemsItemSchema),\n});\nexport type Order = z.infer<typeof OrderSchema>;\n"
},
"languages": [
"typescript",
"zod",
"pydantic"
],
"name": "Order",
"types_generated": 2,
"warnings": []
},
"type": "json"
}
Recent Health Checks
| Time |
Status |
HTTP |
Latency |
Error |
| 2026-12-05 01:34:59 |
healthy |
402 |
110ms |
|
| 2026-12-05 00:58:14 |
healthy |
402 |
111ms |
|
| 2026-12-04 18:03:31 |
healthy |
402 |
457ms |
|