I'd like to retrieve a list of NFT collection from Magic Eden using curl.

I've checked the docs at /collections/:symbol/listings, and I've tried to use the following request:

$ curl --location -s 'api-devnet.magiceden.dev/v2/collections/solice_genesis_avatars/listings'

but it doesn't return any items. I've also tried to use api.magiceden.dev or api.magiceden.io instead, but these also fails. And I don't see any endpoint available which I can use for the main website.

What I'm missing?

1 Answer 1


Ok, I've found it at https://api.magiceden.dev/

Mainnet: api-mainnet.magiceden.dev/v2

The following curl command works:

% curl --location -s 'api-mainnet.magiceden.dev/v2/collections/solice_genesis_avatars/listings' | jq

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.