Health Infobase API:
Quick start guide
- Last updated: 2025-05-22
This page is in beta.
Get Started with the Health Infobase data API
In an effort to keep making our products better and more accessible, the health infobase team has created an Application Programming Interface (API) to improve page performance and increase the accessibility of our data. On this page, you will find infomation on what data can be acessed and how to interface with the API.
Accessible databases
These are the public databases accessible via the API:
GET endpoints
Four main routes exist to acess the database.
- The first, returns an entire table for simple plug and play with existing products/code and a simple way to acess all the data at once.
- The second, returns a single column of data.
- The third is a select query of the users choice to return custom parts of the database.
- The last, is a utility query that returns names of the tables if only the database is specified.
The following examples are all interactive so feel free to modify the query to explore different possibilities.
/api/database_name/table/table_name
This route returns the entire database table requested. You simply need to fill in the database name and table name to get started like in the following example.
/api/database_name/table/table_name/column/column_name
The column endpoint works similarly to the previous query. On top of database name and table name, enter the column name to return an entire column of data.
/api/database_name/query?q=
The open querry is the most versatile of all. To acess custom selections, enter the database name feed a custom SELECT querry after 'query?q='.
/api/database_name
Finally the database querry is a utility query. Simply specify the database name to get the list of tables it contains.
/api/database_name/reset_cache
After a database or table is updated, call this route to clear cached query results. Use the database route to invalidate the whole database and refresh connections. Add ?table=table_name or use /api/database_name/table/table_name/reset_cache to clear only queries for one table.
- Date modified: