{
  "format": "delx/intent-card/v1",
  "id": "position-value-api",
  "intent": "Mark Position Value for an agent workflow",
  "title": "Mark Position Value API for agents",
  "description": "Mark a position to a given price for equity snapshots. Call when portfolio marks without a live exchange feed in the tool itself. Returns position value at mark 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": [
    "Mark Position Value API",
    "Mark Position Value for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/position-value-api",
  "machine_url": "https://commerce.delx.ai/intents/position-value-api.json",
  "recommendation": {
    "tool_name": "util_position_value",
    "service_name": "Mark Position Value",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/position-value",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "size": {
          "description": "Input field: size.",
          "type": "number"
        },
        "price": {
          "description": "Input field: price.",
          "type": "integer"
        }
      },
      "required": [
        "size",
        "price"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "size": 2.5,
      "price": 40
    },
    "example_output": {
      "schema": "delx/util-position-value/v1",
      "size": 2.5,
      "price": 40,
      "value": 100
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/position-value -m POST -H 'x-delx-source: intent-card-position-value-api' --max-amount 0.001 -b '{\"size\":2.5,\"price\":40}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-position-value-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/position-value"
  }
}
