What is auto-routing?
Auto-routing automatically directs your API calls to the best available blockchain data provider based on reliability, cost, and performance. Instead of managing multiple provider keys and handling failovers manually, Uniblock routes requests intelligently and switches providers seamlessly when issues occur. Use auto-routing when you need:- Guaranteed uptime with automatic failover
- Cost-optimized provider selection
- Multi-provider redundancy without manual configuration
- Verified data accuracy across providers
Auto-routing is enabled by default for all Uniblock API keys. No setup required.
Quick example
See auto-routing in action with a simple API call:Standard API call with auto-routing
- Routes to the optimal provider (e.g., Alchemy)
- If Alchemy fails, retries 3 times
- If still failing, switches to backup (e.g., Infura)
- Returns the response seamlessly
How it works
When you make an API call with your Uniblock key:- Route selection - Uniblock evaluates available providers for cost and reliability
- Primary request - Your call is routed to the optimal provider
- Auto-retry - If the call fails, itโs automatically retried with the same provider
- Failover - After max retries, the request routes to the next best provider
- Data verification - (Pro+ plans) Response data is verified across multiple providers

Core features
Default routing
Access all Uniblock-integrated providers with a single API key. No provider selection or configuration required. Available on: All plans (including free) Key benefits:- Instant access to 20+ blockchain data providers
- Pre-configured backup provider list
- Works immediately with free tier
Backup providers
Automatic failover to backup providers when the primary provider is unavailable or rate-limited. Available on: All plans (including free) Key benefits:- Zero downtime during provider outages
- Seamless failover without code changes
- Configurable priority list for custom routing
Data consensus
Available on Pro plans and above
- Eliminates incorrect data from single-provider errors
- Detects and filters outlier responses
- Ensures data consistency for critical operations
- Provider A: $2,500.00
- Provider B: $2,501.50
- Provider C: $25,000.00 (outlier)

Common use cases
Production reliability
Ensure 99.99% uptime with automatic failover across multiple providers.
Cost optimization
Automatically route to the cheapest provider without sacrificing reliability.
Rate limit management
Seamlessly switch providers when rate limits are hit.
Data accuracy
Verify critical data across multiple sources with data consensus.
Next steps
Default routing
Learn how default routing works and try it without an API key.
Backup providers
Configure custom failover lists for maximum reliability.
Routing optimization
Optimize for cost and performance automatically.
Data consensus
Verify data accuracy across multiple providers.
Common pitfalls
Ready to get started with Uniblock?
Create your free account and start building with unified blockchain infrastructure across 100+ chains.