{"uid":"cap_-g_ajsEudlH3lH_5U4lxz","slug":"crypto-shark-fleet-sql-helper-5dc37986","name":"Crypto Shark Fleet SQL Helper","description":"x402-paid AI utility workers on Base mainnet","url":"https://cryptoshark-fleet.duckdns.org/worker/sql-helper?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":10000}}},"responseSchema":{"type":"json","example":{"model":"gpt-5.6-luna","result":"..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Kvg6v8-i7UBmgWXmQDsaC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"AI-powered SQL query assistant that generates, explains, and debugs SQL queries via a paid x402 endpoint on Base mainnet","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Natural language to SQL conversion","prompt":"I have a table called 'sales' with columns: date, product_id, quantity, and revenue. Write me a SQL query that returns total revenue per product for Q1 2024, sorted highest to lowest."},{"title":"Debugging a broken SQL query","prompt":"This SQL query is throwing an error — can you fix it? SELECT customer_name, SUM(order_total) FROM orders LEFT JOIN customers ON orders.customer_id = customers.id WHERE order_date > '2024-01-01' GROUP customer_name"},{"title":"Explaining a complex query","prompt":"Can you explain what this SQL query does in plain English, step by step? SELECT p.name, AVG(r.rating) as avg_rating FROM products p INNER JOIN reviews r ON p.id = r.product_id GROUP BY p.name HAVING COUNT(r.id) > 10 ORDER BY avg_rating DESC LIMIT 5"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:48:28.632Z","isFirstParty":false,"canonicalSlug":"crypto-shark-fleet-sql-helper-5dc37986"}