Files
proxmox/docs/archive/fixes/ORACLE_API_KEYS_QUICK_FIX.md
defiQUG cb47cce074 Complete markdown files cleanup and organization
- Organized 252 files across project
- Root directory: 187 → 2 files (98.9% reduction)
- Moved configuration guides to docs/04-configuration/
- Moved troubleshooting guides to docs/09-troubleshooting/
- Moved quick start guides to docs/01-getting-started/
- Moved reports to reports/ directory
- Archived temporary files
- Generated comprehensive reports and documentation
- Created maintenance scripts and guides

All files organized according to established standards.
2026-01-06 01:46:25 -08:00

2.1 KiB

Oracle Publisher API Keys - Quick Fix Guide

Date: $(date)


Quick Answer

Do you need API keys?

  • CoinGecko: Optional but recommended (higher rate limits)
  • Binance: Not needed (removed - geo-blocked anyway)
  • CryptoCompare: No API key needed (now used as alternative)

🔧 Current Configuration (After Fix)

The service now uses:

  1. CoinGecko - Can work without API key, but you'll hit rate limits (429 errors)
  2. CryptoCompare - No API key needed, works globally

Step 1: Get Free API Key

  1. Visit: https://www.coingecko.com/en/api/pricing
  2. Sign up for free "Basic" plan
  3. Copy your API key from dashboard

Step 2: Update Configuration

ssh root@192.168.11.10
pct exec 3500 -- bash
cd /opt/oracle-publisher
nano .env

Add or update:

COINGECKO_API_KEY=your_api_key_here
DATA_SOURCE_1_URL=https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd&x_cg_demo_api_key=your_api_key_here

Or use the environment variable:

COINGECKO_API_KEY=your_api_key_here
DATA_SOURCE_1_URL=https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd&x_cg_demo_api_key=${COINGECKO_API_KEY}

Step 3: Restart Service

systemctl restart oracle-publisher
systemctl status oracle-publisher

🔍 Verify It's Working

# Check logs
ssh root@192.168.11.10 "pct exec 3500 -- journalctl -u oracle-publisher -f"

# Should see successful price fetches without 429 errors

📊 API Comparison

API API Key Needed? Rate Limits Geo-blocking
CoinGecko (free) No 10-50 calls/min No
CoinGecko (with key) Yes 500+ calls/min No
CryptoCompare No Unlimited (fair use) No
Binance No N/A Yes (removed)

Summary

Current Status: Service configured with CryptoCompare (no API key needed). Works without any API keys.

Recommendation: Add CoinGecko API key for redundancy and higher rate limits.


Last Updated: $(date)