IG

API

Market data API for spreadbetting and CFDs from IG Labs

Visit Website

Overview

The IG API offers RESTful access to spreadbetting and CFD market data, including real-time quotes, historical price charts, instrument details, and market search. Responses are in JSON format. Use cases include building custom trading dashboards, integrating market data into financial analysis tools, backtesting strategies with historical data, and automating market monitoring for trading activities. It supports demo and live environments for developers to test and deploy solutions.

Example Integration (JavaScript)

script.js JS

fetch('https://labs.ig.com/gettingstarted')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful API
  • JSON responses
  • Real-time market quotes
  • Historical price data
  • Demo environment support
  • Instrument search

Frequently Asked Questions

? Is IG API free to use?

Yes, it offers a freemium model—free tiers with basic access and rate limits, while paid plans provide enhanced features like higher rate limits or expanded data access.

? Does it require an API Key?

Yes, you need to register on IG Labs and obtain an API key for authentication to access the API endpoints.

? What is the response format?

All API responses are in JSON format, which is widely supported and easy to parse for integration into applications.

Top Alternatives

Alpha Vantage Compare

People Also Ask about IG

IG vs Alpha Vantage IG 2025 review

Tool Info

Pricing Freemium
Category Finance
Platform Public API

Pros

  • Reliable financial data source
  • Supports demo mode for testing
  • Well-documented developer resources
  • Integrates with trading workflows

Cons

  • Requires API key authentication
  • Rate limits on free tiers
  • Limited to IG's spreadbetting/CFD instruments
  • Potential latency for real-time data

More Finance Tools