1inch Swap API Proxy for Multi-Chain Price Discovery
Proxy service that interfaces with 1inch API for token swap routing and price discovery across multiple blockchain networks.
1inch Swap API v6.1 with support for all major blockchain networks
Token swaps, route optimization, multi-chain support, and secure API key management.
1inch API (api.1inch.dev) with Bearer token authentication
| Parameter | Type | Required | Description |
|---|---|---|---|
| chain | string | Optional | Chain ID for the target blockchain network (default: 1 for Ethereum) |
Returns the 1inch swap API response for the specified chain. The response includes swap routes, quotes, and transaction data.
Bearer token authentication with 1inch API key (automatically handled by proxy)
API key is securely managed and not exposed to client applications
Subject to 1inch API rate limits and usage policies
Authorization: Bearer token automatically added to all requests
Forwards requests to 1inch API with proper authentication and CORS handling
Supports all chains available in 1inch Swap API v6.1
Sets Access-Control-Allow-Origin: * for universal access
Graceful error handling with appropriate HTTP status codes
Finds the best swap routes across multiple DEXs and aggregators
Real-time price quotes with slippage protection
Provides transaction data for executing swaps
Aggregates liquidity from multiple decentralized exchanges