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
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
ff4adcc7-8172-45fe-9cf1-e90a6de53aa9string
required
Your user UUIDExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Response
array
Array of RD-LER mapping objects
string
Royal Decree disposal method codeExamples:
"D1", "D5", "R1", "R3"string
Disposal method descriptionExamples:
"Landfill", "Incineration", "Energy recovery", "Recycling"array
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
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
ff4adcc7-8172-45fe-9cf1-e90a6de53aa9string
required
Your user UUIDExample:
a1b2c3d4-e5f6-7890-abcd-ef1234567890Query Parameters
string
required
Region code for waste classificationCommon values:
ES- SpainEU- European Union (generic)UK- United Kingdom- Other ISO 3166-1 alpha-2 codes
"ES"Response
array
Example
Successful Response
Common Errors
400 Bad Request - Missing waste_region
Cause: Field required For/api/v1/wastes/low_codes:
waste_region query parameter.
400 Bad Request - Invalid Region
Cause: Invalid region code403 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
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)
R Codes (Recovery Operations)
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