← Back to Documentation

Authentication

API key management and best practices

API Base URLs

EndpointURLUse Case
Enterprise APIhttps://api.feedoracle.ioRecommended for production
Standard API (deprecated)https://feedoracle.io/apiLegacy - sunsets 2026-06-30
Migration Notice: The legacy host https://feedoracle.io/api/* is deprecated and will sunset on 2026-06-30. Please migrate to https://api.feedoracle.io.
Enterprise Endpoint: Dedicated subdomain with SSL, rate limiting (10 req/s + burst 20), and DDoS protection.

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 X-API-Key header:

X-API-Key: YOUR_API_KEY

cURL Example

curl -H "X-API-Key: fo_live_abc123..." \
  https://api.feedoracle.io/api/v1/carbon/chains

Python Example

import requests

headers = {"X-API-Key": "fo_live_abc123..."}
response = requests.get(
    "https://api.feedoracle.io/api/v1/carbon/chains",
    headers=headers
)

JavaScript Example

fetch("https://api.feedoracle.io/api/v1/carbon/chains", {
  headers: { "X-API-Key": "fo_live_abc123..." }
})

API Key Format

PrefixEnvironmentExample
fo_live_Productionfo_live_abc123xyz...
fo_test_Sandboxfo_test_def456uvw...
Postman Users: The Postman collection and all customer integrations should use X-API-Key header. Bearer auth is not supported.

Key Security

Never expose API keys:
  • Don't commit keys to Git repositories
  • Don't include in client-side JavaScript
  • Don't share in public forums or tickets

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 X-API-Key headerAdd X-API-Key header
401 Invalid keyKey not recognizedCheck for typos
401 Expired keySubscription endedRenew plan
403 ForbiddenKey lacks permissionUpgrade plan

Vendor Readiness / Controls

Primary APIhttps://api.feedoracle.io
Legacy Hosthttps://feedoracle.io/api/* (temporary)
DeprecationDeprecation: true (legacy only)
SunsetTue, 30 Jun 2026 00:00:00 GMT
CanonicalLink: <https://api.feedoracle.io\$request_uri>; rel="canonical"
AuthX-API-Key required for protected endpoints
Expected 401Missing/invalid key returns 401 by design
HealthGET https://api.feedoracle.io/health
Supporthttps://feedoracle.io/contact.html
Need help? Contact support@feedoracle.io with your request_id.