← Back to directory

WARNING: CURRENTLY IN INTERNAL BETA TESTING. Close leveraged perpetual position....

https://api-ai-staging.symphony.io/x402/trade/close

Overview

WARNING: CURRENTLY IN INTERNAL BETA TESTING. Close leveraged perpetual position. FIXED FEE: $0.01 USDC for wallet verification. Step 1: Call WITH body parameters (walletAddress, positionId) but WITHOUT payment to receive payment instructions. Step 2: Call again WITH payment to execute. PnL automatically withdrawn to your wallet.

Protocol x402
Price $0.01
Payment Asset USD Coin
Payment Network Base
Category crypto/wallet
Provider api-ai-staging
Source bazaar
Indexed 2026-03-02 01:13:20

Health

Status degraded
Latency (p50) 173ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-07-04 19:42:18
Last Healthy Never
Consecutive Failures 1

x402 Payment Validation

Payment Requirements Invalid
Asset Verified
Facilitator

Input Schema

{ "bodyFields": { "positionId": { "description": "Position ID of the trade to close (obtained from open trade response)", "example": "pos_1762374390709", "required": true, "type": "string" }, "walletAddress": { "description": "Your EVM wallet address (EOA) - it is REQUIRED that this is the same wallet address as the one you are paying from. Otherwise the trade will fail.", "pattern": "^0x[a-fA-F0-9]{40}$", "required": true, "type": "string" } }, "bodyType": "json", "discoverable": true, "method": "POST", "type": "http" }

Output Schema

{ "properties": { "closedAt": { "description": "ISO timestamp of when position was closed", "type": "string" }, "exitPrice": { "description": "Price at which position was closed", "type": "number" }, "pnl": { "description": "Profit and loss in USDC", "type": "number" }, "positionId": { "description": "Position ID that was closed", "type": "string" }, "success": { "description": "Whether the trade was closed successfully", "type": "boolean" } }, "type": "object" }

Recent Health Checks

Time Status HTTP Latency Error
2026-07-04 19:42:18 degraded 404 173ms
2026-07-02 00:42:31 degraded 404 152ms