Skip to main content

Waste Data Platform API

The Waste Data Platform API is an Azure Functions HTTP service that delivers waste-management reporting data — service records, weights, and environmental metrics — to subscribed accounts. It lets a team pull its waste data for any date range and consume it however its workflow requires: custom sustainability reports, BI dashboards, emissions tracking by location, and automated compliance reporting. No manual exports, no data re-entry.

Production gateway

https://wgpfapimprod.azure-api.net/api (managed by the wgpfapimprod API Management service)

Try it live — no key required

Construct requests, toggle pagination, apply filters, and preview realistic JSON responses in a fully client-side simulation (synthetic demo data only, no network calls).

▶ Try the interactive API Explorer

Endpoints at a glance

EndpointMethodsPurpose
/get_report_dataGET, POSTDate-range detail report — one row per service event. Optional filters and keyset pagination.
/get_report_summaryGET, POSTPre-aggregated rollups grouped by month, material, disposal type, and service type.

The full 28-field detail record is documented on the Response Fields reference page.

Authentication

Every request requires an APIM subscription key issued by Wasteology, passed as a request header:

HeaderValue
Ocp-Apim-Subscription-KeyYour API subscription key

The subscription key is scoped to exactly one account. The API resolves the key to that account and automatically filters every response to that organization's data — callers never pass an account identifier for scoping.

Environments

Both environments share a single codebase; runtime environment variables select the database and behaviour.

EnvironmentFunction AppAPI gateway
Productionwg-pathfinder-api-prodwgpfapimprod.azure-api.net
Developmentwg-pathfinder-api-devwg-pathfinder-api-dev

Request flow

  1. The caller supplies Ocp-Apim-Subscription-Key in the request header.
  2. APIM forwards the request to the Azure Function; the function validates the key and resolves it to the caller's account scope.
  3. The function builds a parameterised SQL query (date range + any optional filters) and runs it.
  4. Results are serialised to JSON and returned.

Dates

All date parameters and date fields use ISO 8601 (YYYY-MM-DD). Requested date windows are capped at 366 days — narrow your range for larger histories, or use /get_report_summary for a compact monthly rollup.


Guides


For access or support, contact the Wasteology data team.