API Documentation
Welcome to the Sprime developer portal. All API requests must be made over HTTPS.
Authentication
Pass your API key in the x-api-key request header for all endpoints.
x-api-key: your_key_here
Weather Endpoint
GET /v1/weather
Parameters: lat (float), lon (float)
curl -H "x-api-key: KEY" "https://sprime.us/v1/weather?lat=40.7&lon=-74.0"
Crypto Endpoint
GET /v1/crypto
Parameters: symbol (string, e.g., BTC, ETH)
curl -H "x-api-key: KEY" "https://sprime.us/v1/crypto?symbol=BTC"
News Endpoint
GET /v1/news
curl -H "x-api-key: KEY" "https://sprime.us/v1/news"