{"uid":"cap_FndEHCaJCQuDXPcNhdyho","slug":"api-strale-io-8be2cc6d","name":"Website Cookie & Consent Banner Scanner","description":"Scan a website for cookies, tracking scripts, and consent banners. Categorizes cookies as necessary/analytics/marketing.","url":"https://api.strale.io/x402/cookie-scan","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","required":["url"],"properties":{"url":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"url":"https://example.com"}}},"response":{"url":"https://example.com","_meta":{"payment":{"method":"x402","price_usd":0.162,"settlement_id":"0x83e7936eed22016ccd678c68449db3d94800f7eaceb1c6b5a39c88696d108710"},"capability":"cookie-scan","latency_ms":1007,"provenance":{"source":"example.com","fetched_at":"2026-06-05T23:53:42.992Z"}},"cookies":[],"total_cookies":0,"potential_issues":[],"tracking_scripts":[],"first_party_count":0,"third_party_count":0,"consent_banner_text":null,"third_party_domains":[],"consent_banner_detected":false}},"exampleRequest":{"url":"https://example.com"},"tags":["x402"],"displayCostAmount":"0.162","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.162/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.162","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.162","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qe1P_gS31DsY9csEK340i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.162","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans a website URL for cookies, tracking scripts, and consent banners, categorizing cookies as necessary, analytics, or marketing.","exampleAgentPrompt":"Can you scan https://example.com for all the cookies it sets and tell me which ones are necessary, which are analytics, and which are marketing — and whether it shows a consent banner?","exampleUseCases":null,"resultDescription":"Returns a categorized list of cookies found on the scanned website, classified as necessary, analytics, or marketing, along with detected tracking scripts and whether a consent banner is present.","failureModes":["URL is unreachable or returns a non-200 response — scan fails with an error","Website blocks automated scanners (bot protection) — may return incomplete results","URL is malformed or missing — returns validation error","Website has no cookies at all — returns empty cookie lists","Payment not provided or insufficient — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to audit a specific website's cookie usage and consent compliance, categorize its tracking technologies, or verify whether a site presents a GDPR-style consent banner — particularly useful for privacy audits, compliance checks, or competitive research on data collection practices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:31:31.429Z","isFirstParty":false}