Documentation Mercado Libre

Check out all the necessary information about APIs Mercado Libre.
circulos azuis em degrade

Documentation

Last update 06/05/2026
FAQs CBT › Limits on pagination and bulk extraction in searches

Limits on pagination and bulk extraction in searches


Why does the Search API fail when I use offset=1000 (or near it) even though offset and limit look valid?

There is a practical limitation where the offset parameter only supports paging up to around 1000 results. To retrieve more than 1000 items, you should switch to scan mode using search_type=scan and paginate using scroll (scroll_id) instead of increasing offset.

Recommendation
Build two retrieval strategies: offset pagination for small result sets, and scan+scroll for bulk exports. Always persist the scroll_id and continue until the API returns no more results.
What is the recommended way to fetch more than 1000 items from /users/{user_id}/items/search without hitting offset limits?

Use search_type=scan and continue the download through scroll-based pagination (scroll_id), rather than continuing to increment offset.

Recommendation
Treat scan flows as "export jobs": run them asynchronously, checkpoint progress, and avoid mixing them with user-facing pagination where low latency matters.
I am using search_type=scan, but the response does not include scroll_id (or fails when I exceed 1000 results). What should I do?

Scan mode is the intended approach to go beyond the 1000-result offset limitation, but it depends on the service returning scroll_id so you can keep paging. If scroll_id is missing, validate whether the endpoint is currently returning scroll_id for your requests and adjust your implementation to only proceed with scan when scroll_id is present.

Recommendation
Implement a guardrail: if search_type=scan returns no scroll_id, stop and log the payload/response for analysis rather than looping or falling back to offset beyond 1000.
What happens if I send limit=100 using search_type=scan and I get an HTTP 500 error?

The endpoint can fail with HTTP 500 when used with limit=100 in scan flows, especially when scroll_id is not correctly returned or handled. Scan should work as long as scroll_id is returned and used to continue paging; otherwise the flow may break.

Recommendation
Use conservative limits for scan (start smaller) and implement retries with backoff for transient 5xx responses. If failures correlate with missing scroll_id, treat it as a non-recoverable scan session and restart the export.