{"uid":"cap_ZnFrtV-LHDflA5Suukfqv","slug":"delx-commerce-url-allowlist-match-29b16e65","name":"Delx Commerce — URL Allowlist Match","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/url-allowlist-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Input field: url."},"allowlist":{"type":"array","description":"Input field: allowlist."}}},"responseSchema":{"type":"json","example":{"ok":true,"host":"api.delx.ai","path":"/api/v1/x402/hash","schema":"delx/util-url-allowlist-match/v1","scheme":"https","allowed":true,"matched_pattern":"api.delx.ai"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bHflbp3RYODYXyFiXFKyZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given URL matches any pattern in a provided allowlist, returning host, path, and match details.","exampleAgentPrompt":"Before you call that external endpoint, check whether https://api.delx.ai/api/v1/x402/hash is allowed against my allowlist of ['api.delx.ai', 'api.openai.com'].","exampleUseCases":[{"title":"Agent outbound request gating","prompt":"Before making any external API call, check if the target URL matches my approved domain list — only proceed if it's allowed. The URL is https://api.stripe.com/v1/charges and my allowlist is ['api.stripe.com', 'api.sendgrid.com']."},{"title":"Security policy enforcement for tool calls","prompt":"I want to enforce that my AI agent only calls URLs on my whitelist. Can you verify that https://hooks.slack.com/services/T00/B00/xyz is permitted against my allowlist patterns ['hooks.slack.com', '*.github.com']?"},{"title":"Dynamic URL filtering in a workflow","prompt":"I'm building an automation that scrapes multiple URLs — before each one, check if it's on the approved list ['news.ycombinator.com', 'arxiv.org']. Start with https://news.ycombinator.com/item?id=12345."}],"resultDescription":"Returns a JSON object with 'ok' (boolean), 'allowed' (boolean), 'host' (string), 'path' (string), 'scheme' (string), 'matched_pattern' (string if matched), and 'schema' identifier. Tells the caller definitively whether the URL is allowed and which pattern it matched.","failureModes":["URL is malformed or unparseable — returns ok:false or validation error","Allowlist is empty or not provided — no patterns to match against, returns allowed:false","URL does not match any allowlist entry — returns allowed:false with no matched_pattern","Network or service error — HTTP 5xx or payment-related 402 if payment not attached"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, verifiable, pay-per-use check of whether a URL is permitted by a policy allowlist before making outbound calls. Prefer it over client-side regex matching when you need an auditable, neutral third-party validation with a cryptographic payment trail via x402/USDC, especially in multi-agent or zero-trust environments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.007Z","isFirstParty":false,"canonicalSlug":"delx-commerce-url-allowlist-match-29b16e65"}