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
| Tier | Rate Limit | SQL Access |
|---|---|---|
| Free | 100 req/hr | No |
| Pro | 10,000 req/hr | Yes |
| Enterprise | 100,000 req/hr | Yes |
Base URL
https://api.belmontbnb.com