API Reference
Programmatic access to Env's sustainability intelligence platform. Build integrations, automate reporting, and connect your infrastructure to our green data ecosystem.
Base URL
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Authentication
Env uses Bearer token authentication. Include your secret API key in the Authorization header for every request.
Security Notice: Never expose your secret keys in client-side code. Use environment variables and server-side proxies for web/mobile applications.
Carbon Footprint
Track, calculate, and optimize your organization's carbon emissions across Scope 1, 2, and 3.
Retrieve aggregated carbon emission data filtered by date range, scope, and location.
| Parameter | Type | Description |
|---|---|---|
| start_date | string (ISO8601) | Start of reporting period Required |
| end_date | string (ISO8601) | End of reporting period Required |
| scope | enum | 1, 2, or 3. Defaults to all Optional |
| granularity | enum | daily, weekly, monthly Optional |
Submit raw activity data for AI-powered carbon calculation and offset recommendations.
| Parameter | Type | Description |
|---|---|---|
| activities | array[object] | Energy usage, travel, waste data Required |
| methodology | string | GHG Protocol, ISO 14064, SBTi Optional |
| include_offsets | boolean | Calculate net-zero pathway Optional |
Energy Analytics
Monitor energy consumption, identify inefficiencies, and optimize usage patterns across facilities.
Fetch real-time and historical energy consumption metrics from integrated meters and IoT sensors.
Generate AI-driven optimization strategies based on current consumption patterns and grid pricing.
Compliance Reports
Automate regulatory reporting aligned with SEC, EU CSRD, GRI, and SASB standards.
List generated compliance reports with status, framework, and download links.
Generate a new compliance report. Specify framework, reporting period, and output format (PDF, XLSX, JSON).
Supply Chain
Map Tier 1-3 suppliers, assess environmental risks, and track Scope 3 emissions across your value chain.
Retrieve supplier sustainability scores, risk ratings, and remediation recommendations.
Webhooks
Receive real-time HTTP POST notifications when specific events occur in your Env account.
SDKs & Libraries
Official client libraries to integrate Env into your application with native syntax.
Error Handling
Env uses conventional HTTP status codes to indicate success or failure of requests.
| Code | Meaning | Details |
|---|---|---|
| 400 | Bad Request | Missing or invalid parameters |
| 401 | Unauthorized | Invalid or missing API key |
| 403 | Forbidden | Insufficient permissions for this resource |
| 404 | Not Found | Requested endpoint or resource does not exist |
| 429 | Too Many Requests | Rate limit exceeded. Retry after X-RateLimit-Reset |
| 500 | Server Error | Internal processing failure. Contact support if persistent |
Rate Limits
API requests are limited to 1,000 requests per minute on the Standard plan and 5,000 requests per minute on Enterprise. Rate limit headers are included in every response.
Changelog
Stay updated with API improvements, deprecations, and new features.
- v2.4.1 - Added Scope 3 supplier risk scoring endpoint
- v2.4.0 - EU CSRD compliance framework support
- v2.3.2 - Fixed ISO 8601 date parsing in carbon calculations
- v2.3.0 - Introduced webhook signature verification (HMAC-SHA256)