---
title: API limit for Get Activities by Activity Event API
description: "Problem statement: The customer is using the get activities by activity event API and he is trying to retrieve more than 10 million record and a 500 error was thrown. Solution: After checking with the dev team, we see that there is a limit for this ..."
url: "https://supportb.kinsta.cloud/docs/api-limit-for-get-activities-by-activity-event-api/"
updated: "2024-12-31"
category: API FAQ
---

# API limit for Get Activities by Activity Event API

**Problem statement**: The customer is using the get activities by activity event API and he is trying to retrieve more than 10 million record and a 500 error was thrown.

![image.png](https://desk.zoho.in/api/v1/threads/24894000584680801/inlineImages/edbsnf99ec0200a701554d1c1682600e306093abec171f3a7e421b070e35c3558c36facffe518f1bf59f2d443eeaff2879db011a77c2cec701d897c47de6c895caca3d59ccc94e74e4dd8b11bcaceae5da500?et=19450810197&ha=ba989544637f3318b63a29f764e6cf07619c21805ec752e45fc5dea570544f7c&f=1.png)

**Solution:** After checking with the dev team, we see that there is a limit for this API and the limit is 1000000 and if the data size is more than that, the error wil be generated.
​
