API Reference
Complete reference for the FluxRail API. Monitor blockchain events, manage subscriptions, and receive real-time webhooks.
Authentication
FluxRail uses API keys to authenticate requests. You can generate and manage your API keys from the dashboard.
API Key Types
FluxRail supports three environment types for API keys:
- Testnet: For testing with blockchain testnets
- Staging: For staging environments
- Mainnet: For production use with live blockchains
Using Your API Key
Include your API key in the X-API-Key header with every request:
curl https://core.fluxrail.io/api/v1/subscriptions/ \
-H "X-API-Key: your_api_key_here"Keep your API keys secure! Never share your API keys publicly or commit them to version control.