ToolAssay

Generate TypeScript types from a GraphQL SDL schema

Generate TypeScript types from a GraphQL SDL schema: objects, interfaces, inputs, enums, unions, custom scalars and field-argument types, type-checked.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
1004 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/graphql-to-ts

CategoryCode and developer
Provider hostcode.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.003 998 ms
2026-11-25 valid payment request 402$0.003 1004 ms
2026-11-24 valid payment request 402$0.003 903 ms
2026-11-23 valid payment request 402$0.003 882 ms
2026-11-22 valid payment request 402$0.003 1168 ms
2026-11-21 valid payment request 402$0.003 1166 ms
2026-11-20 valid payment request 402$0.003 1172 ms

Example input (from the provider)

{
  "body": {
    "scalars": {},
    "sdl": "type Query { user(id: ID!): User }\n\"\"\"A registered user\"\"\"\ntype User { id: ID! name: String friends: [User!]! role: Role! }\nenum Role { ADMIN MEMBER }"
  },
  "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": {
            "enums": {
              "default": "union",
              "description": "Render enums as string-literal unions or as TypeScript enums.",
              "enum": [
                "union",
                "enum"
              ],
              "type": "string"
            },
            "scalars": {
              "additionalProperties": {
                "enum": [
                  "string",
                  "number",
                  "boolean",
                  "unknown",
                  "Record<string, unknown>",
                  "Array<unknown>"
                ],
                "type": "string"
              },
              "description": "TypeScript type per custom scalar name, e.g. {\"DateTime\": \"string\"}.",
              "maxProperties": 100,
              "type": "object"
            },
            "sdl": {
              "description": "GraphQL schema definition language (SDL).",
              "maxLength": 1000000,
              "minLength": 3,
              "type": "string"
            }
          },
          "required": [
            "sdl"
          ],
          "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"
}

This page as JSON