Example inputPOST /api/v1/x402/stop-loss-pct
{
"entry": 100,
"pct": 0.02,
"side": "long"
}
Portable intent card · commercial-operations
Stop-loss price from entry and stop percent move. Call when placing SL levels from percent risk rules. Returns stop-loss 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/stop-loss-pct -m POST -H 'x-delx-source: intent-card-stop-loss-pct-api' --max-amount 0.001 -b '{"entry":100,"pct":0.02,"side":"long"}'
{
"entry": 100,
"pct": 0.02,
"side": "long"
}
{
"intent": "Stop-Loss from % for an agent workflow",
"tool_name": "util_stop_loss_pct",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/stop-loss-pct-api.json"
}
Portable and inspectable