Download OpenAPI specification:
P2P Market Integration API provides programmatic access to the P2P trading platform.
This API allows integrators to:
The API key must be provided in the X-API-Key HTTP header.
Example:
curl -X 'POST' \
'https://p2p.walletbot.me/p2p/integration-api/v1/item/online' \
-H 'accept: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"cryptoCurrency": "USDT",
"fiatCurrency": "RUB",
"side": "SELL",
"page": 1,
"pageSize": 10
}'
The table below describes the possible HTTP response codes you can receive when sending an API request.
| Code | Description |
| 200 | Valid request, check status in response body |
| 400 | Invalid request (e.g., unsupported currency) |
| 401 | Invalid API key |
| 403 | Access denied |
| 404 | Invalid API path |
| 429 | Request limit reached |
| 503 | Service temporarily unavailable |
| 5xx | Unexpected error |
Returns a list of online items (ads) filtered by token, currency and side
| cryptoCurrency required | string Cryptocurrency code |
| fiatCurrency required | string Fiat currency code |
| side required | string Enum: "BUY" "SELL" Trade side: BUY or SELL |
| page | integer Default: 1 Page number (optional, default 1) |
| pageSize | integer Default: 10 Items per page (optional, default 10, max 50) |
{- "cryptoCurrency": "USDT",
- "fiatCurrency": "RUB",
- "side": "SELL",
- "page": 1,
- "pageSize": 10
}{- "status": "SUCCESS",
- "data": [
- {
- "id": "12345",
- "number": "A1B2C3",
- "userId": 67890,
- "nickname": "CryptoTrader",
- "cryptoCurrency": "USDT",
- "fiatCurrency": "RUB",
- "side": "SELL",
- "price": "98.50",
- "lastQuantity": "1500.00",
- "minAmount": "1000.00",
- "maxAmount": "50000.00",
- "payments": [
- "sberbank",
- "tinkoff"
], - "orderNum": 156,
- "executeRate": "0.9875",
- "isOnline": true,
- "merchantLevel": "MERCHANT",
- "paymentPeriod": 15,
- "isAutoAccept": true
}
]
}