Diversion Records By Year URL Generator

This URL Generator generates the URL from selected model dataset fields.

Argument Key Description Operator/Value
format Format for returned data. Default=json Force parse-able response
Pretty print response (easier to look at data in browser)
approvalStatus Indicates that the data is provisional, meaning the data has not yet passed a final review by the water commissioner, or published. Operator:
dataMeasDate Measurement date of Stage/Volume reading Operator:
dataValue Diversion amount (CFS) Operator:
To create a range of numbers, select 'Greater Than' above and enter a "Less Than" value below:
measCount Measurement Count Operator:
To create a range of numbers, select 'Greater Than' above and enter a "Less Than" value below:
measInterval Interval of measurement Operator:
measUnits Measurement Units Operator:
modified Date this record was created or last modified. Use this to restrict your data grab to changes since your last grab. (Eg, if you grab every 3 days, set modified = today minus 3 days.) Operator:
obsCode Observation Code Operator:
waterClassNum WaterClass Number Operator:
To create a range of numbers, select 'Greater Than' above and enter a "Less Than" value below:

A Water Class consists of a series of codes that provide the location of the diversion, the SOURCE of water, the USE of the water and the administrative operation required to make the diversion. The Water Class, combined with a daily, monthly or annual volume, constitutes a Diversion Record. The codes that make up a Water Class are:

  • WDID - structure ID at which the diversion was made
  • ACT - each WDID may have multiple accounts as indicated by a three digit extension appended to the right of a decimal point after the WDID
  • SOURCE - source of the water being diverted
  • FROM - structure WDID of “enabling structure” associated with more complex diversions; may also have an ACT extension
  • USE - how the diverted water was used
  • TYPE - provides additional detail regarding the administrative operation associated with the diversion
  • GROUP - the WDID of a group or authorizing agent associated with the diversion
  • TO - the WDID of a structure to which a release is being delivered; may also have an ACT extension
  • Operator:
    wdid DWR unique structure identifier Operator:
    pageSize Maximum number of rows to return (or up to remaining user available rows for the day, whichever is less). Default and max page size = 50,000 Page size:
    pageIndex If a page size is included and page size is less than the number of rows the query would have returned, page index can be used to tell the server which rows to return. Default page index = 1. Page index:
    apiKey The API key to allow more daily returned rows/requests than the default amounts. API key:

    CAUTION: Large datasets will slow down or freeze your browser. You should:
    • Make your query as specific as possible
    • Match the 'modified' date to your capture frequency
    • Possibly limit your 'pageSize' (at least to preview data)