DEPRECATED. Please follow the guide for migration to the new Uniform API. CollectionsService provides the ability to get collection and owners statistics.
Get the list of current owner addresses by contract address.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/current_owners/:contractAddress?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "owner": [
- {
- "address": "string",
- "ownedCount": "string"
}
]
}
Get owners count by contract address.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/owners_count/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "count": "string"
}
]
}
Get tokens supply summary by a contract address.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/supply/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "minted": "string",
- "burned": "string",
- "totalMinted": "string",
- "totalBurned": "string"
}
]
}
Get top collections by average price.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/top/by_avg_price?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "avgPrice": "string",
- "contractName": "string"
}
]
}
Get top collections by maximum price.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/top/by_max_price?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "maxPrice": "string",
- "contractName": "string"
}
]
}
Get top collections by sales count.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/top/by_sales_count?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "salesCount": "string",
- "contractName": "string"
}
]
}
Get top collections by sales volume.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/top/by_sales_volume?limit=string&offset=string&duration=DURATION_1_DAY' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "salesVolume": "string",
- "contractName": "string"
}
]
}
Get aggregated traits information for a collection.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/collections/v1beta1/traits/:contractAddress/summary?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "traitSummaries": [
- {
- "name": "string",
- "displayType": "DISPLAY_TYPE_PROPERTY",
- "valueType": "VALUE_TYPE_NUMERIC",
- "valueNumeric": {
- "min": 0,
- "max": 0
}, - "valueString": {
- "value": "string",
- "tokenCount": "string",
- "traitPercentage": 0
}, - "valueDate": {
- "min": "2019-08-24T14:15:22Z",
- "max": "2019-08-24T14:15:22Z"
}
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. ContractsService provides the ability to get details about smart contracts.
Returns a list of contracts ordered by the block mint timestamp.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/contracts/v1beta1/all?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC&blockTimestampGt=2019-08-24T14%3A15%3A22Z&contractTypes=TOKEN_TYPE_UNKNOWN' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "contracts": [
- {
- "mintEvent": {
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "txHash": "string",
- "minterAddress": "string"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "address": "string",
- "types": [
- "TOKEN_TYPE_UNKNOWN"
]
}
]
}
Returns full details about the given smart contract, including the decoded type and metadata, if defined by the contract.
A successful response.
curl -i -X GET \ https://polygon.rest.mnemonichq.com/polygon/contracts/v1beta1/by_address/:contractAddress \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "contract": {
- "mintEvent": {
- "blockTimestamp": "2019-08-24T14:15:22Z",
- "txHash": "string",
- "minterAddress": "string"
}, - "name": "string",
- "symbol": "string",
- "decimals": 0,
- "address": "string",
- "types": [
- "TOKEN_TYPE_UNKNOWN"
]
}
}
Returns collection level information (counts, total volumes), and collection metadata from on-chain and off-chain sources.
A successful response.
curl -i -X GET \ https://polygon.rest.mnemonichq.com/polygon/contracts/v1beta1/nft/metadata/:contractAddress \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "types": [
- "TOKEN_TYPE_UNKNOWN"
], - "name": "string",
- "tokensCount": "string",
- "ownersCount": "string",
- "salesVolume": "string",
- "metadata": [
- {
- "type": "TYPE_BANNER_IMAGE_URL",
- "value": "string"
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. MarketplaceService provides the ability to get marketplace activity about NFTs from different marketplaces.
Get the current floor price of a collection/NFT.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/marketplaces/v1beta1/floors/:contractAddress?tokenId=string&marketplaceId=MARKETPLACE_ID_OPENSEA' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "price": {
- "totalNative": "string",
- "totalUsd": "string",
- "erc20Address": "string",
- "erc20Value": "string"
}
}
Get a list of active NFT listings across multiple marketplaces.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/marketplaces/v1beta1/listings/active?limit=string&offset=string&sortBy=SORT_BY_CREATION_TIMESTAMP&sortDirection=SORT_DIRECTION_ASC&creationTimestampGt=2019-08-24T14%3A15%3A22Z&listingType=LISTING_TYPE_INDIVIDUAL_NFT&marketplaceId=MARKETPLACE_ID_OPENSEA&contractAddress=string&tokenId=string&creatorAddress=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "listings": [
- {
- "nft": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "quantity": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}
}
], - "listingDetails": {
- "marketplaceId": "MARKETPLACE_ID_OPENSEA",
- "marketplacePermalink": "string",
- "saleType": "SALE_TYPE_FIXED_PRICE",
- "listingType": "LISTING_TYPE_INDIVIDUAL_NFT",
- "price": {
- "totalNative": "string",
- "totalUsd": "string",
- "erc20Address": "string",
- "erc20Value": "string"
}, - "creatorAddress": "string",
- "creationTimestamp": "2019-08-24T14:15:22Z",
- "startTimestamp": "2019-08-24T14:15:22Z",
- "expirationTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
Get a list of active NFT offers across multiple marketplaces.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/marketplaces/v1beta1/offers/active?limit=string&offset=string&sortBy=SORT_BY_CREATION_TIMESTAMP&sortDirection=SORT_DIRECTION_ASC&creationTimestampGt=2019-08-24T14%3A15%3A22Z&offerType=OFFER_TYPE_OFFER_INDIVIDUAL_NFT&marketplaceId=MARKETPLACE_ID_OPENSEA&contractAddress=string&tokenId=string&creatorAddress=string&receiverAddress=string&includeOwnedTokensInCollectionOffer=true' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "offers": [
- {
- "nft": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "quantity": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}
}
], - "offerDetails": {
- "marketplaceId": "MARKETPLACE_ID_OPENSEA",
- "marketplacePermalink": "string",
- "offerType": "OFFER_TYPE_OFFER_INDIVIDUAL_NFT",
- "price": {
- "totalNative": "string",
- "totalUsd": "string",
- "erc20Address": "string",
- "erc20Value": "string"
}, - "creatorAddress": "string",
- "receiverAddress": "string",
- "creationTimestamp": "2019-08-24T14:15:22Z",
- "startTimestamp": "2019-08-24T14:15:22Z",
- "expirationTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. PricingService provides the ability to get realtime pricing and trading information for the collection.
Get prices history by contract address. Note: Prices below 0.01 MATIC will not be included in this data. Prices below this value often represent what are effectively transfers rather than real sales.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/pricing/v1beta1/prices/by_contract/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "min": "string",
- "max": "string",
- "avg": "string"
}
]
}
Get sales volume and count by contract address. Note: Prices below 0.01 MATIC will not be included in this data. Prices below this value often represent what are effectively transfers rather than real sales.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/pricing/v1beta1/volumes/by_contract/:contractAddress?duration=DURATION_1_DAY×tampLt=2019-08-24T14%3A15%3A22Z&groupByPeriod=GROUP_BY_PERIOD_15_MINUTES' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "dataPoints": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "count": "string",
- "volume": "string"
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. TokensService provides the ability to get the NFTs that match various criteria and details about specific NFTs.
Get the list of NFTs tracked by a given contract.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/tokens/v1beta1/by_contract/:contractAddress?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC&blockTimestampGt=2019-08-24T14%3A15%3A22Z&traits=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "mintEvent": {
- "txHash": "string",
- "logIndex": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
Get the list of NFTs minted by a given address.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/tokens/v1beta1/by_minter/:minterAddress?limit=string&offset=string&contractAddress=string&tokenTypes=TOKEN_TYPE_ERC721&blockTimestampGt=2019-08-24T14%3A15%3A22Z' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "mintEvent": {
- "txHash": "string",
- "logIndex": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}
}
]
}
Get the list of NFTs owned by a given address.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/tokens/v1beta1/by_owner/:ownerAddress?limit=string&offset=string&contractAddress=string&tokenTypes=TOKEN_TYPE_ERC721' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "type": "TOKEN_TYPE_ERC721",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "quantity": "string"
}
]
}
Get full metadata of a given NFT.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/tokens/v1beta1/token/:contractAddress/:tokenId/metadata?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}, - "raw": "string",
- "indexedAt": "2019-08-24T14:15:22Z",
- "quantity": "string",
- "ownerCount": "string"
}
}
Get the list of NFT owners including the quantity owned.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/tokens/v1beta1/token/:contractAddress/:tokenId/owners?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "owners": [
- {
- "address": "string",
- "quantity": "string"
}
]
}
Get all token traits of a given NFT.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/tokens/v1beta1/token/:contractAddress/:tokenId/traits?limit=string&offset=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "traits": [
- {
- "name": "string",
- "displayType": "DISPLAY_TYPE_PROPERTY",
- "valueType": "VALUE_TYPE_NUMERIC",
- "valueNumeric": {
- "value": 0,
- "min": 0,
- "max": 0
}, - "valueString": {
- "value": "string",
- "tokenCount": "string",
- "traitPercentage": 0
}, - "valueDate": {
- "value": "2019-08-24T14:15:22Z",
- "min": "2019-08-24T14:15:22Z",
- "max": "2019-08-24T14:15:22Z"
}
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. Transfers Insights endpoints allows to get transfer events by various criteria. The service provides NFT transfers with price attribution per token transfered, which is especially important in multi-token transactions. In addition the service also provides full transfers breakout by transactions.
Get list of NFT, MATIC and ERC20 transfers by the transaction hash (for NFT-related transactions only).
A successful response.
curl -i -X GET \ https://polygon.rest.mnemonichq.com/polygon/transfers/v1beta1/all/by_tx_hash/:txHash \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "nftTransfers": [
- {
- "blockchainEvent": {
- "txHash": "string",
- "logIndex": "string",
- "seqIndex": "string",
- "blockNumber": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}, - "contractAddress": "string",
- "tokenId": "string",
- "tokenType": "TOKEN_TYPE_ERC721",
- "transferType": "TRANSFER_TYPE_MINT",
- "quantity": "string",
- "sender": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "senderReceived": {
- "totalMatic": "string",
- "totalUsd": "string",
- "maticTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "recipient": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "recipientPaid": {
- "totalMatic": "string",
- "totalUsd": "string",
- "maticTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "labels": [
- "LABEL_MINT"
]
}
], - "maticTransfers": [
- {
- "fromAddress": "string",
- "toAddress": "string",
- "valueRaw": "string",
- "valueNormalized": "string"
}
], - "erc20Transfers": [
- {
- "fromAddress": "string",
- "toAddress": "string",
- "contractAddress": "string",
- "valueRaw": "string",
- "valueNormalized": "string",
- "valueMatic": "string"
}
]
}
Get list of the NFT transfers by various criteria.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/transfers/v1beta1/nft?limit=string&offset=string&sortDirection=SORT_DIRECTION_ASC&blockTimestampGt=2019-08-24T14%3A15%3A22Z&contractAddress=string&tokenId=string&transferTypes=TRANSFER_TYPE_MINT&tokenTypes=TOKEN_TYPE_ERC721&senderAddress=string&recipientAddress=string&labelsAny=LABEL_MINT' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "nftTransfers": [
- {
- "blockchainEvent": {
- "txHash": "string",
- "logIndex": "string",
- "seqIndex": "string",
- "blockNumber": "string",
- "blockTimestamp": "2019-08-24T14:15:22Z"
}, - "contractAddress": "string",
- "tokenId": "string",
- "tokenType": "TOKEN_TYPE_ERC721",
- "transferType": "TRANSFER_TYPE_MINT",
- "quantity": "string",
- "sender": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "senderReceived": {
- "totalMatic": "string",
- "totalUsd": "string",
- "maticTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "recipient": {
- "address": "string",
- "type": "TYPE_OWNER"
}, - "recipientPaid": {
- "totalMatic": "string",
- "totalUsd": "string",
- "maticTransfersTotal": "string",
- "erc20TransfersTotal": "string",
- "attributedBy": "ATTRIBUTED_BY_ZERO_QUANTITY_TX",
- "erc20Totals": [
- {
- "contractAddress": "string",
- "totalNormalized": "string"
}
]
}, - "labels": [
- "LABEL_MINT"
]
}
]
}
DEPRECATED. Please follow the guide for migration to the new Uniform API. WalletsService provides the ability to get a list of NFTs or Transfers where a specific Wallet is involved.
List collections owned by a given Wallet.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/wallets/v1beta1/:walletAddress/collections?limit=string&offset=string&sortField=SORT_FIELD_COLLECTION_ADDRESS&sortDirection=SORT_DIRECTION_ASC' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "collections": [
- {
- "contractAddress": "string",
- "tokensCount": "string",
- "tokensQuantity": "string",
- "lastReceivedAt": "2019-08-24T14:15:22Z"
}
]
}
Get list of the NFTs owned by the specified wallet.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/wallets/v1beta1/:walletAddress/nfts?limit=string&offset=string&contractAddress=string&spam=SPAM_EXCLUDE' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{- "tokens": [
- {
- "contractAddress": "string",
- "tokenId": "string",
- "metadata": {
- "metadataUri": {
- "uri": "string",
- "mimeType": "string"
}, - "name": "string",
- "description": "string",
- "image": {
- "uri": "string",
- "uriOriginal": "string",
- "mimeType": "string"
}
}, - "quantity": "string",
- "spam": true
}
]
}
Report that a collection or token was inaccurately flagged as spam.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/wallets/v1beta1/:walletAddress/report_not_spam/:contractAddress?tokenId=string&feedback=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{ }
Report a collection or token as spam.
A successful response.
curl -i -X GET \ 'https://polygon.rest.mnemonichq.com/polygon/wallets/v1beta1/:walletAddress/report_spam/:contractAddress?tokenId=string&feedback=string' \ -H 'X-API-Key: YOUR_API_KEY_HERE'
{ }