Skip to content

URDB rate by zip code API service update #2034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cpaulgilman opened this issue Mar 13, 2025 · 1 comment · Fixed by #2053 or #2061
Closed

URDB rate by zip code API service update #2034

cpaulgilman opened this issue Mar 13, 2025 · 1 comment · Fixed by #2053 or #2061
Assignees
Labels

Comments

@cpaulgilman
Copy link
Collaborator

As of 2/25/2025, the URDB V3 API no longer returns a list of rates given a zip code:

https://developer.nrel.gov/api/utility_rates/v3.json?api_key=DEMO_KEY&address=97202

The 'address' parameter is no longer supported. Pass in the 'lat' and 'lon' parameters instead. Email notification about this change was sent to affected API users on 2025-02-25. For further questions or assistance, contact us at https://developer.nrel.gov/contact/.

Going forward, the API requires lat/lon as input:

https://developer.nrel.gov/api/utility_rates/v3.json?api_key=DEMO_KEY&lat=45.486&lon=-122.641

Need to update OpenEI Utility Rate Database window:

Image

Options are:

  1. Remove search by zip code.
  2. Replace search by zip code with search by lat/lon

Note that you search Google Maps for a zip code and right click to get a lat/lon for that zip code.

@cpaulgilman
Copy link
Collaborator Author

Request by zip code crashes SAM for Linux when zip code is invalid. For example, entering "xx" for zip code causes SAM to crash.

@cpaulgilman cpaulgilman reopened this Apr 8, 2025
sjanzou added a commit that referenced this issue Apr 10, 2025
sjanzou added a commit that referenced this issue Apr 11, 2025
URDB rate by zip code - fix Linux crash #2034
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant