Turn an array of JSON objects (API results, scraped records) into ready-to-run S
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
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
GET https://agents.204-168-199-108.sslip.io/v1/util/json-to-sql
| Category | Everything else |
|---|---|
| Provider host | agents.204-168-199-108.sslip.io |
| Networks | aws:base, eip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-12-02 | valid payment request | 402 | $0.001 | 950 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$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"
}