Strapi API only returns 25 entries: it's pagination
New Strapi entries not showing in your API response? Strapi paginates at 25 by default. Here's how to read the meta and raise the page size.
The Liite team7 min de lecture
Short answer
Strapi's REST API returns one page of results, 25 entries by default, so newer entries often sit on page 2. Check meta.pagination.total against the length of data, then raise pagination[pageSize], loop through the pages, or sort newest first.
You added entries in Strapi, including on Strapi Cloud, but your frontend doesn't show them. The content API returns only 25 results and the newest records are missing. You probably searched for something like "strapi api not returning new entries" or "strapi only 25 results".
This is almost always pagination, not a bug and not a sync problem. Strapi returns one page by default, and your request never asked for the next one.
Why it happens
Here are the causes, most common first.
- Default pagination. Strapi's REST API paginates list endpoints. A request like
/api/articlesreturns the first page with a page size of 25. With 40 entries, the other 15 exist but sit on page 2. - Sort order hides the new entries. Without an explicit
sort, you shouldn't assume the newest entry comes first or last. Depending on the order, new entries can land beyond the first page, so it looks as though new content isn't arriving. - Draft & Publish. If the content type uses Draft & Publish, the public API returns only published entries by default. A draft is missing no matter how you paginate.
- Role permissions. The role your request uses must have permission to read that content type.
- Caching. A cached response in your frontend host or CDN can serve an old list.
People on Strapi's community forum have reported exactly the first case: records created on Strapi Cloud were present, but didn't appear on the frontend, and the cause was the default page size of 25.
The response itself tells you what happened. At the end of the JSON, look at meta.pagination. It normally contains page, pageSize, pageCount and total. If total is higher than the number of items you received, you're looking at one page of a longer list.
| Cause | Symptom | Fix |
|---|---|---|
| Default page size | total is larger than data.length | Raise pageSize or loop pages |
| No explicit sort | New entries are on a later page | Add sort=createdAt:desc |
| Draft & Publish | Entry in admin but not in total | Publish it |
| Role permissions | Empty list or 403 | Enable find for the role |
| Caching | Old data after a fresh request works | Clear the cache |
Step-by-step fixes
1. Check meta.pagination first
- Open the API response in your browser, an API client or your frontend's network tab.
- Find
meta.paginationat the end. - Compare
totalwith the number of items indata.
If total is larger, pagination is your cause and the next fixes apply. If total doesn't include your new entry at all, skip to the draft and permissions checks.
2. Ask for a bigger page
Use the pagination parameters on the request:
/api/articles?pagination[pageSize]=100Then check meta.pagination.pageSize in the response to see what you actually received. If it's lower than you asked for, the server maximum capped it (see fix 5).
3. Walk through the pages
For a full list, loop with pagination[page]=1, 2, 3 and so on until you reach pageCount:
/api/articles?pagination[page]=2&pagination[pageSize]=25This is the dependable approach when the collection keeps growing, because the code keeps working after the collection passes any size you picked.
4. Sort so the newest come first
If you only need recent entries, ask for them directly instead of fetching everything:
/api/articles?sort=createdAt:desc&pagination[pageSize]=10Set sort yourself so the result doesn't depend on a default.
5. Check the server limits
Strapi has a configured default page size and a maximum page size, set in your project's API configuration. If you request a pageSize above the maximum, Strapi caps it. Open the API config file in your project to see the values. Strapi Cloud runs your project code, so the same configuration applies there.
Version differences
Defaults can change between major versions and by your own configuration. Treat 25 as what you'll usually see, and confirm it in Strapi's documentation for your version and in a real response.
6. Check Draft & Publish
If your content type uses Draft & Publish, an entry saved as a draft won't appear in the public API. Open the entry in the admin panel, click Publish, and request again.
7. Check role permissions and caching
Under the admin panel's settings, open the role your request uses (Public, or the role tied to your API token) and confirm the content type allows reading. Then rule out a cache: request the API URL directly, bypassing your frontend, and compare it with what the frontend shows.
Checklist before you try again
meta.pagination.totalmatches the number of entries you expect.data.lengthequalstotal, or you're looping topageCount.- The request has an explicit
sort. - The new entry is published, not a draft.
- The role you call with can read the content type.
- You tested the API URL directly, not only through the frontend.
What won't help
- Redeploying the frontend repeatedly. The data isn't stale. It's on a page you didn't request.
- Restarting or rebuilding the Strapi project. Pagination is request behavior, so a restart changes nothing.
- Blaming a Strapi Cloud sync failure. If the entry shows in the admin panel and is counted in
meta.pagination.total, it's saved and being served. - Setting a huge
pageSizeand forgetting the cap. If the server maximum is lower, you'll get fewer items than you asked for.
A related quirk: the relation dropdown shows only 4 items
People on Strapi's community forum have also reported something that looks similar in the admin panel. When adding a relation to an entry, the dropdown listed only four items, and the mouse wheel didn't scroll it. The reporter found that the arrow keys moved through the list.
That is a user report, not something confirmed in Strapi's documentation, and it may have changed in later releases. If you hit it:
- Use the arrow keys to move down the list.
- Type in the dropdown. If the field supports searching, typing narrows the list so the item you want appears near the top.
- Update Strapi. A newer release may behave differently. Check the release notes for your version.
Rule of thumb
If the admin panel shows the entry but the API doesn't, check in this order: pagination, publish state, role permissions, cache.
If nothing works
If total still doesn't include your entry after all of this, ask in Strapi's official support channels (for Strapi Cloud, the support contact in your Cloud dashboard). Include:
- the exact request URL, with all query parameters;
- the full
meta.paginationobject from the response; - your Strapi version and whether it runs on Strapi Cloud or self-hosted;
- whether the entry is published, and the role used;
- what you've already tried.
Subject: Published entry missing from REST API response
Hi, a published entry in the "articles" content type does not appear in
GET /api/articles?sort=createdAt:desc&pagination[pageSize]=100.
meta.pagination shows page 1, pageSize 100, total [N]. The entry is
visible in the admin panel and published. Strapi version: [x.y.z],
hosting: [Strapi Cloud / self-hosted]. Role used: [Public / API token].
I already checked pagination, Draft & Publish and role permissions.
Could you help me find why it is excluded?Common questions
Is 25 the limit for all Strapi versions?
Not necessarily. The default page size is a setting, and it can differ by version or by your own configuration. Read meta.pagination.pageSize in a real response to see what your project uses.
Can I turn pagination off completely?
Not safely. Strapi enforces a maximum page size so one request can't pull an unbounded amount of data. Page through the results, or filter and sort so you request only what you need.
Why do I see the entries in the admin panel but not in the API?
The admin panel has its own list view with its own paging. The public API returns published entries, for roles with permission, one page at a time. Check pagination, publish state and role permissions in that order.
Should I fetch everything in one request?
For small collections a larger pageSize is fine. For anything that can grow, loop through pages until pageCount.