Public APIs
IG favicon

IG

Finance

Spreadbetting and CFD Market Data.

IG's website screenshot

About IG

IG Labs provides an API for accessing IG's trading platform, enabling developers to build applications that interact with live and demo trading accounts. Access requires an IG account, with API keys generated through the account settings under My Account > Settings > API Keys; the service currently limits accounts to one API key each. The API works over HTTP and supports any programming language capable of making HTTP requests, with date and time values formatted in ISO 8601 and UTC.

Demo accounts are available for testing applications in a non-live environment, created via an account switcher on the trading platform. Sample applications, including an API companion and a streaming companion, are provided to help developers explore the API's capabilities before building against it.

The service covers CFD and spread betting trading products, with Key Information Documents available describing the nature, risks, and costs of these instruments. Some restrictions apply: direct market access is not currently available, shares trading is offered but without share price information, and API keys are subject to usage quotas. Updates and API change announcements are posted via Twitter under the handles @IGLabs #webapi and #release.

Key features

  • REST API accessible via HTTP from any programming language
  • Live and demo trading accounts with separate API keys
  • Streaming companion for real-time data exploration
  • API companion tool for exploring the API
  • Shares trading available (without share price information)

Frequently asked questions

How do I get access to the API?

You need an IG live account, then generate an API key from My Account > Settings > API Keys on the web trading platform.

Can I test the API before going live?

Yes, you can open a demo account and generate a separate demo API key to test your application safely.

What programming languages are supported?

Any programming language that supports HTTP can be used, since the API is accessed over HTTP.

Are there usage limits on the API?

Each API key is subject to standard usage quotas, and IG currently limits accounts to one API key each.

Is direct market access available?

No, direct market access is not currently available for IG's APIs.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product