Infer TypeScript, Go, Rust or Python type definitions from one or more JSON samp
Infer TypeScript, Go, Rust or Python type definitions from one or more JSON samples, with optional fields and nested types detected across samples. Feeds up to 100 JSON samples into quicktype-core 26.0.0 and renders type definitions only (TypeScript interfaces, Go structs with json tags, Rust serde structs, Python 3.7 dataclasses). Properties missing in some samples become optional; nulls become nullable; integers and floats are distinguished.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
893 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://code.halowerk.com/v1/json-to-types
| Category | Code and developer |
|---|---|
| Provider host | code.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.003 | 904 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 924 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 910 ms |
| 2026-11-23 | valid payment request | 402 | $0.003 | 893 ms |
| 2026-11-22 | valid payment request | 402 | $0.003 | 866 ms |
| 2026-11-21 | valid payment request | 402 | $0.003 | 879 ms |
| 2026-11-20 | valid payment request | 402 | $0.003 | 887 ms |
Example input (from the provider)
{
"body": {
"language": "typescript",
"samples": [
{
"id": 1,
"name": "Lamp",
"price": 9.5,
"tags": [
"new"
]
}
],
"type_name": "Product"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"language": {
"description": "Target language.",
"enum": [
"typescript",
"go",
"rust",
"python"
],
"type": "string"
},
"samples": {
"description": "JSON values (usually objects) that all represent the same type.",
"items": {},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"type_name": {
"default": "Root",
"description": "Name of the top-level type.",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"type": "string"
}
},
"required": [
"samples",
"language"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}