{"uid":"cap_RnNj0kBsBVerNqOP0eFvK","slug":"cors-check-for-url-d11ce91c","name":"CORS Check for URL","description":"Deterministic JSON repair and JSON Schema validation for AI agents. Free MCP, inspect, validate, repair. Paid POST /v1/json/reliable 0.003 USDC via x402 on Base.","url":"https://agent-json-reliability.onrender.com/v1/url/cors-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oPZ-O0w1sTxzFs75iZv7P","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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's CORS headers allow cross-origin requests from browsers or agents","exampleAgentPrompt":"Can you check if https://api.example.com/data has CORS enabled so I know whether my browser-based app can fetch it directly?","exampleUseCases":[{"title":"Pre-integration CORS validation","prompt":"Before I integrate this third-party API into my React frontend, can you verify that https://api.thirdparty.com/v1/products supports CORS so my browser can call it directly?"},{"title":"Debugging cross-origin fetch errors","prompt":"My app is getting blocked by CORS when calling https://myservice.io/api/orders — can you check if that URL actually has CORS headers set correctly?"},{"title":"Automated API compatibility check","prompt":"I'm building a list of public APIs my browser extension can use — can you check if https://public.data.gov/api/records has CORS enabled?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the target URL passes a CORS check, confirming if cross-origin requests are allowed.","failureModes":["Target URL is unreachable or returns a non-2xx status, resulting in ok: false","URL has no CORS headers at all, returning ok: false","Invalid or malformed URL input causing a request error","Timeout if the target server is slow to respond"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic check of whether a specific URL permits cross-origin HTTP requests — particularly useful before integrating a third-party API into a browser-based app or agent that runs in a browser context. Prefer this over manual inspection when automating compatibility checks across multiple endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T02:36:13.892Z","isFirstParty":false,"canonicalSlug":"cors-check-for-url-d11ce91c"}