Regenstrief is piloting this API to allow users to search the extensive LOINC database. This is the same API which powers the SearchLOINC API web app.

Authentication is required and described separately.

Endpoints

Each of these endpoints search the indicate scope. They all use the same parameters.

There is presently no means of searching across all areas of LOINC in a single request.

https://loinc.regenstrief.org/searchapi/loincs
https://loinc.regenstrief.org/searchapi/answerlists
https://loinc.regenstrief.org/searchapi/parts
https://loinc.regenstrief.org/searchapi/groups

Parameters

  • query – search string
  • rows* – integer value to indicate the number of rows to return
  • offset* – integer value to indicate the offset, for paging
  • sortorder* – string value, specifying which field to sort on and order (desc and asc)
  • language* – integer value to indicate which language to return. The integer value for specific languages can be found in the LingusticVariants.csv file in the LOINC release.
  • includefiltercounts* – boolean value to indicate if information for filters should be returned with the results

*All of these parameters have default values and are optional.

Example Queries

Without Optional Parameters
https://loinc.regenstrief.org/searchapi/loincs?query=glucose

With All Optional Parameters
https://loinc.regenstrief.org/searchapi/loincs?query=glucose\&rows=100\&offset=100\&sortorder=loinc_num