API - Get NFTs user from multiple collections


I have a problem with the /{address}/nft endpoint. I want to get NFTs, but only for some collections, so I tried the token_addresses parameter, directly into your online tool, in my admin. But I have a 400 error “Invalid hex number”. When I try with only one collection, it works; when I add an other one (which worked alone), error 400.

I tried in my code, but I don’t know how to call multiple collections in the options.

I don’t think our API can handle multiple NFT contract address at the same, for that you need to call the API multiple times

1 Like

Well… it’s in the doc in you online tool. :slight_smile: But OK, I’m gonna make multiple calls. Thanks.

yes, we know, we’ll probably have to fix that online tool

1 Like