Authentication
How to authenticate with the BlueGamma API using your API key.
Getting an API Key
Using Your API Key
curl -X GET "https://api.bluegamma.io/v1/swap_rate?index=SOFR&tenor=5Y" \
-H "x-api-key: your_api_key_here"Example Requests
import requests
headers = {
"x-api-key": "your_api_key_here"
}
response = requests.get(
"https://api.bluegamma.io/v1/swap_rate",
params={"index": "SOFR", "tenor": "5Y"},
headers=headers
)
print(response.json())Error Responses
Status Code
Meaning
Security Best Practices
Need Help?
Last updated
Was this helpful?

