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.
Using Your API Key
Include your API key in the X-API-Key header with every request:
curl https://api.fluxrail.io/api/v1/subscriptions/ \
-H "X-API-Key: your_api_key_here"Your API key works with both mainnet and testnet chains. Simply specify the chain slug when creating subscriptions (e.g., "ethereum" for mainnet, "ethereum-sepolia" for testnet).
Keep your API keys secure! Never share your API keys publicly or commit them to version control.