Classify Waste
API Reference
Classify Waste
Classify a waste description into EWC codes using AI
POST
Classify Waste
Classify Waste
Classifies a plain-English waste description into the correct European Waste Catalogue (EWC) code(s) using AI. The EWC comprises approximately 650 six-digit codes across 20 chapters. Codes marked with an asterisk are hazardous.Requires authentication via
Authorization header. See Authentication.Request
Method:POST
Path: /v1/classify-waste
Headers
string
required
Bearer token with your API key, e.g.
Bearer wc_live_your_keystring
required
Must be
application/jsonBody Parameters
string
required
Plain-English description of the waste
string
Industry or activity that produced the waste (improves accuracy)
string
Extra detail about contamination, composition, etc.
integer
Number of classifications to return (default 3, max 5)
Response
Success Response (200)
array
Ranked list of matching EWC codes with confidence scores
string
Six-digit EWC code (e.g.
17 08 02)number
Confidence score from 0 to 1. Below 0.7 suggests manual review
string
Explanation of why this code was selected (for audit trails)
boolean
Whether this EWC code is classified as hazardous
boolean
True if any returned code is hazardous
boolean
True if hazardous waste requires a consignment note
string
Guidance on appropriate disposal or recycling
Confidence Scores
Caching
Classifications are cached for 7 days based on the exact combination ofdescription and source_industry. EWC codes don’t change, so cached results remain accurate. The metadata.cached field indicates cache status.