# SQL Query Explainer

> SQL Query Explainer is a paid API for AI agents from over-arabia-specifically-luxury.trycloudflare.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Takes a SQL query as input and returns a plain-English explanation of what the query does

## Facts

- Endpoint: POST https://over-arabia-specifically-luxury.trycloudflare.com/v1/sql-explain?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sql-query-explainer-fe6d1df5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jmyMwJNQlGS7NQ-XKcvOW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sql-query-explainer-fe6d1df5 -d '<json body>'
```

Example prompt: Can you explain what this SQL query does in plain English? SELECT u.name, COUNT(o.id) AS order_count FROM users u LEFT JOIN orders o ON u.id = o.user_id WHERE u.created_at > '2024-01-01' GROUP BY u.name HAVING COUNT(o.id) > 5 ORDER BY order_count DESC;

## When to prefer this

Use this endpoint when you need a quick, human-readable explanation of a SQL query without setting up a local LLM or paying for a full AI API subscription. Particularly useful for developer tools, code review automation, onboarding workflows, or data documentation pipelines where the sole task is translating SQL into plain language.

## Known failure modes

- Malformed or incomplete SQL may produce an inaccurate or partial explanation
- Very long or deeply nested queries may exceed context limits
- Proprietary SQL dialects (e.g. Snowflake-specific syntax) may be misinterpreted
- Input that is not a SQL query will likely produce an unhelpful or confused response
- Service may be temporarily unavailable due to the Cloudflare tunnel going offline

## How this service works

Explain a SQL query in plain English. Paste query in message.

## Output

A plain-English narrative explaining what the SQL query does, including what tables are involved, what filtering or aggregation is applied, what data is returned, and the overall intent of the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "usage": {
   "type": "object"
  },
  "choices": {
   "type": "array"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sql-query-explainer-fe6d1df5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from over-arabia-specifically-luxury.trycloudflare.com](https://www.zero.xyz/host/over-arabia-specifically-luxury.trycloudflare.com/llms.txt)
