Skip to main content
GET
/
api
/
v1
/
info
/
loincs
Gets the list of supported LOINC codes.
curl --request GET \
  --url https://sdp.suki-stage.com/api/v1/info/loincs \
  --header 'sdp_suki_token: <sdp_suki_token>'
{
  "loincs": [
    {
      "code": "10164-2",
      "common_name": "History of Present Illness"
    }
  ]
}
Use this endpoint to get the list of supported LOINC codes. For more information about the LOINC codes, refer to the Note Sections.

Code Examples

  • Python
  • TypeScript
import requests

url = "https://sdp.suki.ai/api/v1/info/loincs"
headers = {
    "sdp_suki_token": "<sdp_suki_token>"
}

response = requests.get(url, headers=headers)

if response.status_code == 200:
    loincs_data = response.json()
    print("Supported LOINC Codes:")
    for loinc in loincs_data.get("loincs", []):
        print(f"  {loinc.get('code')}: {loinc.get('common_name')}")
else:
    print(f"Failed to get LOINC codes: {response.status_code}")
    print(response.json())

Headers

sdp_suki_token
string
required

Response

loincs
object[]