Graviton Profit Documentation
Graviton Profit Documentation AI bots trade 24/7 for your success


Introduction
Graviton Profit is an automated crypto trading bot designed for efficient trading on cryptocurrency exchanges. It provides a powerful API for seamless integration with your applications and services.
Getting Started
Registration and API Key Generation
- Register on the Graviton Profit platform.
- Go to the API section in your dashboard.
- Create a new API key and grant the required permissions:
- Balance reading
- Order placement
- Trade information retrieval
- Store your API Key and Secret Key securely.
Connecting to the API
All API requests are made over HTTPS. Use the following headers for authentication:
Authorization: Bearer <your API token>
Content-Type: application/json
Example request to retrieve bot information:
curl -X GET "https://api.gravitonprofit.com/v1/bot/info" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"
Graviton Profit API
Main Endpoints
GET /v1/bot/info
— Retrieve current bot status information.POST /v1/order/create
— Create a new order.GET /v1/order/status
— Retrieve order status.POST /v1/bot/start
— Start the bot.POST /v1/bot/stop
— Stop the bot.
Example: Creating an Order
{
"pair": "BTC/USDT",
"type": "buy",
"amount": 0.01,
"price": 30000
}
Error Handling
The API uses standard HTTP error codes:
400 Bad Request
— Invalid request.401 Unauthorized
— Authentication error.500 Internal Server Error
— Server-side error.
Example error response:
{
"status": 400,
"error": "Invalid request parameters"
}
Usage Examples
Python
import requests
API_TOKEN = 'YOUR_API_TOKEN'
headers = {
'Authorization': f'Bearer {API_TOKEN}',
'Content-Type': 'application/json'
}
response = requests.get('https://api.gravitonprofit.com/v1/bot/info', headers=headers)
print(response.json())
Node.js
const axios = require('axios');
const API_TOKEN = 'YOUR_API_TOKEN';
const headers = {
'Authorization': `Bearer ${API_TOKEN}`,
'Content-Type': 'application/json'
};
axios.post('https://api.gravitonprofit.com/v1/order/create', {
pair: 'BTC/USDT',
type: 'buy',
amount: 0.01,
price: 30000
}, { headers })
.then(response => console.log(response.data))
.catch(error => console.error(error));
Additional Instructions
Security
- Never share your API keys with third parties.
- Enable two-factor authentication for extra security.
- Regularly update your keys and passwords.
Support
If you have questions or need help, contact our support team:
- Email: [email protected]