Jump to content
  • 0

Difference between app and account on non trading API limits


CNDK

Question

Hi IG-team,

I have been experimenting with your api, and dont understand the difference between Per-app and Per-account no trading limits.

image.thumb.png.e009059e0afaf4c13db908fe4d873419.png

The way I read it is that i can make 60 calls per minute per application, and since i have 2 trading accounts those 60 calls are divider over those 2 accounts, so 30 for each. Basically I should be able to make 29 calls from account_1, switch account_2 to my preferred account, and make another 30 calls from account_2, all within 1 minute. 

This doesn't seem to work, so how should I understand the differences between Per-app and Per-account?

Link to comment

10 answers to this question

Recommended Posts

  • 0
17 hours ago, CNDK said:

Hi IG-team,

I have been experimenting with your api, and dont understand the difference between Per-app and Per-account no trading limits.

image.thumb.png.e009059e0afaf4c13db908fe4d873419.png

The way I read it is that i can make 60 calls per minute per application, and since i have 2 trading accounts those 60 calls are divider over those 2 accounts, so 30 for each. Basically I should be able to make 29 calls from account_1, switch account_2 to my preferred account, and make another 30 calls from account_2, all within 1 minute. 

This doesn't seem to work, so how should I understand the differences between Per-app and Per-account?

Dear @CNDK,

Thank you for your post.

Please note that the 60 per app applies to the overall application, and 30 per account refers to individual accounts. You are correct in assuming that you should be able to send a max of 60 (combined - from different accounts) non-trading requests within a minute.

Can you kindly provide the specific error you were receiving so that our technical team can look into it?

Thanks,

Koketso

Please rate us on Trustpilot: IG Trustpilot 

Link to comment
  • 0

Hi KoketsoIG,

I get the following message: 

"errorCode": "error.public-api.exceeded-api-key-allowance"

I'm trying in the api companion but i get the same error in both prod and demo.

Link to comment
  • 0
2 hours ago, KoketsoIG said:

Dear @CNDK,

Thank you for your post.

Please note that the 60 per app applies to the overall application, and 30 per account refers to individual accounts. You are correct in assuming that you should be able to send a max of 60 (combined - from different accounts) non-trading requests within a minute.

Can you kindly provide the specific error you were receiving so that our technical team can look into it?

Thanks,

Koketso

Hi KoketsoIG,

I get the following message: 

"errorCode": "error.public-api.exceeded-api-key-allowance"

I'm trying in the api companion but i get the same error in both prod and demo.

  • Like 1
Link to comment
  • 0
3 hours ago, CNDK said:

Hi KoketsoIG,

I get the following message: 

"errorCode": "error.public-api.exceeded-api-key-allowance"

I'm trying in the api companion but i get the same error in both prod and demo.

Dear @CNDK,

Thank you for your response.

You are kindly advised to monitor your requests closely and ensure you are not requesting more than the specified limits. 

All the best,

KoketsoIG

Please rate us on Trustpilot: IG Trustpilot 

Link to comment
  • 0
13 hours ago, KoketsoIG said:

Dear @CNDK,

Thank you for your response.

You are kindly advised to monitor your requests closely and ensure you are not requesting more than the specified limits. 

All the best,

KoketsoIG

Hi KoketsoIG,

The issus is that I don't even reach my limit before I get the error: 

"errorCode": "error.public-api.exceeded-api-key-allowance"

This is my test:

1) In api companion i login to me Live og Demo account (same problem in both environments)

2) I wait for at least a minute to my login doesn't influence the test

3) I make 25 GET /marketnavigation requests

4) I switch the account to my second account with the PUT /session request

5) I should now be able to make 30 GET /marketnavigation requests, but I get the error after just 4 requests

From your previous answer I should be able to make 60 requests per-app per minute, but I can only make 30. 

What am I doing wrong?

  • Like 1
Link to comment
  • 0
2 hours ago, CNDK said:

4) I switch the account to my second account with the PUT /session request

I think there is an issue when switching accounts. I have seen similar behaviour where my request limit appears to be exceeded even though I am only making 2/3 calls. 

There was another thread on this:

But so far no response/resolution.

Can somebody at IG look into this again?

Thanks

  • Like 1
Link to comment
  • 0
On 16/04/2024 at 05:51, CNDK said:

Hi KoketsoIG,

The issus is that I don't even reach my limit before I get the error: 

"errorCode": "error.public-api.exceeded-api-key-allowance"

This is my test:

1) In api companion i login to me Live og Demo account (same problem in both environments)

2) I wait for at least a minute to my login doesn't influence the test

3) I make 25 GET /marketnavigation requests

4) I switch the account to my second account with the PUT /session request

5) I should now be able to make 30 GET /marketnavigation requests, but I get the error after just 4 requests

From your previous answer I should be able to make 60 requests per-app per minute, but I can only make 30. 

What am I doing wrong?

Dear @KoketsoIG

Can you please help me with my question?

Link to comment
  • 0

Hi @KoketsoIG

Does "per app" refer to the IG application, or to a user client application?

My reading of the limits was that "per app" referred to a user application, ie API key. When you request an API key, you have to provide an application name - I always assumed that was the app.

It used to be possible to have multiple API keys per user account, so in that context it would make sense to have a different limit per application AND per account.

But (as I understand it) now it is only possible to have one API key per account, ie one for LIVE and one for DEMO. So now, that limit of 60 per application makes no sense.

Could you check with the API team please? And maybe ask them to update the page showing the limits, so it is more clear?

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
  • image.png

  • Posts

    • The crypto market is buzzing with activity, and both Bitcoin (BTC) and Ethereum (ETH) are making waves. Let’s break down the latest movements in their prices and what’s driving these changes. Bitcoin Price Update Bitcoin's price surge: BTC is now trading at $60,172, marking a 4.21% jump over the past 24 hours. Intraday performance: Bitcoin hit a low of $57,650.11 and a high of $60,656.72 today. ETF inflows: Bitcoin ETF inflows have risen to $263.07 million as of September 14. This influx of capital seems to be supporting BTC’s price surge. Market dominance: Bitcoin’s dominance increased by 0.37%, now standing at 56.56%. Market cap: Bitcoin's overall market capitalization has hit $1.19 trillion, reinforcing its leading position in the crypto world. Ethereum Price Update Ethereum’s rise: ETH price has climbed nearly 3% in the past 24 hours and is currently priced at $2,422, as per Coinpedia markets Intraday range: The second-largest cryptocurrency saw a low of $2,338.14 and a high of $2,462.80. ETF inflows: Ethereum ETFs have also seen positive inflows, with $1.52 million added as of September 14. Market cap: Ethereum’s total market cap now stands at $292.89 billion. Expert Insights: A Shift in Market Behavior? Crypto analyst ALI has shared some interesting data about the market activity of Bitcoin and Ethereum. According to ALI: Capital exiting BTC and ETH: Around $2.6 billion worth of Bitcoin and Ethereum has exited the market in the past week. This may be due to sluggish price action, suggesting that some investors are shifting to other altcoins. A possible altcoin pump: Despite the recent outflows, the total market cap has rebounded to $2 trillion, leading many to believe that a major pump may be on the horizon—not just for Bitcoin, but for altcoins as well. What’s Next for the Crypto Market? It looks like the crypto market could be gearing up for a strong rally. Both Bitcoin and Ethereum are seeing solid price movements, and with ETF inflows rising, investor confidence appears to be high. If the market continues to stabilize above the $2 trillion mark, we could see even more bullish activity in the coming days.  
    • I hope hamster airdrop is worth it because i invested a lot of time on this mining. I might as well explore other giveaways from exchanges
    • Target Area hit 
×
×
  • Create New...
us