{
  "format": "delx/intent-card/v1",
  "id": "pairs-zscore-api",
  "intent": "Pairs Z-Score for an agent workflow",
  "title": "Pairs Z-Score API for agents",
  "description": "Z-score of spread series for pairs trading. Call when mean-reversion signals from a price-spread series. Returns zscore, mean, stdev 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": [
    "Pairs Z-Score API",
    "Pairs Z-Score for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/pairs-zscore-api",
  "machine_url": "https://commerce.delx.ai/intents/pairs-zscore-api.json",
  "recommendation": {
    "tool_name": "util_pairs_zscore",
    "service_name": "Pairs Z-Score",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/pairs-zscore",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "spread": {
          "type": "array",
          "description": "Spread series for pairs z-score"
        }
      },
      "required": [
        "spread"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "spread": [
        1,
        1.1,
        0.9,
        1.2,
        0.8,
        1
      ]
    },
    "example_output": {
      "schema": "delx/util-pairs-zscore/v1",
      "zscore": 0,
      "mean": 1,
      "stdev": 0.12909944487358055
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/pairs-zscore -m POST -H 'x-delx-source: intent-card-pairs-zscore-api' --max-amount 0.001 -b '{\"spread\":[1,1.1,0.9,1.2,0.8,1]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-pairs-zscore-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/pairs-zscore"
  }
}
