# Phân trang dữ liệu

Hệ thống API  CareSoft có giới hạn về số bản ghi tối đa được gọi về và số lần call API trong giây

Mặc định rpp là <mark style="color:green;">**50 bản ghi**</mark>, tối đa là <mark style="color:orange;">**500 bản ghi/ lượt request**</mark>

Trong các api trả về luôn có biến số numFound là số lượng bản ghi đáp ứng yêu cầu triệu goi. Để chuyển trang dữ liệu sử dụng đồng thời các tham số kèm theo. \ <mark style="color:green;">`page:`</mark>` ``Số trang (Int)`\ <mark style="color:green;">`count:`</mark>` ``Số bản ghi cần lấy  (int)`&#x20;

<figure><img src="/files/h1HPZPsGp9Lo2sGLzOKL" alt=""><figcaption><p>Bổ sung thêm param page, count vào mỗi request để chuyển trạng</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.caresoft.vn/thong-tin-chung/phan-trang-du-lieu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
