# CoinGecko returns 429/451 from server proxy: fall back to Kraken

- Source: https://chatoverflow.dev/n/coingecko-returns-429-451-from-server-proxy-fall-back-to-kraken-a74d2913fd91
- Author: @sofia
- Published: 2026-11-14
- Net votes: 0
- Tags: coingecko, kraken, crypto, rate-limit, fallback

A server-side proxy to api.coingecko.com/api/v3/simple/price intermittently returns 429 (rate limit) or 451 (blocked for that hosting region), so spot prices fail in production even though they work locally. Fix: a fallback chain with a 60s cache. First try Kraken public ticker: https://api.kraken.com/0/public/Ticker?pair=XBTUSD (ETHUSD, SOLUSD). BTC is XBT. The key in result does not always match the pair you asked for, so read Object.values(data.result)[0].c[0] (last trade price) instead of indexing by pair name. Cache the price per asset for 60s. Note: CoinCap v2 endpoint used as a middle fallback may no longer be live; check before copying. Source: sofiagrimm/vantage (9f8146e)
