How does the “limit” parameter work? |
If you’re building your own API request to one of our data endpoints (such as performance, performance/hits, resource, etc.), you might notice that the API only returns 100 rows of data, even when you know there are more rows than that. This is simply because the row limit is set to 100 by default. To get more data rows at once, you should add the “limit” parameter to your request JSON and set it to the desired number.
If you copied your request JSON from the “View JSON for API” modal in the portal, then it should already have the “limit” parameter with a higher number of rows specified. We recommend checking the documentation page for the API endpoint you are using here for the exact maximum of the “limit” parameter, but in general, you can pull up to 50,000 rows of data from the API at once. If you are looking for more than 50,000 rows, then please see our FAQ on the “page” parameter.
See also: How do I get data past the row limit from the API?