Skip to main content
Most list endpoints in the Nectar API accept query parameters to filter the results. This guide covers the most commonly used filters.

Usage data filters

The usage data endpoints (/usage/company/{id}, /usage/site/{id}, etc.) support the following filters:

Date type values

Commodity types

Use these values for the datasourceType parameter:
On current API versions (v2.0, v2.1, and v2.2), sewer meters in responses are represented as datasourceType: "WATER" with waterType: "WASTE_WATER". First-class datasourceType: "SEWER" in response bodies is planned for a future API version. Filtering with datasourceType=WATER returns both water and sewer records on current versions — use meter-level fields to distinguish them in response payloads.

Identifier matching

The identifier filter normalizes both the search value and stored identifiers before comparing. Normalization removes dashes, spaces, underscores, commas, and forward slashes, strips leading zeros, and converts to uppercase. This means:
  • 013-774-6423 matches 0137746423
  • 137746423 matches 0137746423 (leading zeros are ignored)

Document filters

Document endpoints (/document/company/{id}, /document/site/{id}, etc.) support the same date, dateType, datasourceType, and identifier filters as usage data endpoints. Additionally:

Connection filters

Connection endpoints (/connection/company/{id}) support owner, status, and site filters: See Connection statuses for the full list of status values.

Combining filters with pagination

All filters work alongside pagination parameters. The total in the response reflects the filtered count, not the unfiltered total.

Next steps

Pagination

Iterate through large result sets

API Reference

Full parameter documentation for every endpoint