Search for LOINC codes with keywords using the FHIR REST API

Hello Antonio,

Actually, we quietly announced a new LOINC Search API at the end of last year. I would suggest using it for this purpose. This is the same API that runs SearchLOINC. The API is not yet documented. Here are the endpoints to use. Be sure to pass your LOINC username/password as authentication.

EndPoints - all of these endpoints search the scope specified and utilize the same 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

With All Optional Parameters

Please report back any feedback you have on this as it is a new endeavor.

1 Like