{
  "format": "delx/intent-card/v1",
  "id": "cors-origin-check-api",
  "intent": "CORS Origin Check for an agent workflow",
  "title": "CORS Origin Check API for agents",
  "description": "CORS Origin Check: CORS Origin Check compares a request origin with explicit allowed origins from bounded caller-supplied values without an external provider. Call CORS Origin Check before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for CORS Origin Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Evaluates only caller-supplied metadata; it performs no DNS lookup, HTTP request, web search, credential use, or persistent storage. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "CORS Origin Check API",
    "CORS Origin Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/cors-origin-check-api",
  "machine_url": "https://commerce.delx.ai/intents/cors-origin-check-api.json",
  "recommendation": {
    "tool_name": "util_cors_origin_check",
    "service_name": "CORS Origin Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/cors-origin-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "origin": {
          "type": "string",
          "maxLength": 8192,
          "description": "Origin supplied to CORS Origin Check; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed supplied to CORS Origin Check; used only for this bounded calculation and processed in memory without retention."
        },
        "credentials": {
          "type": "boolean",
          "description": "Credentials supplied to CORS Origin Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "origin",
        "allowed",
        "credentials"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "origin": "https://app.example.com",
      "allowed": [
        "https://app.example.com",
        "https://admin.example.com"
      ],
      "credentials": true
    },
    "example_output": {
      "schema": "delx/util-cors-origin-check/v1",
      "operation": "web_reliability:cors_origin_check",
      "status": "pass",
      "result": {
        "origin": "https://app.example.com/",
        "allowed": true,
        "credentials": true
      },
      "evidence": {
        "input_sha256": "502a62c83d87812324c4b1fe1a2a0df77db850e0a6e49fef68313499e8d02d82",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/cors-origin-check -m POST -H 'x-delx-source: intent-card-cors-origin-check-api' --max-amount 0.001 -b '{\"origin\":\"https://app.example.com\",\"allowed\":[\"https://app.example.com\",\"https://admin.example.com\"],\"credentials\":true}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-cors-origin-check-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/cors-origin-check"
  }
}
