---
title: "Discussion on \"Stop hand-writing TypeScript types from API responses\" | Hashnode"
description: "Discussion on \"Stop hand-writing TypeScript types from API responses\". Every API integration starts the same way: a JSON response in the Network tab, and a developer typing out the interface by hand. It works until the response has a nested object three levels deep, a fi"
url: "https://hashnode.com/posts/stop-hand-writing-typescript-types-from-api-responses/6af7fc6bfe28fc546e48ef62"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop hand-writing TypeScript types from API responses](https://alfazreviews.hashnode.dev/stop-hand-writing-typescript-types-from-api-responses?utm_source=hashnode&utm_medium=feed)

Every API integration starts the same way: a JSON response in the Network tab, and a developer typing out the interface by hand. It works until the response has a nested object three levels deep, a fi

13h ago · 4 min read · alfazreviews.hashnode.dev  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#json](https://hashnode.com/tag/json)
-   [#zod](https://hashnode.com/tag/zod)
-   [#api](https://hashnode.com/tag/api)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Alfaz Mahmud Rizve](https://hashnode.com/@alfazreviews)

@alfazreviews

  
[View profile](https://hashnode.com/@alfazreviews)

GTM & RevOps Architect — I build autonomous revenue systems for scaling agencies and SaaS: SEO & organic growth, high-speed Next.js apps, an

GTM &amp; RevOps Architect — I build autonomous revenue systems for scaling agencies and SaaS: SEO &amp; organic growth, high-speed Next.js apps, and self-healing n8n workflows. whoisalfaz.me

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
