Resolve an incentive id (or id prefix)
Changed onResolves a constructible incentive id — the id field on /incentives records — to the record it identifies, regardless of status (an expired program stays resolvable, so a stored quote can show it as expired).
The id is wb1:{state}:{authority_type}:{authority_ref}:{tech}:{subtype}:{program_type}:{variant}[:{slug}], so any colon-delimited prefix is also valid and returns the matching set: an exact match wins (count: 1); otherwise matches holds every record under the prefix and disambiguate_on names the next segment with its distinct values. count: 0 with moved_to means the id was re-minted (data correction) — refetch with the new id. matches is capped at 200 (truncated: true).
Request
- Base URLhttps://apis.wattbuy.com/v3
- AuthAPI key in header x-api-key
Path parameters
Incentive id or colon-delimited prefix (URL-encoded colons accepted).
Response
Lookup result
Example response
{
"status": "ok",
"disambiguate_on": {
"segment": 6,
"name": "subtype",
"values": [
"ductless_mini_split",
"hp_air_source"
]
}
}Changes
- info
endpoint added
- info