API Documentation

Authentication

All API requests require an API key passed in the Authorization header:

Authorization: Bearer sk_live_your_api_key_here

Get your API key from the dashboard.

Endpoints

Weather Alerts

GET /v1/weather/alerts?region=CA&limit=50

Returns active weather alerts from NOAA. Optionally filter by state/region.

SEC EDGAR Companies

GET /v1/edgar/companies?query=AAPL&limit=50

Search SEC-registered companies by ticker or name.

SQL Query (Pro+)

POST /v1/sql
Authorization: Bearer sk_live_...
Content-Type: application/json

{ "query": "SELECT * FROM weather LIMIT 10" }

Run custom SQL queries against any available dataset.

Available tables: weather, edgar

Rate Limits

TierRate LimitSQL Access
Free100 req/hrNo
Pro10,000 req/hrYes
Enterprise100,000 req/hrYes

Base URL

https://api.belmontbnb.com