{"uid":"cap_prcDihmslEYvnpT-juv2N","slug":"kihustle-sql-query-formatter-796703e9","name":"KiHustle SQL Query Formatter","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/api/v1/sql-query-formatter","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"tags":{"type":"array","items":{"type":"string"}},"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"category":{"type":"string"},"toolName":{"type":"string"},"description":{"type":"string"},"serviceName":{"type":"string"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S8VkPtoJj9ANZzJjWXCOG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Formats and prettifies raw SQL queries into a clean, readable structure","exampleAgentPrompt":"Can you format this SQL query so it's properly indented and readable? SELECT u.id, u.name, o.total FROM users u JOIN orders o ON u.id = o.user_id WHERE o.total > 100 ORDER BY o.total DESC","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'result' field containing the formatted SQL string and a 'status' field confirming success. The formatted SQL is prettified with proper indentation, line breaks, and consistent casing.","failureModes":["Invalid or unparseable SQL input returns an error status","Empty request body may return a 400-level error","Malformed JSON request body may be rejected","Very large SQL queries may time out or be truncated"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call SQL formatting service accessible via HTTP POST without needing to install a local library. Suitable for agents that receive raw SQL strings from users and need to return formatted, human-readable versions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:43.045Z","isFirstParty":false}