POST

Search Data Items


Searches for items in a collection on the basis of the filtering, sorting, searching, and paging preferences you provide.

Learn more about API Query Language.

Notes:

Supported filter operators by field type

Each field type supports a specific set of filter operators. Using a filter operator that's not supported for a given field type causes the search to fail.

Field TypeSupported Filter Operators
Text, Image, Document, URL, Video, Audio, Time, Reference, Page Link, Rich Text, Rich Content, Address$in, $eq, $ne, $gt, $gte, $lt, $lte, $isEmpty, $startsWith
Number, Date, Date and Time$eq, $ne, $gt, $gte, $lt, $lte, $exists
Boolean$eq, $ne, $exists
Array of strings$hasSome, $hasAll, $exists
Array, Document Array, Object, Any, Media Gallery$exists

Learn more about data types in Wix Data.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Read Data Items
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/wix-data/v2/items/search

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?