finnhub-js
finnhub-js copied to clipboard
Limit for API calls
Hi,
Within the documentation and the billing information, it says that the max number of API calls for the free tier is 60 API calls/minute. I've been testing out the API using finnhubClient.quote
and I'm getting undefined
and null
back.
I haven't been hitting the API that much, so was wondering if the limit changed or maybe there's something on my end.
Thanks
Was getting the same issue as OP. Initially it worked for maybe the first 10 calls and then I started getting null responses with the body saying I needed to sign up for a free account in order to gain access. I was using the generated code from within FinnHub from my free account so I don't see what's wrong on our end here.
@19qiana I didn't dig into the specifics of the library after this issue, so I started using IEX Cloud and basically use fetch with promise chaining to get the appropriate the data I need. This simple solution has been working as a simple turnaround. I could try to make an API for it at some point
I ended up just writing wrapper code around the endpoint calls / made my own client. It's not as pretty but it works