FAQ
Authentication
How do I obtain an API key?
Create an application in the Console and obtain your API key.
Getting a 401 error?
Check:
- Whether
X-API-KEYis correct - Whether
X-TIMESTAMPis a millisecond timestamp - Whether
X-SIGNis generated correctly
Data
How do I get a token's vsTokenId?
Call the Token list endpoint and search by token name or symbol. Cache frequently used vsTokenId values to avoid repeated queries.
Why are some fields empty?
Possible reasons:
- No data available for that token
- No data in the queried time range
- That token does not support this data type
What unit are timestamps in?
All timestamp fields use millisecond timestamps (13 digits).
API calls
How are credits calculated?
Each endpoint has a corresponding credit cost. See the Credits section in each endpoint doc for the exact value.
Is there a limit on response size?
Some endpoints support a size parameter to control the amount of data returned. See each endpoint doc for specific limits.
Technical support
If the above does not resolve your issue, email support@valuescan.io.