I am getting an error API response too large when setting api as action and trying to get data in text format because it doesn’t pick up JSON. The actual dataset is a JSON with 2 arrays with one array have 149 data points and other array holding 85k data points. This data is being pulled from public endpoint- https://api.raydium.io/v2/sdk/liquidity/mainnet.json and gets updated real time.
My use case is to pull data from the public endpoint every 30 secs into bubble. I tried running a small script locally that had a file size of 127 mb for 85k data set in JSON and the api response returns this each time, then fetches new data points to save. How can this happen in bubble ?
You should check the API documentation where you are retrieving this data to understand how they implement data pagination and how you should adjust your request to return a smaller amount of data.
Typically, this type of information is explicitly provided in API documentation.