1
Generate an API key
Go to Settings then API Access in your Wattsc account. Click Generate New Key, give it a descriptive name (for example, “BI Pipeline”), and copy the key immediately. You will not be able to view it again.
2
Authenticate your requests
Include the key in the
Authorization header as a Bearer token on every request:3
Make your first request
Use curl or any HTTP client to fetch the latest readings. Replace A successful response returns a JSON array of recent readings with timestamps, meter IDs, and consumption values.
YOUR_API_KEY with the key you copied:Rate limits
Rate limits vary by plan:
If you exceed the limit, the API returns
429 Too Many Requests. Wait one minute before retrying, or implement exponential backoff in your client.
Next steps
- Read the full endpoint reference at https://api.wattsc.com/docs
- Set up webhook notifications for real-time alerts without polling
