API Documentation
Integrate Oculus FX's powerful trading intelligence directly into your applications and workflows.
Overview
The Oculus FX API provides programmatic access to our trading intelligence platform. You can retrieve account data, access AI insights, manage trading strategies, and more. Our RESTful API uses standard HTTP response codes and returns JSON.
https://api.oculusfx.com/v1
All responses are returned in JSON format
API key authentication via Bearer token
Authentication
All API requests must include your API key in the Authorization header. You can generate an API key in your Oculus FX dashboard.
API Key Authentication
Include your API key in the Authorization header of all requests:
curl -X GET "https://api.oculusfx.com/v1/accounts" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
• Never share your API keys in publicly accessible areas such as GitHub or client-side code
• Rotate your API keys periodically
• Use environment variables to store API keys in your applications
• Set appropriate permissions for each API key
Rate Limiting
API requests are limited to 100 requests per minute per API key. If you exceed this limit, you'll receive a 429 Too Many Requests response.
SDKs and Libraries
We provide official client libraries to help you integrate with the Oculus FX API in your preferred programming language.
npm install @oculusfx/api-client
pip install oculusfx-api
Download the MQL5 library for direct MT5 integration
Support
Need help with the API? Our developer support team is here to assist you.
Connect with other developers, share code examples, and get help from the community.
Contact our developer support team for technical assistance with API integration.
Ready to Get Started?
Sign up for Oculus FX today and get access to our powerful API for algorithmic trading.