# Retriving json data with a http request

**URL:** https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742
**Category:** General
**Created:** [22 June 2025 18:29 UTC](https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742 "2025-06-22T18:29:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![LJay](https://avatars.discourse-cdn.com/v4/letter/l/9de053/32.png) [@LJay](https://discourse.nodered.org/u/LJay)
#### Post date: [22 June 2025 18:29 UTC](https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742/1 "2025-06-22T18:29:58Z")

</div>

when requesting data from natural resources wales api the payload only contains the first 999 entries in the array. the array size is 300k. the 999 enties does not appear to exceed the 5Mb limit.  
Is this a node red limit?

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [22 June 2025 18:53 UTC](https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742/2 "2025-06-22T18:53:36Z")

</div>

Hi and welcome

Do you mean the sidebar debug window only allows the first 999 to be viewable. If so the whole array is there, it just the sidebar display is saving resources. try sending the payload to file write node and saving it to a text file.

If not you will need to supply a example flow so we can see the issue first hand [How to import/export a flow](https://nodered.org/docs/user-guide/editor/workspace/import-export)

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

You can edit and correct your post by clicking the pencil ✏ icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

You may benifit watching the [essentials videos](https://m.youtube.com/watch?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6&v=ksGeUD26Mw0&embeds_referring_euri=https%3A%2F%2Fnodered.org%2F&source_ve_path=OTY3MTQ&feature=emb_imp_woyt). which will give you a greater understanding of node-red basics and the debug sidebar display.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [22 June 2025 19:50 UTC](https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742/3 "2025-06-22T19:50:10Z")

</div>

Or it may be that the API is "paged" and only returns 999 (or 1000) entries in a chunk and you have to ask for more via some extra parameter.

---

<div class="post-metadata">

### Author: ![LJay](https://avatars.discourse-cdn.com/v4/letter/l/9de053/32.png) [@LJay](https://discourse.nodered.org/u/LJay)
#### Post date: [22 June 2025 20:58 UTC](https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742/4 "2025-06-22T20:58:58Z")

</div>

Ahh, thanks that makes sense

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [22 June 2025 21:46 UTC](https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742/5 "2025-06-22T21:46:16Z")

</div>

A quick look at the API docs doesn't mention paging but I don't have an account/key so can't access it live - nor which particular call... (though they seem to support JSON etc replies so that is a good start.

Maybe do as @elcid suggests and write the payload to a file and see how big it really is.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [20 September 2025 21:47 UTC](https://discourse.nodered.org/t/retriving-json-data-with-a-http-request/97742/6 "2025-09-20T21:47:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
