{"uid":"cap_rS1pvxmOtfHzs3lZckKbN","slug":"tollmint-dark-pattern-detector-87514864","name":"Tollmint Dark Pattern Detector","description":"An API that quotes its own price and takes payment in the same request. Built for autonomous agents: no account, no invoice, no human in the loop.","url":"https://api.tollmint.com/v1/psych/dark-pattern-detect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Page to analyse. Fetched respecting robots.txt."},"html":{"type":"string","maxLength":2000000,"description":"Raw HTML, if you already have it. Takes precedence over url."},"jurisdiction":{"type":"string","maxLength":20,"description":"Filter findings to a jurisdiction, e.g. \"EU\" or \"US\". Omit for all."},"fail_above_severity":{"type":"integer","maximum":100,"minimum":0,"description":"Sets verdict to \"fail\" when any pattern meets or exceeds this severity. Useful in CI."}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YWH3IKYcfELs-lmlacadl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a webpage (by URL or raw HTML) to detect dark UX patterns, returning findings with severity scores and a pass/fail verdict.","exampleAgentPrompt":"Scan https://example-shop.com/checkout for dark patterns and flag anything severity 70 or above as a failure — filter results to EU regulations only.","exampleUseCases":[{"title":"Pre-launch compliance audit","prompt":"Before we push the new signup flow live, scan https://app.myproduct.com/signup for any dark patterns and fail if anything hits severity 60 or higher under EU rules."},{"title":"Competitor UX ethics check","prompt":"Check https://competitor.com/pricing for dark patterns — I want to see everything flagged regardless of jurisdiction, with severity scores for each finding."},{"title":"CI gate for deceptive design","prompt":"I'm pasting the raw HTML of our checkout page — can you scan it for dark patterns and return a pass/fail verdict, failing on anything at severity 50 or above?"}],"resultDescription":"A JSON response listing detected dark patterns on the page, each with a pattern type, description, and severity score (0–100), plus an overall verdict of 'pass' or 'fail' based on the configured threshold. Optionally filtered by jurisdiction (e.g. EU, US).","failureModes":["URL is unreachable or blocked by robots.txt — fetch fails with an error","HTML payload exceeds 2,000,000 character limit — request rejected","Invalid jurisdiction code returns no filtered results or an error","fail_above_severity out of 0–100 range causes validation error","Page has no detectable dark patterns — returns empty findings list with 'pass' verdict","Payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Use this endpoint when you need automated, per-call dark pattern detection without setting up an account or managing API credentials — ideal for CI pipelines, agent-driven compliance checks, or one-off audits where pay-per-call economics are preferred. It is particularly suited when you need jurisdiction-specific filtering (EU/US) or a programmatic pass/fail gate based on severity thresholds.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:45:02.366Z","isFirstParty":false}