# Crypto Shark Fleet SQL Helper

> Crypto Shark Fleet SQL Helper is a paid API for AI agents from cryptoshark-fleet.duckdns.org, paid per call via x402, $0.08/call, status unknown (last checked 2026-10-11).

AI-powered SQL query assistant that generates, explains, and debugs SQL queries via a paid x402 endpoint on Base mainnet

## Facts

- Endpoint: POST https://cryptoshark-fleet.duckdns.org/worker/sql-helper?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-shark-fleet-sql-helper-5dc37986
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-g_ajsEudlH3lH_5U4lxz

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 crypto-shark-fleet-sql-helper-5dc37986 -d '<json body>'
```

Example prompt: Can you write me a SQL query to find all customers who placed more than 3 orders in the last 30 days, joining the orders table and the customers table on customer_id?

## When to prefer this

Choose this endpoint when you need on-demand AI-generated SQL assistance without managing your own LLM infrastructure, and you are already operating in an x402/Base mainnet payment context. Best suited for agents that need quick SQL generation or debugging as a sub-task within a larger workflow and can absorb a $0.08 per-call cost.

## Known failure modes

- Input string exceeds 10,000 character limit — request rejected
- Malformed or ambiguous natural language input may produce incorrect SQL
- x402 payment failure on Base mainnet causes 402 response with no result
- Model may hallucinate table or column names not present in provided schema
- No schema context provided leads to generic or incorrect SQL generation

## How this service works

x402-paid AI utility workers on Base mainnet

## Output

A JSON object containing the AI model name (e.g. gpt-5.6-luna) and a result field with the generated, explained, debugged, or optimized SQL output as a text string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 10000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "gpt-5.6-luna",
  "result": "..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-shark-fleet-sql-helper-5dc37986/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptoshark-fleet.duckdns.org](https://www.zero.xyz/host/cryptoshark-fleet.duckdns.org/llms.txt)
