Skip to main content

Get Your API Key

Sign up at gravixlayer.com and generate an API key from your dashboard.

Set Your API Key

export GRAVIXLAYER_API_KEY="your-api-key"
When GRAVIXLAYER_API_KEY is set, the SDK picks it up automatically — no need to pass it in code.
from gravixlayer import GravixLayer

# Reads GRAVIXLAYER_API_KEY from environment
client = GravixLayer()

API Base URL

https://api.gravixlayer.com
All requests require the Authorization: Bearer <API_KEY> header. The SDK handles this automatically.