IG Labs

Create, innovate, automate

Get started

REST trading and streaming APIs

Automate trades, build integrations and create trading apps using our market-leading CFD and spread betting technology.

API graphic

Who's it for?

Our API has been designed so that it can be used by anyone:

  • Institutions
  • Brokers
  • Individual traders
  • App developers

What's available?

Trade a range of popular asset classes:

  • Indices
  • Forex
  • Commodities
  • Binaries
  • Options

What else do you get?

Access multiple platform features:

  • Trade using risk management tools such as stops and limits
  • View real-time and historical market prices
  • Analyse market instrument and client sentiment information
  • Review account balances and trade history
  • Maintain watchlists

Why IG's API?

Use the same cutting-edge technology as the market leader:

  • The world's No. 1 CFD provider*
  • Over 99.28% of deals transacted in 0.1 seconds or less**
  • Nearly 40 years of industry know-how
  • Our trading businesses are authorised and regulated in numerous jurisdictions around the world.

Getting started

It takes just three easy steps:

  1. Create an account
  2. Generate your API key
  3. Connect to the IG API using our Excel app or begin coding

Getting help

Feel free to contact us with any questions or feedback.

Uncaught exception thrown in shutdown function.

PDOException: SQLSTATE[25006]: Read only sql transaction: 7 ERROR: cannot execute DELETE in a read-only transaction: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 15270113375e7f560fc87d59.08994935 ) in lock_release_all() (line 269 of /var/ig/webcontent/drupal/includes/lock.inc).