型
JSON to TypeScript
Turn an API response into TypeScript interfaces, with optional and nullable fields inferred. Runs in your browser; nothing is sent to a server.
From response to types
Paste a real response, not a hand-written example: the more items an array holds, the better the optional and nullable fields are inferred. Every hoshime endpoint also documents the JSON Schema of its response in the OpenAPI document, which client generators turn into exact types.