API Reference

Base URL: https://api.feedplaza.com/v1

Authentication

All requests require an API key passed in the x-api-key header.

curl -H "x-api-key: YOUR_KEY" https://api.feedplaza.com/v1/...

Get your free key at feedplaza.com — 5,000 free calls on signup.

Endpoints

MethodEndpointDescription
POST /v1/auth/register Register a new account and get an API key
GET /v1/auth/me Get current key info and usage stats
GET /v1/news/:source Get news from a source (hn, bbc, newsapi)
GET /v1/weather/:city Get current weather for a city
GET /v1/crypto/:coin Get crypto price (btc, eth, ...)
GET /v1/forex/:pair Get exchange rate (USD/EUR, ...)
GET /v1/sources List all available data sources and their status
GET /v1/usage Get current billing period usage

Common Parameters

ParameterTypeDefaultDescription
limitinteger20Results per page (max 100)
pageinteger1Page number for pagination
fromdateFilter results from this date (YYYY-MM-DD)
qstringKeyword search (max 200 chars)

Response Format

{
  "status": "ok",
  "data": { ... },
  "meta": {
    "source": "openweathermap",
    "fetched_at": "2026-06-12T14:00:00Z",
    "count": 20,
    "credits_consumed": 1,
    "page": 1
  }
}

Error Codes

StatusCodeMeaning
401unauthorizedMissing or invalid API key
429rate_limitedToo many requests — slow down
402quota_exceededMonthly call limit reached
422validation_errorInvalid request parameters
503source_unavailableData source temporarily down

Rate Limits

PlanPer MinutePer Month
Free101,000
Starter10050,000
Pro1,000500,000