Skip to main content

61 posts tagged with "Web3 Data API"

View All Tags

· One min read

Changelog: New Token Pairs & Liquidity APIs

Release Date: October 11, 2024

We’re excited to announce the addition of new Token Pairs and Liquidity APIs across both Solana and EVM networks! These updates provide you with deeper insights into token pairings and liquidity data, enabling you to build more comprehensive DeFi and trading applications.

What’s New?

Solana APIs

NameDescriptionAPI Reference
Get Token Pairs by AddressRetrieve the supported token pairs for a given address.Method Documentation
Get Aggregated Token Pair StatsRetrieve aggregated stats for a token across all pairs.Method Documentation

EVM APIs

NameDescriptionAPI Reference
Get Token Pairs by AddressRetrieve the supported token pairs for a given address.Method Documentation
Get Aggregated Token Pair StatsRetrieve aggregated stats for a token across all pairs.Method Documentation

What Can You Do?

With these new APIs, you can:

  • Track Token Pairings: Discover token pairings across various exchanges on Solana and EVM chains.
  • Monitor Liquidity: Retrieve real-time liquidity data for specific token pairs.
  • Access Aggregated Data: Gain insights into the total number of active pairs and DEXes for a token across supported networks.

Example Use Cases:

  • DeFi Dashboards: Display detailed token pair statistics for users to track liquidity pools and potential trading pairs.
  • Analytics Tools: Analyze liquidity trends and token pair activity across multiple DEXes.
  • Portfolio Management: Help users manage their assets by showing token pair data and liquidity stats for the tokens in their portfolios.

· One min read

Endpoints Deprecating (60 Days Notice)

The following changes will take effect in 60 days, on 6th December 2024:

Endpoints on All Chains

The following endpoints will be removed from all chains:

Deprecated EndpointRecommendation
/{address}/logsRetrieve logs via our RPC nodes instead. You can learn more about this in our documentation here.
/{address}/eventsRetrieve logs via our RPC nodes instead. You can learn more about this in our documentation here.
/block/{block_number_or_hash}/statsMigrate to our Streams API to monitor block stats in real time.
/nft/{address}/{token_id}/statsMigrate to our Streams API to monitor NFT stats in real time.
/transaction/{transaction_hash}/internal-transactionsMigrate to getTransactionHash using include=internal_transactions.

Gnosis NFT APIs

We will be removing all NFT APIs on Gnosis Mainnet and Gnosis Testnet due to ongoing network spam issues.

Impacted endpoints:

  • /nft/getMultipleNFTs
  • /block/{block_number_or_hash}/nft/transfers
  • /nft/{address}
  • /nft/{address}/transfers
  • /nft/{address}/owners
  • /nft/{address}/metadata
  • /nft/{address}/sync
  • /nft/{address}/{token_id}/metadata/resync
  • /nft/{address}/{token_id}
  • /nft/{address}/{token_id}/owners
  • /nft/{address}/{token_id}/transfers
  • /nft/transfers
  • /nft/{address}/traits
  • /nft/{address}/traits/paginate
  • /nft/{address}/traits/resync
  • /nft/{address}/{token_id}/stats
  • /nft/{address}/stats
  • /{address}/nft
  • /{address}/nft/collections
  • /{address}/nft/transfers

Recommendation: Explore alternative NFT data solutions at Gnosis Tools https://docs.gnosischain.com/tools/

Customers have a 60-day notice period for these changes. Additional notifications will be sent as we approach the deprecation date 6th December 2024.

· One min read

We’re thrilled to announce the launch of our brand new NFT Floor Price APIs! 🎉 This update introduces powerful new tools for retrieving and tracking floor prices for NFT collections and tokens, both current and historical.

What’s New?

We’ve launched three new endpoints for NFT floor prices:

NameDescriptionAPI Reference
Get NFT Floor Price by ContractRetrieve the current floor price of any NFT contract.Method Documentation
Get NFT Floor Price by TokenRetrieve the floor price for a specific NFT token.Method Documentation
Get Historical NFT Floor PriceRetrieve historical floor prices for an NFT contract.Method Documentation

What Can You Do?

With the NFT Floor Price APIs, you can now:

  • Track NFT Market Trends: Easily monitor the floor price of any NFT contract in real-time.
  • Analyze Individual Token Prices: Retrieve floor prices for specific NFTs within a collection.
  • Access Historical Data: Get historical floor prices to analyze trends over time.

These new APIs make it easier to build powerful NFT tools and applications. Whether you’re creating dashboards, market analysis tools, or NFT portfolio trackers, our new NFT Floor Price APIs give you the data you need to make informed decisions.

We’re excited to see the innovative applications you’ll build with this new feature! 🚀

· One min read

Endpoints Deprecating (30 Days Notice)

The following endpoints will sunset on 24th October 2024:

Deprecated EndpointRecommendation
/erc20/{address}/allowanceMigrate to our newer endpoint Wallet Token Approvals.
/nft/{address}/lowestpriceMigrate to our newer endpoint NFT Sale Prices.
/block/{block_number_or_hash}/nft/transfersUse our NFT Transfers by Contract endpoint or migrate to our Streams API to monitor all NFT transfers in real time.
/nft/transfersUse our NFT Transfers by Contract endpoint or migrate to our Streams API to monitor all NFT transfers in real time.
/ipfs/uploadFolderWe recommend exploring other providers.

Palm: Confirmed Deprecation (60 Days Notice)

Palm mainnet will be discontinued on 22nd November 2024. Please update your dapps and integrations accordingly. We recommend exploring alternative providers, which you can find at https://docs.palm.io/howto/use-supported-tools/tools.

Aptos: Confirmed Deprecation (60 Days Notice)

Aptos mainnet and testnet will be discontinued on November 22nd 2024, in line with the network’s deprecation of their v1 Indexers. We recommend exploring alternative providers, which you can find at https://aptos.dev/en/build/apis.

· 2 min read

We’re excited to announce that we have shipped the final API in our Entities feature! 🎉 This update brings a powerful new way to discover and interact with entities and dapps directly through our API.

What’s New?

We’ve launched a total of four new endpoints:

NameDescriptionAPI Reference
Search EntitiesFind entities quickly with powerful search capabilities.Method Documentation
Get Entity by IDRetrieve detailed information about a specific entity by its unique identifier.Method Documentation
Get Entities by Category IDDiscover all entities within a specific category, such as decentralized exchanges, centralized exchanges, or prominent individuals.Method Documentation
Get Entity CategoriesExplore the different categories of entities available, including dapps, exchanges, organizations, and more.Method Documentation

What Can You Do?

With this feature, you can now:

  • Discover and Explore Dapps: Find and explore decentralized applications, including popular exchanges like Uniswap and 1inch.
  • Explore Centralized Exchanges: Discover well-known centralized exchanges like Binance, Coinbase, Kraken, and many more.
  • Discover Key Entities: Access information on influential entities like BlackRock or popular individuals like Vitalik Buterin.
  • Rich Data Availability: Each entity includes detailed data, such as names, descriptions, logos, social media links, website URLs, and publicly known wallets and addresses.

These new endpoints enable you to build interactive discovery features, enrich your existing app views, and conduct extensive analytics on entities and dapps. Whether you’re building dashboards, enhancing search capabilities, or performing deep analytics, our new Entities feature provides the data you need to elevate your product.

Who Can Access It?

These endpoints are available on our Business and Enterprise plans.

We can’t wait to see what you’ll build with this new feature! 🚀

· One min read

Our latest update introduces the Token Approvals API, allowing you to easily access approval data for ERC20 tokens. Now you can track which addresses have approval to spend tokens from a given wallet 🔥

Token Approvals Feature

The Token Approvals API provides detailed information, including:

  • spender: The address of the spender that is approved.
  • approved_amount: The amount of tokens that the spender is approved to spend.
  • usd_at_risk: The USD value of the approved tokens at risk.
  • spender_label: A label identifying the spender (e.g., "Binance 1").
  • entity: The entity associated with the spender (e.g., "Opensea").

Endpoints

No.MethodDescriptionAPI ReferenceURL
11getWalletApprovalsGet ERC20 approvals by walletMethod Documentationhttps://deep-index.moralis.io/api-docs-2.2/#/Wallets/getWalletApprovals

Example

To get the ERC20 token approvals for a specific wallet, use the following API call:

curl --request GET \
--url 'https://deep-index.moralis.io/api/v2.2/wallets/0xcB1C1FdE09f811B294172696404e88E658659905/approvals?chain=eth' \
--header 'accept: application/json' \
--header 'X-API-Key: your-api-key-here'

Sample Response

{
"page": 1,
"page_size": 100,
"result": [
{
"block_number": "12526958",
"block_timestamp": "2021-04-02T10:07:54.000Z",
"transaction_hash": "0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09",
"spender": {
"address": "0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c",
"address_label": "Binance 1",
"entity": "Opensea"
},
"approved_amount": "1000000000000000",
"usd_at_risk": "1000.00"
}
]
}

For more details on how token approvals work and to explore other features, visit our Token Approvals Documentation.

· One min read

Our latest update enhances our NFT Traits feature and introduces NFT Rarity, allowing you to access detailed trait data and rarity scores for ERC721 and ERC1155 collections. 🔥

Traits have been extended to include:

  • count: The total occurrences of this attribute/trait.
  • percentage: The percentage of NFTs that possess this trait.
  • rarity_label: A label indicating the rarity based on the percentage (e.g., "Top 1% trait").

Rarity scores have been added to all NFTs:

  • rarity_rank: A numerical rank based on its rarity score.
  • rarity_percentage: The percentage indicating its rarity relative to the entire collection.
  • rarity_label: A label that describes how rare the NFT is (e.g., "Top 1% rarity").

New Endpoints

NameEndpointAPI Reference
Get NFT Traits by Collection (single response, limited to 5,000 traits)/nft/:address/traitsMethod Documentation
Get NFT Traits by Collection (paginated, no limit)/nft/:address/traits/paginateMethod Documentation
Get NFTs by Traits/nft/:address/nfts-by-traitsMethod Documentation
Resync NFT Traits by Collection/nft/:address/traits/resyncMethod Documentation

Rarity Enrichment

NFT rarity data has been added to the following endpoints:

NameEndpointAPI Reference
Get NFTs by Wallet/:address/nftsMethod Documentation
Get NFTs by Collection/nft/:addressMethod Documentation
Get NFT Owners by Collection/nft/:address/ownersMethod Documentation
Get NFT Owners by Token Id/nft/:address/:token_id/ownersMethod Documentation
Get NFT Metadata/nft/:address/:token_idMethod Documentation

For more details on how rarity works and to see which endpoints include it, visit our NFT Rarity FAQs page.

· One min read

We’re excited to announce the launch of our Token Security Score, a robust metric that evaluates ERC-20 tokens using over 35 factors. This score helps users assess a token's safety by analyzing aspects like contract vulnerabilities, transaction patterns, and more.

Key Highlights:

  • Comprehensive Analysis: Evaluates over 35 key factors such as sell/buy taxes, minting, honeypots, and more.
  • Dynamic Updates: The score is regularly refreshed to reflect the latest data.
  • Universal Support: Available across all mainnet chains.

Start integrating the Token Security Score into your platform today to enhance security, increase trust with your users or simply to filter out spam.

For more details on how it works and to see which endpoints include it, visit our Token Security Score documentation page.

· One min read

Today we're excited to announce the launch of our Extended RPC Methods! 🎉 These powerful RPC Methods let you access decoded, human-readable crypto data directly through your existing Node - no additional API integration required. 🔥

Extended RPC Methods

For more information about these methods, check out the Extended RPC Methods Overview page.

· One min read

Our DeFi endpoints now support Etherfi, Rocket Pool and Spark 🔥

Endpoints in Scope

These new protocols are live across the following endpoints:

  • DeFi Protocols by Wallet: This endpoint provides a summary breakdown of all protocols that the wallet is currently interacting with, as well as summary wallet stats including the total USD value held in DeFi protocols, as well as the total unclaimed USD value available.
  • DeFi Positions by Wallet: This endpoint provides a summary breakdown of all protocol positions that the wallet is currently interacting with in a standardized format, with each position being an individual object.
  • Get Detailed DeFi Positions by Wallet and Protocol: This endpoint provides a detailed breakdown of all positions for a given wallet and protocol, including protocol/position-specific data within position_details.

New Protocol Coverage

ProtocolQuery ParameterSupported Chains
Etherfietherfi- Ethereum
- Arbitrum
- Base
- Binance
- Linea
- Optimism
Rocket Poolrocketpool- Ethereum
- Arbitrum
- Base
- Polygon
- Optimism
Sparksparkfi- Ethereum

For a detailed breakdown of supported protocols per chain, check out the Supported DeFi Protocols page.

Stay tuned as we continue to expand our protocol and chain coverage in the coming weeks! 🚀

· One min read

Today we've launched our new Realized Profit and Loss (PnL) feature, designed to provide comprehensive insights into wallet and token profitability. 🎉

These new endpoints will make it easier than ever to track and analyze your profits and losses across various tokens, as well as allow you to identify the most profitable wallets for a given ERC20 token. 🤩

New Endpoints

  • Wallet PnL Summary: This endpoint provides an overall profitability summary for a given wallet over a specified timeframe. It includes total profit or loss and other key metrics.
  • Wallet PnL Breakdown: This endpoint offers a detailed breakdown of buys, sells, and profit/loss for each token traded by a given wallet. It helps you understand the performance of individual tokens in your portfolio.
  • Top Profitable Wallets by Token: This endpoint returns the top profitable wallets that have traded a specific token, giving insights into the most successful traders for that token.

Supported Chains

This initial release supports the following chains:

  • Ethereum
  • Polygon
  • Base

More chain support is coming soon!

For detailed information on how these endpoints work, please visit our FAQs page.

· One min read

Our DeFi endpoints now support Pendle on Ethereum, allowing you to track over $2.92b in TVL! 🔥

Endpoints in Scope

Our Pendle integration is live across the following endpoints:

  • DeFi Protocols by Wallet: This endpoint provides a summary breakdown of all protocols that the wallet is currently interacting with, as well as summary wallet stats including the total USD value held in DeFi protocols, as well as the total unclaimed USD value available.
  • DeFi Positions by Wallet: This endpoint provides a summary breakdown of all protocol positions that the wallet is currently interacting with in a standardized format, with each position being an individual object.
  • Get Detailed DeFi Positions by Wallet and Protocol: This endpoint provides a detailed breakdown of all positions for a given wallet and protocol, including protocol/position-specific data within position_details.

Chain Coveraage

Pendle is currently live on Ethereum which accounts for 90% of Pendle's TVL.

For a detailed breakdown of supported protocols per chain, check out the Supported DeFi Protocols page.

Stay tuned as we continue to expand our protocol and chain coverage in the coming weeks! 🚀

· One min read

🎉 We're excited to announce that we've expanded our Wallet History transaction decodings to include support for Approve and Revoke category types!

These new categories are designed for both ERC20 and NFT tokens, allowing clear labeling and categorization of approval and revocation actions. This enhancement provides detailed information about the amount, spender, and fully decoded token metadata.

Detailed approval or revoke information can now be accessed within the contract_interactions object. Here's an example of an approve transaction:

"category": "approve",
"summary": "Approved 0.000123 USDT",
"contract_interactions": {
"approvals": [
{
"value": "1230000000000000",
"value_formatted": "0.000123",
"token": {
"address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
"address_label": "Tether USD (USDT)",
"token_name": "Tether USD",
"token_logo": "https://cdn.moralis.io/eth/0xdac17f958d2ee523a2206206994597c13d831ec7.png",
"token_symbol": "USDT"
},
"spender": {
"address": "0x111111125421ca6dc452d289314280a0f8842a65",
"address_label": null
}
}
]
}

Currently, the contract_interactions decodes setApprovalForAll (log event ApprovalForAll) and approve (log event Approval) transactions, while revoke categories are defined as approvals with a value of 0 or where setApprovalForAll is false.

Log EventCategoryDecoded Payload
Approval > 0approvecontract_interactions.approvals:[]
ApprovalForAll = trueapprovecontract_interactions.set_approvals_all:[]
Approval = 0revokecontract_interactions.revokes:[]
ApprovalForAll = falserevokecontract_interactions.set_revokes_all:[]

For a complete list of all supported categories, please visit the Wallet History resource page.

Stay tuned as we continue expanding our transaction decodings to include even more categories! 🚀

· One min read

Our DeFi Positions feature is now fully live! 🚀 We're excited to announce the launch of three powerful new endpoints that make it easier than ever to fetch a wallet's DeFi balance and positions. 🤩

New Endpoints

  • DeFi Protocols by Wallet: This endpoint provides a summary breakdown of all protocols that the wallet is currently interacting with, as well as summary wallet stats including the total USD value held in DeFi protocols, as well as the total unclaimed USD value available.
  • DeFi Positions by Wallet: This endpoint provides a summary breakdown of all protocol positions that the wallet is currently interacting with in a standardized format, with each position being an individual object.
  • Get Detailed DeFi Positions by Wallet and Protocol: This endpoint provides a detailed breakdown of all positions for a given wallet and protocol, including protocol/position-specific data within position_details.

Protocols & Chains

This initial release sees support for the following:

  • Protocols: Uniswap (v2 & v3), Aave (v2 & v3), Eigenlayer, Lido, MakerDAO, PancakeSwap, SushiSwap and many more, with even more coming very soon.
  • Chains: Ethereum, Polygon, Binance, Base, Optimism, Arbitrum, Avalanche and Linea

For a detailed breakdown of supported protocols per chain, check out the Supported DeFi Protocols page.

Stay tuned as we continue to expand our protocol and chain coverage in the coming weeks! 🚀

· One min read

Our NFT Trades API has had a complete overhaul 🤩 As part of this, we've launched two new endpoints, extended our NFT Marketplace coverage, extended our chain coverage, and also enriched all APIs with additional metadata 🚀

New Endpoints

In addition to our pre-existing NFT Trades by Collection endpoint, we've added the following:

Marketplace Coverage

Our NFT Marketplace coverage now includes:

  • OpenSea
  • Blur
  • LooksRare
  • X2Y2
  • 0xProtocol

With more coming soon 🚀

Chain Coverage

Our NFT Trades feature is available across the following chains:

  • Ethereum
  • Polygon
  • Binance
  • Arbitrum
  • Avalanche
  • Optimism
  • Base

Check out our NFT Marketplaces page for more detail about which chains support which marketplaces.

Enhanced Metadata

All of our NFT Trade endpoints have been enriched with the following data:

  • Marketplace Metadata: Includes marketplace name (Blur, OpenSea, LooksRare, etc.) and logo.
  • Collection Metadata: Displays collection name and logo for every trade.
  • Token Metadata: Shows token name, symbol, and logo of the native or ERC20 token used in the sale.
  • Current USD Value: Displays the current USD value of the NFT/trade based on the native or ERC20 token used.
  • NFT Metadata: Token/NFT metadata can now be included across all endpoints with nft_metadata=true.

Happy building! 🚀

· One min read

Today we've launched two new endpoints allowing you to fetch NFT sale prices by collection and by token id 🤩

Both of these endpoints provide you with rich insights into the last_sale, lowest_sale, highest_sale and average_sale for a given timeframe.

These endpoints are supported across the following NFT Marketplaces:

  • OpenSea (Ethereum, Polygon, Binance, Arbitrum, Avalanche, Optimism, Base)
  • Blur (Ethereum)
  • LooksRare (Ethereum)
  • X2Y2 (Ethereum)
  • 0xProtocol (Ethereum)

The initial release of these endpoints support native-token sales, with full ERC20-support coming very soon 🚀

Check-out the endpoints on our Swagger:

· One min read

We're excited to announce that we are now live with our Linea integration across our entire product suite 🔥

Add Linea support to your dapps in seconds by simply including the new linea chain identifier.

Read more about our Linea integration.

· One min read

Today we're excited to announce that we have enriched our ERC20 Token metadata endpoints with two new metrics: Total Supply and Fully Diluted Valuation (FDV) ✨

When fetching token metadata, you'll now be returned with the following:

  • total_supply: Total tokens created minus any that have been burned
  • total_supply_formatted: Total tokens created minus any that have been burned (decimal formatted)
  • fully_diluted_valuation: Fully Diluted Valuation (FDV), this represents the token's current_price x total_supply

Here's an example for Pepe:

{
"address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
"address_label": "Pepe (PEPE)",
"name": "Pepe",
"symbol": "PEPE",
"decimals": "18",
"logo": "https://logo.moralis.io/0x1_0x6982508145454ce325ddbe47a25d4ec3d2311933_26fdbd9bd7014ce9b72656a59ba47626",
"logo_hash": null,
"thumbnail": "https://logo.moralis.io/0x1_0x6982508145454ce325ddbe47a25d4ec3d2311933_26fdbd9bd7014ce9b72656a59ba47626",
"total_supply": "420689899999994793099999999997400",
"total_supply_formatted": "420689899999994.7930999999999974",
"fully_diluted_valuation": "3399713297.76",
"block_number": "19754261",
"validated": 1,
"created_at": "2023-04-14T14:51:35.000Z",
"possible_spam": false,
"verified_contract": true,
"categories": [
"Meme"
],
"links": {
"twitter": "https://twitter.com/pepecoineth",
"website": "https://www.pepe.vip/",
"telegram": "https://t.me/pepecoineth"
}
}

This is now available across all our mainnet chains 🔥

Check-out all our supported chains here.

· One min read

Today we have enriched our ERC20 Token metadata endpoints with Token Categories and Token Links 🤩

When fetching token metadata, you'll now be returned with categories and links for each token.

Here's an example for Uniswap:

[
{
"address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",
"address_label": "Uniswap (UNI)",
"name": "Uniswap",
"symbol": "UNI",
"decimals": "18",
"logo": "https://logo.moralis.io/0x1_0x1f9840a85d5af5bf1d1762f925bdaddc4201f984_fb68fa4a10b54fb793f61fc46a2b04b9",
"logo_hash": "064ee9557deba73c1a31014a60f4c081284636b785373d4ccdd1b3440df11f43",
"thumbnail": "https://logo.moralis.io/0x1_0x1f9840a85d5af5bf1d1762f925bdaddc4201f984_fb68fa4a10b54fb793f61fc46a2b04b9",
"total_supply": "1000000000000000000000000000",
"total_supply_formatted": "1000000000",
"block_number": "10861674",
"validated": 1,
"created_at": "2020-09-14T18:11:26.000Z",
"possible_spam": false,
"verified_contract": true,
"categories": [
"Automated Market Maker (AMM)",
"Decentralized Exchange (DEX)",
"Decentralized Finance (DeFi)"
],
"links": {
"twitter": "https://twitter.com/Uniswap",
"website": "https://uniswap.org/",
"reddit": "https://www.reddit.com/r/Uniswap",
"discord": "https://discord.gg/FCfyBSbCU5",
"github": "https://github.com/Uniswap/"
}
}
]

We support the following token links:

  • website
  • facebook
  • github
  • youtube
  • linkedin
  • tiktok
  • discord
  • telegram
  • twitter
  • medium
  • bitbucket
  • instagram
  • reddit

This is now available across the following chains:

  • Ethereum
  • Polygon
  • Binance
  • Arbitrum
  • Optimism
  • Base
  • Linea
  • Avalanche
  • Fantom

Check-out all our supported chains here.

· One min read

Polygon Amoy is now available across all of our APIs and Streams API!

Polygon Amoy replaces Polygon Mumbai and we highly recommend that developers switch to Polygon Amoy as soon as possible. Polygon Mumbail will be deprecated on 29th April 2024.

Polygon Amoy Chain Details:

  • API chain query parameter: polygon amoy or 0x13881
  • SDK chain identifier: EvmChain.POLYGON_AMOY

Check-out all our supported chains here.

· One min read

We’ve just launched our Wallet History endpoint, allowing you to fetch a wallet's full transaction history, fully decoded, labelled and enriched with a single API call 🤯

With support for over 15 categories, such as Token Swap, NFT Sale, Mint, Burn and many more, this endpoint is a total game-changer for anyone building a wallet or activity feed 🔥

This endpoint includes several query parameters:

  • chain: Choose the blockchain to query 🌐
  • from_block and to_block: Set the block range for the transactions you're interested in 📊. If both from_date and from_block (or to_date and to_block) are provided, the block parameter takes precedence.
  • from_date and to_date: Specify the date range for transactions. Accepts seconds or date strings compatible with moment.js 📅.
  • internal_transactions: Include internal transactions in your results when set to true ✅.
  • nft_metadata: Include NFT metadata in your results when set to true ✅.
  • cursor: Use this to paginate through results, utilizing the cursor provided in the previous response 🔄.
  • order: Sort the results in ascending (ASC) or descending (DESC) order 🔢.
  • limit: Adjust the page size of your results to your preference 📏.

Check-out the API reference for more information

· One min read

Today we're super excited to announce the launch of ERC20 Token Owners 🤩

This endpoint allows you to instantly fetch all owners of a given ERC20 token, sorted by highest holders first, letting you quickly understand the top holders of a token.

For each token holder, gain insights into their wallet balance, whether they are a contract or not, their owner address, label, USD value, and their percentage relative to the total token supply 🔥

Here's an example response:

{
"balance": "10930056627204137678149589",
"balance_formatted": "10930056.627204137678149589",
"is_contract": false,
"owner_address": "0x6cc5f688a315f3dc28a7781717a9a798a59fda7b",
"owner_address_label": "OKX",
"usd_value": "116329685.478903487324714661",
"percentage_relative_to_total_supply": 1.0930056627204137
}

Test it out yourself and start building today 🚀

· One min read

We’ve got some big token logo news for our Token API ✨

Say goodbye to outdated token visuals - we're bringing industry-leading coverage of EVM token logos to Moralis!

All of our Token API endpoints are now fully enriched with the latest token logos 🤩

No matter whether you're fetching ERC20 transfers, tracking token balances or fetching real-time prices; all endpoints now include token logos optimized for your frontend applications 🔥

· One min read

On April 5th, 2024, we plan to deprecate Ethereum Goerli testnet and therefore advise customers to switch over to Ethereum Holesky testnet as soon as possible.

Following Ethereum Goerli's deprecation on March 13th 2024, we will also fully remove support for Ethereum Goerli on April 5th. Customers that are currently still using Ethereum Goerli for historical transaction data are strongly advised to migrate to Ethereum Holesky as soon as possible.

Ethereum Holesky chain details:

  • API chain query parameter: holesky or 0x4268
  • SDK chain identifier: EvmChain.HOLESKY

Check-out all our supported chains here.

· 2 min read

Today we're excited to unveil a series of enhancements to our Market Data API, including two new endpoints, making our data even more accessible and comprehensive. And the best part? All these features are now available to our free plan users as well! 🤩

🚀 New Endpoints

Dive deeper into the crypto market with our latest additions:

✨ Enhanced Endpoints

We've enriched our existing endpoints with valuable data points to offer you a more detailed market overview:

  • Top NFT Collections by Market Cap now includes:
    • collection_address: returns the token address for the NFT Collection
    • floor_price: returns the floor price in the native currency (in addition to the previously supported floor_price_usd)
    • floor_price_usd_24hr_percent_change: returns the percentage change in the USD floor price, over a 24-hour period
  • Top NFT Collections by Trading Volume now includes:
    • collection_address: returns the token address for the NFT Collection
    • average_price: returns the average native price this collection has sold for, considering all sales, in the last 24 hours
    • floor_price: returns the floor price in the native currency (in addition to the previously supported floor_price_usd)
    • floor_price_usd_24hr_percent_change: returns the percentage change in the USD floor price, over a 24-hour period
    • floor_price_7d_percent_change: returns the percentage change in the native currency floor price, over a 7-day period
    • floor_price_usd_7d_percent_change: returns the percentage change in the USD floor price, over a 7-day period
    • floor_price_30d_percent_change: returns the percentage change in the native currency floor price, over a 30-day period
    • floor_price_usd_30d_percent_change: returns the percentage change in the USD floor price, over a 30-day period

🎉 Free Access

All these enriched features and data points are now part of our free plan, ensuring that everyone has access to comprehensive market insights. 🎉

Explore the Updated Market Data API Docs for more information.

· One min read

On March 29th, 2024, we plan to deprecate Base Goerli testnet and therefore advise customers to switch over to Base Sepolia testnet as soon as possible.

Following Base Goerli's deprecation on February 9th 2024, we will fully remove support for Base Goerli on March 29th. Customers that are currently still using Base Goerli for historical transaction data are strongly advised to migrate to Base Sepolia as soon as possible.

Base Sepolia chain details:

  • API chain query parameter: base sepolia or 0x14a34
  • SDK chain identifier: EvmChain.BASE_SEPOLIA

Check-out all our supported chains here.

· One min read

We’ve just launched our Wallet Net-worth endpoint, allowing you to fetch the USD value of a wallet, across all chains and assets, with a single API call 🤯

This endpoint features three query parameters:

  • chains: specify multiple chains 🥳
  • exclude_spam: when set to true, this will exclude spam tokens from the calculation (recommended)
  • exclude_unverified_contracts: when set to true, this will exclude tokens that are not verified on CoinGecko (recommended)

Check-out the API reference for more information, and see this endpoint in action over on our YouTube channel.

· One min read

We've launched a new endpoint for fetching ERC20 tokens by wallet which includes token balances, metadata, USD prices and a whole lot more for every token 🤩

Compared to our regular token balances endpoint, this endpoint includes the following extra data points per token:

  • balance_formatted: decimal formatted balance
  • usd_price: current price of the token
  • usd_price_24hr_percent_change: 24hr change as a percentage
  • usd_price_24hr_usd_change: 24hr change in usd value
  • usd_value: the value of the wallet's holdings
  • usd_value_24hr_usd_change: 24hr change in value of the wallet's holdings
  • portfolio_percentage: the percentage that this token represents of the wallet's token portfolio
  • native_token: this can be true or false and is used to identify the chain's native token

It also includes some powerful new query parameters:

  • exclude_spam: when set to true this will exclude all tokens marked as spam from the response (defaults to false)
  • exclude_unverified_contracts: when set to true this will exclude all tokens that are not verified on Coingecko (defaults to false)
  • exclude_native: when set to true this will exclude the chain's native token from the holdings (defaults to false)

Check-out the API reference for more information, and see this endpoint in action over on our YouTube channel.

· One min read

Today we've launched a number of enhancements to our NFT collection endpoints 🔥 They include:

  • Richer NFT collection metadata
  • Expansion of verified_collection status across more chains
  • Token counts on NFT collections by wallet
  • Bulk fetch NFT collection metadata

Richer Collection Metadata

We've added the following properties to our NFT Collection metadata:

  • collection_logo
  • collection_banner_image
  • collection_category
  • project_url
  • wiki_url
  • discord_url
  • telegram_url
  • twitter_username
  • instagram_username

Enhanced metadata can be found on the following endpoints:

Expansion of Verified Collections

Our verified_collection status, which was previously only supported on Ethereum, is now available on these additional chains:

  • Polygon
  • Binance
  • Arbitrum
  • Avalanche
  • Optimism
  • Base

This status reflects whether or not the collection has been verified on OpenSea.

Token Counts

We've introduced a new query parameter when fetching NFT Collections by wallet call token_counts. When set to true, this will add the total number of NFTs held in each collection by the wallet to the response data.

Bulk Fetch Collection Metadata

We've added a new endpoint, Get metadata for multiple NFT Collections, that allows you to fetch metadata for up to 25 NFT collections in one request.

· One min read

Today we've launched filtering and sorting across the many of our transfer and transaction endpoints 🚀

Filter by contract address

Wallet transfer endpoints can now be filtered by specific contract addresses (one or many), allowing you to filter results down to specific contract(s). You'll find a new query parameter called contract_addresses on the following endpoints:

Sort by date

All of our transfer and transaction endpoints can now be ordered by date asc/desc. Previously, all endpoints were sorted by desc as default, giving you the latest transactions first. Now, you can order these endpoints with order=asc to get the earliest transactions first. You'll find a new query parameter called order on the following endpoints:

· One min read

On March 4, 2024, we will phase out our old public RPC URLs specific to WalletConnect within the earlier version of the Moralis JS SDK (v1). This update affects users that are currently using WalletConnect in the frontend who have not opted for a custom RPC URL. The RPC URLs slated for discontinuation follow the format: https://speedy-nodes-nyc.moralis.io/WalletConnect/eth/mainnet.

If you have already upgraded to our latest version of the JS SDK, or you do not use the WalletConnect feature in our v1 SDK, your operations will remain unaffected. For those still using these specific URLs, transitioning to a custom RPC URL is required. This can be easily achieved by updating the rpcMap parameter in the Moralis.authenticate method.

Summary and Migration Guide To migrate from the soon-to-be-retired speedy nodes, users are required to replace these deprecated URLs with an alternative RPC provider. This process involves specifying your chosen provider's RPC URL in the rpcMap parameter during authentication with Moralis. This change ensures continuous and uninterrupted service following the deprecation date. Please refer to our migration guide for more information.

· One min read

We're excited to announce that our Optimism integration is now live across all our Web3 APIs 🔥

Add Optimism support in seconds by simply including the new optimism chain identifier.

Read more about our Optimism integration.

· One min read

We've launched a new endpoint that allows you to fetch SPL Token metadata on Solana 🔥

In the same way you could already fetch NFT metadata, it's now possible to fetch metadata for all SPL tokens. For each token we return:

  • Mint
  • Standard
  • Name
  • Symbol
  • Metaplex details

We are aware of a bug on our current NFT Metadata endpoint, which returns SPL Token metadata for certain tokens. If you are using the NFT endpoint in this way, we strongly advise that you begin using the new SPL Token Metadata endpoint.

Try it out over on our Solana swagger.

· One min read

The wait is over! We're excited to announce that we are now live with our Base integration across our entire product suite 🔥

Add Base support to your dapps in seconds by simply including the new base chain identifier.

Read more about our Base integration.

· One min read

Starting today, September 11th, 2023, we're implementing a series of significant API changes to v2 of our EVM API as described in an earlier post. Some of these changes are breaking changes, but will ultimately provide you with a faster, more reliable, and more consistent experience.

If you are on API v2 and are impacted by these changes you can find a comprehensive migration guide here.

For those who have transitioned to v2.2, rest assured that your operations remain unaffected by these updates.

· 2 min read

We’re excited to announce that v2.2 of our EVM API is officially live and ready for immediate integration into your applications.

New features in v2.2

As part of v2.2, we've introduced 5 new endpoints designed to provide total counts for popular use-cases related to Wallets, NFTs, ERC20s and Blocks. These endpoints are particularly valuable for those who will be impacted by the breaking changes coming to v2 in September, and are available now allowing for a smooth migration:

These new endpoints can be found at our latest v2.2 swagger https://deep-index.moralis.io/api-docs-2.2

Extended Deadline for Breaking Changes

We initially announced that breaking changes would be rolled out on September 4th. However, in order to maximize the window for you to integrate these new endpoints, we're pushing the date for breaking changes to September 11th. This gives you two weeks to integrate the new endpoints into your applications, as previously outlined in our earlier post.

Continuation of v2

Starting from September 11th, v2 will still be operational, but it will incorporate the announced breaking changes and deprecated endpoints will be removed. For most customers who are not impacted by these updates, it's perfectly safe to continue using v2. However, we strongly recommend upgrading to the latest version to benefit from all the new features and improvements.

Summary

  • API v2.2 is now available
  • New endpoints for total counts are available in v2.2.
  • Breaking changes will now be rolled out on September 11th, giving you an extra week to prepare.
  • Version 2 will continue to be operational but will incorporate breaking changes and deprecated endpoints will be removed, starting September 11th.
  • If you are not affected by the breaking changes outlined here, you can continue to use v2 safely.
  • Full migration guide can be found here.

· One min read

Our NFT API now includes a new property called verified_collections 🎉 This property can be true or false, and reflects whether or not the collection has been verified on OpenSea. This new property can be found on all NFT endpoints.

Additionally, we have added a new query parameter called exclude_spam. When this is set to true, any NFTs that have been marked as spam will be excluded from the API response. This query parameter is currently available on get NFTs by wallet as well as get NFT collections by wallet.

verified collections video

· One min read

Beginning on September 11th, 2023, we're implementing a series of significant API changes, some of which are breaking changes, but will ultimately provide you with a faster, more reliable, and more consistent experience.

These changes are:

If you are affected by these changes you can find a detailed migration guide here.

These changes will improve the speed, consistency, and scalability of our API, making it easier for you to work with whilst laying the foundations for what’s coming next… In the short term, expect enhancements like wallet net-worth, NFT prices and ERC20 holders. Rest assured, more improvements are on the way very soon!

Check out our Roadmap to stay up-to-date with all of the features we have coming soon.

· One min read

Our ERC20 transfers, NFT transfers and transaction endpoints have just got an upgrade!

All endpoints that currently return a to_address and/or from_address will now include an additional to_address_label and from_address_less respectively 🤩

These labels reflect publicly known addresses such as Coinbase, Binance, Uniswap v3, 1inch etc; as well as specific addresses such as Uniswap v2: Router 2 🔥

Perfect for adding extra detail into your wallet applications and transaction analytics 🙌

· One min read

From today you can now easily establish a wallet's age as well as detect which chains it has been active on 🔥

This latest endpointadded to our Wallet API, /wallets/{address}/chains, is our first truly cross-chain API. Rather than the usual chain query parameter, it has a new chains parameter, allowing you to specify one or many chains in one API call 🤩

For each chain that a wallet has been detected on, we return its first_transaction details and last_transaction details.

Perfect for wallet analytics, user engagement, wallet age gated sites plus so much more 🙌

Check out the docs

· One min read

Today we're excited to announce a number of improvements to our ERC20 price endpoints 🎉

Fetch multiple ERC20 prices

We've added a new endpoint, /erc20/prices, that allows you to fetch the prices of up to 25 ERC20s in one API call. No more fetching prices one by one 😍

View docs

24hr change

We've added 24hrPercentChange to all of our price endpoints, so you can now easily fetch a token's 24 hour performance. We've introduced a new query parameter, include=percent_change, which when included will add 24hrPercentChange to the response body. Note: using this query parameter incurs an additional cost of +5 CUs per request.

View docs

Pretty prices

No more displaying ugly prices 🫣 We've added usdPriceFormatted to our price endpoints meaning you'll always be returned with prices in a nice clean decimal format (for example, 3.0526340931742754e-8 will appear as 0.00000003052).

View docs

· One min read

Today we've launched a new endpoint that allows you and the users of your dapps to submit contracts for review.

Easily report new spam contracts by specifying report_type as spam, or request a re-review of misclassified contracts with a report_type of not_spam.

Submissions will be reviewed and incorporated into our spam library, and reflected across our ERC20 and NFT API endpoints.

Check out the docs for more information.

· One min read

Today we're extremely excited to announce the launch of a new product, our Market Data API! 🚀

Our Market Data API allows you to explore the latest trends in NFT collections, keep an eye on the top coins, and monitor the largest ERC20 gainers and losers.

We're introducing four new endpoints with this launch, including:

Check out our docs for more information about these new endpoints, as well as how to share feedback for its next iteration.

· One min read

Today we have enriched all our ERC20 endpoints with extra metadata including token name, symbol, icon, and decimals 🎉

Developers can now more easily identify the specific ERC20 tokens involved in transfers, mints, burns, and approvals without having to make additional API calls.

Previously, token metadata were only available through the ERC20 metadata endpoint.

This metadata is now available on the following endpoints:

· One min read

Our Resolve API now supports Ethereum Name Service (ENS) lookup by domain. This new feature allows you to input a .eth domain and receive the associated Ethereum address 🎉

To use this new endpoint, simply make a GET request to /api/v2/resolve/ens/{domain} with your desired .eth domain appended.

For example, if you want to look up the address for vitalik.eth, you would make a GET request to: /api/v2/resolve/ens/vitalik.eth, which would return the address 0x057Ec652A4F150f7FF94f089A38008f49a0DF88e.

API Reference

· One min read

We're excited to announce the launch of our new spam detection feature across our EVM APIs!

Our latest update adds a new field called possible_spam to all ERC20s and NFTs. This field returns true or false, depending on whether the contract address is associated with spam, phishing attempts, or suspicious activities.

This feature is currently available on our EVM API and will soon be launching on our Streams API 🔥 Stay tuned!

Check out our docs for more information about this feature including which endpoints it's active on.

· One min read

Time to optimize your NFTs!

All NFTs served through our API now include an optional media object that includes low, medium and high resolution thumbnails, along with the original image 🎉

This makes it super easy to build apps and webpages that are optimized for speed and that load in a flash ⚡

· One min read

Today we have launched four new ERC20 token endpoints allowing you to quickly fetch mints, burns, approvals and transfers for any wallet or contract address 🚀

These endpoints have no required inputs or query parameters, meaning we return all on-chain transactions by default. Each endpoint supports flexible filtering by wallet address, contract address and even addresses to exclude (see more about filtering below).

· One min read

Today we have launched version 1 of our new transaction decoding and labeling feature 🥳

This feature automatically decodes raw transaction input data into human-readable events and then labels each transaction and log, allowing you to quickly identify on-chain activity such as Transfer, Swap, Deposit etc.

Transaction labeling can be found on the following two endpoints:

Head over to our docs for more information about how this works.

· One min read

We’re excited to announce that today we have launched internal transactions across a number of our most popular EVM chains!

Real-time and historical internal transactions are now available across Ethereum, Sepolia, Polygon, Mumbai, BNB and BNB testnet. For complete coverage, please see the table outlined here.

Internal transactions have been added on three existing endpoints by introducing a new query parameter include that supports internal_transactions as an input:

We have also launched a new endpoint that specifically fetches internal transactions for a given transaction hash:

Read more: /web3-data-api/evm/internal-transaction

· One min read

As outlined in an earlier update, today we've made a change to the default behaviour of disable_total on a number of endpoints in order to vastly improve their response times.

This flag now defaults to true and the total response will be returned as null. Customers wanting to continue using the total will need to specify disable_total=false in their requests.

· 2 min read

In order to vastly improve the response times on a number of endpoints (by up to x10!), we are planning to phase out support for total within our API responses.

A new flag called disable_total exists on the below endpoints which defaults to false. When users set this to true, the total count from the response will return as null, and the endpoint's response time is greatly improved. We strongly recommend to begin using this flag.

· One min read

We've just shipped a new EVM feature Get Multiple NFTs, meaning you can now specify a list of NFTs to return in one API call. ⚡

It was already possible to fetch all NFTs by wallet address or by collection address, but now it's possible to fetch specific NFTs across many different collections by specifying a list of collection IDs + token IDs. 🎉

Docs: /web3-data-api/evm/reference/get-multiple-nfts

· One min read

More CUs for our amazing customers!

After considerations on the great demand of the getTokenIdOwners endpoint, we understand that a lot of our users are very keen to make full use of this endpoint.

Therefore, we have decided to reduce our CU cost for /nft/{address}/{token_id}/owners (getTokenIdOwners) from 20 CUs down to 5 CUs.

Try out the endpoint here!

· One min read

Arbitrum is now fully-integrated to Moralis EVM API endpoints. You can now index NFT, Token, and other-blockchain related data from the Arbitrum Layer-2 Network by specifying chain parameter value as arbitrum or 0xa4b1.

· One min read

One API - all transactions and logs. ✨ Use our Verbose Transaction Endpoint and save yourself the hassle of multiple API calls. What's more, this Transaction API endpoint extracts data sequenced by block number. Organized - just how you like it.

We have launched a new endpoint /{address}/verbose which for a given wallet address will return all transactions, and for each transaction all its logs.

View API docs

· One min read

Palm Network is now fully-integrated to Moralis EVM API endpoints. You can now index NFT, Token, and other-blockchain related data from the Palm Network by specifying chain parameter value as palm or 0x2a15c308d

· One min read

We just made working with NFT metadata a breeze! 💨 Get predictable, structured outputs at each endpoint thanks to our new built-in NFT API Metadata Normalization.

Taking the original source metadata field, which comes through the API as a string with an unpredictable format, we now output this into a nice clean, predictable object on the below endpoints - meaning it's now much easier for you to work with NFT metadata!

You'll find a new query parameter named normalizeMetadata on the below endpoints. When this is set to true, we normalize and transform the source metadata into a standardized structure (based on ERC721, CryptoPunks, OpenSea etc) and output this in a new object called normalized_metadata

Endpoints

  • Get NFTs by wallet - /{address}/nft
  • Get NFTs by contract - /nft/{address}
  • Get NFT owners by contract - /nft/{address}/owners
  • Get NFT metadata - /nft/{address}/{token_id}
  • Get owners by token ID - /nft/{address}/{token_id}/owners