Skip to main content

Overview

Welcome to the Leafpress API guide! Use this guide to query your utility data. Contact [email protected] to get started.

Root URL

Leafpress external API’s root URL is https://api.leafpress.io/. Once you have your API keys from the Leafpress team, make your first request!

Errors

StatusDescription
200OK: Your request was successful
400Bad Request — Your request could not be parsed or is invalid.
401Unauthorized — Your API key is missing or incorrect.
403Forbidden — The resource requested is hidden for administrators only or doesn’t exist.
404Not Found — The resource requested does not exist.
429Too Many Requests — Try again later.
500Internal Server Error — We had a problem with our server. Try again later or contact support.
502Bad Gateway — Your request timed out (exceeded 10 seconds).
503Service Unavailable — We’re temporarily offline for maintenance. Please try again later.