Jump to content
  • 0

Unable to authenticate with the IG API


mgwuk

Question

I'm trying to authenticate with the IG API and having trouble.

If I use my IG username and password for authentication to, "https://api.ig.com/gateway/deal/session" I get the following error message: 
error.public-api.failure.stockbroking-not-supported

In the API settings section there is something called Web API at the bottom. If I set a username and password and use that I get the following error message:
service.security.authentication.failure-client-documents-required

Can someone please confirm which username and password should be used? It sounds like it may be the Web API but it's saying client documents required. I am pretty sure I've done this or I wouldn't have an account right?

Link to comment

2 answers to this question

Recommended Posts

  • 0

As far as I understand it, the API can only be used with spreadbetting or CFD accounts - not general stock broking or ISA accounts. The error message seems to suggest that it is trying to connect to a stock broking account.

I suggest you contact the API support team directly: webapisupport@ig.com

  • Thanks 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

    • Total Topics
      22,148
    • Total Posts
      93,040
    • Total Members
      42,536
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    anyiddo
    Joined 07/06/23 19:48
  • Posts

    • Look Ahead to 8/6/23: eurozone, Japan growth; US initial jobless claims; Crest Nicholson, MITIE earnings Growth is in focus as investors await eurozone and Japan GDP data, plus keep an eye out for US initial jobless claims ahead of the Fed monetary policy meeting next week. Crest Nicholson and MITIE post results. Angeline Ong | Presenter, Analyst and Content Editor, London | Publication date: Wednesday 07 June 2023              
    • With the price of Brent having failed between $77.50 and $78.50 three consecutive times in the past month, we will go short at $76.70 with a downside target at $72.00 and a stop-loss at $78.55 on a daily chart closing basis. Axel Rudolph FSTA | Senior Financial Analyst, London | Publication date: Wednesday 07 June 2023
    • Charting the Markets: 07 June Indices grind higher. EUR/USD, GBP/USD and USD/CAD struggle to make headway. And WTI and gold trade in low volatility while wheat slips back. Axel Rudolph FSTA | Senior Financial Analyst, London | Publication date: Wednesday 07 June 2023                       This is here for you to catch up but if you have any ideas on markets or events you want us to relay to the TV team we’re more than happy to.
×
×
  • Create New...