Skip to content

fix(data-layer): add CoinGecko demo API key to prevent rate limiting#17221

Merged
pettinarip merged 1 commit into
devfrom
fix/coingecko-api-key-rate-limiting
Feb 5, 2026
Merged

fix(data-layer): add CoinGecko demo API key to prevent rate limiting#17221
pettinarip merged 1 commit into
devfrom
fix/coingecko-api-key-rate-limiting

Conversation

@pettinarip
Copy link
Copy Markdown
Member

@pettinarip pettinarip commented Feb 3, 2026

Summary

  • Added x_cg_demo_api_key parameter to all CoinGecko API calls to prevent 429 rate limiting errors
  • Updated ETH price, ETH market cap, and stablecoins fetchers to use COINGECKO_API_KEY environment variable
  • Added COINGECKO_API_KEY to .env.example

Test plan

  • Verify COINGECKO_API_KEY is set in production environment
  • Confirm ETH price fetcher task runs successfully without 429 errors
  • Confirm ETH market cap fetcher task runs successfully
  • Confirm stablecoins fetcher runs successfully

CoinGecko API was returning 429 errors due to rate limiting on
unauthenticated requests. Added x_cg_demo_api_key parameter to all
CoinGecko API calls (ETH price, market cap, and stablecoins fetchers).
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 3, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 1200720
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69821cd249becb0008b2ee79
😎 Deploy Preview https://deploy-preview-17221.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 58 (🔴 down 1 from production)
Accessibility: 94 (no change from production)
Best Practices: 100 (🟢 up 1 from production)
SEO: 100 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the tooling 🔧 Changes related to tooling of the project label Feb 3, 2026
Comment thread .env.example
# DUNE_API_KEY=

# CoinGecko API
# COINGECKO_API_KEY=
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not seeing this in Netlify, should it be?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is set in the trigger.dev env where this fetches are used.

@pettinarip pettinarip merged commit 9a8fa55 into dev Feb 5, 2026
11 checks passed
@pettinarip pettinarip deleted the fix/coingecko-api-key-rate-limiting branch February 5, 2026 08:06
@wackerow wackerow mentioned this pull request Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tooling 🔧 Changes related to tooling of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants