All AI Data API - SQL DDL parser: CREATE TABLE to schema JSON, ER summary, foreign-key graph, Mermaid diagram and schema lint (P
https://allai-api.allaihq.workers.dev/v1/tools/sql_ddl_parseOverview
Paste CREATE TABLE / CREATE INDEX / ALTER TABLE ... ADD CONSTRAINT statements (a pg_dump --schema-only or mysqldump --no-data file works) and get a structured schema: tables, columns (type, length, nullable, default, auto-increment or identity, generated), primary keys (inline and table-level, composite), unique constraints, foreign keys with ON DELETE / ON UPDATE actions, chec $0.01 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.