For more information regarding the endpoints, please visit MagicEden's website: <https://docs.magiceden.io/>.
Prefix:
Depending on the network type, the prefix can contain different values:
- Mainnet: a prefix of
mainnetis required. An example call through Direct API would be:https://api.uniblock.dev/direct/v1/MagicEden/mainnet/path/to/endpoint. - Devnet: a prefix of
devnetis required. An example call through Direct API would be:https://api.uniblock.dev/direct/v1/MagicEden/devnet/path/to/endpoint.
Example:
curl --request GET \
--url https://api.uniblock.dev/direct/v1/MagicEden/mainnet/v2/collections \
--header 'accept: application/json' \
--header 'x-api-key: YOUR_UNIBLOCK_API_KEY'Supported Endpoints:
v2/collections/{symbol}/activitiesv2/collections/{symbol}/statsv2/collections/{collectionSymbol}/attributesv2/collectionsv2/collections/{symbol}/listingsv2/collections/batch/listingsv2/collections/{symbol}/holder_statsv2/collections/{symbol}/leaderboardv2/launchpad/collectionsv2/marketplace/popular_collectionsv2/mmm/poolsv2/mmm/pools/buy-wallsv2/mmm/token/{mint_address}/poolsv2/instructions/mmm/create-poolv2/instructions/mmm/update-poolv2/instructions/mmm/sol-deposit-buyv2/instructions/mmm/sol-withdraw-buyv2/instructions/mmm/sol-close-poolv2/instructions/mmm/sol-fulfill-buyv2/instructions/mmm/sol-fulfill-sellv2/tokens/{token_mint}/listingsv2/tokens/{token_mint}/offers_receivedv2/tokens/{token_mint}/activitiesv2/tokens/{token_mint}v2/wallets/{wallet_address}/tokensv2/wallets/{wallet_address}v2/wallets/{wallet_address}/activitiesv2/wallets/{wallet_address}/offers_madev2/wallets/{wallet_address}/offers_receivedv2/wallets/{wallet_address}/escrow_balancev2/instructions/buyv2/instructions/buy_now_transfer_nftv2/instructions/buy_nowv2/instructions/buy_cancelv2/instructions/buy_change_pricev2/instructions/sellv2/instructions/sell_change_pricev2/instructions/sell_nowv2/instructions/sell_cancelv2/instructions/depositv2/instructions/withdraw