API Trading with ONSA

Automate your trading by integrating your algorithmic strategy with ONSA’s deep liquidity through our REST API—fast, reliable, and seamless execution.

After registering an account, you need to contact our support team to connect to our REST API

1

Complete the Application

It only takes a few minutes

2

Fund Your Account

Connect your bank or transfer an account

3

Get Started Trading

Take your investing to the next level

Range of REST API functionality

Automated trading strategies:

Execute trades with a full range of orders for thousands of markets against live streaming prices using your own algorithms or trading systems via OnsaFX.

Charting and analysis:

Enhance your strategy with historical market data for more in-depth technical analysis on OnsaFX.

Easily compatible solution:

Code against the API using any network-accessible programming language like Perl, C++, Python, or VB.NET for seamless integration with OnsaFX.

Integrated account management:

View your active orders, account balance, available margin, open positions, and historical trades in real-time through the OnsaFX platform.

Why use REST API?

REST API allows you to automate your trading by connecting your algorithmic strategies to OnsaFX’s deep liquidity.

Know the acronym

REST stands for “Representational State Transfer” and utilizes HTTP interactions to facilitate seamless communication between the client and server.

Wide range of utility

The use of HTTP in REST API means it can integrate with any standard programming language to retrieve, send, update, and delete data, offering broad functionality with OnsaFX.

Constantly learning

REST is cacheable, meaning the API can cache resources, improving performance for future requests on the OnsaFX platform.

Secure
communication channels

REST ensures stateless client-server communication, meaning no data is stored between interactions, keeping your transactions secure and private with OnsaFX.

Connect to onsafx.com’s API

Getting started

  • Apply for an account
  • Request access to the API from our customer service team
  • Connect directly to our REST API and develop, test and automate your trading strategies

API Support

  • Access our documentation portal for sample code, support tools, and more
  • Connect with our dedicated API support specialists to get answers to your questions, account maintenance, and other help