Authentication

API key management and best practices

Getting an API Key

  1. Go to /subscribe
  2. Enter your email address
  3. Select your plan (Free, Developer, Professional)
  4. Receive API key via email

Using Your API Key

Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

cURL Example

curl -H "Authorization: Bearer fo_live_abc123..." \
  https://feedoracle.io/api/v1/carbon/chains

Python Example

import requests

headers = {"Authorization": "Bearer fo_live_abc123..."}
response = requests.get(
    "https://feedoracle.io/api/v1/carbon/chains",
    headers=headers
)

JavaScript Example

fetch("https://feedoracle.io/api/v1/carbon/chains", {
  headers: { "Authorization": "Bearer fo_live_abc123..." }
})

API Key Format

PrefixEnvironmentExample
fo_live_Productionfo_live_abc123xyz...
fo_test_Sandboxfo_test_def456uvw...

Key Security

Never expose API keys:

Best Practices

Key Management

ActionHow
View usageDashboard → API Keys → Usage
Regenerate keyDashboard → API Keys → Regenerate
Revoke keyDashboard → API Keys → Revoke
Create new keyDashboard → API Keys → Create

Authentication Errors

ErrorCauseSolution
401 Missing headerNo Authorization headerAdd Bearer token
401 Invalid keyKey not recognizedCheck for typos
401 Expired keySubscription endedRenew plan
403 ForbiddenKey lacks permissionUpgrade plan
Need help? Contact support@feedoracle.io with your request_id.
← Back to Documentation · Get API Key