{
  "format": "delx/intent-card/v1",
  "id": "url-redirect-target-check-api",
  "intent": "URL Redirect Target Check for an agent workflow",
  "title": "URL Redirect Target Check API for agents",
  "description": "URL Redirect Target Check: URL Redirect Target Check checks a redirect target against allowed schemes and hosts from bounded caller-supplied values without an external provider. Call URL Redirect Target 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 Redirect Target 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 Redirect Target Check API",
    "URL Redirect Target 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-redirect-target-check-api",
  "machine_url": "https://commerce.delx.ai/intents/url-redirect-target-check-api.json",
  "recommendation": {
    "tool_name": "util_url_redirect_target_check",
    "service_name": "URL Redirect Target Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/url-redirect-target-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "base_url": {
          "type": "string",
          "maxLength": 8192,
          "description": "Base URL supplied to URL Redirect Target Check; used only for this bounded calculation and processed in memory without retention."
        },
        "target": {
          "type": "string",
          "maxLength": 8192,
          "description": "Target supplied to URL Redirect Target Check; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed_hosts": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed Hosts supplied to URL Redirect Target Check; used only for this bounded calculation and processed in memory without retention."
        },
        "allowed_schemes": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Allowed Schemes supplied to URL Redirect Target Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "base_url",
        "target",
        "allowed_hosts",
        "allowed_schemes"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "base_url": "https://example.com/start",
      "target": "/account",
      "allowed_hosts": [
        "example.com"
      ],
      "allowed_schemes": [
        "https"
      ]
    },
    "example_output": {
      "schema": "delx/util-url-redirect-target-check/v1",
      "operation": "web_reliability:url_redirect_target_check",
      "status": "pass",
      "result": {
        "resolved_url": "https://example.com/account",
        "host": "example.com",
        "scheme": "https",
        "allowed": true
      },
      "evidence": {
        "input_sha256": "6a1d59c98f30fc06ce9df9cfcba2c305b66be8e5eb56388a33bf40e364792c0c",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/url-redirect-target-check -m POST -H 'x-delx-source: intent-card-url-redirect-target-check-api' --max-amount 0.001 -b '{\"base_url\":\"https://example.com/start\",\"target\":\"/account\",\"allowed_hosts\":[\"example.com\"],\"allowed_schemes\":[\"https\"]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-url-redirect-target-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-redirect-target-check"
  }
}
