← Back to directory

All AI Data API - Generate TypeScript types, Zod schemas or JSON Schema from sample JSON

https://allai-api.allaihq.workers.dev/v1/tools/json_to_types

Overview

Infers types from one or more sample JSON documents (an API response, a config, an array of records) of up to 150,000 characters and generates TypeScript interfaces or type aliases, a Zod schema, or a JSON Schema (draft 2020-12). Merges every element of arrays and every sample, so keys missing in some records become optional and mixed values become unions; nested objects get th $0.01 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.

Protocol x402 (POST)
Price $0.01
Payment Asset USDC
Payment Network base
Category data
Provider All AI LLC (All AI Data API)
Source self-registered
Indexed 2026-12-03 06:16:45

Health

Status healthy
Latency (p50) 2053ms
Uptime (30d) 66.7%
Reliability Score 58.3/100
Last Checked 2026-12-05 01:35:42
Last Healthy 2026-12-05 01:35:42
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 01:35:42 healthy 402 680ms
2026-12-04 19:25:54 healthy 402 2053ms
2026-12-03 13:51:20 timeout — — timeout