How can I get more than 30 results with Catalog API?

I am attempting to get clothing items created by a group using the Catalog API, however I can only get up to 30 items using it. The URL I have been using it is As you can see, it only displays 30 pieces of clothing as that’s the most the limit url parameter will allow me to. I am looking for someone to help me find some sort of workaround to be able to get all the clothing created by the group. Here is the code I have been using to get the JSON string (nodejs)

var body = [];
https.get(""+Id, (res) => {
      res.on('data', (data) => {
        body+= data;
      res.on('end', () => {console.log(JSON.stringify(body))});

Thank you in advance and sorry for a question involving a different language.

I haven’t really worked with a catalog API, but could it possibly be Limit=30 in the URL?

Unfortunately the limit parameter must be either 10, 28, or 30.

This topic came back across my mind, so I decided to go figure it out. I now realize there is a URL parameter titled cursor. The response body will contain a value titled nextPageCursor. To get more than 50 results (formerly 30), loop through getting the results using recursion until nextPageCursor is null. Fixed js code:

const https = require("https");

function getClothingIds(Id) {
    let body = "";
    let nextCursor = ""
    let final = []
    function getResponse() {
        https.get("" + Id + "&cursor="+nextCursor,
         (res) => {
            res.on("data", (data) => {
                body += data;

            res.on("end", () => {
                let json = JSON.parse(body);
                nextCursor = json["nextPageCursor"];
                final = final.concat(json["data"]);
                body = "";
                if (nextCursor != null) {