πŸŽ‰ FeedPlaza v0.2 β€” 10 API endpoints, 7 data sources. Jump to endpoints ↓

API Reference

Base URL: https://api.feedplaza.com/v1  Β·  Version: 0.2.0

Contents

Authentication & Account News & Feeds Stocks Weather IP Geolocation Air Quality GitHub Trending Crypto & Forex Sources & Usage Error Codes Rate Limit Headers

Authentication & Account

All data endpoints require an API key passed in the x-api-key header. Get your key by registering.

Register

POST/v1/auth/registerCreate account, get API key
FieldTypeRequiredDescription
emailstringβœ…Your email address
passwordstringβœ…Min 8 characters
$ curl -X POST https://api.feedplaza.com/v1/auth/register \ -H "Content-Type: application/json" \ -d '{"email":"you@example.com","password":"yourpassword"}'

β†’ {"api_key":"feed_live_...","key_prefix":"feed_live_","message":"..."}

Login

POST/v1/auth/loginLogin with email + password
$ curl -X POST https://api.feedplaza.com/v1/auth/login \ -H "Content-Type: application/json" \ -d '{"email":"you@example.com","password":"yourpassword"}'

β†’ {"api_key":"feed_live_...","plan":"free","credits_signup_remaining":4999,...}

Get Account Info

GET/v1/auth/meView your key info and usage
$ curl -H "x-api-key: YOUR_KEY" \ https://api.feedplaza.com/v1/auth/me

News & Feeds

Get News

GET/v1/news/:sourceLatest headlines from any news source
ParamTypeDefaultDescription
sourcepathβ€”bbc-news Β· npr-news Β· hackernews
limitquery20Max 100 results
$ curl -H "x-api-key: YOUR_KEY" \ "https://api.feedplaza.com/v1/news/bbc-news?limit=5"

Stocks

GET/v1/news/yahoo-stocksUS stock quotes (10 major tickers)
$ curl -H "x-api-key: YOUR_KEY" \ "https://api.feedplaza.com/v1/news/yahoo-stocks?limit=3"

β†’ {"data":[{"symbol":"AAPL","name":"Apple Inc.","price":298.44,"change_pct":1.23},...]}

Tickers: AAPL, GOOGL, MSFT, AMZN, TSLA, NVDA, META, JPM, V, WMT

Weather

GET/v1/weather/:cityCurrent weather for any city worldwide
$ curl -H "x-api-key: YOUR_KEY" \ https://api.feedplaza.com/v1/weather/Beijing

IP Geolocation

GET/v1/geo/:ipLook up location for any IP address
$ curl -H "x-api-key: YOUR_KEY" \ https://api.feedplaza.com/v1/geo/8.8.8.8

β†’ {"data":{"city":"Mountain View","country":"United States","org":"Google LLC",...}}

Air Quality

GET/v1/air/:cityAir quality index for 15 major cities
$ curl -H "x-api-key: YOUR_KEY" \ https://api.feedplaza.com/v1/air/beijing

β†’ {"data":{"city":"beijing","aqi":87,"aqi_level":"very poor","pm2_5":163.4,...}}

Cities: beijing, shanghai, tokyo, seoul, new-york, london, paris, delhi, singapore, sydney, los-angeles, mumbai, moscow, istanbul, jakarta

GET/v1/trendingGitHub trending repositories
ParamTypeDefaultDescription
languagequeryallFilter: python, javascript, go, rust…
sincequerydailydaily Β· weekly Β· monthly
$ curl -H "x-api-key: YOUR_KEY" \ "https://api.feedplaza.com/v1/trending?language=python&since=weekly"

Crypto & Forex

GET/v1/news/coingeckoBTC & ETH prices
GET/v1/news/exchangerateUSD exchange rates (8 currencies)
$ curl -H "x-api-key: YOUR_KEY" \ https://api.feedplaza.com/v1/news/coingecko
$ curl -H "x-api-key: YOUR_KEY" \ https://api.feedplaza.com/v1/news/exchangerate

Sources & Usage

GET/v1/sourcesList all data sources + status
GET/v1/usageCurrent billing period usage
GET/v1/healthAPI health check (no auth)

Error Codes

StatusCodeMeaning
401unauthorizedMissing or invalid API key
402quota_exceededMonthly limit reached β€” upgrade plan
409conflictEmail already registered
422validation_errorInvalid request parameters
429rate_limitedToo many requests β€” slow down
502source_unavailableUpstream data source down
503source_disabledSource temporarily unavailable

Rate Limit Headers

Every API response includes these headers:

HeaderDescription
X-RateLimit-RemainingTotal credits left (signup + monthly)
X-RateLimit-SignupSign-up bonus credits remaining
X-RateLimit-MonthlyMonthly quota remaining
X-RateLimit-LimitTotal credits granted

Response Format

{ "status": "ok", "data": [ ... ], "meta": { "source": "bbc-news", "count": 20, "credits_consumed": 1 } }

Questions? Sign up free and start building.