Using offset & limit


Applying a Limit

Use the limit or minified lmt key to set a limit on your query.

Get the first 10 musicians sorted by last_name.

axios.get('jory/musician', {
    params: {
        jory: {
            sorts: ['last_name'],
            limit: 10
        }
    }
});

Applying an Offset

Use the offset or minified ofs key to set an offset on your query.

Get musicians 11 to 20 sorted by last_name.

axios.get('jory/musician', {
    params: {
        jory: {
            sorts: ['last_name'],
            offset: 10,
            limit: 10
        }
    }
});

{warning} An offset cannot be set without a limit.