Uniswap Trusted by Uniswap – 4M requests/month

Build DeFi Apps
Without CORS Blocking You

Fetch token icons, crypto prices, and blockchain data directly from your frontend. No backend required. Works with CoinGecko, CoinMarketCap, and any Web3 API.

// Fetch CoinGecko data without CORS errors
https://corsproxy.io/?url=https://api.coingecko.com/...
4M+
Uniswap requests/month
25ms
Average response time
99.9%
Uptime SLA
330+
Edge locations globally
The Problem

Crypto APIs Block Browser Requests

CoinMarketCap, CoinGecko, and most crypto data providers don't allow direct browser requests. They block CORS to protect API keys and prevent abuse.

Access to fetch at 'https://api.coingecko.com/...' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present.

This means you can't build a DeFi dashboard, portfolio tracker, or token swap interface without setting up backend infrastructure—until now.

CoinMarketCap

Blocks all client-side API calls. Backend proxy required.

CoinGecko Assets

Token icons and images blocked by CORS in browsers.

Web3.js RPC Calls

Some RPC endpoints fail with CORS in Firefox/Safari.

Token Icons

Load cryptocurrency logos from CoinGecko, Trust Wallet assets, or any token list CDN.

Price Feeds

Real-time prices from CoinGecko, CoinMarketCap, or any crypto data API.

Token Lists

Fetch Uniswap, Sushiswap, or custom token lists for your DEX interface.

Portfolio Tracking

Build portfolio dashboards that fetch balances and historical data.

DEX Interfaces

Power swap interfaces with token metadata, prices, and liquidity data.

NFT Metadata

Load NFT images and metadata from IPFS gateways and marketplaces.

Code Examples

Copy-Paste & Ship

Production-ready code for common DeFi use cases.

Token Icons JavaScript
// Fetch token icons from CoinGecko (like Uniswap does)
const CORS_PROXY = 'https://corsproxy.io/?url=';

async function getTokenIcon(coingeckoId) {
  const apiUrl = `https://api.coingecko.com/api/v3/coins/${coingeckoId}`;
  const response = await fetch(CORS_PROXY + encodeURIComponent(apiUrl));
  const data = await response.json();
  return data.image.large;
}

// Display token icons in your DeFi app
const ethIcon = await getTokenIcon('ethereum');
document.getElementById('eth-icon').src = ethIcon;
Price Data JavaScript
// Fetch real-time crypto prices
const CORS_PROXY = 'https://corsproxy.io/?url=';

async function getCryptoPrices(ids) {
  const url = 'https://api.coingecko.com/api/v3/simple/price' +
    '?ids=' + ids.join(',') +
    '&vs_currencies=usd&include_24hr_change=true';

  const response = await fetch(CORS_PROXY + encodeURIComponent(url));
  return response.json();
}

// Get prices for multiple tokens
const prices = await getCryptoPrices(['bitcoin', 'ethereum', 'uniswap']);
console.log('BTC:', prices.bitcoin.usd);
console.log('ETH:', prices.ethereum.usd);
Token Lists JavaScript
// Web3 DApp - Load token metadata
const CORS_PROXY = 'https://corsproxy.io/?url=';

async function loadTokenList() {
  // Fetch Uniswap's default token list
  const tokenListUrl = 'https://tokens.uniswap.org';
  const response = await fetch(CORS_PROXY + encodeURIComponent(tokenListUrl));
  const { tokens } = await response.json();

  return tokens.map(token => ({
    symbol: token.symbol,
    name: token.name,
    address: token.address,
    logoURI: token.logoURI
  }));
}

Start Building

Ready to build your DeFi app?

Start fetching crypto data in minutes. No backend required.