The Open Humans public data APIs allows you to retrieve JSON representations of publicly available data in Open Humans.
If you plan to use public data, please read our guidelines for using public data.
List endpoints use pagination via the offset
querystring
parameter; the default page size is 100 results. A smaller or larger page
size can be specified with the limit
parameter.
DataFiles (list) Information for all public DataFiles. |
URL path:
Filter options:
Examples: |
DataFile Information for an individual public DataFile. |
URL path:
|
Members (list) All active members. |
URL path:
Filter options:
Examples: |
Member Information about an individual member, specified by username. |
URL path:
Examples: |
Member public datafiles (list) DataFiles a member has publicly shared. |
URL path:
Filter options:
|
Member projects (list) Projects a member has joined. Restricted to visible memberships in approved projects. |
URL path:
Examples: |
Projects (list) All approved projects. |
URL path:
Filter options:
Examples: |
Project Information about an individual project, specified by ID. |
URL path:
Examples: |
Project public datafiles (list) Public DataFiles that were produced by this project. |
URL path:
Filter options:
Examples: |
Project members (list) Members that have joined a project. Restricted to visible memberships in approved projects. |
URL path:
Examples: |
DataTypes (list) All available DataTypes. |
URL path:
Filter options:
Examples: |
DataType Information about an individual DataType, specified by ID. |
URL path:
Examples: |
DataType public datafiles (list) Public DataFiles that have this DataType. Optionally includes DataFiles matching any child DataTypes. |
URL path:
Filter options:
Examples: |
These are deprecated.
URL path:
/api/public-data/
Filter options:
created_start
the start date to filter from
(inclusive)created_end
the end date to filter to (inclusive)source
the name of a data souce, like
direct-sharing-134
or direct-sharing-139
, or
a comma-separated list of sources, like
direct-sharing-134,direct-sharing-139
.username
a username, like madprime
member_id
an Open Humans member ID, like
94621811
Examples:
This query searches for the 5 most recently updated data files from user
madprime
:
/api/public-data/?username=madprime&limit=5
This query shows all 23andMe datafiles created in May 2018.
/api/public-data/?created_start=5/1/2018&created_end=5/31/2018&source=direct-sharing-128
Deprecated ways to see which users have which data sources: