API CatalogCORS Checker

CORS Checker API

Check CORS behavior for a URL and origin. Use it in API audits, frontend debugging, security checks, and developer support workflows.

Endpoint

POST /v1/utility/cors/check

Request body

FieldTypeRequiredDescription
urlstringYesURL to check for CORS behavior.
originstringNoOrigin to send in the check request. Defaults to https://example.com.

Example request

curl --request POST \
  --url https://apimask-email-domain-validation-api.p.rapidapi.com/v1/utility/cors/check \
  --header "Content-Type: application/json" \
  --header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
  --header "X-RapidAPI-Host: apimask-email-domain-validation-api.p.rapidapi.com" \
  --data '{"url":"https://api.example.com","origin":"https://app.example.com"}'

Example response

{
  "success": true,
  "data": {
    "url": "https://api.example.com",
    "status_code": 200,
    "allows_origin": true,
    "allows_credentials": false,
    "allowed_methods": ["GET", "POST"],
    "exposed_headers": [],
    "risk_level": "low",
    "warnings": []
  },
  "error": null,
  "meta": {}
}