---
updatedAt: 2026-02-13T11:22:18.000Z
agentTools:
  projectIndex: https://reference.humanapi.co/v2.1/llms.txt
---

# Demographics

Get a list of demographics data associated with the user

Returns a list of demographics data associated with the user
*GET <https://api.humanapi.co/v1/human/medical/demographics>*

Returns a single record of demographics data associated with the user
*GET <https://api.humanapi.co/v1/human/medical/demographics/{id}>*

[block:code]
{
  "codes": [
    {
      "code": "# Returns a json array of demographics:\n[\n    {\n        \"address\": {\n            \"city\": \"SAN FRANCISCO\",\n            \"country\": \"USA\",\n            \"state\": \"CA\",\n            \"street\": [\n                \"123 Lucas Drive\"\n            ],\n            \"zip\": \"95131\"\n        },\n        \"ccd\": {\n            \"href\": \"/medical/ccds/5b3056dd711be0bff640e105\",\n            \"id\": \"5c3056db711b20bff610e105\"\n        },\n        \"createdAt\": \"2018-07-12T20:16:36.159Z\",\n        \"dob\": \"05/20/1971\",\n        \"dobDateTime\": \"1971-05-20T00:00:00.000Z\",\n        \"ethnicity\": \"Not Hispanic or Latino\",\n        \"ethnicityCodes\": [\n            {\n                \"code\": \"2186-5\",\n                \"codeSystemName\": \"RACE&ETHNICITY-CDC\",\n                \"inferred\": true\n            },\n            {\n                \"code\": \"2131-1\",\n                \"codeSystemName\": \"RACE&ETHNICITY-CDC\",\n                \"inferred\": true\n            }\n        ],\n        \"gender\": \"male\",\n        \"genderCodes\": [\n            {\n                \"code\": \"703117000\",\n                \"codeSystemName\": \"SNOMED-CT\",\n                \"inferred\": true\n            }\n        ],\n        \"id\": \"5b47b7344e72eb0022b9b5a2\",\n        \"language\": \"eng\",\n        \"languageCodes\": [\n            {\n                \"code\": \"315570003\",\n                \"codeSystemName\": \"SNOMED-CT\",\n                \"inferred\": true\n            }\n        ],\n        \"maritalStatus\": \"married\",\n        \"maritalStatusCodes\": [\n            {\n                \"code\": \"87915002\",\n                \"codeSystemName\": \"SNOMED-CT\",\n                \"inferred\": true\n            }\n        ],\n        \"name\": {\n            \"family\": \"Archer\",\n            \"given\": [\n                \"Archer\",\n                \"B\"\n            ]\n        },\n        \"organization\": {\n            \"href\": \"/medical/organizations/54dc427aaa6b4cb7d620302f\",\n            \"id\": \"54dc427aaa6b4cb7d620302f\",\n            \"name\": \"Starfleet Medical\"\n        },\n        \"provider\": {\n            \"address\": {\n                \"city\": \"San Francisco\",\n                \"country\": \"USA\",\n                \"state\": \"CA\",\n                \"zip\": \"94156\"\n            },\n            \"organization\": \"Starfleet Medical\"\n        },\n        \"race\": \"White\",\n        \"raceCodes\": [\n            {\n                \"code\": \"185984009\",\n                \"codeSystemName\": \"SNOMED-CT\",\n                \"inferred\": true\n            },\n            {\n                \"code\": \"2106-3\",\n                \"codeSystemName\": \"RACE&ETHNICITY-CDC\",\n                \"inferred\": true\n            }\n        ],\n        \"updatedAt\": \"2018-07-12T20:16:36.159Z\"\n    }\n]",
      "language": "json"
    },
    {
      "code": "# Get all demographics data associated with the user\n# Note that the demo access token currently returns an empty array. The results in the JSON tab are fictional values. \ncurl -H \"Authorization: Bearer demo\" \"https://api.humanapi.co/v1/human/medical/demographics\"",
      "language": "curl"
    }
  ],
  "sidebar": true
}
[/block]

[block:api-header]
{
  "title": "Response Properties"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "id",
    "0-1": "String",
    "0-2": "Id of the resource",
    "1-0": "updatedAt",
    "1-1": "Date",
    "1-2": "Time the record was updated on the Human API server",
    "2-0": "createdAt",
    "3-0": "name",
    "2-1": "Date",
    "2-2": "Time the record was created on the Human API server",
    "3-1": "Object",
    "3-2": "(optional) [See name object](https://reference.humanapi.co/v2.1/reference/section-name-object)",
    "4-0": "dob",
    "4-1": "String",
    "4-2": "(optional) Date of birth of the patient e.g. \"05/20/1971\"",
    "18-0": "codes",
    "18-1": "Array[Object]",
    "18-2": "(optional) [See codes](https://reference.humanapi.co/v2.1/reference/section-codes)",
    "5-0": "dobDateTime",
    "5-1": "String",
    "5-2": "(optional) Date of birth of the patient e.g. \"1971-05-20T00:00:00.000Z\"",
    "6-0": "ethnicity",
    "6-1": "String",
    "6-2": "(optional) Ethnicity of the patient e.g. \"Not Hispanic or Latino\"",
    "8-0": "gender",
    "8-1": "String",
    "8-2": "(optional) Gender of the patient e.g. \"male\"",
    "15-0": "organization",
    "15-1": "Object",
    "15-2": "[See organizations](https://reference.humanapi.co/v2.1/reference/organizations)",
    "14-0": "provider",
    "14-1": "Object",
    "14-2": "See Provider Object details below",
    "7-0": "ethnicityCodes",
    "7-1": "Array[Object]",
    "7-2": "(optional) [CDC Race & Ethnicity](https://phinvads.cdc.gov/vads/ViewCodeSystem.action?id=2.16.840.1.113883.6.238#) and [SNOMED CT Ethnicity codes](https://bioportal.bioontology.org/ontologies/SNOMED-Ethnic-Group?p=classes): [See codes](https://reference.humanapi.co/v2.1/reference/section-codes)",
    "9-0": "genderCodes",
    "9-1": "Array[Object]",
    "9-2": "(optional) [SNOMED CT Gender codes](http://bioportal.bioontology.org/ontologies/SNOMEDCT/?p=classes&conceptid=365873007): [See codes](https://reference.humanapi.co/v2.1/reference/section-codes)",
    "10-0": "language",
    "10-1": "String",
    "10-2": "(optional) Preferred spoken language of the patient e.g. \"eng\"",
    "11-0": "languageCodes",
    "11-1": "Array[Object]",
    "11-2": "(optional) [SNOMED CT Language codes](https://bioportal.bioontology.org/ontologies/SNOMEDCT?p=classes&conceptid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F61909002): [See codes](https://reference.humanapi.co/v2.1/reference/section-codes)",
    "12-0": "maritalStatus",
    "12-1": "String",
    "12-2": "(optional) Marital status of the patient e.g. \"married\"",
    "13-0": "maritalStatusCodes",
    "13-1": "Array[Object]",
    "13-2": "(optional) [SNOMED CT Marital codes](https://bioportal.bioontology.org/ontologies/SNOMEDCT?p=classes&conceptid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F125680007): [See codes](https://reference.humanapi.co/v2.1/reference/section-codes)",
    "16-0": "race",
    "16-1": "String",
    "16-2": "(optional) Race of the patient e.g. \"White\"",
    "17-0": "raceCodes",
    "17-1": "Array[Object]",
    "17-2": "(optional) [SNOMED CT Race codes](https://bioportal.bioontology.org/ontologies/SNOMEDCT?p=classes&conceptid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F103579009): [See codes](https://reference.humanapi.co/v2.1/reference/section-codes)",
    "19-0": "ccd",
    "19-1": "Object",
    "19-2": "(optional) See CCD Object details below"
  },
  "cols": 3,
  "rows": 20
}
[/block]

[block:api-header]
{
  "title": "CCD Object"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "href",
    "0-1": "String",
    "0-2": "[Link to a more detailed CCD object](https://reference.humanapi.co/v2.1/reference/ccd)",
    "1-0": "id",
    "1-1": "String",
    "1-2": "id of the CCD"
  },
  "cols": 3,
  "rows": 2
}
[/block]

[block:api-header]
{
  "title": "Provider Object"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "organization",
    "0-1": "String",
    "0-2": "(optional) The name of the medical source",
    "1-0": "address",
    "1-1": "Object",
    "1-2": "(optional) See Address Object below"
  },
  "cols": 3,
  "rows": 2
}
[/block]

[block:api-header]
{
  "title": "Address Object (from Provider Object)"
}
[/block]

[block:parameters]
{
  "data": {
    "h-0": "Property",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "city",
    "0-1": "String",
    "0-2": "(optional) City of the provider e.g. \"San Francisco\"",
    "1-0": "country",
    "1-1": "String",
    "1-2": "(optional) Country of the provider e.g. \"USA\"",
    "2-0": "state",
    "2-1": "String",
    "2-2": "(optional) State of the provider e.g. \"CA\"",
    "3-0": "zip",
    "3-1": "String",
    "3-2": "(optional) Zip code of the provider e.g. \"94156\"",
    "4-0": "street",
    "4-1": "Array[String]",
    "4-2": "(optional) Street and number of the address e.g. '[\"123 Lucas Drive\"]'"
  },
  "cols": 3,
  "rows": 5
}
[/block]