← 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) 184ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-03-20 18:50:34
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-03-20 18:50:34 degraded 404 193ms
2026-03-20 18:13:26 degraded 404 161ms
2026-03-20 17:20:58 degraded 404 205ms
2026-03-20 16:28:11 degraded 404 193ms
2026-03-20 15:13:00 degraded 404 170ms
2026-03-20 14:41:05 degraded 404 192ms
2026-03-20 13:44:14 degraded 404 189ms
2026-03-20 13:06:22 degraded 404 174ms
2026-03-20 11:55:09 degraded 404 153ms
2026-03-20 10:59:04 degraded 404 283ms
2026-03-20 09:58:47 degraded 404 192ms
2026-03-20 08:36:43 degraded 404 188ms
2026-03-20 07:45:47 degraded 404 170ms
2026-03-20 06:59:30 degraded 404 577ms
2026-03-20 06:02:13 degraded 404 184ms
2026-03-20 04:54:35 degraded 404 168ms
2026-03-20 03:38:27 degraded 404 168ms
2026-03-20 03:00:56 degraded 404 179ms
2026-03-20 01:51:36 degraded 404 150ms
2026-03-20 00:55:20 degraded 404 175ms