Example inputPOST /api/v1/x402/take-profit-pct
{
"entry": 100,
"pct": 0.05,
"side": "long"
}
Portable intent card · commercial-operations
Take-profit price from entry and target percent move. Call when placing TP levels from percent playbooks. Returns take-profit price 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.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/take-profit-pct -m POST -H 'x-delx-source: intent-card-take-profit-pct-api' --max-amount 0.001 -b '{"entry":100,"pct":0.05,"side":"long"}'
{
"entry": 100,
"pct": 0.05,
"side": "long"
}
{
"intent": "Take-Profit from % for an agent workflow",
"tool_name": "util_take_profit_pct",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/take-profit-pct-api.json"
}
Portable and inspectable