Is it currently possible to specify a field and sort direction for the openFDA api? I don't see any mentioning of it within the documentation.

1 Answer 1


It does not support sort, although there is some ranking that is done behind the scene; it is the default scoring on Elasticsearch, which is based upon Lucene's similarity algorithm:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.