Every API contains the _total and _links values. You will have to parse the JSON according to your matters.
_total
_links