# Pagination

> Why lists use cursor-based pagination and how Page, Edge and PageInfo fit together.

Source: https://docs.gastrogate.io/docs/concepts/pagination

Lists in the Loco API use **cursor-based pagination**. Instead of page numbers, each item has an opaque cursor marking its position.

| Type | Role |
| --- | --- |
| `…Page` | The list result. Contains `edges` and `pageInfo`. |
| `…Edge` | One item: the `node` plus its `cursor`. |
| [`PageInfo`](https://docs.gastrogate.io/docs/api/types/PageInfo.md) | `hasNextPage` and `endCursor` for fetching more. |

Cursors stay stable when items are added or removed, so you never skip or duplicate items while paging. For a practical recipe, see [Paginate through results](https://docs.gastrogate.io/docs/guides/pagination.md).
