{"uid":"cap_EcPbhPLFqvCsJeUhc7CGl","slug":"delx-commerce-position-value-calculator-aca530b3","name":"Delx Commerce — Position Value Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/position-value?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"size":{"type":"number","description":"Input field: size."},"price":{"type":"integer","description":"Input field: price."}}},"responseSchema":{"type":"json","example":{"size":2.5,"price":40,"value":100,"schema":"delx/util-position-value/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ltaGOikin0HDqDcIjFDkr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the total value of a trading position given size and price per unit","exampleAgentPrompt":"What's the total value of a position with a size of 2.5 units at a price of 40?","exampleUseCases":[{"title":"Risk check before order execution","prompt":"Before I submit this order, can you tell me the total notional value of a position that's 5 units in size at a price of 120?"},{"title":"Portfolio position valuation","prompt":"I have a position with a size of 2.5 and each unit is priced at 40 — what's the total value of that position?"},{"title":"Automated P&L tracking","prompt":"For my trading bot: compute the position value for a size of 10 units at a price of 250 so I can track notional exposure."}],"resultDescription":"Returns a JSON object containing the input size, input price, computed value (size × price), and a schema identifier string ('delx/util-position-value/v1') for verifiable delivery tracking.","failureModes":["Missing required fields (size or price) results in a 4xx error","Non-numeric or invalid type for size/price fields causes a validation error","Payment not provided or rejected via x402 protocol results in 402 Payment Required","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a simple, verifiable, pay-per-call computation of position value (size × price) without signup or subscription overhead. Ideal for AI agents in automated trading pipelines that need a lightweight, trustless utility call with USDC micropayment settlement on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:41.769Z","isFirstParty":false,"canonicalSlug":"delx-commerce-position-value-calculator-aca530b3"}