Dcycle API Introduction
The Dcycle API allows you to integrate carbon emissions calculation and tracking directly into your applications and workflows.Base URL
All API requests must be made to:Authentication
All API requests require authentication using your API key and organization ID:User Attribution: All operations are automatically attributed to the user who created the API key. This ensures proper audit trails and data governance without requiring an explicit user header.
Response Format
The API returns responses in JSON format:HTTP Status Codes
| Code | Description |
|---|---|
200 | Successful request |
201 | Resource created successfully |
204 | Successful deletion (no content) |
400 | Invalid input data |
401 | Not authenticated |
403 | Not authorized |
404 | Resource not found |
422 | Validation error |
500 | Internal server error |
Error Format
All errors follow this standard format:Common Errors
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
You don’t have permission to access this resource. Verify your organization ID.
404 Not Found
404 Not Found
The requested resource doesn’t exist. Check the endpoint URL and resource ID.
422 Validation Error
422 Validation Error
The request data failed validation. Check the error details for specific field errors.
Pagination
Endpoints that return lists support pagination:page: Page number (default: 1)size: Items per page (default: 50, max: 100)
Data Types
UUIDs
All resource IDs use UUID v4 format:Dates
Dates use ISO 8601 format (YYYY-MM-DD):Timestamps
Timestamps use ISO 8601 format with UTC timezone:Rate Limits
Rate limits are applied per organization. Contact support if you need higher limits.
API Endpoints Overview
Operations
- Projects - Organize and track emission reduction initiatives
- Facilities - Manage facility emissions
- Vehicles - Track fleet and consumption
- Logistics - Calculate shipment emissions (ISO 14083)
- Invoices - Process utility bills
Supply Chain
- Purchases - Track supplier emissions
- Employees - Manage employee commuting data
- Business Travels - Track business travel emissions
Advanced
- Custom Emission Factors - Define supplier-specific factors
- Custom Emission Groups - Organize custom factors
Reference Data
- Units - Available measurement units
- Vehicle Fuels - Fuel types and emission factors
- Unknown Vehicles - Vehicle type classification

