Pulling custom fields labels... Unexpected behavior

Hey there,

I’m currently working on pulling data from the Jira API, and I have two questions:

  1. Is there any way to pull more than 50 results per query using Jira Cloud’s API ?
  2. I’m trying to get all the custom field labels (to build a dataset from it), and calling with /rest/api/2/search?expand=names&maxResults=1&startAt=0 I only get the labels for some custom fields but not all (when getting rest/api/2/issue/MY_PROJECT-123?expand=names, I get more custom fields and their labels). Is there a way to get all custom fields and corresponding labels ?

Thanks!