xChangeApi uses your account’s API keys to authenticate API requests, and if you don’t include a key or if the key is incorrect or outdated, an invalid request or authentication error will be raised. The Developers Dashboard can be used to create, reveal, and revoke secret API keys.Documentation Index
Fetch the complete documentation index at: https://xchangeapi.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
It’s important to safeguard your keys.
- Only give access to those who require it.
- Keep the key out of any version control system you may use.
- Use a password manager or secrets management service to control key access.
- Avoid embedding the secret API key in mobile applications or other locations where it can be accessed.
Create a new API key
To create a new API key in the Dashboard:- Open the Keys page.
- Click New Key.
- Enter a name in Key name (or choose the one proposed by system).
- Click Generate Key.
Reveal an API key
To ensure security, the API key is displayed once. It’s important to store the key in a safe location to avoid losing it. If the key is lost, it can be revoked and a new key can be generated.Revoke an API key
If your secret key has been compromised, the key should be revoked to prevent any unauthorized API requests. To generate a new key and revoke the old API secret key:- Open the Keys page.
- Click the three dots icon next to the API key and choose the “Revoke” option.
- Enter the API key name in the text input field
- Click Revoke Key
