I want list of all generic names in the api.fda. I have this end point query giving me first 1000 generic names. https://api.fda.gov/drug/label.json?count=openfda.brand_name.exact&limit=1000

Thats only 1000. How do I page through all of it. Can anyone please help?

2 Answers 2


According to the open FDA query parameters help page, you should combine the skip parameter with the limit parameter.

skip: Skip this number of records that match the search parameter, then return the matching records that follow. Use in combination with limit to paginate results.

-from https://open.fda.gov/apis/query-parameters/


you can just put the limit higher and get oll 34129

 j$results %>% nrow()

 [1] 34129

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.