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
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=glucoseWith All Optional Parameters
https://loinc.regenstrief.org/searchapi/loincs?query=glucose&rows=100&offset=100&sortorder=loinc_num
Please report back any feedback you have on this as it is a new endeavor.