{
  "format": "delx/intent-card/v1",
  "id": "handoff-size-estimate-api",
  "intent": "Handoff Capsule Size Estimate for an agent workflow",
  "title": "Handoff Capsule Size Estimate API for agents",
  "description": "Estimate bytes/tokens for a handoff capsule string. Call when Protocol-adjacent sizing before free handoff storage. Returns bytes and token_estimate as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.",
  "keywords": [
    "Handoff Capsule Size Estimate API",
    "Handoff Capsule Size Estimate for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/handoff-size-estimate-api",
  "machine_url": "https://commerce.delx.ai/intents/handoff-size-estimate-api.json",
  "recommendation": {
    "tool_name": "util_handoff_size_estimate",
    "service_name": "Handoff Capsule Size Estimate",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/handoff-size-estimate",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "text": {
          "type": "string",
          "description": "UTF-8 text content to hash or size"
        }
      },
      "required": [
        "text"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "text": "hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world "
    },
    "example_output": {
      "schema": "delx/util-handoff-size-estimate/v1",
      "bytes": 600,
      "token_estimate": 150
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/handoff-size-estimate -m POST -H 'x-delx-source: intent-card-handoff-size-estimate-api' --max-amount 0.001 -b '{\"text\":\"hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world hello world \"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-handoff-size-estimate-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/handoff-size-estimate"
  }
}
