Skip to main content
The Box Query API lets you search for and find objects in Box. You can filter and sort results using metadata templates and item fields, so you can build detailed queries. It goes beyond basic file and folder search and supports more types of Box items. To create a query, call the POST https://api.box.com/2.0/query endpoint with query details.

Parameters

To make a call, you must pass the following parameters. Mandatory parameters are in bold.

Examples

Query on two custom Metadata templates:
Query on one custom metadata template and item information:

Response

Response fields

Pagination uses markers, not snapshots. If you combine all pages, you may not get a complete list of matching items at one moment in time. New matches may appear after you start, and items from earlier pages can be missing from later pages if they are changed or deleted while you are fetching the results.

Error codes

Last modified on July 26, 2026