ToolAssay

SQL from a question and a schema (CREATE TABLE statements or a JSON description

SQL from a question and a schema (CREATE TABLE statements or a JSON description of tables and columns), for postgres (default), mysql, sqlite or bigquery. The tables and columns used are checked against the schema; a query that does not match it is retried once, then refused. Writes (INSERT, UPDATE, DELETE, DDL) are refused unless allowWrite is true. The query is not run.

Not tested: has real-world effectsour last check, 2026-10-18
0 of 0checks answered this week
n/amedian answer time
$0.003listed price per call
n/aprice 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://api.sitecheck-api.workers.dev/api/sql/generate

CategoryEverything else
Provider hostapi.sitecheck-api.workers.dev
Networkseip155:5042, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "dialect": "postgres",
    "question": "How many orders were placed in 2025?",
    "schema": "CREATE TABLE orders (id integer primary key, placed_at timestamp, total numeric(10,2));"
  },
  "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": {
          "properties": {
            "allowWrite": {
              "description": "Allow INSERT, UPDATE, DELETE or DDL (default false)",
              "type": "boolean"
            },
            "dialect": {
              "description": "postgres (default), mysql, sqlite or bigquery",
              "type": "string"
            },
            "question": {
              "description": "Question in plain language (max 1,000 characters)",
              "type": "string"
            },
            "schema": {
              "description": "CREATE TABLE statements, or a JSON object of tables and column lists (max 20,000 characters)",
              "type": "string"
            }
          },
          "required": [
            "question",
            "schema"
          ]
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "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