> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/code/builtin/http-node-variables.md).

# Use HTTP node pagination variables in Duaer

Duaer's HTTP Request node provides $pageCount, $request, and $response in pagination expressions. Those three names work only in that node.
## Only inside Duaer HTTP Request pagination

$pageCount, $request, and $response exist for pagination on the HTTP Request node. An expression on another node does not have these values. How you turn pagination on is a parameter of the HTTP Request node itself.

## The three variables

- $pageCount — how many pages the node has already fetched.
- $request — the request object this node sent.
- $response — the response from that call. $response.body is the body, $response.headers the headers, and $response.statusCode the HTTP status code. What body and headers contain depends on the API.
## Questions

### Which Duaer nodes can use $response?

In Duaer, $response, $request, and $pageCount work only in pagination expressions on the HTTP Request node. $response.body is the body, $response.headers the headers, and $response.statusCode the status code.

### What does $pageCount mean in Duaer?

In Duaer HTTP Request pagination, how many pages the node has already fetched—use it to decide whether to request another page.

## Related

- [Use built-in methods and variables in Duaer](https://doc.duaer.com/code/builtin.md)
- [Transform data with expressions in Duaer](https://doc.duaer.com/code/expressions.md)
- [Use convenience methods in Duaer expressions](https://doc.duaer.com/code/builtin/convenience.md)

