{
  "format": "delx/intent-card/v1",
  "id": "url-port-policy-check-api",
  "intent": "URL Port Policy Check for an agent workflow",
  "title": "URL Port Policy Check API for agents",
  "description": "URL Port Policy Check: URL Port Policy Check checks a URL effective port against a caller allowlist from bounded caller-supplied values without an external provider. Call URL Port Policy 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 URL Port Policy 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": [
    "URL Port Policy Check API",
    "URL Port Policy Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/url-port-policy-check-api",
  "machine_url": "https://commerce.delx.ai/intents/url-port-policy-check-api.json",
  "recommendation": {
    "tool_name": "util_url_port_policy_check",
    "service_name": "URL Port Policy Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/url-port-policy-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 8192,
          "description": "URL supplied to URL Port Policy Check; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed_ports": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "integer"
          },
          "description": "Allowed Ports supplied to URL Port Policy Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "url",
        "allowed_ports"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "url": "https://example.com:8443/api",
      "allowed_ports": [
        443,
        8443
      ]
    },
    "example_output": {
      "schema": "delx/util-url-port-policy-check/v1",
      "operation": "web_reliability:url_port_policy_check",
      "status": "pass",
      "result": {
        "effective_port": 8443,
        "allowed": true
      },
      "evidence": {
        "input_sha256": "3c3ea04a21ed18c950af0adf058569fc48c74f8beaa16d9066f239014d36a638",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/url-port-policy-check -m POST -H 'x-delx-source: intent-card-url-port-policy-check-api' --max-amount 0.001 -b '{\"url\":\"https://example.com:8443/api\",\"allowed_ports\":[443,8443]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-url-port-policy-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/url-port-policy-check"
  }
}
