Pull a historical fill-level and container-emptied event report from the Compology Level History API
domain: compology.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Contact Compology support to obtain a secret api_key and your organization_id
Call GET https://api.compology.com/v1/reports/level_history.csv with query parameters api_key, organization_id, start_at, and end_at (ISO-8601 timestamps)
Keep the start_at/end_at window under 32 days per request, since wider ranges are rejected
Parse the returned CSV (not JSON) for per-event fields: level, was_emptied, empty_occurred_at, image_url, and container/customer identifiers
Cache results locally and avoid re-polling more than once per hour, since the endpoint is not designed for high-frequency polling
Known gotchas
The response Content-Type is text/csv, not JSON, so plan CSV parsing rather than JSON deserialization
A date range longer than 32 days between start_at and end_at is rejected
Requests faster than roughly once per minute can trigger temporary API key deactivation; hourly polling is the vendor's own recommendation
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?