The Strawberry Creek Monitoring API provides authenticated access to real-time and historical environmental sensor data. Query data by creek site, time range, and variables โ and build on top of our open-source water monitoring system.
GET /api/creek-data/
All requests require a token in the header:
Authorization: Token your_token_here
site
โ table name (e.g. fancy_1
)start
โ start time (ISO 8601 format)end
โ end time (ISO 8601 format)vars
โ repeatable param to filter specific columns (e.g. vars=timestamp
&vars=Meter_Hydros21_Cond
)curl -H "Authorization: Token abc123..." \ "https://scrp.apphost.ocf.berkeley.edu/api/creek-data/?site=fancy_1&start=2025-04-01T00:00:00&end=2025-04-07T00:00:00&vars=timestamp&vars=Meter_Hydros21_Cond"
[ { "timestamp": "2025-04-06 01:45:00", "Meter_Hydros21_Cond": 419.7 }, { "timestamp": "2025-04-06 02:00:00", "Meter_Hydros21_Cond": 419.7 } ]
400
โ Missing or invalid parameters404
โ Site/table not found401
โ Authentication credentials were not provided500
โ Internal server errorEmail us at strawberrycreekintern@gmail.com to get your personal access token.
Already have an account? Fill out this form