If i have a base URL, how to auto change page number

I have a base URL for to send get request to extract some data. in the format of the following
xxxxxxxxxxx/api/page/#

Might I suggest a visit to the Learning Centre.

Store and reuse values using variables | Postman Learning Center