Analytics & Reporting
Get aggregated emissions data
Retrieve aggregated and summarized emissions data with advanced filtering, grouping, and analytics capabilities.
This endpoint provides powerful data aggregation features:
- Flexible column selection: Choose from available fields including derived fields like month, year, quarter
- Advanced filtering: Filter by emission scope (1, 2, 3), data type, facilities, files, dates, and more
- Multiple export formats: Get results in JSON or CSV format
- Async processing: Large CSV exports are processed asynchronously with status tracking
- Sorting and pagination: Sort results and paginate through large datasets
Perfect for creating dashboards, reports, and analytics applications.
post/export/emission/aggregated
Request
- Base URLhttps://api.unravelcarbon.com/api/v1
- AuthHTTP bearer
Headers
Authorizationstring required
Example:Bearer <your_api_key>
Bearer token (API Key)
Request body
Response
Aggregated emissions data
Example response
{
"data": [
{
"date": "2025-01-13",
"year": 2025,
"month": "2025-01",
"quarter": 1,
"file_name": "uc_20250603062403.csv",
"business_facility_name": "UC_CORP",
"company": "Demo Corporation",
"uploader": "system@unravelcarbon.com",
"total_emission": 0.7749856676879998,
"data_type": "scope2_electricity",
"scope_category": "Fuel and energy related",
"city": "None",
"country": "Singapore",
"subfacility_code": "BF0"
}
],
"count": 27,
"page": 1,
"per_page": 1,
"format": "json"
}Changes
No recorded changes to this operation across all 4 revisions of this API.