rewrite this content using a minimum of 1000 words and keep HTML tags
Build on the Ronin blockchain with Moralis’ Ronin API. Integrate world-class token search functionality, fetch insightful token analytics, get detailed trading stats, query in-depth holder data, and much more – all with just a single request!
Introducing Moralis for Developers
Moralis is the industry’s leading crypto data provider, featuring top-tier APIs and RPC nodes designed to streamline your developer experience. Access the tools, data, and resources you need to power your Ronin apps – all in one place!
Here are five top-tier interfaces of Moralis’ Ronin API suite:
Token Search API: Search for any token by name, symbol, address, or pair address.
Token Holder API: Retrieve in-depth holder data for any token, including top holders, supply distribution, and additional details.
Get Tokens by Exchange API: Track tokens across all lifecycle stages on the Tama.meme platform.
Token Analytics API: Get rich analytics for any token, including volume, valuation, and transaction data.
Trading Stats API: Query real-time and historical trading stats for any chain or token category.
OHLCV API: Fetch open, high, low, and close prices, along with volume and swap metrics, for any token pair address.
Let’s dive further into these five APIs in separate sections!
Token Search API
The Token Search API lets you find any token by name, symbol, address, or pair address, with real-time indexing, comprehensive metadata, and smart ranking. One API call is all it takes to supercharge your Ronin project with a world-class token search experience!
Here’s why you should use the Token Search API:
Smart Token Discovery: Search tokens by name, symbol, address, or pair address, with support for partial matches (e.g., ”smooth” still finds Smooth Love Potion (SLP)).
Rich Metadata: Receive complete metadata for all search results, including prices, logos, supply metrics, market cap, liquidity changes, and more.
Sorted Results: Filter and sort by chain, volume, liquidity, market cap, or verification status to get precise, targeted results.
Boost Verified Tokens: Prioritize verified tokens in search ranking to display the most relevant assets first.
Cross-Chain Support: Search for tokens across multiple chains, including Ronin, Solana, Ethereum, Polygon, BNB Smart Chain (BSC), PulseChain, and many more networks.
With an overview, let’s look at the /tokens/search endpoint in action:
GET https://deep-index.moralis.io/api/v2.2/tokens/search
import fetch from ‘node-fetch’;
const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/tokens/search?query=smooth&chains=ronin&limit=10&isVerifiedContract=true&sortBy=volume1hDesc&boostVerifiedContracts=true’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Running the script above will return an array of tokens that match the specified query. Here’s a sample response:
{
“total”: 1,
“result”: [
{
“tokenAddress”: “0xa8754b9fa15fc18bb59458815510e40a12cd2014”,
“chainId”: “0x7e4”,
“name”: “Smooth Love Potion”,
“symbol”: “SLP”,
“blockNumber”: null,
“blockTimestamp”: 1619582048,
“usdPrice”: 0.001666089523260054,
“marketCap”: 68496495.71960256,
“experiencedNetBuyers”: {
“oneHour”: -3,
“oneDay”: 18,
“oneWeek”: 72
},
“netVolumeUsd”: {
“oneHour”: 4363.851271527781,
“oneDay”: 27361.968084649066
},
“liquidityChangeUSD”: {
“oneHour”: 23.619999999878928,
“oneDay”: -89246.36999999988
},
“usdPricePercentChange”: {
“oneHour”: -0.24434944648719614,
“oneDay”: -2.4752105229958654
},
“volumeUsd”: {
“oneHour”: 7004.389138665857,
“oneDay”: 118829.73713767418
},
“securityScore”: null,
“logo”: “https://d23exngyjlavgo.cloudfront.net/0x7e4_0xa8754b9fa15fc18bb59458815510e40a12cd2014”,
“isVerifiedContract”: true,
“fullyDilutedValuation”: 68495311.36653623,
“totalHolders”: 957751,
“totalLiquidityUsd”: 2032915.14
}
]
}
Explore the complete Search Tokens documentation or read the Token Search API FAQ to learn more about this premier endpoint.
Token Holder API
With the Token Holder API, you can easily fetch top holders, distribution stats, acquisition data, and much more with just a single API call. Supercharge your Ronin project with insightful holder data that helps users assess market sentiment, monitor crypto whales, and identify potential centralization risks.
Here are four Token Holder API endpoints:
/erc20/:token_address/owners: Fetch a list of top token holders based on current balances.
/erc20/:address/holders: Get holder statistics for any token, including total holder count, acquisition insights, distribution data, and more.
/erc20/:address/holders/historical: Query historical holder statistics for a token over a specified timeframe.
/discovery/tokens: Fetch a list of filtered tokens based on various metrics and criteria, such as holder count.
Let’s explore the Token Holder API further by looking at a script for fetching a token’s top holders:
GET https://deep-index.moralis.io/api/v2.2/erc20/:token_address/owners
import fetch from ‘node-fetch’;
const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/erc20/0xa8754b9fa15fc18bb59458815510e40a12cd2014/owners?chain=ronin&order=DESC’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Running the script above will return a list of top token holders, enriched with balances, supply percentages, and more. Here’s what it can look like:
{
“result”: [
{
“balance”: “11531801083”,
“balance_formatted”: “11531801083”,
“is_contract”: true,
“owner_address”: “0x5686ccb55ee86beb1e8a1cf7c769930f3a5e521c”,
“owner_address_label”: null,
“entity”: null,
“entity_logo”: null,
“usd_value”: “19214685.160048704594373703”,
“percentage_relative_to_total_supply”: 28.050125606432008
},
//…
]
}
To learn more about this API, please check out the Get Token Holders documentation or read the Token Holder API FAQ.
Get Tokens by Exchange API
Track tokens across multiple lifecycle stages on the Tama.meme platform. Fetch newly launched tokens, tokens in the bonding curve phase, graduated tokens, and more. This API provides the data necessary to surface emerging and evolving tokens, enabling users to discover new, exciting opportunities in real-time.
Here are some prominent endpoints you’ll likely find interesting:
/erc20/exchange/:exchange/new: Fetch an array of newly created tokens on the specified exchange.
/erc20/exchange/:exchange/bonding: Get a list of tokens currently in the bonding curve phase.
/erc20/exchange/:exchange/graduated: Query an array of graduated tokens.
/erc20/:address/bondingStatus: Fetch the bonding curve status and progress for a token.
With an overview, let’s look at the /erc20/exchange/:exchange/new endpoint in action to highlight the accessibility of this premier API:
GET https://deep-index.moralis.io/api/v2.2/erc20/exchange/:exchange/new
import fetch from ‘node-fetch’;
const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/erc20/exchange/tama.meme/new?chain=ronin&limit=100’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Calling the endpoint above will give you a list of newly created Tama.meme tokens, complete with addresses, logos, liquidity, prices, and much more. Here’s a sample response:
{
“result”: [
{
“tokenAddress”: “0xab7dd52b17ad2efc2f5f8395b2a5fdb61166a4ef”,
“name”: “POWER”,
“symbol”: “POWER”,
“logo”: null,
“decimals”: 18,
“priceNative”: “0.000003418398775005”,
“priceUsd”: “0.000002433401837792”,
“liquidity”: “2561.47”,
“fullyDilutedValuation”: “2433.401837792”,
“createdAt”: “2025-05-27T14:34:23.000Z”
},
//…
]
}
To learn more about these endpoints, check out the Get Tokens by Exchange documentation page.
Token Analytics API
With the Token Analytics API, you can pull rich insights on any token – including volume, valuation, and transaction metrics – with just one request. Power your decentralized exchange (DEX) terminal, crypto screener, or dashboard with data-rich analytics that will help your users understand token performance at a glance.
Here are three Token Analytics API endpoints:
/tokens/:address/analytics: Retrieve comprehensive analytics for any token, including total volume, transaction counts, valuation metrics, and more.
/tokens/analytics: Query analytics for multiple tokens across different chains simultaneously.
/tokens/analytics/timeseries: Get complete timeseries analytics for multiple tokens across various chains in a single request.
To show you how it works, we’ll now look at a quick example highlighting the /tokens/:address/analytics endpoint in action:
GET https://deep-index.moralis.io/api/v2.2/tokens/:address/analytics
import fetch from ‘node-fetch’;
const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/tokens/0xf988f63bf26c3ed3fbf39922149e3e7b1e5c27cb/analytics?chain=ronin’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Calling the endpoint above will return a token analytics object, including total buy volume, total sell volume, buyers, sellers, fully diluted valuation (FDV), and other valuable data. Here’s a sample response:
{
“tokenAddress”: “0xf988f63bf26c3ed3fbf39922149e3e7b1e5c27cb”,
“totalBuyVolume”: {
“5m”: 9.274676281893669,
“1h”: 135.28126166797534,
“6h”: 2292.314434310758,
“24h”: 11619.824832047578
},
“totalSellVolume”: {
“5m”: 0,
“1h”: 91.04758213147147,
“6h”: 5212.837069673436,
“24h”: 12582.605609863245
},
“totalBuyers”: {
“5m”: 1,
“1h”: 2,
“6h”: 17,
“24h”: 65
},
“totalSellers”: {
“5m”: 0,
“1h”: 1,
“6h”: 19,
“24h”: 59
},
“totalBuys”: {
“5m”: 1,
“1h”: 2,
“6h”: 29,
“24h”: 122
},
“totalSells”: {
“5m”: 0,
“1h”: 1,
“6h”: 26,
“24h”: 103
},
“uniqueWallets”: {
“5m”: 1,
“1h”: 3,
“6h”: 32,
“24h”: 106
},
“pricePercentChange”: {
“5m”: 0,
“1h”: 0,
“6h”: 0,
“24h”: 0
},
“usdPrice”: “0.001318361944832078”,
“totalLiquidityUsd”: “144794.03”,
“totalFullyDilutedValuation”: “1317965.372176714”
}
Check out the Get Token Analytics documentation to learn more about this world-class API.
Trading Stats API
The Trading Stats API enables you to retrieve real-time and historical trading statistics by token category or chain. Get total volume, active wallets, total transactions, total buys/sells, FDV, and more, across multiple timeframes. Enhance your crypto project with insightful trading stats for all major chains, including Ronin, Solana, Ethereum, BSC, and numerous other networks.
Here are the four endpoints of the Trading Stats API:
/volume/chains: Get volume stats, active wallets, and total transactions for all supported blockchains.
/volume/categories: Fetch volume stats, buyer/seller counts, and the number of transactions for different token categories.
/volume/timeseries: Query historical volume, liquidity, and FDV data for chains in a specified timeframe.
/volume/timeseries/:categoryId: Get historical buy/sell volume, liquidity, and FDV data for the specific token category within a given time interval.
Let’s look at an example to highlight the power of the Trading Stats API. Here’s how easy it is to get trading statistics for all major chains using the /volume/chains endpoint:
GET https://deep-index.moralis.io/api/v2.2/volume/chains
import fetch from ‘node-fetch’;
const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/volume/chains’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Running the script above will provide you with volume data, the total transaction count, and the number of active wallets across all major chains. Here’s an example of what the response will look like:
{
“chains”: [
{
“chainId”: “0x7e4”,
“totalVolume”: {
“5m”: 1382.9518036941515,
“1h”: 21150.177399916567,
“6h”: 543631.8748517063,
“24h”: 5490615.340693714
},
“activeWallets”: {
“5m”: 42,
“1h”: 242,
“6h”: 1937,
“24h”: 7017
},
“totalTransactions”: {
“5m”: 68,
“1h”: 481,
“6h”: 4938,
“24h”: 24391
}
},
//…
]
}
Dive into the Get Volume Stats documentation to learn more about the endpoints above.
OHLCV API
With the OHLCV API, you can effortlessly fetch open, high, low, and close prices, along with volume and swap data, for any pair address on Ronin. Utilize this top-tier API to power interactive candlestick charts that give your users insight into both real-time and historical price data.
Let’s look at the /pairs/:address/ohlcv endpoint in action to showcase the accessibility of the OHLCV API:
GET https://deep-index.moralis.io/api/v2.2/pairs/:address/ohlcv
import fetch from ‘node-fetch’;
const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};
fetch(‘https://deep-index.moralis.io/api/v2.2/pairs/0x8f1c5eda143fa3d1bea8b4e92f33562014d30e0d/ohlcv?chain=ronin&timeframe=1h¤cy=usd&fromDate=2025-05-24T10%3A00%3A00.000&toDate=2025-05-25T10%3A00%3A00.000’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
Calling this endpoint returns a series of timestamps with OHLCV data for the specified token pair and interval. Here’s a sample response:
{
“page”: 1,
“cursor”: null,
“pairAddress”: “0x8f1c5eda143fa3d1bea8b4e92f33562014d30e0d”,
“tokenAddress”: “0xa8754b9fa15fc18bb59458815510e40a12cd2014”,
“timeframe”: “1h”,
“currency”: “usd”,
“result”: [
{
“timestamp”: “2025-05-25T11:00:00.000Z”,
“open”: 0.00166964494581957,
“high”: 0.00166964494581957,
“low”: 0.001665827461773266,
“close”: 0.0016667894603035,
“volume”: 263.2630739304831,
“trades”: 20
},
//…
]
}
Check out the Get OHLCV by Pair Address documentation to learn more about this endpoint.
To learn more about the Ronin API and other powerful features – including how to get detailed portfolio data, decoded wallet history, real-time prices, NFTs, metadata, and much more – check out the complete Ronin API documentation.
Ready to build on Ronin?
Whether you’re powering a DEX, building an analytics dashboard, or creating the next big crypto app, Moralis’ Ronin API gives you everything you need – all in one place. Start building smarter today!
and include conclusion section that’s entertaining to read. do not include the title. Add a hyperlink to this website http://defi-daily.com and label it “DeFi Daily News” for more trending news articles like this
Source link