CORS Checker - Test Access-Control Headers and Preflight avatar

CORS Checker - Test Access-Control Headers and Preflight

Pricing

$20.00 / 1,000 url checkeds

Go to Apify Store
CORS Checker - Test Access-Control Headers and Preflight

CORS Checker - Test Access-Control Headers and Preflight

Test the CORS configuration of any URL or API endpoint. Input: urls array + optional origin/method to test. Output: JSON per URL with actual and preflight (OPTIONS) Access-Control-* headers, allowed origins and methods, and misconfiguration flags. Priced per URL checked.

Pricing

$20.00 / 1,000 url checkeds

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Share

CORS Configuration Checker

Instantly audit the CORS setup of any URL or API endpoint — and catch the misconfigurations that cause production bugs and security holes.

Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.

What you get

For every endpoint, the actor sends a real cross-origin GET (with an Origin header) and an OPTIONS preflight (with Access-Control-Request-Method), then reads back the Access-Control-* headers and flags problems:

  • allowOrigin / allowMethods / allowHeaders / allowCredentials — the exact CORS policy the server returns
  • preflightOk — whether the OPTIONS preflight actually permits your origin
  • issues — human-readable flags for the dangerous cases:
    • insecure wildcard * origin with credentials (browsers reject it — broken config)
    • reflects-any-origin — server echoes back any origin you send (open CORS)
    • missing-cors — no CORS headers at all
    • Access-Control-Allow-Origin: null exploit

Single URL or bulk (array / newline / comma-separated), with a configurable test origin.

Input

{
"url": "https://api.github.com",
"urls": ["https://example.com"],
"origin": "https://example.com",
"maxUrls": 25
}

Output

{
"url": "https://api.github.com/",
"origin": "https://example.com",
"allowOrigin": "*",
"allowMethods": "GET, POST, PATCH, PUT, DELETE",
"allowHeaders": "Authorization, Content-Type",
"allowCredentials": null,
"preflightOk": true,
"corsEnabled": true,
"secure": true,
"issues": [],
"actual": { "status": 200, "allowOrigin": "*" },
"preflight": { "status": 204, "allowOrigin": "*", "allowMethods": "GET, POST, PATCH, PUT, DELETE" }
}

Pricing: pay-per-event — $0.02 per URL checked.