MayaScan
MayaScan

API DOCS

Build apps with MayaScan's API

Standards on Maya

Start Building

MayaScan has developed a powerful indexer tailored for MRC-20 tokens and M-NFT collections. Now, with a variety of accessible endpoints, you can effortlessly list and search these standards. This empowers you and your project to showcase user balances, enumerate assets, and much more.

Features

Dive into the API docs below.

Available endpoints

List all MRC-20 tokens

Method

GET

https://www.MayaScan.org/api/mrc20

RESPONSE

{
  "tokens": [
    {
      "ticker": "GLD",
      "hash": "82FE7CA1D768951FB69CD92F897F1161BA2EA9096EE58AE3AA290D511751B0E0",
      "height": 3071017,
      "supply": "10000000000000000000",
      "minted": "10000000000000000000",
      "burnt": "0",
      "owner": "maya1wtr38d0ahf9kw6g6esy5n2mm7gymht6wgysjwk",
      "memo": "MRC-20:deploy:GLD:10000000000000000000",
      "date": "2023-09-29T11:37:24.000Z",
      "listed": true,
      "max_mint_per_address": null,
      "mint_price_per_token": null,
      "name": "Mayan Gold",
      "description": "Maya Gold is the main currency of MayaScan",
      "logo": "tokens/id459693155083483.png",
      "volume_transfer": "8500000000000",
      "volume_mint": "0",
      "volume_buy": "8462700000000000",
      "volume_sell": "10000000000000000",
      "volume_transfer_cacao": "1000000",
      "volume_mint_cacao": "0",
      "volume_buy_cacao": "846270000000000",
      "volume_sell_cacao": "1000000",
      "holders": "36",
      "holders_balance": "9998462700000000000"
    }
  ]
}

MRC-20 token details

Method

GET

https://www.MayaScan.org/api/mrc20?ticker={TICKER}

ARGUMENTS

Key

Type

Description

TICKER

string

The ticker to get details from.

RESPONSE

{
  "ticker": "GLD",
  "hash": "82FE7CA1D768951FB69CD92F897F1161BA2EA9096EE58AE3AA290D511751B0E0",
  "height": 3071017,
  "supply": "10000000000000000000",
  "minted": "10000000000000000000",
  "burnt": "0",
  "owner": "maya1wtr38d0ahf9kw6g6esy5n2mm7gymht6wgysjwk",
  "memo": "MRC-20:deploy:GLD:10000000000000000000",
  "date": "2023-09-29T11:37:24.000Z",
  "listed": true,
  "max_mint_per_address": null,
  "mint_price_per_token": null,
  "name": "Mayan Gold",
  "description": "Maya Gold is the main currency of MayaScan.",
  "logo": "tokens/id459693155083483.png",
  "volume_transfer": "8500000000000",
  "volume_mint": "0",
  "volume_buy": "8462700000000000",
  "volume_sell": "10000000000000000",
  "volume_transfer_cacao": "1000000",
  "volume_mint_cacao": "0",
  "volume_buy_cacao": "846270000000000",
  "volume_sell_cacao": "1000000",
  "holders": "36",
  "holders_balance": "9998462700000000000"
}

MRC-20 token balances for an address

Method

GET

https://www.MayaScan.org/api/mrc20/balance?address={ADDRESS}

ARGUMENTS

Key

Type

Description

ADDRESS

string

The user's Maya address for which the balances are being requests.

RESPONSE

[
  {
    "ticker": "GLD",
    "balance": "84000000000000",
    "balance_for_sale": null,
    "name": "Mayan Gold",
    "logo": "tokens/id459693155083483.png",
    "logoFullPath": "https://mayaswap.s3.eu-central-1.amazonaws.com/tokens/id459693155083483.png",
    "decimals": 10
  }
]

List all M-NFT collections

Method

GET

https://www.MayaScan.org/api/mnft

RESPONSE

{
  "collections": [
    {
      "symbol": "PEPE",
      "hash": "C1F21EEBF6E0B1D32BB44324FEBAF9918116903FACD55D2FDDD002EA96D4CB86",
      "height": 3072166,
      "name": "MAYA's very own PEPE",
      "supply": "256",
      "base_url": "https://m-nft-pepe.s3.eu-central-1.amazonaws.com/",
      "pre_minted": false,
      "minted_by_owner_only": false,
      "mint_price": "1000000000000",
      "owner": "maya1wtr38d0ahf9kw6g6esy5n2mm7gymht6wgysjwk",
      "date": "2023-09-29T13:27:11.000Z",
      "listed": true,
      "minted": "58",
      "listed_for_sale": null,
      "floor_price": null,
      "volume_transfer": "172",
      "volume_mint": "5179",
      "volume_buy": "0",
      "volume_sell": "0",
      "volume_transfer_cacao": "3000000",
      "volume_mint_cacao": "58000000000000",
      "volume_buy_cacao": "0",
      "volume_sell_cacao": "0",
      "holders": "35",
      "holders_balance": "58"
    }
  ]
}

M-NFT collection details

Method

GET

https://www.MayaScan.org/api/mnft?symbol={SYMBOL}

ARGUMENTS

Key

Type

Description

SYMBOL

string

The collection's symbol.

RESPONSE


  "symbol": "PEPE",
  "hash": "C1F21EEBF6E0B1D32BB44324FEBAF9918116903FACD55D2FDDD002EA96D4CB86",
  "height": 3072166,
  "name": "MAYA's very own PEPE",
  "supply": "256",
  "base_url": "https://m-nft-pepe.s3.eu-central-1.amazonaws.com/",
  "pre_minted": false,
  "minted_by_owner_only": false,
  "mint_price": "1000000000000",
  "owner": "maya1wtr38d0ahf9kw6g6esy5n2mm7gymht6wgysjwk",
  "date": "2023-09-29T13:27:11.000Z",
  "listed": true,
  "minted": "58",
  "listed_for_sale": null,
  "floor_price": null,
  "volume_transfer": "172",
  "volume_mint": "5179",
  "volume_buy": "0",
  "volume_sell": "0",
  "volume_transfer_cacao": "3000000",
  "volume_mint_cacao": "58000000000000",
  "volume_buy_cacao": "0",
  "volume_sell_cacao": "0",
  "holders": "35",
  "holders_balance": "58"
}

M-NFT collection balances for an address

Method

GET

https://www.MayaScan.org/api/mnft/balance?address={ADDRESS}&page={PAGE}

ARGUMENTS

Key

Type

Description

ADDRESS

string

The user's Maya address for which the balances are being requests.

PAGE

number

Up to 10 collections are displayed per page.

RESPONSE

[
  {
    "symbol": "PEPE",
    "ids": [
      10
    ],
    "name": "MAYA's very own PEPE",
    "base_url": "https://m-nft-pepe.s3.eu-central-1.amazonaws.com/"
  }
]