← 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 down
Latency (p50) 201ms
Uptime (30d) 0.0%
Reliability Score 30/100
Last Checked 2026-08-21 02:27:35
Last Healthy Never
Consecutive Failures 149

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-08-21 02:27:35 down 503 625ms HTTP 503
2026-08-20 20:18:01 down 503 379ms HTTP 503
2026-08-20 19:52:01 down 503 164ms HTTP 503
2026-08-20 09:14:16 down 503 201ms HTTP 503
2026-08-20 05:34:53 down 503 161ms HTTP 503
2026-08-20 01:11:28 error fetch failed
2026-08-19 16:59:36 down 503 211ms HTTP 503
2026-08-19 09:38:29 down 503 201ms HTTP 503
2026-08-19 02:57:01 down 503 169ms HTTP 503
2026-08-18 22:01:56 down 503 715ms HTTP 503
2026-08-18 17:22:48 down 503 193ms HTTP 503
2026-08-18 10:18:26 down 503 225ms HTTP 503
2026-08-18 06:42:33 down 503 178ms HTTP 503