{"slug":"agents-204-168-199-108-sslip-io-v1-util-json-to-sql-d989d3","title":"Turn an array of JSON objects (API results, scraped records) into ready-to-run S","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/json-to-sql","category":"other","description":"Turn an array of JSON objects (API results, scraped records) into ready-to-run SQL. Infers each column's type across all rows (INTEGER/BIGINT, DOUBLE, BOOLEAN, DATE, TIMESTAMP, JSON/JSONB for nested objects, TEXT/VARCHAR), NOT NULL where no row is empty, PRIMARY KEY on a unique 'id', quotes identifi","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checked_on":"2026-12-02","checks_7d":1,"answered_7d":1,"latency_ms_median":950,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:137","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"dialect":"postgres","json":"[{\"id\":1,\"name\":\"O'Brien Ltd\",\"active\":true,\"balance\":1250.5,\"created_at\":\"2026-11-30T10:15:00Z\",\"tags\":[\"vip\",\"eu\"]},{\"id\":2,\"name\":\"Acme\",\"active\":false,\"balance\":0,\"created_at\":\"2026-12-01T08:00:00Z\",\"tags\":[]},{\"id\":3,\"name\":\"Globex\",\"active\":true,\"balance\":null,\"created_at\":\"2026-12-01T09:30:00Z\",\"tags\":[\"us\"]}]","table":"customers"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"batch_size":{"description":"Rows per INSERT (default 100)","type":"string"},"dialect":{"description":"postgres (default), mysql or sqlite","type":"string"},"if_not_exists":{"description":"Add IF NOT EXISTS (default true)","type":"string"},"json":{"description":"JSON array of objects (max 2,000,000 characters)","type":"string"},"table":{"description":"Table name (default data)","type":"string"}},"required":["json"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":950,"error":null}],"description_full":"Turn an array of JSON objects (API results, scraped records) into ready-to-run SQL. Infers each column's type across all rows (INTEGER/BIGINT, DOUBLE, BOOLEAN, DATE, TIMESTAMP, JSON/JSONB for nested objects, TEXT/VARCHAR), NOT NULL where no row is empty, PRIMARY KEY on a unique 'id', quotes identifiers and escapes strings correctly for postgres, mysql or sqlite, and batches multi-row INSERTs (batch_size). Returns columns, create_table, inserts[] and the full sql script. Up to","last_updated":"2026-12-01T04:55:56.697Z","schemes":["exact"]}