Get aggregated incentive calculations from multiple utility programs based on customer address and device
lookup: First-time customers or when you need fresh utility data (requires full address and device_ids)refresh: Returning customers using cached utilities (fastest, only requires reference_id)override: Replace all customer devices with new ones, then refresh calculationAPI key for authentication. Include your Leap API key in the x-api-key header: x-api-key: leap_live_...
Customer address, building type, and device information for incentive calculation
Operation type: 'lookup' for new calculations with geocoding, 'refresh' for using cached utility data (faster), 'override' for replacing all customer devices
lookup, refresh, override "lookup"
Your internal reference ID for tracking this customer within your organization (unique per organization)
"external-ref-123"
Customer's address information. Required for 'lookup' operation, optional for 'refresh' and 'override' operations (uses stored address if not provided)
Type of building for which to calculate incentives. Required for 'lookup' and 'override' operations, optional for 'refresh' (uses stored building_type_id if not provided)
RESIDENTIAL, MULTIFAMILY, MANUFACTURED_HOME, COMMERCIAL "RESIDENTIAL"
Array of device IDs to associate with the customer. Required for 'lookup' and 'override' operations, optional for 'refresh' (uses existing devices if not provided). Can contain duplicates.
[32, 44, 44, 44]Whether to create/update application records and return a connect_url
true
Optional custom fields to include in the webhook payload when your organization has a webhook URL configured (e.g. Project ID, Record ID). Only keys allowed by your org's webhook field_names config are merged into the POST body.
{
"Project ID": "proj-123",
"Record ID": "row-5"
}Successful response with aggregated incentive data
Information about the utility serving the address
Formatted address string
"123 Main St, San Francisco, CA 94102"
List of possible utilities that could serve this address
The building type that was queried
RESIDENTIAL, MULTIFAMILY, MANUFACTURED_HOME, COMMERCIAL "RESIDENTIAL"
The customer ID (created or found based on address)
453
Your internal reference ID that was provided in the request
"ref-abc123"
Number of programs that were evaluated
2
URL to connect/apply for incentives (only returned if create_application=true)
"https://connect.incentives.leap.energy/your-company/refId/external-ref-123"