Skip to main content
92 Nodes
All resources
Free tool

API Response & JSON Inspector

Inspect, validate and generate types from API responses.

Paste any REST, GraphQL, tRPC, or Laravel API response to explore it in a tree, see structural stats, detect the response pattern, and generate TypeScript, Zod, Laravel Resources, OpenAPI, JSON Schema, Pydantic, Go structs, and more — entirely in your browser.

Loading API response inspector…

More free developer tools

Generate tests for this response with the Test Case Generator, or if you need sample data to send in the first place, the Mock Data Generator can build a JSON payload from a schema. Pair this with the Tech Stack Matcher, the .gitignore Generator, the Sitemap Generator, and the Robots.txt Generator — or browse the full developer resources directory.

Need help designing or integrating a production API? 92 Nodes builds Laravel, Node.js, Next.js, and AI-powered backend systems.

FAQ

Common questions

What is an API response inspector?+

A tool that lets you paste a JSON API response and explore its structure — an expandable tree, field types, JSON paths, and statistics — then generate types and schemas for the languages and frameworks you actually use.

Is my JSON uploaded to a server?+

No. Everything — parsing, inspection, and code generation — runs locally in your browser. Your response is never sent to 92 Nodes or anywhere else.

Can I convert JSON to TypeScript interfaces?+

Yes — the TypeScript tab generates both interfaces and type aliases, with nested types, arrays, optional fields, and nullable unions inferred from your sample data.

Can I generate a Zod schema from JSON?+

Yes, along with Valibot, Yup, and Joi schemas, each with a matching inferred TypeScript type where the library supports it.

Can this generate Laravel API Resources?+

Yes — the Frameworks tab generates a Laravel API Resource toArray() method, a validation rules array, and a readonly PHP DTO, all based on the shape of your sample response.

Does it support tRPC?+

Yes — it generates a suggested Zod output schema and a .output() usage example. It can't reconstruct your original router from a response alone, so treat it as a starting point.

Can I generate OpenAPI schemas from API responses?+

Yes — reusable OpenAPI component schemas are available in both JSON and YAML, alongside a JSON Schema Draft 2020-12 output.

Can I compare two API responses?+

Yes — switch to Compare mode, paste two responses, and see added, removed, and changed fields, including nullability changes.

Can it detect breaking API changes?+

Compare mode flags likely breaking changes (removed fields, changed types, newly nullable fields) separately from probably safe ones (new fields, new nullable fields) — always double-check against your actual API contract.

Does it support GraphQL responses?+

Yes — paste a { data, errors } GraphQL response and the tool detects it, then generates a suggested TypeScript type and GraphQL SDL type definition from the response shape.

Can I generate Python Pydantic models?+

Yes — the Python tab generates both TypedDict and Pydantic BaseModel classes, with nested models for nested objects.

Can I generate Go and Rust structs?+

Yes, along with Java records, Kotlin data classes, C# records, Swift Codable structs, and Dart model classes — all under the Types tab group.

92 Nodes

Have a project in mind? Let's build it.

Tell us about your goals and we'll get back to you within one business day with next steps.

Book a free call