Skip to content

Conversation

@moraesjeremias
Copy link
Member

Problem

  • Coingecko API introduced a request gate that prevents request on empty user-agent

How this was tested

An empty header curl request was made to reproduce the behavior.

╰─$ curl -s "https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd&x_cg_api_key=<REDACTED>" -H "user-agent:" | jq .

{
  "status": {
    "error_code": 403,
    "error_message": "Please add a descriptive User-Agent to your request. For higher rate limits & stable integration, please subscribe to our API plans: https://www.coingecko.com/en/api/pricing . If you think this is a mistake, please report here: https://forms.gle/3V2z8Mb3k2RMu5S2A"
  }
}

@vercel
Copy link

vercel bot commented Jan 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
sp1-vector-hex Ready Ready Preview, Comment Jan 9, 2026 1:55pm
sp1-vector-mainnet Ready Ready Preview, Comment Jan 9, 2026 1:55pm
sp1-vector-turing Ready Ready Preview, Comment Jan 9, 2026 1:55pm

@sachiew
Copy link

sachiew commented Jan 10, 2026

hey, ICYMI, 'x_cg_api_key' is not a valid key parameter, it should be x_cg_demo_api_key (for Demo/Public API): https://docs.coingecko.com/v3.0.1/reference/authentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants