← 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) 172ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-05-11 01:08:09
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-05-11 01:08:09 degraded 404 170ms
2026-05-10 22:09:52 degraded 404 157ms
2026-05-10 18:44:17 degraded 404 162ms
2026-05-10 13:21:43 degraded 404 175ms
2026-05-10 08:47:09 degraded 404 164ms
2026-05-10 07:40:35 degraded 404 189ms
2026-05-10 03:49:51 degraded 404 172ms
2026-05-09 23:43:29 degraded 404 478ms
2026-05-09 19:02:44 degraded 404 175ms
2026-05-09 15:09:20 degraded 404 164ms
2026-05-09 12:29:29 degraded 404 180ms
2026-05-09 06:20:14 degraded 404 171ms
2026-05-09 02:16:16 degraded 404 171ms
2026-05-08 22:01:09 degraded 404 171ms
2026-05-08 19:25:06 degraded 404 181ms
2026-05-08 16:39:32 degraded 404 186ms
2026-05-08 09:52:42 degraded 404 163ms
2026-05-08 06:11:13 degraded 404 200ms
2026-05-08 04:33:58 degraded 404 196ms