{"uid":"cap_QWWVq9bPoWOTO4KmsHRM6","slug":"delx-commerce-robots-txt-allow-path-checker-b789b42b","name":"Delx Commerce — robots.txt Allow-Path Checker","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/robots-allow-path?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"path":{"type":"string","description":"Input field: path."},"robots_txt":{"type":"string","description":"Input field: robots txt."},"user_agent":{"type":"string","description":"Input field: user agent."}}},"responseSchema":{"type":"json","example":{"ok":true,"note":"Local parse of caller-held robots.txt; not a network fetch","path":"/public/docs","reason":"matched_allow","schema":"delx/util-robots-allow-path/v1","allowed":true,"user_agent":"*","matched_rule":"/public"}},"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_PJTxX0NX_hnJ6xPGuMVQJ","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":"Parses a caller-supplied robots.txt and determines whether a given path is allowed for a specified user-agent, without fetching any URLs.","exampleAgentPrompt":"Check whether the path '/public/docs' is allowed for user-agent '*' using this robots.txt content: 'User-agent: *\\nDisallow: /private\\nAllow: /public'","exampleUseCases":[{"title":"Pre-scrape compliance check","prompt":"Before my scraper hits any pages, check if '/products/listings' is allowed for user-agent 'MyBot' using the robots.txt I just fetched — here it is: 'User-agent: *\\nDisallow: /admin\\nAllow: /products'"},{"title":"SEO audit robots validation","prompt":"I'm auditing a site's robots.txt — can you tell me if '/blog/post-123' would be accessible to Googlebot given this robots.txt: 'User-agent: Googlebot\\nAllow: /blog\\nDisallow: /'"},{"title":"Agent web-access policy enforcement","prompt":"My AI agent is about to visit '/internal/reports' — first check if that path is allowed for user-agent 'GPTBot' using this robots.txt text I have on hand: 'User-agent: GPTBot\\nDisallow: /internal'"}],"resultDescription":"Returns a JSON object with a boolean 'allowed' field, the matched user-agent string, the specific rule that matched, a human-readable 'reason' code (e.g. 'matched_allow' or 'matched_disallow'), and a schema identifier. No network fetch is performed — analysis is purely local against the provided robots.txt text.","failureModes":["Missing 'path' field returns an error or unexpected result","Malformed robots.txt content may yield no matched rule and a default-allow result","Unrecognized or non-standard robots.txt directives may be silently ignored","Payment failure via x402 protocol prevents the call from completing","Empty or null robots_txt treated as permissive (no rules matched)"],"whenToPreferThis":"Use this endpoint when you already have the robots.txt content in memory and want a fast, deterministic, on-the-fly parse without triggering a network fetch. Prefer it over a full crawl-check service when you need to batch-check many paths against a single robots.txt, when you want verifiable pay-per-result pricing with no subscription, or when compliance auditing requires reproducible, traceable results. Not suitable when you need the endpoint to fetch the robots.txt itself from a live URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:51:11.935Z","isFirstParty":false,"canonicalSlug":"delx-commerce-robots-txt-allow-path-checker-b789b42b"}