{
  "format": "delx/intent-card/v1",
  "id": "accept-encoding-rank-api",
  "intent": "Accept Encoding Rank for an agent workflow",
  "title": "Accept Encoding Rank API for agents",
  "description": "Accept Encoding Rank: Accept Encoding Rank ranks supported content codings against Accept-Encoding weights from bounded caller-supplied values without an external provider. Call Accept Encoding Rank 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 Accept Encoding Rank 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": [
    "Accept Encoding Rank API",
    "Accept Encoding Rank for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/accept-encoding-rank-api",
  "machine_url": "https://commerce.delx.ai/intents/accept-encoding-rank-api.json",
  "recommendation": {
    "tool_name": "util_accept_encoding_rank",
    "service_name": "Accept Encoding Rank",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/accept-encoding-rank",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "header": {
          "type": "string",
          "maxLength": 8192,
          "description": "Header supplied to Accept Encoding Rank; used only for this bounded calculation and processed in memory without retention."
        },
        "offers": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Offers supplied to Accept Encoding Rank; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "header",
        "offers"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "header": "br;q=1, gzip;q=0.8, identity;q=0.1",
      "offers": [
        "gzip",
        "br"
      ]
    },
    "example_output": {
      "schema": "delx/util-accept-encoding-rank/v1",
      "operation": "web_reliability:accept_encoding_rank",
      "status": "pass",
      "result": {
        "ranked": [
          {
            "offer": "br",
            "quality": 1
          },
          {
            "offer": "gzip",
            "quality": 0.8
          }
        ],
        "selected": "br"
      },
      "evidence": {
        "input_sha256": "38b764e7204eb17f82ed20cce029e6a2c8cd6149a609fe91d9a2ab05143350ab",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/accept-encoding-rank -m POST -H 'x-delx-source: intent-card-accept-encoding-rank-api' --max-amount 0.001 -b '{\"header\":\"br;q=1, gzip;q=0.8, identity;q=0.1\",\"offers\":[\"gzip\",\"br\"]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-accept-encoding-rank-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/accept-encoding-rank"
  }
}
