Searching for a straightforward option to migrate from SimpleHash? Say whats up to Moralis for Builders – the {industry}’s main crypto information supplier! Moralis offers you every part SimpleHash has to supply and extra, ensuring you may change from SimpleHash with none bother. Need to study extra about how this works? Comply with alongside in as we speak’s information as we lay all of it out for you. Let’s dive in!
If you happen to’re desirous to know the way Moralis works and why it’s the perfect SimpleHash various, we’ll leap straight into an instance to indicate you the API in motion. Right here’s how straightforward it’s to get a pockets’s full historical past:
import fetch from ‘node-fetch’;
const choices = {
methodology: ‘GET’,
headers: {
settle for: ‘software/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/wallets/0xda74Ac6b69Ff4f1B6796cdDf61fBDd4A5f68525f/historical past?chain=eth’, choices)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Calling the endpoint above provides you with the pockets’s total historical past, enriched with class tags, occasion summaries, tackle labels, and extra for every occasion. All you want is a single API name to get totally decoded, human-readable information:
{
//…
“end result”: [
{
“hash”: “0xc565260238f59fc3f35b74f3011375c7d637db9b075f77d342c30d19f946272e”,
“nonce”: “14”,
“transaction_index”: “75”,
“from_address”: “0xda74ac6b69ff4f1b6796cddf61fbdd4a5f68525f”,
“from_address_label”: null,
“to_address”: “0xdac17f958d2ee523a2206206994597c13d831ec7”,
“to_address_label”: “Tether USD (USDT)”,
“value”: “0”,
“gas”: “55331”,
“gas_price”: “13623172301”,
“receipt_cumulative_gas_used”: “13917979”,
“receipt_gas_used”: “41309”,
“receipt_status”: “1”,
“block_timestamp”: “2024-05-14T14:00:23.000Z”,
“block_number”: “19868695”,
“block_hash”: “0x660274d577cd20b0b82c1bff5f3c5641ba6027544e005f9256d5add9c7447920”,
“transaction_fee”: “0.000562759624582009”,
“nft_transfers”: [],
“erc20_transfers”: [
{
“token_name”: “Tether USD”,
“token_symbol”: “USDT”,
“token_logo”: “https://logo.moralis.io/0x1_0xdac17f958d2ee523a2206206994597c13d831ec7_0b0d126af6c744c185e112a2c8dc1495”,
“token_decimals”: “6”,
“from_address”: “0xda74ac6b69ff4f1b6796cddf61fbdd4a5f68525f”,
“from_address_label”: null,
“to_address”: “0x28c6c06298d514db089934071355e5743bf21d60”,
“to_address_label”: “Binance 14”,
“address”: “0xdac17f958d2ee523a2206206994597c13d831ec7”,
“log_index”: 338,
“value”: “50000000000”,
“possible_spam”: false,
“verified_contract”: true,
“direction”: “send”,
“value_formatted”: “50000”
}
],
“method_label”: null,
“native_transfers”: [],
“abstract”: “Despatched 50,000 USDT to Binance 14”,
“possible_spam”: false,
“class”: “token ship”
},
//…
]
}
It’s that straightforward to fetch crypto information when utilizing Moralis APIs and RPC nodes. If you wish to study extra, be a part of us on this article as we discover different endpoints to indicate you why it is best to select Moralis whenever you change from SimpleHash.
Additionally, in the event you instantly wish to begin utilizing Moralis crypto APIs, be at liberty to join a free account utilizing the button beneath!
Overview – How one can Change from SimpleHash
SimpleHash shall be deprecating all its APIs in late March 2025, that means that builders might want to search for various choices. Happily, switching from SimpleHash doesn’t need to be a headache – Moralis for Builders has you coated!
However what precisely is Moralis? How does it examine to SimpleHash? And why is it the best choice for builders trying to migrate?
Need to future-proof your venture and guarantee a clean transition from SimpleHash? Be part of us in as we speak’s information as we discover Moralis, its APIs, and key advantages. Let’s go!
Introducing Moralis for Builders – #1 Various When You Change from SimpleHash
Moralis for Builders is a world-class crypto information supplier, providing a broad set of industry-leading Web3 APIs and next-generation RPC nodes. With instruments just like the NFT API, Token API, and Pockets API, you may fetch every part from correct NFT metadata to totally decoded pockets exercise with out breaking a sweat. As such, when utilizing Moralis, you get all crypto information in a single place.
However why change from SimpleHash to Moralis?
Complete APIs: Moralis APIs and Prolonged RPC strategies are designed to be outcome-oriented, providing you with extra information with fewer requests. Fetch enriched portfolio information, real-time costs, up-to-date NFT metadata, and extra with a single API name.
Actually Cross-Chain: Moralis provides full function parity throughout all main chains, together with Solana, Ethereum, Base, Optimism, Polygon, and so on., enabling you to construct cross-chain suitable dapps with one unified toolkit.
World-Class Safety: With a SOC 2 Sort 2 certificates, Moralis can guarantee enterprise-grade safety and reliability throughout all options.
To summarize, when utilizing Moralis, you may simply construct dapps utilizing complete, safe, and cross-chain suitable growth instruments, making this a premier various for anybody that should change from SimpleHash.
To additional spotlight what makes Moralis the premier various to SimpleHash, let’s discover a number of the platform’s world-class Web3 APIs!
NFT API: Get Enriched Metadata, Costs, & Balances
The NFT API is your go-to device for querying NFT-related information from all main EVM networks and the Solana blockchain. With this premier interface, you may construct participating Web3 video games, world-class NFT marketplaces, and different NFT-related initiatives with ease. Right here’s what you get:
NFT Balances
NFT Transfers
NFT Ground Costs
NFT Homeowners
Enriched Metadata
…and far more!
To focus on the accessibility of the NFT API, let’s take a look at an instance of how you should utilize this premier interface to fetch NFTs by pockets:
import fetch from ‘node-fetch’;
const choices = {
methodology: ‘GET’,
headers: {
settle for: ‘software/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/0xf9bCe92da0D4b8253077A6851a32bBD059E2A5A4/nft?chain=eth’, choices)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
With only one API name, you get the NFT stability of any pockets, enriched with metadata, rarity labels, spam indicators, assortment logos, ground costs, and far more. Right here’s an instance of what the response appears like:
{
[
{
amount: ‘1’,
token_id: ‘4307’,
token_address: ‘0xbd3531da5cf5857e7cfaa92426877b022e612cf8’,
contract_type: ‘ERC721’,
owner_of: ‘0xf9bce92da0d4b8253077a6851a32bbd059e2a5a4’,
last_metadata_sync: ‘2025-02-27T18:04:56.017Z’,
last_token_uri_sync: ‘2025-02-27T18:04:50.744Z’,
metadata: ‘{“attributes”:[{“trait_type”:”Background”,”value”:”Purple”},//…]}’,
block_number: ‘21935687’,
block_number_minted: ‘12878236’,
identify: ‘PudgyPenguins’,
image: ‘PPG’,
token_hash: ‘ec0e59113005f6f5451527b8ddc2eb16’,
token_uri: ‘ipfs://bafybeibc5sgo2plmjkq2tzmhrn54bk3crhnc23zd2msg4ea7a4pxrkgfna/4307’,
minter_address: ‘0x5d9e720a1c16b98ab897165803c4d96e8060b8e4’,
rarity_rank: 644,
rarity_percentage: 7.25,
rarity_label: ‘Prime 8%’,
verified_collection: false,
possible_spam: false,
collection_logo: null,
collection_banner_image: null,
floor_price: ‘9.444’,
floor_price_usd: ‘23565.759’,
floor_price_currency: ‘eth’
},
//…
]
}
Try the NFT API documentation web page to study extra in regards to the varied endpoints!
Token API: Fetch Correct Costs, Token Holders, & OHLCV Information
The Token API is a top-tier device for integrating fungible token information into dapps, permitting you to effortlessly construct crypto wallets, DEXs, portfolio trackers, Web3 token analytics instruments, and related platforms. Right here’s the information you may fetch with the Token API:
Token Balances
Token Transfers
Token Costs
Token Pairs & Liquidity
Token Snipers
Trending Tokens
OHLCV Information
…and extra!
To point out you the Token API in motion, we’ll take a look at a short instance of how you should utilize this device to get the worth of any asset:
import fetch from ‘node-fetch’;
const choices = {
methodology: ‘GET’,
headers: {
settle for: ‘software/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/erc20/0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0/value?chain=eth&embody=percent_change’, choices)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
In return for calling the endpoint above, you get the worth for the desired token denominated within the chain’s native foreign money and USD. Moreover, the response is enriched with different information factors, comparable to 24-hour value p.c change, brand, safety rating, and so on. Right here’s what the response will appear to be:
{
tokenName: ‘Matic Token’,
tokenSymbol: ‘MATIC’,
tokenLogo: ‘https://brand.moralis.io/0x1_0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0_89c931b3fcf74fe39db7a195bf8a3aa5.png’,
tokenDecimals: ’18’,
nativePrice: {
worth: ‘120155125729897’,
decimals: 18,
identify: ‘Ether’,
image: ‘ETH’,
tackle: ‘0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2’
},
usdPrice: 0.2781797175413043,
usdPriceFormatted: ‘0.278179717541304328’,
exchangeName: ‘Uniswap v2’,
exchangeAddress: ‘0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f’,
tokenAddress: ‘0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0’,
priceLastChangedAtBlock: ‘21939226’,
blockTimestamp: ‘1740678023000’,
possibleSpam: false,
verifiedContract: true,
pairAddress: ‘0x819f3450da6f110ba6ea52195b3beafa246062de’,
pairTotalLiquidityUsd: ‘465303.06’,
’24hrPercentChange’: ‘1.2687099195220788’,
securityScore: 55
}
To study extra about this interface, try the Token API documentation web page!
Pockets API: Question Decoded Pockets Exercise, Internet Price, & PnL Information
The Pockets API is the final word interface for querying wallet-related information, streamlining the method of constructing portfolio trackers, tax instruments, and every part in between. Right here’s an summary of the information you will get with the Pockets API:
Decoded Pockets Historical past
Portfolio Information
DeFi Positions
Internet Price
Pockets PnL
… and far more!
To focus on the ability of the Pockets API, we’ll now present you the way straightforward it’s to fetch the historical past of any pockets:
import fetch from ‘node-fetch’;
const choices = {
methodology: ‘GET’,
headers: {
settle for: ‘software/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/wallets/0xda74Ac6b69Ff4f1B6796cdDf61fBDd4A5f68525f/historical past?chain=eth’, choices)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
In return for calling the endpoint above, you get the complete historical past of the pockets, together with transactions, swaps, and contract interactions. Additionally, the information is enriched with class tags, tackle labels, summaries, and far more, making every occasion straightforward to know. Right here’s an instance of what it would appear to be:
{
//…
“end result”: [
{
“hash”: “0xc565260238f59fc3f35b74f3011375c7d637db9b075f77d342c30d19f946272e”,
“nonce”: “14”,
“transaction_index”: “75”,
“from_address”: “0xda74ac6b69ff4f1b6796cddf61fbdd4a5f68525f”,
“from_address_label”: null,
“to_address”: “0xdac17f958d2ee523a2206206994597c13d831ec7”,
“to_address_label”: “Tether USD (USDT)”,
“value”: “0”,
“gas”: “55331”,
“gas_price”: “13623172301”,
“receipt_cumulative_gas_used”: “13917979”,
“receipt_gas_used”: “41309”,
“receipt_status”: “1”,
“block_timestamp”: “2024-05-14T14:00:23.000Z”,
“block_number”: “19868695”,
“block_hash”: “0x660274d577cd20b0b82c1bff5f3c5641ba6027544e005f9256d5add9c7447920”,
“transaction_fee”: “0.000562759624582009”,
“nft_transfers”: [],
“erc20_transfers”: [
{
“token_name”: “Tether USD”,
“token_symbol”: “USDT”,
“token_logo”: “https://logo.moralis.io/0x1_0xdac17f958d2ee523a2206206994597c13d831ec7_0b0d126af6c744c185e112a2c8dc1495”,
“token_decimals”: “6”,
“from_address”: “0xda74ac6b69ff4f1b6796cddf61fbdd4a5f68525f”,
“from_address_label”: null,
“to_address”: “0x28c6c06298d514db089934071355e5743bf21d60”,
“to_address_label”: “Binance 14”,
“address”: “0xdac17f958d2ee523a2206206994597c13d831ec7”,
“log_index”: 338,
“value”: “50000000000”,
“possible_spam”: false,
“verified_contract”: true,
“direction”: “send”,
“value_formatted”: “50000”
}
],
“method_label”: null,
“native_transfers”: [],
“abstract”: “Despatched 50,000 USDT to Binance 14”,
“possible_spam”: false,
“class”: “token ship”
},
//…
]
}
Try the Pockets API documentation web page to study extra in regards to the varied endpoints!
How one can Change from SimpleHash to Moralis APIs
Moralis for Builders supplies every part SimpleHash provides and extra, with a toolset that matches its performance whereas including further options. This makes it tremendous straightforward for anybody to change from SimpleHash to Moralis!

However how do you truly change from SimpleHash to Moralis APIs?
That can assist you transition easily, Moralis has developed a complete information on the right way to change from SimpleHash. This information maps SimpleHash endpoints to Moralis equivalents so as to discover the right replacements shortly. Right here’s an instance of what it appears like for token costs:

To study extra about this, try the complete information on the right way to migrate from SimpleHash within the Moralis documentation!
Why Change from SimpleHash to Moralis?
At this level, you is likely to be asking your self: ”Why ought to I select Moralis APIs once I change from SimpleHash?” To reply this, let’s take a more in-depth take a look at how the 2 choices stack up in opposition to one another:

Under, we’ll break down every level a bit additional:
Extra Instruments: Moralis incorporates a extra intensive toolset than SimpleHash and different rivals. Entry an interface for each use case – together with the NFT API, Token API, Pockets API, Streams API, DeFi API, and plenty of extra – multi functional place.
Enriched Responses: With Moralis APIs and Prolonged RPC Strategies, you get the {industry}’s most complete responses. For instance, with only one request, you will get the complete historical past of a pockets, enriched with summaries, class tags, and different information that make every occasion simpler to know. To get related insights with different suppliers, you want a number of endpoints and requests.
Cross-Chain Help: Each Moralis and SimpleHash assist all the most important blockchain networks, permitting you to construct cross-chain dapps with one unified toolkit.
A extra full function set, complete API responses, and full cross-chain assist are three fundamental explanation why it is best to select Moralis crypto APIs whenever you change from SimpleHash.
3-Step Tutorial: How one can Get Portfolio Information with Moralis APIs
Now that why it is best to select Moralis APIs whenever you change from SimpleHash, we’ll present you the right way to use the instruments in observe. To take action, we’ll stroll you thru a short tutorial on the right way to fetch portfolio information in three simple steps:
Get a Moralis API Key
Write a Script
Run the Code
However earlier than we will leap into step one, it is advisable take care of a few stipulations!
Conditions
Earlier than you get going, be sure to have put in the next:
Step 1: Get a Moralis API Key
If you happen to haven’t already, click on the ”Begin for Free” button on the high proper and create your account:

From right here, log in, and also you’ll discover your API key immediately beneath the ”Dwelling” tab:

Maintain your key for now, as you’re going to want it within the subsequent step!
Step 2: Write a Script
Create an empty folder, open it together with your most well-liked IDE, launch a brand new terminal, and initialize a venture with this command:
npm init
From right here, set up the required dependencies:
npm set up node-fetch –save
npm set up moralis @moralisweb3/common-evm-utils
Subsequent, add ”sort”: ”module” to your ”bundle.json” file:

Create a brand new ”index.js” file and add the code beneath for fetching a pockets’s token balances with costs:
import fetch from ‘node-fetch’;
const choices = {
methodology: ‘GET’,
headers: {
settle for: ‘software/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/wallets/0xcB1C1FdE09f811B294172696404e88E658659905/tokens?chain=eth’, choices)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
From right here, you now must make some minor adjustments to the code. Begin by changing YOUR_API_KEY together with your Moralis API key. Subsequent, change the question parameters primarily based in your preferences. Right here, you may, for instance, change the tackle or chain:

Step 3: Run the Code
For the ultimate step, open a brand new terminal, navigate into your venture’s root folder, and run this command:
node index.js
If you run the script, you’ll obtain the token balances of the desired pockets. Moreover, every token is enriched with spam indicators, 24-hour value p.c adjustments, safety scores, logos, and far more. Right here’s a pattern response:
{
//…
end result: [
{
token_address: ‘0xae7ab96520de3a18e5e111b5eaab095312d7fe84’,
symbol: ‘stETH’,
name: ‘Liquid staked Ether 2.0’,
logo: ‘https://logo.moralis.io/0x1_0xae7ab96520de3a18e5e111b5eaab095312d7fe84_cd0f5053ccb543e08f65554bf642d751.png’,
thumbnail: ‘https://logo.moralis.io/0x1_0xae7ab96520de3a18e5e111b5eaab095312d7fe84_cd0f5053ccb543e08f65554bf642d751.png’,
decimals: 18,
balance: ‘1’,
possible_spam: false,
verified_contract: true,
total_supply: ‘9397922583152920915482411’,
total_supply_formatted: ‘9397922.583152920915482411’,
percentage_relative_to_total_supply: 0,
security_score: 94,
balance_formatted: ‘0.000000000000000001’,
usd_price: 2310.478869260248,
usd_price_24hr_percent_change: -3.361417378353862,
usd_price_24hr_usd_change: -80.36628448761167,
usd_value: 2.310478869260248e-15,
usd_value_24hr_usd_change: -8.036628448761161e-17,
native_token: false,
portfolio_percentage: 2.2603434706955337e-15
},
//…
]
}
That’s it! Fetching information when utilizing Moralis APIs doesn’t need to be tougher than this!
Different Moralis APIs & Instruments
The NFT API, Token API, and Pockets API are solely three explanation why it is best to select Moralis whenever you change from SimpleHash. Let’s introduce just a few extra instruments you’ll probably discover useful:
Blockchain API: With the Blockchain API, you may unlock the ability of each uncooked and decoded blockchain information. Question good contract occasions, logs, transactions, and different block information with out breaking a sweat. Use this interface to investigate networks, monitor good contract occasions, and extra.
DeFi API: Get a pockets’s DeFi positions, ERC-20 allowances, token liquidity information, and far more with ease. When utilizing the DeFi API, you may combine exact and dependable information into all of your DeFi dapps. As such, it is a nice useful resource for anybody constructing lending and staking platforms, buying and selling instruments, and related initiatives.
Streams API: With the Streams API, you may simply configure custom-made Web3 information pipelines streaming real-time pockets and contract occasions to your venture. Expertise 100% supply ensures, enriched information payloads, and full cross-chain assist spanning 20+ networks.
Value API: The Value API is the final word interface for price-related information. Get present and historic costs, OHLCV information, and extra with ease. Use this API to combine reside crypto costs into your initiatives, construct candlestick charts, and extra.
Prolonged RPC Strategies: When leveraging Moralis’ Prolonged RPC strategies, you get the identical options and performance discovered within the APIs however by means of RPC strategies. Get totally decoded transactions, token balances, value information, NFT balances, and extra immediately utilizing RPC nodes.
To dive deeper into these instruments and options, try the “Merchandise” tab on the web site for extra info!
Abstract: Change from SimpleHash – How one can Migrate from SimpleHash API Tutorial
SimpleHash is shutting down its API, that means builders want to change to a different supplier. However what various ought to they go for? The best choice: Moralis for Builders!

Moralis is a premier crypto information supplier that provides seamless entry to world-class Web3 APIs and RPC nodes. Some outstanding examples embody the NFT API, Token API, and Pockets API, which let you effortlessly fetch every part from NFT metadata to totally decoded pockets exercise with only a single line of code.
However what makes Moralis the perfect SimpleHash various?
Briefly, Moralis supplies every part SimpleHash provides and extra, making the transition a breeze. So, in the event you’re searching for a straightforward option to change from SimpleHash, be sure that to take a look at Moralis crypto APIs as we speak!







