Otto AI — Update Perpetual Position Margin is a paid API for AI agents from x402.ottoai.services, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).
Adjusts the margin (and recalculates leverage) on an existing perpetual futures position for a given asset
93 pay-per-call AI services on x402 V2 — market intel, DeFi execution, AI creative tools. USDC on Base on every endpoint, Solana USDC on 68 of 93. From $0.001 per call.
Returns a JSON object confirming the asset (e.g. 'BTC'), a success boolean, the updated margin value (e.g. 150 USDC), and the recalculated leverage (e.g. 20x) after the margin adjustment.
POSThttps://x402.ottoai.services/update-position-marginUse this endpoint when an AI agent needs to programmatically adjust the margin on an existing perpetual futures position — for example, to reduce liquidation risk by adding margin or to change effective leverage. Prefer this over manual exchange interfaces when automating risk management workflows.
| Field | Type | Description |
|---|---|---|
| asset | string | Asset ticker of the open position |
| action | string | Operation to perform. |
| amount | number | USDC amount to add or remove. Required for add_margin/remove_margin. On update_leverage it is read as the new leverage value. |
| leverage | number | New leverage. Required for update_leverage. Max varies by asset (BTC 40x, ETH 25x, SOL/XRP 20x). |
| marginMode | string | Optional, applies to update_leverage only. |
| userAddress | string | Optional for external x402 callers — the operated account is your verified payment payer, not this field. Internal/dApp callers must send a valid EVM address. |
{
"type": "json",
"example": {
"asset": "BTC",
"action": "update_leverage",
"status": "success",
"outcome": "applied",
"leverage": 20,
"marginMode": "cross"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"