This API offers a core set of resources and operations for interacting with local council waste and recycling services.
Outstanding issues
A way to discover if a task has been moved from its regular timeslot and why.
Handling of non-property sites, e.g. where the bins are located separately from a building.
ESD Standards
The ESD Standards define all the categories of services that local authorities typically provide. These will be referenced via URL from the Services API, to allow individual council instances of a service to be matched to common service definitions.
Services
Get a list of waste services
get/services
Query parameters
Name
Type
Description
uprn
string
Dispalys services related to the property with this UPRN. This also includes basic completed and upcoming collection information and automatically includes related tasks if the property has a parent UPRN.
full
boolean
Return the full service information.
start_date
date
Filter related tasks that occur after this date.
end_date
date
Filter related tasks that start before this date.
Example responses
HTTP code: 200
HTTP code: 400
Get a single service
get/services/{serviceId}
Query parameters
Name
Type
Description
uprn
string
Limit results to those related to the property with this UPRN. This will include the last and next collection task information.
Example responses
HTTP code: 200
HTTP code: 400
Tasks
Get a list of tasks
get/tasks
Query parameters
Name
Type
Description
type
string
Limit results to a specific task type.
uprn
string
Limit results to those related to the property with this UPRN.
start_date
date
Filter tasks that occur after this date.
end_date
date
Filter tasks that start before this date.
include
string
Comma-separated labels of additional information to include. related includes all tasks for any parent sites and associated bin stores where possible, e.g. include=related. Only applicable when filtering by UPRN.
Example responses
HTTP code: 200
HTTP code: 400
Get a single task
get/tasks/{taskId}
Example responses
HTTP code: 200
Event types
Get a list of event types
get/event-types
Example responses
HTTP code: 200
Get a single event type
get/event-types/{eventTypeId}
Example responses
HTTP code: 200
Events
Get a list of events
get/events
Query parameters
Name
Type
Description
uprn
string
Limit results to those related to the property with this UPRN.
usrn
string
Limit results to those related to the street with this USRN.
start_date
date
Filter events that occurred after this date.
end_date
date
Filter events that occurred before this date.
Example responses
HTTP code: 200
Get a single event
get/events/{eventId}
Example responses
HTTP code: 200
Features
Get a list of features
get/features
Query parameters
Name
Type
Description
uprn
string
Limit results to those related to the property with this UPRN.
usrn
string
Limit results to those related to the street with this USRN.
Get a single feature
get/features/{featureId}
Example responses
HTTP code: 200
Feature types
Get a list of feature types
get/feature-types
Query parameters
Name
Type
Description
uprn
string
Limit results to those related to the property with this UPRN.
Get a single feature type
get/feature-types/{featureTypeId}
Example responses
HTTP code: 200
Sites
Get a list of sites
get/sites
Query parameters
Name
Type
Description
usrn
string
Limit results to those related to the street with this USRN.
postcode
string
Limit results to those with the given postcode.
Example responses
HTTP code: 200
Get a single site indexed by UPRN, or another form of index if some sites do not have a UPRN. In that situation, the format of other IDs must not collide with UPRNs.