{
  "format": "delx/intent-card/v1",
  "id": "basis-pct-api",
  "intent": "Basis Percent for an agent workflow",
  "title": "Basis Percent API for agents",
  "description": "Basis percent = (future − spot) / spot for carry checks. Call when cash-and-carry or premium/discount scans from caller prices. Returns basis percent 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": [
    "Basis Percent API",
    "Basis Percent for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/basis-pct-api",
  "machine_url": "https://commerce.delx.ai/intents/basis-pct-api.json",
  "recommendation": {
    "tool_name": "util_basis_pct",
    "service_name": "Basis Percent",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/basis-pct",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "spot": {
          "description": "Input field: spot.",
          "type": "integer"
        },
        "future": {
          "description": "Input field: future.",
          "type": "number"
        }
      },
      "required": [
        "spot",
        "future"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "spot": 100,
      "future": 101.5
    },
    "example_output": {
      "schema": "delx/util-basis-pct/v1",
      "spot": 100,
      "future": 101.5,
      "basis_pct": 1.5
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/basis-pct -m POST -H 'x-delx-source: intent-card-basis-pct-api' --max-amount 0.001 -b '{\"spot\":100,\"future\":101.5}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-basis-pct-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/basis-pct"
  }
}
