# Search Content (API)

To list all available categories available to your account you can make the following **GET** request:&#x20;

```hsts
https://content-api.mobivate.com/v1/<account_id>/item/search/<**offset=0**><**limit=100**>/?search<>=---:---:---:---&search<>
```

The URL consists of two optional parameters ''offset'' and ''limit''. Incrementing ''offset'' (by multiples of limit) will return the next page of results. Increasing the ''limit'' will return more results in each query.

A search query has FOUR parts. Parts are separated by a semi-colon `'':''`. Any part of the query can be replaced with a `''*''` to use a wild-card in that place.

### Examples

```hsts
GET https://content-api.mobivate.com/v1/[ACCOUNT_ID]/item/search/0/100?
search[]=*:*:*:*'
```

By posting the query '`'search[]=–:–:–:–''` you can search for the specific `''content_type'':''category'':''artist'':''title''` (in this specific order!) `''artist''` and `''title''` use wild-cards so by entering `''"on"''` in place of `''artist'`', you are searching for all artists containing letters 'on' anywhere in their name. (ie. Bey**on**ce, 'M**on**a Lisa'). For example:&#x20;

```
''...?search[]=Games:Sports:*:ball&search[]=Videos:Funny:*:*''
```

{% hint style="info" %}
**Please note:** You can search multiple queries in a single request.
{% endhint %}

The query above can be interpreted as:&#x20;

* Any item in of type Games and in category "Sports" containing "ball" anywhere in the title.
* And, All Video Items in category "Funny".
