Retiring the api.pharmgkb.org hostname
As part of our transition from PharmGKB to ClinPGx, we're retiring the old API hostname, api.pharmgkb.org, in favor of api.clinpgx.org.
What's changing
If your code, scripts, or integrations call the API at api.pharmgkb.org, you'll need to update them to use api.clinpgx.org instead. The good news: the switch is a simple find-and-replace. All endpoints, paths, and response formats are unchanged — only the hostname is different.
- https://api.pharmgkb.org/v1/...
+ https://api.clinpgx.org/v1/...
api.clinpgx.org has already been live and stable for a while, and it's the hostname we'll be maintaining and building on going forward.
What you need to do
Update any references to api.pharmgkb.org in your code, scripts, or tools to point to api.clinpgx.org. That's it — no other changes are needed.
When
July 20, 2026 — after this date, api.pharmgkb.org will no longer be available.
If you run into any issues during the switch, reach out to us at feedback@clinpgx.org.