{"id":22710,"date":"2025-04-17T13:35:03","date_gmt":"2025-04-17T13:35:03","guid":{"rendered":"https:\/\/clockify.me\/help\/?p=22710"},"modified":"2026-04-22T12:38:58","modified_gmt":"2026-04-22T12:38:58","slug":"how-to-retrieve-more-than-50-results-via-api","status":"publish","type":"post","link":"https:\/\/clockify.me\/help\/troubleshooting\/how-to-retrieve-more-than-50-results-via-api","title":{"rendered":"How to retrieve more than 50 results via API"},"content":{"rendered":"\n<p class=\"translation-block\">By default, Clockify API returns only 50 results per page. If you want to retrieve more than 50 results, you can modify the <code>page-size<\/code> and <code>page<\/code> parameters.<\/p>\n\n\n\n<div class=\"wp-block-custom-highlight-box custom-box color-green\"><div class=\"box-header\"><svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\"><mask id=\"mask-green\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"24\" height=\"24\"><rect width=\"24\" height=\"24\" fill=\"#D9D9D9\"><\/rect><\/mask><g mask=\"url(#mask-green)\"><path d=\"M5 21.0001C4.45 21.0001 3.97917 20.8043 3.5875 20.4126C3.19583 20.0209 3 19.5501 3 19.0001V5.0001C3 4.4501 3.19583 3.97926 3.5875 3.5876C3.97917 3.19593 4.45 3.0001 5 3.0001H13.925L11.925 5.0001H5V19.0001H19V12.0501L21 10.0501V19.0001C21 19.5501 20.8042 20.0209 20.4125 20.4126C20.0208 20.8043 19.55 21.0001 19 21.0001H5ZM9 15.0001V10.7501L18.175 1.5751C18.375 1.3751 18.6 1.2251 18.85 1.1251C19.1 1.0251 19.35 0.975098 19.6 0.975098C19.8667 0.975098 20.1208 1.0251 20.3625 1.1251C20.6042 1.2251 20.825 1.3751 21.025 1.5751L22.425 3.0001C22.6083 3.2001 22.75 3.42093 22.85 3.6626C22.95 3.90426 23 4.1501 23 4.4001C23 4.6501 22.9542 4.89593 22.8625 5.1376C22.7708 5.37926 22.625 5.6001 22.425 5.8001L13.25 15.0001H9ZM11 13.0001H12.4L18.2 7.2001L17.5 6.5001L16.775 5.8001L11 11.5751V13.0001Z\" fill=\"#4CAF50\"><\/path><\/g><\/svg><span class=\"box-label\">Note<\/span><\/div><div class=\"box-content\">\n<p>If you are on a Free plan, you can only have 30 API requests per hour for the free workspace.<\/p>\n<\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>For GET requests:<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Modify the parameters<\/strong>: Add the following parameters at the end of your API endpoint:\n<ul class=\"wp-block-list\">\n<li><code>page=&lt;page_number&gt;<\/code><\/li>\n\n\n\n<li><code>page-size=&lt;desired_size&gt;<\/code> (max 5000 for base and 1000 for report endpoints)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Example:\n<ul class=\"wp-block-list\">\n<li>To retrieve more than 50 time entries, use:&nbsp;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><code>https:\/\/api.clockify.me\/api\/v1\/workspaces\/{WorkspaceID}\/user\/{UserID}\/time-entries?page=2&amp;page-size=200<\/code><\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>For POST requests:<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"translation-block\"><strong>Adjust the <code>page<\/code> and <code>page-size<\/code><\/strong>:\n<ul class=\"wp-block-list\">\n<li class=\"translation-block\">In the request payload, within the <code>detailedFilter<\/code> section, specify the page and page-size.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Example:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n\n&nbsp;&nbsp;\"dateRangeStart\": \"2021-05-28T05:00:00.000000Z\",\n\n&nbsp;&nbsp;\"dateRangeEnd\": \"2021-05-29T00:00:00.000000Z\",\n\n&nbsp;&nbsp;\"detailedFilter\": {\n\n&nbsp;&nbsp;&nbsp;&nbsp;\"page\": 1,\n\n&nbsp;&nbsp;&nbsp;&nbsp;\"page-size\": 200\n\n&nbsp;&nbsp;}\n\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"By default, Clockify API returns only 50 results per page. If you want to retrie&#8230;","protected":false},"author":25,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_helpful_status":1,"_searchwp_excluded":"","footnotes":""},"categories":[75],"tags":[],"class_list":["post-22710","post","type-post","status-publish","format-standard","hentry","category-api-response"],"acf":[],"featured_image_src":null,"author_info":{"display_name":"tamara radijevac","author_link":"https:\/\/clockify.me\/help\/author\/tamara-radijevac"},"_links":{"self":[{"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/posts\/22710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/comments?post=22710"}],"version-history":[{"count":9,"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/posts\/22710\/revisions"}],"predecessor-version":[{"id":30979,"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/posts\/22710\/revisions\/30979"}],"wp:attachment":[{"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/media?parent=22710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/categories?post=22710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clockify.me\/help\/wp-json\/wp\/v2\/tags?post=22710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}