CORS check (preflight + allowed origins)
$0.0021 USD per call Pay per call via x402, no signup
This call checks whether a browser on a given origin is allowed to call a URL: it sends a CORS preflight (OPTIONS) and a GET with Origin, and it reports Access-Control-Allow-Origin, Credentials, Methods, Headers, Max-Age, and Vary: Origin. It also flags arbitrary-origin reflection, a wildcard with credentials, and a null origin; results are cached 5 minutes.
x402: GET https://shop.lordevo.com/api/quick/cors-check?url=https://example.com/&origin=https://app.example.com · MCP tool cors_check at https://shop.lordevo.com/mcp
The first call answers HTTP 402 with the price ($0.0021 USD per call, USDC on Base); any x402 client pays and retries. Instant tools that fail or are refused are not charged. Discovery is free: /catalog.json, /openapi.json, /llms.txt.
Example
The catalog's own example for this tool (illustrative sample values, not a live result).
Input
{
"url": "https://example.com/",
"origin": "https://app.example.com"
}Output
{
"tool": "cors-check",
"url": "https://example.com/",
"origin": "https://app.example.com",
"method": "GET",
"allowed": false,
"allow_origin": null,
"allow_credentials": false,
"allow_methods": null,
"preflight_status": 405,
"get_status": 200,
"vary_origin": false,
"reflects_arbitrary_origin": false,
"issues": []
}