Attempting to display all token_id's for NFT contract address

I am wanting to search an NFT contract address and have it display all the token_id’s that are available. My current HTML, CSS and JS code is below. I am currently getting “undefined” in the “display_result” text block once I select search.

<!DOCTYPE html>
<html>
    <head>
        <title>Zoo Tracker</title>
        <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/web3.min.js"></script>
        <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
        <script src="https://unpkg.com/moralis/dist/moralis.js"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
        <link rel="stylesheet" href="./style.css">
    </head>
    <body>
        <nav class="navbar navbar-expand-lg navbar-light bg-light">
            <a class="navbar-brand" href="#">NFT Rarity Tracker</a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
          
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav mr-auto">
                    <li class="nav-item active">
                    <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
                    </li>
                </ul>
                <button id="login_button" class="btn btn-outline-primary my-2 my-sm-0" type="submit">Sign in with Metamask</button>
            </div>
          </nav>
        <div class="container">
            <div class="row">
              <div class="col col-md-6 offset-md-3" id="window">
                  <h4>Search NFT Contract</h4>
                  <div id="form">
                    <div class="input-group mb-3">
                        <input type="text" class="form-control" placeholder="Contract Address" id="search_address">
                    </div>
                    <button class="btn btn-large btn-primary btn-block" id="search_button">
                        Search
                    </button>
                  </div>
            </div>
        </div>
        <div class="container">
            <div class="row">
              <div class="col col-md-6 offset-md-3" id="result">
                  <h4>Results</h4>
                  <div id="form">
                    <div class="input-group mb-3">
                        <input type="text" class="form-control" id="display_result" readonly>
                    </div>
                  </div>
            </div>
        </div>

        <script type="text/javascript" src="./logic.js"></script>
    </body>
</html>
// Connection to Moralis server
const serverUrl = "https://ovi47byzrz3m.usemoralis.com:2053/server";
const appId = "e4HMFbiqrsdWEwTPF8We5Pdq4zyISpWBjXrcGIv5";
Moralis.start({ serverUrl, appId });

var address = '';


async function login() {
    let user = Moralis.User.current();
     try {
        currentUser = Moralis.User.current();
        if (!currentUser){
            currentUser = await Moralis.Web3.authenticate();
        }
     } catch(error) {
       console.log(error)
     }
  }

 async function searchContract(){
  var address = document.getElementById("search_address").value;
   const search = { address: ''+ address +'', chain: "bsc" };
   const result = await Moralis.Web3API.token.getAllTokenIds(search);
   console.log(result);
   document.getElementById("display_result").value = result.token_id;
 }

  document.getElementById("login_button").onclick = login();
  document.getElementById("search_button").onclick = searchContract;
#window{
    margin-top: 25px;
    background-color: beige;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 0 5px;
}

what you get on that console.log(result), and what parameters did you have in that search variable?

Hi mate thanks for the reply.

I am searching with the “CryptoZOO ANML” contract address. I managed to get it to working sort of haha updated code and console.log results below. Please let me know if there is a much better way to do this. I am still quite new to all of it. I am also now wanting the token_uri which I can get but line break commands aren’t working

logic.js

// Connection to Moralis server
const serverUrl = "https://ovi47byzrz3m.usemoralis.com:2053/server";
const appId = "e4HMFbiqrsdWEwTPF8We5Pdq4zyISpWBjXrcGIv5";
Moralis.start({ serverUrl, appId });

let x = "";

async function login(){
    let user = Moralis.User.current();
     try {
        currentUser = Moralis.User.current();
        if (!currentUser){
            currentUser = await Moralis.Web3.authenticate();
        }
     } catch(error) {
       console.log(error)
     }
  }

 async function searchContract(){
  var address = document.getElementById("search_address").value;
   const search = { address: ''+ address +'', chain: "bsc" };
   const results = await Moralis.Web3API.token.getAllTokenIds(search);
   console.log(results.result);
    for (let i in results.result) {
      x += results.result[i].token_uri + "<br>";
    }
    document.getElementById("display_result").value = x;
   }
   //console.log(x);


  document.getElementById("login_button").onclick = login();
  document.getElementById("search_button").onclick = searchContract;

CONSOLE LOGS

(500) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, …]
[0 … 99]
0: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3495', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3495', metadata: '{"name":"Kitten","tokenId":3495,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
1: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1208', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1208', metadata: '{"message":"That token has not yet been hatched."}', …}
2: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1822', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1822', metadata: '{"message":"That token has not yet been hatched."}', …}
3: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3643', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3643', metadata: '{"message":"That token has not yet been hatched."}', …}
4: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2581', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2581', metadata: '{"message":"That token has not yet been hatched."}', …}
5: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5168', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5168', metadata: '{"message":"That token has not yet been hatched."}', …}
6: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2968', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2968', metadata: '{"name":"Pug","tokenId":2968,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
7: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1059', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1059', metadata: '{"name":"Penguin","tokenId":1059,"image":"https://…type":"number"},{"trait_type":"Drop","value":1}]}', …}
8: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5132', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5132', metadata: '{"message":"That token has not yet been hatched."}', …}
9: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1828', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1828', metadata: '{"name":"Pug","tokenId":1828,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
10: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4242', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4242', metadata: '{"message":"That token has not yet been hatched."}', …}
11: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3787', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3787', metadata: '{"name":"Kitten","tokenId":3787,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
12: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3040', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3040', metadata: '{"name":"Gorilla","tokenId":3040,"image":"https://…type":"number"},{"trait_type":"Drop","value":1}]}', …}
13: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '635', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/635', metadata: '{"name":"Kitten","tokenId":635,"image":"https://ga…type":"number"},{"trait_type":"Drop","value":1}]}', …}
14: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2145', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2145', metadata: '{"message":"That token has not yet been hatched."}', …}
15: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3546', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3546', metadata: '{"name":"Elephant","tokenId":3546,"image":"https:/…type":"number"},{"trait_type":"Drop","value":1}]}', …}
16: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1645', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1645', metadata: '{"name":"Turtle","tokenId":1645,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
17: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2446', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2446', metadata: '{"message":"That token has not yet been hatched."}', …}
18: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '762', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/762', metadata: '{"message":"That token has not yet been hatched."}', …}
19: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3518', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3518', metadata: '{"message":"That token has not yet been hatched."}', …}
20: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5447', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5447', metadata: '{"name":"Duckling","tokenId":5447,"image":"https:/…type":"number"},{"trait_type":"Drop","value":1}]}', …}
21: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2830', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2830', metadata: '{"message":"That token has not yet been hatched."}', …}
22: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2499', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2499', metadata: '{"message":"That token has not yet been hatched."}', …}
23: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5165', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5165', metadata: '{"message":"That token has not yet been hatched."}', …}
24: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5199', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5199', metadata: '{"name":"Panda","tokenId":5199,"image":"https://ga…type":"number"},{"trait_type":"Drop","value":1}]}', …}
25: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5218', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5218', metadata: '{"name":"Pug","tokenId":5218,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
26: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5270', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5270', metadata: '{"name":"Elk","tokenId":5270,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
27: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4838', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4838', metadata: '{"message":"That token has not yet been hatched."}', …}
28: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1475', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1475', metadata: '{"name":"Pug","tokenId":1475,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
29: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3037', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3037', metadata: '{"message":"That token has not yet been hatched."}', …}
30: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1342', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1342', metadata: '{"message":"That token has not yet been hatched."}', …}
31: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2641', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2641', metadata: '{"message":"That token has not yet been hatched."}', …}
32: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1724', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1724', metadata: '{"name":"Butterfly","tokenId":1724,"image":"https:…type":"number"},{"trait_type":"Drop","value":1}]}', …}
33: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2050', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2050', metadata: '{"message":"That token has not yet been hatched."}', …}
34: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '571', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/571', metadata: '{"message":"That token has not yet been hatched."}', …}
35: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '645', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/645', metadata: '{"message":"That token has not yet been hatched."}', …}
36: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3555', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3555', metadata: '{"name":"Lion","tokenId":3555,"image":"https://gat…type":"number"},{"trait_type":"Drop","value":1}]}', …}
37: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1957', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1957', metadata: '{"message":"That token has not yet been hatched."}', …}
38: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3861', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3861', metadata: '{"name":"Penguin","tokenId":3861,"image":"https://…type":"number"},{"trait_type":"Drop","value":1}]}', …}
39: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4613', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4613', metadata: '{"message":"That token has not yet been hatched."}', …}
40: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4961', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4961', metadata: '{"name":"Elephant","tokenId":4961,"image":"https:/…type":"number"},{"trait_type":"Drop","value":1}]}', …}
41: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5715', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5715', metadata: '{"message":"That token has not yet been hatched."}', …}
42: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1566', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1566', metadata: '{"message":"That token has not yet been hatched."}', …}
43: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '443', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/443', metadata: '{"message":"That token has not yet been hatched."}', …}
44: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2380', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2380', metadata: '{"message":"That token has not yet been hatched."}', …}
45: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2801', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2801', metadata: '{"message":"That token has not yet been hatched."}', …}
46: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2448', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2448', metadata: '{"message":"That token has not yet been hatched."}', …}
47: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1010', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1010', metadata: '{"name":"Elk","tokenId":1010,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
48: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '234', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/234', metadata: '{"name":"Gorilla","tokenId":234,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
49: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '372', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/372', metadata: '{"name":"Butterfly","tokenId":372,"image":"https:/…type":"number"},{"trait_type":"Drop","value":1}]}', …}
50: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '586', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/586', metadata: '{"message":"That token has not yet been hatched."}', …}
51: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1549', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1549', metadata: '{"message":"That token has not yet been hatched."}', …}
52: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4427', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4427', metadata: '{"message":"That token has not yet been hatched."}', …}
53: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5523', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5523', metadata: '{"message":"That token has not yet been hatched."}', …}
54: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5535', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5535', metadata: '{"name":"Penguin","tokenId":5535,"image":"https://…type":"number"},{"trait_type":"Drop","value":1}]}', …}
55: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5491', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5491', metadata: '{"name":"Pug","tokenId":5491,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
56: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5140', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5140', metadata: '{"name":"Duckling","tokenId":5140,"image":"https:/…type":"number"},{"trait_type":"Drop","value":1}]}', …}
57: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5116', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5116', metadata: '{"name":"Turtle","tokenId":5116,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
58: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5192', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5192', metadata: '{"name":"Kitten","tokenId":5192,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
59: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4924', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4924', metadata: '{"message":"That token has not yet been hatched."}', …}
60: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5256', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5256', metadata: '{"message":"That token has not yet been hatched."}', …}
61: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2680', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2680', metadata: '{"message":"That token has not yet been hatched."}', …}
62: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '179', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/179', metadata: '{"name":"Duckling","tokenId":179,"image":"https://…type":"number"},{"trait_type":"Drop","value":1}]}', …}
63: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '303', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/303', metadata: '{"message":"That token has not yet been hatched."}', …}
64: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '940', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/940', metadata: '{"message":"That token has not yet been hatched."}', …}
65: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4762', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4762', metadata: '{"message":"That token has not yet been hatched."}', …}
66: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4812', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4812', metadata: '{"message":"That token has not yet been hatched."}', …}
67: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1775', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1775', metadata: '{"message":"That token has not yet been hatched."}', …}
68: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5790', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5790', metadata: '{"message":"That token has not yet been hatched."}', …}
69: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3328', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3328', metadata: '{"message":"That token has not yet been hatched."}', …}
70: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2932', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2932', metadata: '{"message":"That token has not yet been hatched."}', …}
71: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3709', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3709', metadata: '{"message":"That token has not yet been hatched."}', …}
72: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3676', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3676', metadata: '{"name":"Orca","tokenId":3676,"image":"https://gat…type":"number"},{"trait_type":"Drop","value":1}]}', …}
73: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3332', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3332', metadata: '{"name":"Kitten","tokenId":3332,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
74: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3127', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3127', metadata: '{"message":"That token has not yet been hatched."}', …}
75: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2399', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2399', metadata: '{"message":"That token has not yet been hatched."}', …}
76: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2593', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2593', metadata: '{"message":"That token has not yet been hatched."}', …}
77: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1728', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1728', metadata: '{"message":"That token has not yet been hatched."}', …}
78: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3501', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3501', metadata: '{"message":"That token has not yet been hatched."}', …}
79: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1831', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1831', metadata: '{"name":"Elephant","tokenId":1831,"image":"https:/…type":"number"},{"trait_type":"Drop","value":1}]}', …}
80: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5697', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5697', metadata: '{"name":"Kitten","tokenId":5697,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
81: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '492', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/492', metadata: '{"message":"That token has not yet been hatched."}', …}
82: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3607', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3607', metadata: '{"message":"That token has not yet been hatched."}', …}
83: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '267', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/267', metadata: '{"name":"Butterfly","tokenId":267,"image":"https:/…type":"number"},{"trait_type":"Drop","value":1}]}', …}
84: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2391', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2391', metadata: '{"name":"Pug","tokenId":2391,"image":"https://gate…type":"number"},{"trait_type":"Drop","value":1}]}', …}
85: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1395', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1395', metadata: '{"message":"That token has not yet been hatched."}', …}
86: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1561', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1561', metadata: '{"name":"Turtle","tokenId":1561,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
87: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1488', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1488', metadata: '{"name":"Butterfly","tokenId":1488,"image":"https:…type":"number"},{"trait_type":"Drop","value":1}]}', …}
88: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1468', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1468', metadata: '{"message":"That token has not yet been hatched."}', …}
89: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '827', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/827', metadata: '{"message":"That token has not yet been hatched."}', …}
90: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5796', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5796', metadata: '{"message":"That token has not yet been hatched."}', …}
91: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '112', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/112', metadata: '{"message":"That token has not yet been hatched."}', …}
92: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '2466', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/2466', metadata: '{"name":"Kitten","tokenId":2466,"image":"https://g…type":"number"},{"trait_type":"Drop","value":1}]}', …}
93: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '1970', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/1970', metadata: '{"message":"That token has not yet been hatched."}', …}
94: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4807', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4807', metadata: '{"message":"That token has not yet been hatched."}', …}
95: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '4808', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/4808', metadata: '{"message":"That token has not yet been hatched."}', …}
96: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5162', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5162', metadata: '{"message":"That token has not yet been hatched."}', …}
97: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '3693', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/3693', metadata: '{"message":"That token has not yet been hatched."}', …}
98: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '733', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/733', metadata: '{"name":"Kitten","tokenId":733,"image":"https://ga…type":"number"},{"trait_type":"Drop","value":1}]}', …}
99: {token_address: '0xb6a988721fac6805e991b3ac7cb295a0b6cdbd38', token_id: '5555', contract_type: 'ERC721', token_uri: 'https://app.cryptozoo.co/data/token_info/5555', metadata: '{"message":"That token has not yet been hatched."}', …}
[100 … 199]
[200 … 299]
[300 … 399]
[400 … 499]
length: 500

it looks like it works fine.
You will get only a maximum of 500 results with a request. In case that you want all the token ids (where there are more than 500 results) you will have to use pagination with offset parameter.