{"uid":"cap_km3fWF83I2J3ne5y3XkTg","slug":"mark-position-value-97fde4e2","name":"Mark Position Value","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.","url":"https://api.delx.ai/api/v1/x402/position-value","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_zH7kouliDDYcXBkIZjKqz","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":"Computes the dollar value of an equity position by marking it to a specified price using local arithmetic, returning deterministic JSON.","exampleAgentPrompt":"What's the total value of my position if I hold 250 shares marked at a price of 148?","exampleUseCases":[{"title":"Equity snapshot portfolio mark","prompt":"I have 500 shares and I want to mark them at a price of 192 — what's the total position value for my portfolio snapshot?"},{"title":"Risk exposure check at target price","prompt":"If I'm holding 1000 shares and I want to see my exposure at a mark price of 75, what would the position be worth?"},{"title":"P&L scenario at hypothetical price","prompt":"Run the math on a 300-share position valued at a mark price of 210 so I can see what it comes out to."}],"resultDescription":"Returns deterministic JSON containing the computed position value (size × mark price) at the specified mark, with no reliance on live market data, external APIs, or storage. Advisory output only.","failureModes":["Missing or invalid size field returns an error","Missing or non-integer price field returns an error","Negative or zero size/price may produce unexpected results","Payment failure via x402 prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, local calculation of an equity position's value at a specific mark price — especially when no live exchange feed is available. Ideal for portfolio snapshot tools, offline risk calculations, or any workflow requiring reproducible mark-to-price math without external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:14:00.007Z","isFirstParty":false}