{"uid":"cap_32zJkoDtqK6LdVSrbOtVr","slug":"sql-guard-sql-injection-risk-analyzer-dac24d2e","name":"SQL Guard - SQL Injection Risk Analyzer","description":"Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.","url":"https://anibalb.duckdns.org/x402/sql-guard?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"risks":[],"verdict":"pass"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_Ua5-ekkwDyjnQbZo3KmWx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes HTTP GET requests for SQL injection risks and returns a verdict indicating whether the request is safe or flagged as dangerous","exampleAgentPrompt":"Can you check if this incoming GET request is safe from SQL injection — the query parameters include a search field with value 'SELECT * FROM users WHERE id=1 OR 1=1'?","exampleUseCases":[{"title":"Validate user search input before query","prompt":"Before I run this database query, check whether the user-supplied search parameter looks like a SQL injection attempt — the raw input is \"1'; DROP TABLE orders;--\"."},{"title":"Pre-filter API gateway requests","prompt":"Scan this incoming HTTP GET request for SQL injection risks so I can decide whether to allow it through to the backend or block it immediately."},{"title":"Security audit of logged request","prompt":"I have a suspicious GET request from my logs with a query string that looks weird — can you run it through a SQL injection detector and tell me if it's flagged as dangerous?"}],"resultDescription":"Returns a JSON object with a 'risks' array listing any detected SQL injection patterns and a 'verdict' field ('pass' if the request is clean, or an indication of detected risk). An empty risks array with verdict 'pass' means the request is considered safe.","failureModes":["Missing required 'input' body — returns validation error","Unsupported HTTP method (e.g. POST) passed as method value — rejected by enum constraint","Malformed JSON body — returns parse error","Payment not included or insufficient USDC — returns 402 Payment Required","Service temporarily unavailable — returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call SQL injection pre-filter with no account setup. Ideal for agents that need to validate untrusted HTTP request parameters before passing them to a database layer, or for security monitoring pipelines that want a quick verdict without running a full WAF. Best for GET/HEAD/DELETE request validation specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:48.328Z","isFirstParty":false,"canonicalSlug":"sql-guard-sql-injection-risk-analyzer-dac24d2e"}