{"uid":"cap_KK61EEeyD4nch11UUjwdZ","slug":"delx-commerce-take-profit-price-calculator-b29f68d2","name":"Delx Commerce — Take Profit Price 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/take-profit-pct?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pct":{"type":"number","description":"Input field: pct."},"side":{"type":"string","description":"Input field: side."},"entry":{"type":"integer","description":"Input field: entry."}}},"responseSchema":{"type":"json","example":{"pct":0.05,"side":"long","entry":100,"schema":"delx/util-take-profit-pct/v1","take_profit":105}},"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_OLzIju2h57XrRwER0F79x","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 take-profit price level for a trade given an entry price, position side, and target profit percentage","exampleAgentPrompt":"I'm entering a long position at 100 and want to take profit at 5% gain — what price should I set my take profit order at?","exampleUseCases":[{"title":"Long trade exit price planning","prompt":"I'm going long on a crypto asset with an entry at 250 and I want to lock in profits at 8% — what take profit price should I set?"},{"title":"Short position profit target","prompt":"I'm shorting a stock, entering at 500, and targeting a 3% profit. What price should my take profit order be placed at?"},{"title":"Automated trading bot order setup","prompt":"My bot just opened a long at entry price 1800 and needs a take profit target at 4.5% above entry — what's the exact price to use?"}],"resultDescription":"Returns a JSON object containing the echo of input parameters (pct, side, entry), a schema identifier ('delx/util-take-profit-pct/v1'), and the computed take_profit price as a numeric value representing the price level at which to place the take-profit order.","failureModes":["Missing required fields (pct, side, or entry) returns a validation error","Invalid side value (not 'long' or 'short') may cause unexpected results","Non-numeric entry or pct values return a parsing error","Payment failure via x402 protocol results in 402 response before computation","Extremely large or small numbers may cause precision issues in the output"],"whenToPreferThis":"Choose this endpoint when an AI trading agent needs a fast, cheap, deterministic computation of a take-profit price from a percentage target and entry price, especially within an automated trading workflow that uses x402 micropayments on Base or Solana. It is preferable over general-purpose math tools when you want a finance-domain-specific, schema-versioned result that can be verified and audited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:57.910Z","isFirstParty":false,"canonicalSlug":"delx-commerce-take-profit-price-calculator-b29f68d2"}