Build custom trading applications with our powerful API
The Profuple API provides programmatic access to our trading platform, allowing developers to build custom applications, trading bots, and integrations. Our RESTful API uses standard HTTP response codes, authentication, and returns JSON.
https://api.profuple.com/v1
The Profuple API uses API keys to authenticate requests. You can view and manage your API keys in your account dashboard.
Include your API key in the request header:
Authorization: Bearer YOUR_API_KEY
To ensure the stability of the API, rate limits are applied to all endpoints. Rate limits vary by endpoint and account tier.
Account Tier | Market Data | Trading | Account |
---|---|---|---|
Standard | 100 requests/minute | 50 requests/minute | 20 requests/minute |
Premium | 500 requests/minute | 200 requests/minute | 100 requests/minute |
Enterprise | 1000 requests/minute | 500 requests/minute | 200 requests/minute |
Rate limit information is included in the response headers:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1623456789
Access real-time and historical market data for all supported assets.
/markets
Returns a list of available markets.
{
"markets": [
{
"id": "BTC-USD",
"base_currency": "BTC",
"quote_currency": "USD",
"base_min_size": "0.001",
"base_max_size": "100",
"quote_increment": "0.01",
"status": "online"
},
{
"id": "ETH-USD",
"base_currency": "ETH",
"quote_currency": "USD",
"base_min_size": "0.01",
"base_max_size": "1000",
"quote_increment": "0.01",
"status": "online"
}
]
}
/markets/{market_id}/ticker
Returns the latest ticker data for a specific market.
market_id
(path, required) - Market identifier{
"market_id": "BTC-USD",
"price": "42356.78",
"bid": "42350.25",
"ask": "42360.15",
"volume": "1245.67",
"time": "2023-06-15T12:34:56Z"
}
Manage your account and view balances.
/accounts
Returns a list of your trading accounts.
{
"accounts": [
{
"id": "71675156-3477-4826-9bd1-8b5e6a01a568",
"currency": "BTC",
"balance": "0.5432",
"available": "0.5432",
"hold": "0.0000"
},
{
"id": "2b9a3f4e-7af1-4eab-9a8c-116c7b9c4d23",
"currency": "USD",
"balance": "15420.75",
"available": "15420.75",
"hold": "0.00"
}
]
}
Place and manage trading orders.
/orders
Places a new order.
market_id
(required) - Market identifierside
(required) - "buy" or "sell"type
(required) - "market", "limit", "stop"size
(required) - Order sizeprice
(required for limit orders) - Order price{
"market_id": "BTC-USD",
"side": "buy",
"type": "limit",
"size": "0.01",
"price": "42000.00"
}
{
"id": "d0c5340b-6d6c-49d9-b567-48c4bfca13d2",
"market_id": "BTC-USD",
"side": "buy",
"type": "limit",
"size": "0.01",
"price": "42000.00",
"status": "pending",
"created_at": "2023-06-15T12:34:56Z"
}
/orders
Returns a list of your orders.
status
(optional) - Filter by status: "open", "filled", "cancelled"market_id
(optional) - Filter by market{
"orders": [
{
"id": "d0c5340b-6d6c-49d9-b567-48c4bfca13d2",
"market_id": "BTC-USD",
"side": "buy",
"type": "limit",
"size": "0.01",
"price": "42000.00",
"status": "open",
"created_at": "2023-06-15T12:34:56Z"
}
]
}
Subscribe to real-time data feeds using WebSockets.
wss://ws.profuple.com
ticker
- Real-time ticker updatestrades
- Real-time trade updatesorderbook
- Real-time orderbook updatesuser
- User-specific updates (requires authentication){
"type": "subscribe",
"channels": ["ticker"],
"market_ids": ["BTC-USD", "ETH-USD"]
}
The API uses standard HTTP status codes to indicate the success or failure of requests.
Status Code | Description |
---|---|
200 OK | Request succeeded |
400 Bad Request | Invalid request parameters |
401 Unauthorized | Authentication failed |
403 Forbidden | Insufficient permissions |
404 Not Found | Resource not found |
429 Too Many Requests | Rate limit exceeded |
500 Internal Server Error | Server error |
{
"error": {
"code": "invalid_parameter",
"message": "Invalid market_id parameter",
"param": "market_id"
}
}
We provide official client libraries to help you integrate with our API more easily.
Create an account to get your API keys and start integrating with our platform
Sign Up for API Access