Waste Classification Codes
Waste Classification Codes
Get waste classification codes (LER, RD, LOW) for waste management
GET
Waste Classification Codes
Waste Classification Codes
Retrieve waste classification codes used in the Dcycle system for waste management and emissions calculations. These codes are based on European waste regulations and help classify waste types and disposal methods.Waste codes are reference data maintained by Dcycle. You cannot create or modify codes through the API - these endpoints are read-only.
Overview
Dcycle uses three types of waste codes:- LER (Lista Europea de Residuos / European Waste List) - Waste type classification
- RD (Royal Decree) - Disposal method classification
- LOW (List of Waste) - Regional waste codes
GET /api/v1/wastes/rd_ler_list
Get all waste disposal methods (RD codes) with their associated waste types (LER codes). This endpoint returns a complete mapping of which waste types can be processed with which disposal methods.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
ff4adcc7-8172-45fe-9cf1-e90a6de53aa9Your user UUIDExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Response
Array of RD-LER mapping objects
Royal Decree disposal method codeExamples:
"D1", "D5", "R1", "R3"Disposal method descriptionExamples:
"Landfill", "Incineration", "Energy recovery", "Recycling"Array of LER (waste type) objects applicable to this disposal methodEach LER object contains:
ler_code(string) - European waste code (6-digit format: XX XX XX)ler_name(string) - Waste type description
Example
Successful Response
GET /api/v1/wastes/low_codes
Get waste type codes (LOW codes) for a specific region. These codes are used when creating waste records to classify the type of waste being disposed.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
ff4adcc7-8172-45fe-9cf1-e90a6de53aa9Your user UUIDExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Query Parameters
Region code for waste classificationCommon values:
ES- SpainEU- European Union (generic)UK- United Kingdom- Other ISO 3166-1 alpha-2 codes
"ES"Response
Array of LOW (waste type) code objects
Unique waste type identifier (UUID)
Waste type code (6-digit format: XX XX XX)Examples:
"01 01 01", "15 01 01", "20 01 01"Waste type descriptionExamples:
"Paper and cardboard", "Plastic packaging", "Mixed municipal waste"Example
Successful Response
Common Errors
400 Bad Request - Missing waste_region
For/api/v1/wastes/low_codes:
waste_region query parameter.
400 Bad Request - Invalid Region
403 Forbidden
Cause: Organization ID doesn’t match your API key or user doesn’t belong to organizationx-organization-id matches your API key’s organization.
Use Cases
Build Waste Type Selector
Create a dropdown selector for waste types:Find Applicable Disposal Methods
Find which disposal methods can be used for a specific waste type:Cache Waste Codes
Since waste codes don’t change frequently, cache them:Validate Waste Code Before Creating Waste
Ensure the waste code exists before creating a waste record:Waste Code Categories
LER Code Structure
LER codes follow a 6-digit hierarchical structure: XX XX XX- First 2 digits: Waste source/activity
- Middle 2 digits: Process within activity
- Last 2 digits: Specific waste type
15 01 02
15- Waste packaging materials01- Packaging02- Plastic packaging
Common LER Categories
| Code Range | Category | Examples |
|---|---|---|
01 XX XX | Mining and quarrying | Tailings, excavation waste |
02 XX XX | Agriculture, forestry | Organic waste, packaging |
15 XX XX | Packaging | Paper, plastic, metal, glass |
16 XX XX | Not otherwise specified | Batteries, electronics |
17 XX XX | Construction & demolition | Concrete, wood, metal |
19 XX XX | Waste treatment facilities | Residues, sludges |
20 XX XX | Municipal waste | Household waste, garden waste |
Hazardous Waste Codes
Codes ending with an asterisk (*) indicate hazardous waste:17 05 03*- Soil containing dangerous substances16 06 01*- Lead batteries15 01 10*- Packaging containing hazardous residues
Disposal Method Codes (RD)
D Codes (Disposal Operations)
| Code | Description |
|---|---|
D1 | Landfill deposit |
D5 | Specially engineered landfill |
D10 | Incineration on land |
D13 | Blending before disposal |
D15 | Storage pending disposal |
R Codes (Recovery Operations)
| Code | Description |
|---|---|
R1 | Energy recovery / fuel use |
R3 | Organic substance recycling |
R4 | Metal recycling |
R5 | Inorganic material recycling |
R12 | Pre-treatment before recovery |
R13 | Storage pending recovery |
Best Practices
1. Cache Reference Data
Waste codes rarely change, so cache them for extended periods:2. Use Region-Specific Codes
Always filter by the correct region:3. Store LOW IDs, Not Codes
When creating waste records, use thelow_id, not the low_code:
4. Validate Before Creating Waste
Always validate that the waste code exists before submitting:Related Endpoints
List Facilities
View facilities where waste is generated
List Units
Get units for waste quantities
List Invoices
View facility consumption data
Authentication
Learn about API authentication

