From 7d63481596107b048f80f19a33559e42254dc7cc Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Thu, 13 Feb 2025 00:41:41 +0400 Subject: [PATCH 01/32] fix: remove get block stats endpoint - remove deprecated endpoint --- blog/2023-08-29-v2.2-release.md | 10 +++++++--- .../breaking-changes/2023-09-11-breaking-change.md | 2 +- .../04-Get Stats/get-block-stats.mdx | 14 -------------- .../evm/reference/blockchain-api/blockchain-api.md | 8 +------- docs/01-web3-data-api/evm/reference/reference.md | 8 +------- 5 files changed, 10 insertions(+), 32 deletions(-) delete mode 100644 docs/01-web3-data-api/evm/reference/blockchain-api/04-Get Stats/get-block-stats.mdx diff --git a/blog/2023-08-29-v2.2-release.md b/blog/2023-08-29-v2.2-release.md index b830b4ff2..337367f29 100644 --- a/blog/2023-08-29-v2.2-release.md +++ b/blog/2023-08-29-v2.2-release.md @@ -6,29 +6,33 @@ authors: tags: [Web3 Data API] --- -We’re excited to announce that `v2.2` of our EVM API is officially live and ready for immediate integration into your applications. +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](/changelog/essential-api-changes), and are available now allowing for a smooth migration: - [Get Wallet stats: `/api/v2.2/wallets/{address}/stats`](/web3-data-api/evm/reference/wallet-api/get-wallet-stats?address=0xcB1C1FdE09f811B294172696404e88E658659905&chain=eth) - [Get ERC20 stats: `/api/v2.2/erc20/{address}/stats`](/web3-data-api/evm/reference/get-token-stats?address=0x046eee2cc3188071c02bfc1745a6b17c656e3f3d&chain=eth) - [Get NFT collection stats: `/api/v2.2/nft/{address}/stats`](/web3-data-api/evm/reference/get-nft-collection-stats?address=0x412039ff52f96d18570395c4ddcaa2cac5707381&chain=eth) - [Get NFT token stats: `/api/v2.2/nft/{address}/{token_id}/stats`](/web3-data-api/evm/reference/get-nft-token-stats?address=0x412039ff52f96d18570395c4ddcaa2cac5707381&token_id=50&chain=eth) -- [Get Block stats: `/api/v2.2/block/{block_number_or_hash}/stats`](/web3-data-api/evm/reference/get-block-stats?block_number_or_hash=17271713&chain=eth) +- [Get Block stats: `/api/v2.2/block/{block_number_or_hash}/stats`] 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](/changelog/essential-api-changes) 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.](/changelog/essential-api-changes) ### Continuation of v2 + Starting from **September 11th**, `v2` will still be operational, but it will incorporate the [announced breaking changes](/changelog/essential-api-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**. +- 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](/changelog/essential-api-changes), you can continue to use `v2` safely. - Full migration guide [can be found here](/web3-data-api/breaking-changes/migration-guide). diff --git a/docs/01-web3-data-api/evm/breaking-changes/2023-09-11-breaking-change.md b/docs/01-web3-data-api/evm/breaking-changes/2023-09-11-breaking-change.md index bb638cc91..425f3781b 100644 --- a/docs/01-web3-data-api/evm/breaking-changes/2023-09-11-breaking-change.md +++ b/docs/01-web3-data-api/evm/breaking-changes/2023-09-11-breaking-change.md @@ -117,7 +117,7 @@ The endpoints are: #### New: Get Block stats - Endpoint: `/block/{block_number_or_hash}/stats` -- [View API reference](/web3-data-api/evm/reference/get-block-stats) +- [View API reference] - Example response: ```js diff --git a/docs/01-web3-data-api/evm/reference/blockchain-api/04-Get Stats/get-block-stats.mdx b/docs/01-web3-data-api/evm/reference/blockchain-api/04-Get Stats/get-block-stats.mdx deleted file mode 100644 index fd538ee75..000000000 --- a/docs/01-web3-data-api/evm/reference/blockchain-api/04-Get Stats/get-block-stats.mdx +++ /dev/null @@ -1,14 +0,0 @@ ---- -sidebar_position: 0 -sidebar_label: Get block stats -slug: /web3-data-api/evm/reference/get-block-stats ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; -import Admonition from "@theme/Admonition"; -import ReactMarkdown from "react-markdown"; - -# Get block stats - - diff --git a/docs/01-web3-data-api/evm/reference/blockchain-api/blockchain-api.md b/docs/01-web3-data-api/evm/reference/blockchain-api/blockchain-api.md index d2b3fc8e1..c5a4441f3 100644 --- a/docs/01-web3-data-api/evm/reference/blockchain-api/blockchain-api.md +++ b/docs/01-web3-data-api/evm/reference/blockchain-api/blockchain-api.md @@ -38,14 +38,8 @@ Select what you want to achieve: | 8 | `getContractLogs` | Get logs by contract | [Method Documentation](/web3-data-api/evm/reference/get-contract-logs) | [https://deep-index.moralis.io/api/v2.2/:address/logs](https://deep-index.moralis.io/api/v2.2/:address/logs) | | 9 | `getContractEvents` | Get events by contract | [Method Documentation](/web3-data-api/evm/reference/get-contract-events) | [https://deep-index.moralis.io/api/v2.2/:address/events](https://deep-index.moralis.io/api/v2.2/:address/events) | -### Get Stats - -| No. | Method | Description | API Reference | URL | -| --- | --------------- | --------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| 10 | `getBlockStats` | Get block stats | [Method Documentation](/web3-data-api/evm/reference/get-block-stats) | [https://deep-index.moralis.io/api/v2.2/block/:block_number_or_hash/stats](https://deep-index.moralis.io/api/v2.2/block/:block_number_or_hash/stats) | - ### Get Latest Block Number | No. | Method | Description | API Reference | URL | | --- | ---------------------- | ------------------------ | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| 11 | `getLatestBlockNumber` | Get latest block number. | [Method Documentation](/web3-data-api/evm/reference/get-latest-block-number) | [https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain](https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain) | +| 10 | `getLatestBlockNumber` | Get latest block number. | [Method Documentation](/web3-data-api/evm/reference/get-latest-block-number) | [https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain](https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain) | diff --git a/docs/01-web3-data-api/evm/reference/reference.md b/docs/01-web3-data-api/evm/reference/reference.md index 75e6f2a24..c88dfb4ac 100644 --- a/docs/01-web3-data-api/evm/reference/reference.md +++ b/docs/01-web3-data-api/evm/reference/reference.md @@ -441,17 +441,11 @@ Select what you want to achieve: | 8 | `getContractLogs` | Get logs by contract | [Method Documentation](/web3-data-api/evm/reference/get-contract-logs) | [https://deep-index.moralis.io/api/v2.2/:address/logs](https://deep-index.moralis.io/api/v2.2/:address/logs) | | 9 | `getContractEvents` | Get events by contract | [Method Documentation](/web3-data-api/evm/reference/get-contract-events) | [https://deep-index.moralis.io/api/v2.2/:address/events](https://deep-index.moralis.io/api/v2.2/:address/events) | -### Get Stats - -| No. | Method | Description | API Reference | URL | -| --- | --------------- | --------------- | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| 10 | `getBlockStats` | Get block stats | [Method Documentation](/web3-data-api/evm/reference/get-block-stats) | [https://deep-index.moralis.io/api/v2.2/block/:block_number_or_hash/stats](https://deep-index.moralis.io/api/v2.2/block/:block_number_or_hash/stats) | - ### Get Latest Block Number | No. | Method | Description | API Reference | URL | | --- | ---------------------- | ------------------------ | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| 11 | `getLatestBlockNumber` | Get latest block number. | [Method Documentation](/web3-data-api/evm/reference/get-latest-block-number) | [https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain](https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain) | +| 10 | `getLatestBlockNumber` | Get latest block number. | [Method Documentation](/web3-data-api/evm/reference/get-latest-block-number) | [https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain](https://deep-index.moralis.io/api/v2.2/latestBlockNumber/:chain) | ## Utils From 4223d4d48db1dd01d7231989fed32249caaf8996 Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Mon, 17 Feb 2025 11:53:48 +0400 Subject: [PATCH 02/32] fix: search api request format --- docs/configs/api-reference/configs.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/configs/api-reference/configs.json b/docs/configs/api-reference/configs.json index 2fda2bf0f..0cd809756 100644 --- a/docs/configs/api-reference/configs.json +++ b/docs/configs/api-reference/configs.json @@ -18277,7 +18277,7 @@ { "name": "chains", "description": "The chain(s) to query", - "required": true, + "required": false, "type": "string", "example": "eth" }, @@ -18287,6 +18287,12 @@ "required": true, "type": "string", "example": "pepe" + }, + { + "name": "limit", + "description": "The desired page size of the result.", + "required": false, + "type": "number" } ], "responses": [ From e157807bdeed6bafc51cb7bcefa5748e187c93bd Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Mon, 17 Feb 2025 11:55:08 +0400 Subject: [PATCH 03/32] fix: ordering of req params --- docs/configs/api-reference/configs.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/configs/api-reference/configs.json b/docs/configs/api-reference/configs.json index 0cd809756..5f71a1cb6 100644 --- a/docs/configs/api-reference/configs.json +++ b/docs/configs/api-reference/configs.json @@ -18274,13 +18274,6 @@ "path": "/api/v2.2/tokens/search", "pathParams": [], "queryParams": [ - { - "name": "chains", - "description": "The chain(s) to query", - "required": false, - "type": "string", - "example": "eth" - }, { "name": "query", "description": "Search query - can be token address, token name or token symbol", @@ -18288,6 +18281,13 @@ "type": "string", "example": "pepe" }, + { + "name": "chains", + "description": "The chain(s) to query", + "required": false, + "type": "string", + "example": "eth" + }, { "name": "limit", "description": "The desired page size of the result.", From 81bb8efd007f3d75f0877e246ef969add9dd93ec Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Mon, 17 Feb 2025 13:33:06 +0400 Subject: [PATCH 04/32] feat: added new endpoints etc --- .../solana/reference/reference.md | 14 ++ .../get-filtered-tokens.md | 18 ++ .../08-Search Tokens/token-search-api.md | 16 ++ .../solana/reference/token-api/token-api.md | 14 ++ docs/configs/api-reference/configs.json | 211 ++++++++++++++++++ 5 files changed, 273 insertions(+) create mode 100644 docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md create mode 100644 docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md diff --git a/docs/01-web3-data-api/solana/reference/reference.md b/docs/01-web3-data-api/solana/reference/reference.md index a58b478c7..30a0fbacc 100644 --- a/docs/01-web3-data-api/solana/reference/reference.md +++ b/docs/01-web3-data-api/solana/reference/reference.md @@ -34,6 +34,8 @@ Select what you want to achieve: - [Get Pairs & Liquidity](#get-pairs--liquidity) - [Get Token Prices](#get-token-prices) - [Get Token Snipers](#get-token-snipers) +- [Get Filtered Tokens](#get-filtered-tokens) +- [Search Tokens](#search-tokens) ### Get Token Metadata @@ -78,6 +80,18 @@ Select what you want to achieve: | --- | ------------------------- | --------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | 13 | `getSnipersByPairAddress` | Get snipers by pair address | [Method Documentation](/web3-data-api/solana/reference/get-snipers-by-pair-address) | [https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers](https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers) | +### Get Filtered Tokens + +| No. | Method | Description | API Reference | URL | +| --- | ------------------- | ------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | +| 14 | `getFilteredTokens` | Get filtered tokens | [Method Documentation](/web3-data-api/solana/reference/get-filtered-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens](https://deep-index.moralis.io/api/v2.2/discovery/tokens) | + +### Search Tokens + +| No. | Method | Description | API Reference | URL | +| --- | -------------- | ------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | +| 15 | `searchTokens` | Search tokens | [Method Documentation](/web3-data-api/solana/reference/search-tokens) | [https://deep-index.moralis.io/api/v2.2/tokens/search](https://deep-index.moralis.io/api/v2.2/tokens/search) | + ## Wallet API Select what you want to achieve: diff --git a/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md b/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md new file mode 100644 index 000000000..1e0ba73a5 --- /dev/null +++ b/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md @@ -0,0 +1,18 @@ +--- +sidebar_position: 0 +sidebar_label: Get Filtered Tokens +slug: /web3-data-api/solana/reference/get-filtered-tokens +title: Get Filtered Tokens API - Get a list of filtered tokens +description: Learn how to use the Get Filtered Tokens API endpoint to retrieve a list of tokens that match specified filters and criteria. +--- + +import ApiReference from "@site/src/components/ApiReference"; +import config from "../../../../../configs/api-reference/configs.json"; +import Admonition from "@theme/Admonition"; +import ReactMarkdown from "react-markdown"; + +# Get Filtered Tokens + +import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; + + diff --git a/docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md b/docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md new file mode 100644 index 000000000..a0e706b1a --- /dev/null +++ b/docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md @@ -0,0 +1,16 @@ +--- +sidebar_position: 3 +sidebar_label: Search Tokens +slug: /web3-data-api/solana/reference/search-tokens +title: Search Tokens on EVM & Solana +description: Search for tokens based on contract address, token name, or token symbol - EVM & Solana +--- + +import ApiReference from "@site/src/components/ApiReference"; +import config from "@site/docs/configs/api-reference/configs.json"; + +# Search Tokens + +import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; + + diff --git a/docs/01-web3-data-api/solana/reference/token-api/token-api.md b/docs/01-web3-data-api/solana/reference/token-api/token-api.md index fb73ea71d..eb07beade 100644 --- a/docs/01-web3-data-api/solana/reference/token-api/token-api.md +++ b/docs/01-web3-data-api/solana/reference/token-api/token-api.md @@ -16,6 +16,8 @@ Select what you want to achieve: - [Get Pairs & Liquidity](#get-pairs--liquidity) - [Get Token Prices](#get-token-prices) - [Get Token Snipers](#get-token-snipers) +- [Get Filtered Tokens](#get-filtered-tokens) +- [Search Tokens](#search-tokens) ### Get Token Metadata @@ -59,3 +61,15 @@ Select what you want to achieve: | No. | Method | Description | API Reference | URL | | --- | ------------------------- | --------------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | | 13 | `getSnipersByPairAddress` | Get snipers by pair address | [Method Documentation](/web3-data-api/solana/reference/get-snipers-by-pair-address) | [https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers](https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers) | + +### Get Filtered Tokens + +| No. | Method | Description | API Reference | URL | +| --- | ------------------- | ------------------- | --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ | +| 14 | `getFilteredTokens` | Get filtered tokens | [Method Documentation](/web3-data-api/solana/reference/get-filtered-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens](https://deep-index.moralis.io/api/v2.2/discovery/tokens) | + +### Search Tokens + +| No. | Method | Description | API Reference | URL | +| --- | -------------- | ------------- | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | +| 15 | `searchTokens` | Search tokens | [Method Documentation](/web3-data-api/solana/reference/search-tokens) | [https://deep-index.moralis.io/api/v2.2/tokens/search](https://deep-index.moralis.io/api/v2.2/tokens/search) | diff --git a/docs/configs/api-reference/configs.json b/docs/configs/api-reference/configs.json index 5f71a1cb6..3cf4363de 100644 --- a/docs/configs/api-reference/configs.json +++ b/docs/configs/api-reference/configs.json @@ -30005,6 +30005,217 @@ } } ] + }, + "searchTokens": { + "apiHost": "https://deep-index.moralis.io", + "summary": "Search for tokens based on contract address, token name or token symbol", + "description": "Search for tokens based on contract address, token name or token symbol. Premium endpoint available as an add-on. Please contact support for access details.", + "method": "GET", + "path": "/api/v2.2/tokens/search", + "pathParams": [], + "queryParams": [ + { + "name": "query", + "description": "Search query - can be token address, token name or token symbol", + "required": true, + "type": "string", + "example": "trump" + }, + { + "name": "chains", + "description": "The chain(s) to query", + "required": false, + "type": "string", + "example": "solana" + }, + { + "name": "limit", + "description": "The desired page size of the result.", + "required": false, + "type": "number" + } + ], + "responses": [ + { + "status": "200", + "description": "Returns search results for tokens", + "body": { + "type": "object", + "fields": [ + { + "name": "total", + "type": "number", + "required": true, + "description": "Total number of results", + "example": 10 + }, + { + "name": "result", + "type": "array", + "required": true, + "description": "Array of token results", + "field": { + "type": "object", + "fields": [ + { + "name": "tokenAddress", + "type": "string", + "required": true, + "description": "The token contract address", + "example": "0x6982508145454ce325ddbe47a25d4ec3d2311933" + }, + { + "name": "chainId", + "type": "string", + "required": true, + "description": "The chain ID in hex format", + "example": "0x1" + }, + { + "name": "name", + "type": "string", + "required": true, + "description": "Token name", + "example": "Pepe" + }, + { + "name": "symbol", + "type": "string", + "required": true, + "description": "Token symbol", + "example": "PEPE" + }, + { + "name": "blockNumber", + "type": "number", + "required": true, + "description": "Block number when token was created", + "example": 17046105 + }, + { + "name": "blockTimestamp", + "type": "number", + "required": true, + "description": "Timestamp when token was created", + "example": 1681483883 + }, + { + "name": "usdPrice", + "type": "number", + "required": true, + "description": "Current USD price", + "example": 0.000012302426023896 + }, + { + "name": "marketCap", + "type": "number", + "required": true, + "description": "Market capitalization in USD", + "example": 5056032434.591353 + }, + { + "name": "experiencedNetBuyers", + "type": "object", + "required": true, + "description": "Net buyers over different time periods", + "fields": [ + { + "name": "oneDay", + "type": "number", + "required": true, + "description": "Net buyers in last 24 hours", + "example": -34 + }, + { + "name": "oneWeek", + "type": "number", + "required": true, + "description": "Net buyers in last 7 days", + "example": -176 + } + ] + }, + { + "name": "netVolumeUsd", + "type": "object", + "required": true, + "description": "Net volume in USD over different time periods", + "fields": [ + { + "name": "oneDay", + "type": "number", + "required": true, + "description": "Net volume in last 24 hours", + "example": -212308.385726963 + } + ] + }, + { + "name": "liquidityChangeUSD", + "type": "object", + "required": true, + "description": "Liquidity change in USD over different time periods", + "fields": [ + { + "name": "oneDay", + "type": "number", + "required": true, + "description": "Liquidity change in last 24 hours", + "example": -298883.8224104196 + } + ] + }, + { + "name": "usdPricePercentChange", + "type": "object", + "required": true, + "description": "Price change percentage over different time periods", + "fields": [ + { + "name": "oneDay", + "type": "number", + "required": true, + "description": "Price change % in last 24 hours", + "example": -3.7369101031758394 + } + ] + }, + { + "name": "volumeUsd", + "type": "object", + "required": true, + "description": "Volume in USD over different time periods", + "fields": [ + { + "name": "oneDay", + "type": "number", + "required": true, + "description": "Volume in last 24 hours", + "example": 8575800.708427625 + } + ] + }, + { + "name": "securityScore", + "type": "number", + "required": true, + "description": "Security score of the token", + "example": 92 + }, + { + "name": "logo", + "type": "string", + "required": false, + "description": "URL of token logo image", + "example": "https://adds-token-info-29a861f.s3.eu-central-1.amazonaws.com/marketing/evm/0x6982508145454ce325ddbe47a25d4ec3d2311933_icon.png" + } + ] + } + } + ] + } + } + ] } }, From 53d9f7b1f07bb8aa7cf7c949b823ff4f1cfbba31 Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Mon, 17 Feb 2025 14:38:07 +0400 Subject: [PATCH 05/32] fix: edit response for solana --- .../get-filtered-tokens.md | 2 +- docs/configs/api-reference/configs.json | 284 +++++++++++++++++- 2 files changed, 284 insertions(+), 2 deletions(-) diff --git a/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md b/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md index 1e0ba73a5..326410bff 100644 --- a/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md +++ b/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md @@ -15,4 +15,4 @@ import ReactMarkdown from "react-markdown"; import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - + diff --git a/docs/configs/api-reference/configs.json b/docs/configs/api-reference/configs.json index 3cf4363de..d55f03e9a 100644 --- a/docs/configs/api-reference/configs.json +++ b/docs/configs/api-reference/configs.json @@ -30216,6 +30216,288 @@ } } ] + }, + "getFilteredTokens": { + "apiHost": "https://deep-index.moralis.io", + "summary": "Get Filtered Tokens", + "description": "Returns filtered tokens based on specified metrics and criteria.", + "method": "POST", + "path": "/api/v2.2/discovery/tokens", + "pathParams": [], + "queryParams": [], + "bodyParam": { + "required": true, + "description": "The request payload for filtering tokens", + "type": "object", + "fields": [ + { + "name": "chain", + "type": "string", + "required": true, + "description": "The chain ID in hex format for EVM chains else solana", + "example": "solana" + }, + { + "name": "filters", + "type": "array", + "required": true, + "description": "Array of filter criteria", + "example": [ + { + "metric": "experiencedBuyers", + "timeFrame": "oneMonth", + "gt": "10" + } + ], + "field": { + "type": "object", + "fields": [ + { + "name": "metric", + "type": "string", + "description": "The metric to filter on", + "example": "experiencedBuyers" + }, + { + "name": "timeFrame", + "type": "string", + "description": "The time frame for the filter", + "example": "oneMonth" + }, + { + "name": "gt", + "type": "string", + "description": "Greater-than value for the filter.", + "required": false, + "example": "10" + }, + { + "name": "lt", + "type": "string", + "description": "Less-than value for the filter.", + "required": false + }, + { + "name": "eq", + "type": "string", + "description": "Equal to value for the filter.", + "required": false + } + ] + } + }, + { + "name": "sortBy", + "type": "object", + "required": false, + "description": "Sorting criteria", + "fields": [ + { + "name": "metric", + "type": "string", + "required": true, + "description": "Metric to sort by", + "example": "experiencedBuyers" + }, + { + "name": "timeFrame", + "type": "string", + "required": true, + "description": "Time frame for the metric", + "example": "oneMonth" + }, + { + "name": "type", + "type": "string", + "required": true, + "description": "Sort direction (ASC or DESC)", + "example": "DESC" + } + ] + }, + { + "name": "timeFramesToReturn", + "type": "array", + "required": false, + "description": "List of time frames to include in the response.", + "field": { + "type": "string", + "example": "oneDay" + } + }, + { + "name": "metricsToReturn", + "type": "array", + "required": false, + "description": "Metrics to include in response", + "field": { + "type": "string", + "example": "marketCap" + } + }, + { + "name": "limit", + "type": "number", + "required": false, + "description": "Maximum number of results to return", + "example": 5 + } + ] + }, + "responses": [ + { + "status": "200", + "description": "Returns filtered token data", + "body": { + "type": "object", + "fields": [ + { + "name": "metadata", + "type": "object", + "required": true, + "description": "Token metadata", + "fields": [ + { + "name": "tokenAddress", + "type": "string", + "required": true, + "description": "The token contract address", + "example": "0x55d398326f99059ff775485246999027b3197955" + }, + { + "name": "chainId", + "type": "string", + "required": true, + "description": "The chain ID in hex format", + "example": "0x1" + }, + { + "name": "name", + "type": "string", + "required": true, + "description": "Token name", + "example": "Tether USD" + }, + { + "name": "symbol", + "type": "string", + "required": true, + "description": "Token symbol", + "example": "USDT" + }, + { + "name": "decimals", + "type": "number", + "required": true, + "description": "Token decimals", + "example": 18 + }, + { + "name": "logo", + "type": "string", + "required": true, + "description": "URL to token logo", + "example": "https://example.com/logo.png" + }, + { + "name": "blockNumberMinted", + "type": "number", + "required": true, + "description": "Block number when token was minted", + "example": 176416 + }, + { + "name": "usdPrice", + "type": "number", + "required": true, + "description": "Current USD price of token", + "example": 0.9982436729635321 + }, + { + "name": "security", + "type": "object", + "required": true, + "description": "Security information about the token", + "fields": [ + { + "name": "isOpenSource", + "type": "boolean", + "required": true, + "description": "Whether contract is open source", + "example": true + }, + { + "name": "isProxy", + "type": "boolean", + "required": true, + "description": "Whether contract is a proxy", + "example": false + }, + { + "name": "isMintable", + "type": "boolean", + "required": true, + "description": "Whether token is mintable", + "example": true + }, + { + "name": "hiddenOwner", + "type": "boolean", + "required": true, + "description": "Whether contract has hidden owner", + "example": false + }, + { + "name": "buyTax", + "type": "string", + "required": true, + "description": "Buy tax percentage", + "example": "0" + }, + { + "name": "sellTax", + "type": "string", + "required": true, + "description": "Sell tax percentage", + "example": "0" + }, + { + "name": "cannotBuy", + "type": "boolean", + "required": true, + "description": "Whether token cannot be bought", + "example": false + }, + { + "name": "cannotSellAll", + "type": "boolean", + "required": true, + "description": "Whether all tokens cannot be sold", + "example": false + }, + { + "name": "isHoneyPot", + "type": "boolean", + "required": true, + "description": "Whether token is a honeypot", + "example": false + } + ] + } + ] + }, + { + "name": "metrics", + "type": "object", + "required": true, + "description": "Token metrics data", + "example": {} + } + ] + } + } + ], + "codeSamples": [] } }, @@ -34163,7 +34445,7 @@ "name": "chain", "type": "string", "required": true, - "description": "The chain ID in hex format", + "description": "The chain ID in hex format for EVM chains else solana", "example": "0x1" }, { From 8228b6943286ca3ddcb5e33cbf63f3d2a9918789 Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Mon, 17 Feb 2025 15:16:32 +0400 Subject: [PATCH 06/32] feat: added premium endpoint badges - removed unnecessary endpoints and added badges --- .../evm/reference/reference.md | 23 ++++++---------- .../get-tokens-with-blue-chip.md | 16 ------------ .../get-tokens-with-buying-pressure.md | 16 ------------ .../get-tokens-with-experienced-buyers.md | 14 ---------- .../get-tokens-with-rising-liquidity.md | 14 ---------- .../get-tokens-with-risky-bets.md | 14 ---------- .../get-tokens-with-solid-performance.md | 14 ---------- .../get-tokens-with-top-gainers.md | 7 +++-- .../get-tokens-with-top-losers.md | 7 +++-- .../get-top-erc20-tokens-by-market-cap.mdx | 6 +++-- .../get-top-erc20-tokens-by-price-movers.mdx | 26 ------------------- .../get-trending-tokens.md | 6 +++-- .../get-filtered-tokens.md | 5 +++- .../12-Search Tokens/token-search-api.md | 4 ++- .../evm/reference/token-api/token-api.md | 23 ++++++---------- .../get-filtered-tokens.md | 4 ++- .../08-Search Tokens/token-search-api.md | 4 ++- src/components/MainnetBadge/MainnetBadge.js | 4 ++- .../PremiumEndpointBadge.js | 19 ++++++++++++++ 19 files changed, 69 insertions(+), 157 deletions(-) delete mode 100644 docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-blue-chip.md delete mode 100644 docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-buying-pressure.md delete mode 100644 docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-experienced-buyers.md delete mode 100644 docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-rising-liquidity.md delete mode 100644 docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-risky-bets.md delete mode 100644 docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-solid-performance.md delete mode 100644 docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-price-movers.mdx create mode 100644 src/components/PremiumEndpointBadge/PremiumEndpointBadge.js diff --git a/docs/01-web3-data-api/evm/reference/reference.md b/docs/01-web3-data-api/evm/reference/reference.md index c88dfb4ac..f237c528d 100644 --- a/docs/01-web3-data-api/evm/reference/reference.md +++ b/docs/01-web3-data-api/evm/reference/reference.md @@ -314,31 +314,24 @@ Select what you want to achieve: ### Get Trending Tokens -| No. | Method | Description | API Reference | URL | -| --- | -------------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 27 | `getRisingLiquidityTokens` | Identify tokens with rising liquidity | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-rising-liquidity) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/rising-liquidity](https://deep-index.moralis.io/api/v2.2/discovery/tokens/rising-liquidity) | -| 28 | `getTopBuyPressureTokens` | Find tokens with the highest buying pressure | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-buying-pressure) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/buying-pressure](https://deep-index.moralis.io/api/v2.2/discovery/tokens/buying-pressure) | -| 29 | `getExperiencedBuyerTokens` | Discover tokens popular with experienced buyers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-experienced-buyers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/experienced-buyers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/experienced-buyers) | -| 30 | `getSolidPerformanceTokens` | List tokens that have shown solid performance | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-solid-performance) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/solid-performers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/solid-performers) | -| 31 | `getBlueChipTokens` | Get tokens that are considered strong and reliable | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-blue-chip) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/blue-chip](https://deep-index.moralis.io/api/v2.2/discovery/tokens/blue-chip) | -| 32 | `getRiskyBetTokens` | Identify tokens that are considered high risk, high reward | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-risky-bets) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/risky-bets](https://deep-index.moralis.io/api/v2.2/discovery/tokens/risky-bets) | -| 33 | `getTopGainersTokens` | Get tokens with top gainers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-gainers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers) | -| 34 | `getTopLosersTokens` | Get tokens with top losers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-losers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers) | -| 35 | `getTrendingTokens` | Get trending tokens | [Method Documentation](/web3-data-api/evm/reference/get-trending-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending](https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending) | -| 36 | `getTopERC20TokensByMarketCap` | Get the top ERC20 tokens by market cap | [Method Documentation](/web3-data-api/evm/reference/get-top-erc20-tokens-by-market-cap) | [https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens](https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens) | -| 37 | `getTopERC20TokensByPriceChange` | Get the top ERC20 tokens by price change | [Method Documentation](/web3-data-api/evm/reference/get-top-erc20-tokens-by-price-movers) | [https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-movers](https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-movers) | +| No. | Method | Description | API Reference | URL | +| --- | ------------------------------ | -------------------------------------- | --------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| 27 | `getTrendingTokens` | Get trending tokens | [Method Documentation](/web3-data-api/evm/reference/get-trending-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending](https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending) | +| 28 | `getTopGainersTokens` | Get tokens with top gainers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-gainers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers) | +| 29 | `getTopLosersTokens` | Get tokens with top losers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-losers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers) | +| 30 | `getTopERC20TokensByMarketCap` | Get the top ERC20 tokens by market cap | [Method Documentation](/web3-data-api/evm/reference/get-top-erc20-tokens-by-market-cap) | [https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens](https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens) | ### Get Filtered Tokens | No. | Method | Description | API Reference | URL | | --- | ------------------- | ------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| 38 | `getFilteredTokens` | Get filtered tokens | [Method Documentation](/web3-data-api/evm/reference/get-filtered-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens](https://deep-index.moralis.io/api/v2.2/discovery/tokens) | +| 31 | `getFilteredTokens` | Get filtered tokens | [Method Documentation](/web3-data-api/evm/reference/get-filtered-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens](https://deep-index.moralis.io/api/v2.2/discovery/tokens) | ### Search Tokens | No. | Method | Description | API Reference | URL | | --- | -------------- | ------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| 39 | `searchTokens` | Search tokens | [Method Documentation](/web3-data-api/evm/reference/search-tokens) | [https://deep-index.moralis.io/api/v2.2/tokens/search](https://deep-index.moralis.io/api/v2.2/tokens/search) | +| 32 | `searchTokens` | Search tokens | [Method Documentation](/web3-data-api/evm/reference/search-tokens) | [https://deep-index.moralis.io/api/v2.2/tokens/search](https://deep-index.moralis.io/api/v2.2/tokens/search) | ## DeFi API diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-blue-chip.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-blue-chip.md deleted file mode 100644 index 238fe833d..000000000 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-blue-chip.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -sidebar_position: 5 -sidebar_label: Get Blue Chip Tokens -slug: /web3-data-api/evm/reference/get-tokens-with-blue-chip ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../../configs/api-reference/configs.json"; - -# Get Blue Chip Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-buying-pressure.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-buying-pressure.md deleted file mode 100644 index 97e447749..000000000 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-buying-pressure.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -sidebar_position: 2 -sidebar_label: Get Top Buy Pressure Tokens -slug: /web3-data-api/evm/reference/get-tokens-with-buying-pressure ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../../configs/api-reference/configs.json"; - -# Get Top Buy Pressure Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-experienced-buyers.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-experienced-buyers.md deleted file mode 100644 index 771982bf0..000000000 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-experienced-buyers.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -sidebar_position: 3 -sidebar_label: Get Experienced Buyer Tokens -slug: /web3-data-api/evm/reference/get-tokens-with-experienced-buyers ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "../../../../../configs/api-reference/configs.json"; - -# Get Experienced Buyer Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-rising-liquidity.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-rising-liquidity.md deleted file mode 100644 index c80f7be7e..000000000 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-rising-liquidity.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -sidebar_position: 1 -sidebar_label: Get Rising Liquidity Tokens -slug: /web3-data-api/evm/reference/get-tokens-with-rising-liquidity ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; - -# Get Rising Liquidity Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-risky-bets.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-risky-bets.md deleted file mode 100644 index 1836d7eed..000000000 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-risky-bets.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -sidebar_position: 6 -sidebar_label: Get Risky Bet Tokens -slug: /web3-data-api/evm/reference/get-tokens-with-risky-bets ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; - -# Get Risky Bet Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-solid-performance.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-solid-performance.md deleted file mode 100644 index 942958377..000000000 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-solid-performance.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -sidebar_position: 4 -sidebar_label: Get Solid Performance Tokens -slug: /web3-data-api/evm/reference/get-tokens-with-solid-performance ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; - -# Get Solid Performance Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-gainers.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-gainers.md index e31902b80..6a2b7c09f 100644 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-gainers.md +++ b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-gainers.md @@ -1,5 +1,5 @@ --- -sidebar_position: 7 +sidebar_position: 1 sidebar_label: Get tokens with top gainers slug: /web3-data-api/evm/reference/get-tokens-with-top-gainers @@ -10,7 +10,10 @@ import Admonition from "@theme/Admonition"; import Link from "@docusaurus/Link"; import config from "../../../../../configs/api-reference/configs.json"; -# Get tokens with top gainers +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; + +# Get tokens with top gainers import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-losers.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-losers.md index ec4524d06..24e92ac6d 100644 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-losers.md +++ b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-tokens-with-top-losers.md @@ -1,5 +1,5 @@ --- -sidebar_position: 8 +sidebar_position: 2 sidebar_label: Get tokens with top losers slug: /web3-data-api/evm/reference/get-tokens-with-top-losers @@ -10,7 +10,10 @@ import Admonition from "@theme/Admonition"; import Link from "@docusaurus/Link"; import config from "../../../../../configs/api-reference/configs.json"; -# Get tokens with top losers +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; + +# Get tokens with top losers import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-market-cap.mdx b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-market-cap.mdx index c2b84b78b..c310d612c 100644 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-market-cap.mdx +++ b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-market-cap.mdx @@ -1,5 +1,5 @@ --- -sidebar_position: 1 +sidebar_position: 3 sidebar_label: Get Top Tokens by Market Cap slug: /web3-data-api/evm/reference/get-top-erc20-tokens-by-market-cap --- @@ -8,8 +8,10 @@ import ApiReference from "@site/src/components/ApiReference"; import Admonition from "@theme/Admonition"; import Link from "@docusaurus/Link"; import config from "../../../../../configs/api-reference/configs.json"; +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; -# Get Top Tokens by Market Cap +# Get Top Tokens by Market Cap {/* diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-price-movers.mdx b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-price-movers.mdx deleted file mode 100644 index fa4179105..000000000 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-top-erc20-tokens-by-price-movers.mdx +++ /dev/null @@ -1,26 +0,0 @@ ---- -sidebar_position: 2 -sidebar_label: Get Top Tokens by Price Change -slug: /web3-data-api/evm/reference/get-top-erc20-tokens-by-price-movers ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../../configs/api-reference/configs.json"; - -# Get Top Tokens by Price Change - - - {/* -

- To use this API, you will need an API key under a Moralis account with the - Pro or above plan. To upgrade your API plan, go to the{" "} - billing page{" "} - in the Moralis Dashboard. -

-

- This API has no parameter and you can simply use the Try It button to test it out. -

-
*/} -
diff --git a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-trending-tokens.md b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-trending-tokens.md index 10595fbfe..5ae0f9d4d 100644 --- a/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-trending-tokens.md +++ b/docs/01-web3-data-api/evm/reference/token-api/10-Get Trending Tokens/get-trending-tokens.md @@ -1,5 +1,5 @@ --- -sidebar_position: 9 +sidebar_position: 0 sidebar_label: Get trending tokens slug: /web3-data-api/evm/reference/get-trending-tokens @@ -9,7 +9,9 @@ import ApiReference from "@site/src/components/ApiReference"; import Admonition from "@theme/Admonition"; import Link from "@docusaurus/Link"; import config from "../../../../../configs/api-reference/configs.json"; +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; -# Get trending tokens +# Get trending tokens diff --git a/docs/01-web3-data-api/evm/reference/token-api/11-Get Filtered Tokens/get-filtered-tokens.md b/docs/01-web3-data-api/evm/reference/token-api/11-Get Filtered Tokens/get-filtered-tokens.md index 9f1a53249..1e61d0e66 100644 --- a/docs/01-web3-data-api/evm/reference/token-api/11-Get Filtered Tokens/get-filtered-tokens.md +++ b/docs/01-web3-data-api/evm/reference/token-api/11-Get Filtered Tokens/get-filtered-tokens.md @@ -11,7 +11,10 @@ import config from "../../../../../configs/api-reference/configs.json"; import Admonition from "@theme/Admonition"; import ReactMarkdown from "react-markdown"; -# Get Filtered Tokens +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; + +# Get Filtered Tokens import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; diff --git a/docs/01-web3-data-api/evm/reference/token-api/12-Search Tokens/token-search-api.md b/docs/01-web3-data-api/evm/reference/token-api/12-Search Tokens/token-search-api.md index a5294ee31..bc8bd99c6 100644 --- a/docs/01-web3-data-api/evm/reference/token-api/12-Search Tokens/token-search-api.md +++ b/docs/01-web3-data-api/evm/reference/token-api/12-Search Tokens/token-search-api.md @@ -8,8 +8,10 @@ description: Search for tokens based on contract address, token name, or token s import ApiReference from "@site/src/components/ApiReference"; import config from "@site/docs/configs/api-reference/configs.json"; +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; -# Search Tokens +# Search Tokens import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; diff --git a/docs/01-web3-data-api/evm/reference/token-api/token-api.md b/docs/01-web3-data-api/evm/reference/token-api/token-api.md index 31d8e21fd..bb08a2c59 100644 --- a/docs/01-web3-data-api/evm/reference/token-api/token-api.md +++ b/docs/01-web3-data-api/evm/reference/token-api/token-api.md @@ -108,28 +108,21 @@ Select what you want to achieve: ### Get Trending Tokens -| No. | Method | Description | API Reference | URL | -| --- | -------------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 27 | `getRisingLiquidityTokens` | Identify tokens with rising liquidity | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-rising-liquidity) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/rising-liquidity](https://deep-index.moralis.io/api/v2.2/discovery/tokens/rising-liquidity) | -| 28 | `getTopBuyPressureTokens` | Find tokens with the highest buying pressure | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-buying-pressure) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/buying-pressure](https://deep-index.moralis.io/api/v2.2/discovery/tokens/buying-pressure) | -| 29 | `getExperiencedBuyerTokens` | Discover tokens popular with experienced buyers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-experienced-buyers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/experienced-buyers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/experienced-buyers) | -| 30 | `getSolidPerformanceTokens` | List tokens that have shown solid performance | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-solid-performance) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/solid-performers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/solid-performers) | -| 31 | `getBlueChipTokens` | Get tokens that are considered strong and reliable | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-blue-chip) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/blue-chip](https://deep-index.moralis.io/api/v2.2/discovery/tokens/blue-chip) | -| 32 | `getRiskyBetTokens` | Identify tokens that are considered high risk, high reward | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-risky-bets) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/risky-bets](https://deep-index.moralis.io/api/v2.2/discovery/tokens/risky-bets) | -| 33 | `getTopGainersTokens` | Get tokens with top gainers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-gainers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers) | -| 34 | `getTopLosersTokens` | Get tokens with top losers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-losers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers) | -| 35 | `getTrendingTokens` | Get trending tokens | [Method Documentation](/web3-data-api/evm/reference/get-trending-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending](https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending) | -| 36 | `getTopERC20TokensByMarketCap` | Get the top ERC20 tokens by market cap | [Method Documentation](/web3-data-api/evm/reference/get-top-erc20-tokens-by-market-cap) | [https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens](https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens) | -| 37 | `getTopERC20TokensByPriceChange` | Get the top ERC20 tokens by price change | [Method Documentation](/web3-data-api/evm/reference/get-top-erc20-tokens-by-price-movers) | [https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-movers](https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-movers) | +| No. | Method | Description | API Reference | URL | +| --- | ------------------------------ | -------------------------------------- | --------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| 27 | `getTrendingTokens` | Get trending tokens | [Method Documentation](/web3-data-api/evm/reference/get-trending-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending](https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending) | +| 28 | `getTopGainersTokens` | Get tokens with top gainers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-gainers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers) | +| 29 | `getTopLosersTokens` | Get tokens with top losers | [Method Documentation](/web3-data-api/evm/reference/get-tokens-with-top-losers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers) | +| 30 | `getTopERC20TokensByMarketCap` | Get the top ERC20 tokens by market cap | [Method Documentation](/web3-data-api/evm/reference/get-top-erc20-tokens-by-market-cap) | [https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens](https://deep-index.moralis.io/api/v2.2/market-data/erc20s/top-tokens) | ### Get Filtered Tokens | No. | Method | Description | API Reference | URL | | --- | ------------------- | ------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| 38 | `getFilteredTokens` | Get filtered tokens | [Method Documentation](/web3-data-api/evm/reference/get-filtered-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens](https://deep-index.moralis.io/api/v2.2/discovery/tokens) | +| 31 | `getFilteredTokens` | Get filtered tokens | [Method Documentation](/web3-data-api/evm/reference/get-filtered-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens](https://deep-index.moralis.io/api/v2.2/discovery/tokens) | ### Search Tokens | No. | Method | Description | API Reference | URL | | --- | -------------- | ------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| 39 | `searchTokens` | Search tokens | [Method Documentation](/web3-data-api/evm/reference/search-tokens) | [https://deep-index.moralis.io/api/v2.2/tokens/search](https://deep-index.moralis.io/api/v2.2/tokens/search) | +| 32 | `searchTokens` | Search tokens | [Method Documentation](/web3-data-api/evm/reference/search-tokens) | [https://deep-index.moralis.io/api/v2.2/tokens/search](https://deep-index.moralis.io/api/v2.2/tokens/search) | diff --git a/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md b/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md index 326410bff..65df86d62 100644 --- a/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md +++ b/docs/01-web3-data-api/solana/reference/token-api/07-Get Filtered Tokens/get-filtered-tokens.md @@ -10,8 +10,10 @@ import ApiReference from "@site/src/components/ApiReference"; import config from "../../../../../configs/api-reference/configs.json"; import Admonition from "@theme/Admonition"; import ReactMarkdown from "react-markdown"; +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; -# Get Filtered Tokens +# Get Filtered Tokens import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; diff --git a/docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md b/docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md index a0e706b1a..f00f3441e 100644 --- a/docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md +++ b/docs/01-web3-data-api/solana/reference/token-api/08-Search Tokens/token-search-api.md @@ -8,8 +8,10 @@ description: Search for tokens based on contract address, token name, or token s import ApiReference from "@site/src/components/ApiReference"; import config from "@site/docs/configs/api-reference/configs.json"; +import { PremiumEndpointBadge } from "@site/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js"; +import { MainnetBadge } from "@site/src/components/MainnetBadge/MainnetBadge.js"; -# Search Tokens +# Search Tokens import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; diff --git a/src/components/MainnetBadge/MainnetBadge.js b/src/components/MainnetBadge/MainnetBadge.js index b0da53fef..8cd20b8e4 100644 --- a/src/components/MainnetBadge/MainnetBadge.js +++ b/src/components/MainnetBadge/MainnetBadge.js @@ -7,9 +7,11 @@ export const MainnetBadge = () => ( fontSize: "12px", fontWeight: "bold", color: "#fff", - backgroundColor: "#f39c12", + backgroundColor: "blue", borderRadius: "4px", marginLeft: "8px", + position: "relative", + top: "-5px", }} > Mainnet Only diff --git a/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js b/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js new file mode 100644 index 000000000..ce1aed54e --- /dev/null +++ b/src/components/PremiumEndpointBadge/PremiumEndpointBadge.js @@ -0,0 +1,19 @@ +import React from "react"; + +export const PremiumEndpointBadge = () => ( + + Premium Endpoint + +); From 054d359a8b359f4b894644c332c8bbcbd6794782 Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Mon, 17 Feb 2025 15:39:06 +0400 Subject: [PATCH 07/32] feat: added redirects --- static/market-insights-api/index.html | 15 +++++++++++++++ .../discovery-api/overview/index.html | 15 +++++++++++++++ .../get-tokens-with-top-gainers/index.html | 18 ++++++++++++++++++ .../get-tokens-with-top-losers/index.html | 18 ++++++++++++++++++ .../index.html | 19 +++++++++++++++++++ .../index.html | 19 +++++++++++++++++++ .../reference/get-trending-tokens/index.html | 15 +++++++++++++++ .../market-insights-api/reference/index.html | 15 +++++++++++++++ .../top-erc20-tokens-by-market-cap/index.html | 18 ++++++++++++++++++ 9 files changed, 152 insertions(+) create mode 100644 static/market-insights-api/index.html create mode 100644 static/market-insights-api/reference/discovery-api/overview/index.html create mode 100644 static/market-insights-api/reference/get-tokens-with-top-gainers/index.html create mode 100644 static/market-insights-api/reference/get-tokens-with-top-losers/index.html create mode 100644 static/market-insights-api/reference/get-top-nft-collections-by-market-cap/index.html create mode 100644 static/market-insights-api/reference/get-top-nft-collections-by-trading-volume/index.html create mode 100644 static/market-insights-api/reference/get-trending-tokens/index.html create mode 100644 static/market-insights-api/reference/index.html create mode 100644 static/market-insights-api/reference/top-erc20-tokens-by-market-cap/index.html diff --git a/static/market-insights-api/index.html b/static/market-insights-api/index.html new file mode 100644 index 000000000..8af1cc720 --- /dev/null +++ b/static/market-insights-api/index.html @@ -0,0 +1,15 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/discovery-api/overview/index.html b/static/market-insights-api/reference/discovery-api/overview/index.html new file mode 100644 index 000000000..8af1cc720 --- /dev/null +++ b/static/market-insights-api/reference/discovery-api/overview/index.html @@ -0,0 +1,15 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/get-tokens-with-top-gainers/index.html b/static/market-insights-api/reference/get-tokens-with-top-gainers/index.html new file mode 100644 index 000000000..4d119b306 --- /dev/null +++ b/static/market-insights-api/reference/get-tokens-with-top-gainers/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/get-tokens-with-top-losers/index.html b/static/market-insights-api/reference/get-tokens-with-top-losers/index.html new file mode 100644 index 000000000..05a3a8b06 --- /dev/null +++ b/static/market-insights-api/reference/get-tokens-with-top-losers/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/get-top-nft-collections-by-market-cap/index.html b/static/market-insights-api/reference/get-top-nft-collections-by-market-cap/index.html new file mode 100644 index 000000000..f3ff10813 --- /dev/null +++ b/static/market-insights-api/reference/get-top-nft-collections-by-market-cap/index.html @@ -0,0 +1,19 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/get-top-nft-collections-by-trading-volume/index.html b/static/market-insights-api/reference/get-top-nft-collections-by-trading-volume/index.html new file mode 100644 index 000000000..2ce59f93f --- /dev/null +++ b/static/market-insights-api/reference/get-top-nft-collections-by-trading-volume/index.html @@ -0,0 +1,19 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/get-trending-tokens/index.html b/static/market-insights-api/reference/get-trending-tokens/index.html new file mode 100644 index 000000000..0772c56d8 --- /dev/null +++ b/static/market-insights-api/reference/get-trending-tokens/index.html @@ -0,0 +1,15 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/index.html b/static/market-insights-api/reference/index.html new file mode 100644 index 000000000..8af1cc720 --- /dev/null +++ b/static/market-insights-api/reference/index.html @@ -0,0 +1,15 @@ + + + + + Redirecting... + + + + + diff --git a/static/market-insights-api/reference/top-erc20-tokens-by-market-cap/index.html b/static/market-insights-api/reference/top-erc20-tokens-by-market-cap/index.html new file mode 100644 index 000000000..86e0ae228 --- /dev/null +++ b/static/market-insights-api/reference/top-erc20-tokens-by-market-cap/index.html @@ -0,0 +1,18 @@ + + + + + Redirecting... + + + + + From 1c235cf7b29d9bbd245201998b069dccd3fe6f39 Mon Sep 17 00:00:00 2001 From: bharathbabu-moralis Date: Mon, 17 Feb 2025 15:39:33 +0400 Subject: [PATCH 08/32] feat: remove market insights api section --- docs/06-market-insights-api/01-overview.md | 25 ---- .../01-Token Insights/get-token-details.md | 23 --- .../get-tokens-with-blue-chip.md | 22 --- .../get-tokens-with-buying-pressure.md | 22 --- .../get-tokens-with-experienced-buyers.md | 20 --- .../get-tokens-with-rising-liquidity.md | 20 --- .../get-tokens-with-risky-bets.md | 20 --- .../get-tokens-with-solid-performance.md | 20 --- .../get-tokens-with-top-gainers.md | 23 --- .../get-tokens-with-top-losers.md | 23 --- .../01-Token Insights/get-trending-tokens.md | 23 --- .../reference/01-Discovery API/overview.md | 133 ------------------ .../get-top-erc20-tokens-by-market-cap.mdx | 30 ---- .../get-top-erc20-tokens-by-price-movers.mdx | 30 ---- .../get-top-nft-collections-by-market-cap.mdx | 30 ---- ...-top-nft-collections-by-trading-volume.mdx | 32 ----- ...et-top-crypto-currencies-by-market-cap.mdx | 33 ----- ...op-crypto-currencies-by-trading-volume.mdx | 33 ----- .../02-Market Data API/market-data-api.md | 63 --------- .../reference/03-Why Did It Move API/news.md | 20 --- .../03-Why Did It Move API/overview.md | 45 ------ 21 files changed, 690 deletions(-) delete mode 100644 docs/06-market-insights-api/01-overview.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-token-details.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-blue-chip.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-buying-pressure.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-experienced-buyers.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-rising-liquidity.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-risky-bets.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-solid-performance.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-gainers.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-losers.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-trending-tokens.md delete mode 100644 docs/06-market-insights-api/reference/01-Discovery API/overview.md delete mode 100644 docs/06-market-insights-api/reference/02-Market Data API/01-Top ERC20 Tokens/get-top-erc20-tokens-by-market-cap.mdx delete mode 100644 docs/06-market-insights-api/reference/02-Market Data API/01-Top ERC20 Tokens/get-top-erc20-tokens-by-price-movers.mdx delete mode 100644 docs/06-market-insights-api/reference/02-Market Data API/02-Top NFTs/get-top-nft-collections-by-market-cap.mdx delete mode 100644 docs/06-market-insights-api/reference/02-Market Data API/02-Top NFTs/get-top-nft-collections-by-trading-volume.mdx delete mode 100644 docs/06-market-insights-api/reference/02-Market Data API/03-Top Crypto Currencies/get-top-crypto-currencies-by-market-cap.mdx delete mode 100644 docs/06-market-insights-api/reference/02-Market Data API/03-Top Crypto Currencies/get-top-crypto-currencies-by-trading-volume.mdx delete mode 100644 docs/06-market-insights-api/reference/02-Market Data API/market-data-api.md delete mode 100644 docs/06-market-insights-api/reference/03-Why Did It Move API/news.md delete mode 100644 docs/06-market-insights-api/reference/03-Why Did It Move API/overview.md diff --git a/docs/06-market-insights-api/01-overview.md b/docs/06-market-insights-api/01-overview.md deleted file mode 100644 index 43c354184..000000000 --- a/docs/06-market-insights-api/01-overview.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: "Market Insights API" -slug: "/market-insights-api" -sidebar_label: "Overview" -sidebar_position: 1 -sidebar_class_name: "sidebar-overview" ---- - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - -The Market Insights API is a comprehensive suite designed to provide you with in-depth analysis and data across various market segments. It encompasses several specific APIs, each serving a unique purpose to cater to different aspects of market analysis. These are the Market Data API, the Discovery API, and the Why Did It Move API. - -## Market Data API - -The [Market Data API](/market-insights-api/reference/market-data-api/overview) provides popular market overview and trends data, such as the top cryptocurrencies by market cap, popular NFT collections, leading ERC20 tokens, and much more. This API is available to users on all plans. - -## Discovery API - -The [Discovery API](/market-insights-api/reference/discovery-api/overview) is tailored for uncovering new trends, insightful tokens, and hidden gems within the market, offering data and insights that standard market overview data might not reveal. Access to the Discovery API is exclusive to users on the Enterprise plan. - -## Why Did It Move API - -The [Why Did It Move API](/market-insights-api/reference/why-did-it-move-api/overview) offers a focused look at the causative factors behind market movements, giving users clarity on why certain tokens or collections are experiencing significant changes in value. This API is available to users on the Business plan and above. diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-token-details.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-token-details.md deleted file mode 100644 index b29f4cee1..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-token-details.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_position: 10 -sidebar_label: Get token details - -slug: /market-insights-api/reference/get-token-details ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../configs/api-reference/configs.json"; - -# Get token details - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-blue-chip.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-blue-chip.md deleted file mode 100644 index 190ff6f00..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-blue-chip.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -sidebar_position: 5 -sidebar_label: Get Blue Chip Tokens -slug: /market-insights-api/reference/get-tokens-with-blue-chip ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../configs/api-reference/configs.json"; - -# Get Blue Chip Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-buying-pressure.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-buying-pressure.md deleted file mode 100644 index 116c21214..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-buying-pressure.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -sidebar_position: 2 -sidebar_label: Get Top Buy Pressure Tokens -slug: /market-insights-api/reference/get-tokens-with-buying-pressure ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../configs/api-reference/configs.json"; - -# Get Top Buy Pressure Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-experienced-buyers.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-experienced-buyers.md deleted file mode 100644 index 39271eb00..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-experienced-buyers.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -sidebar_position: 3 -sidebar_label: Get Experienced Buyer Tokens -slug: /market-insights-api/reference/get-tokens-with-experienced-buyers ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; - -# Get Experienced Buyer Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-rising-liquidity.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-rising-liquidity.md deleted file mode 100644 index e42172441..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-rising-liquidity.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -sidebar_position: 1 -sidebar_label: Get Rising Liquidity Tokens -slug: /market-insights-api/reference/get-tokens-with-rising-liquidity ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; - -# Get Rising Liquidity Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-risky-bets.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-risky-bets.md deleted file mode 100644 index 20fb05df4..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-risky-bets.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -sidebar_position: 6 -sidebar_label: Get Risky Bet Tokens -slug: /market-insights-api/reference/get-tokens-with-risky-bets ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; - -# Get Risky Bet Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-solid-performance.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-solid-performance.md deleted file mode 100644 index 31e554f46..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-solid-performance.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -sidebar_position: 4 -sidebar_label: Get Solid Performance Tokens -slug: /market-insights-api/reference/get-tokens-with-solid-performance ---- - -import ApiReference from "@site/src/components/ApiReference"; -import config from "@site/docs/configs/api-reference/configs.json"; - -# Get Solid Performance Tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-gainers.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-gainers.md deleted file mode 100644 index d0c1c816a..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-gainers.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_position: 7 -sidebar_label: Get tokens with top gainers - -slug: /market-insights-api/reference/get-tokens-with-top-gainers ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../configs/api-reference/configs.json"; - -# Get tokens with top gainers - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-losers.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-losers.md deleted file mode 100644 index 8354d317a..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-tokens-with-top-losers.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_position: 8 -sidebar_label: Get tokens with top losers - -slug: /market-insights-api/reference/get-tokens-with-top-losers ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../configs/api-reference/configs.json"; - -# Get tokens with top losers - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-trending-tokens.md b/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-trending-tokens.md deleted file mode 100644 index d2fb447a3..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/01-Token Insights/get-trending-tokens.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -sidebar_position: 9 -sidebar_label: Get trending tokens - -slug: /market-insights-api/reference/get-trending-tokens ---- - -import ApiReference from "@site/src/components/ApiReference"; -import Admonition from "@theme/Admonition"; -import Link from "@docusaurus/Link"; -import config from "../../../../configs/api-reference/configs.json"; - -# Get trending tokens - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - - diff --git a/docs/06-market-insights-api/reference/01-Discovery API/overview.md b/docs/06-market-insights-api/reference/01-Discovery API/overview.md deleted file mode 100644 index cc6714065..000000000 --- a/docs/06-market-insights-api/reference/01-Discovery API/overview.md +++ /dev/null @@ -1,133 +0,0 @@ ---- -title: "Discovery API" -sidebar_label: "Overview" -sidebar_class_name: "sidebar-market-data-api" -sidebar_position: 0 -slug: "/market-insights-api/reference/discovery-api/overview" ---- - -import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx"; - - - -The Discovery API provides a comprehensive suite of endpoints designed to uncover new trends, insightful tokens, and hidden gems within the cryptocurrency market. It goes beyond standard market data by analyzing patterns, liquidity movements, buying pressures, and other critical factors that indicate a token's potential. Similar to Moralis Money, Discovery API endpoints support ERC20 tokens only. - -## Token Insights - -Token Insights is a suite of endpoints within the Discovery API that offer various perspectives on the market, each tailored to different investment strategies and research needs: - -| No. | Method | Description | API Reference | URL | -| --- | --------------------------- | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 1 | `getRisingLiquidityTokens` | Identify tokens with rising liquidity | [Method Documentation](/market-insights-api/reference/get-tokens-with-rising-liquidity) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/rising-liquidity](https://deep-index.moralis.io/api/v2.2/discovery/tokens/rising-liquidity) | -| 2 | `getTopBuyPressureTokens` | Find tokens with the highest buying pressure | [Method Documentation](/market-insights-api/reference/get-tokens-with-buying-pressure) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/buying-pressure](https://deep-index.moralis.io/api/v2.2/discovery/tokens/buying-pressure) | -| 3 | `getExperiencedBuyerTokens` | Discover tokens popular with experienced buyers | [Method Documentation](/market-insights-api/reference/get-tokens-with-experienced-buyers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/experienced-buyers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/experienced-buyers) | -| 4 | `getSolidPerformanceTokens` | List tokens that have shown solid performance | [Method Documentation](/market-insights-api/reference/get-tokens-with-solid-performance) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/solid-performers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/solid-performers) | -| 5 | `getBlueChipTokens` | Get tokens that are considered strong and reliable | [Method Documentation](/market-insights-api/reference/get-tokens-with-blue-chip) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/blue-chip](https://deep-index.moralis.io/api/v2.2/discovery/tokens/blue-chip) | -| 6 | `getRiskyBetTokens` | Identify tokens that are considered high risk, high reward | [Method Documentation](/market-insights-api/reference/get-tokens-with-risky-bets) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/risky-bets](https://deep-index.moralis.io/api/v2.2/discovery/tokens/risky-bets) | -| 7 | `getTopGainersTokens` | Get tokens with top gainers | [Method Documentation](/market-insights-api/reference/get-tokens-with-top-gainers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-gainers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/get-tokens-with-top-gainers) | -| 8 | `getTopLosersTokens` | Get tokens with top losers | [Method Documentation](/market-insights-api/reference/get-tokens-with-top-losers) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/top-losers](https://deep-index.moralis.io/api/v2.2/discovery/tokens/get-tokens-with-top-losers) | -| 9 | `getTrendingTokens` | Get trending tokens | [Method Documentation](/market-insights-api/reference/get-trending-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending](https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending) | -| 10 | `getDiscoveryToken` | Get token details | [Method Documentation](/market-insights-api/reference/get-token-details) | [https://deep-index.moralis.io/api/v2.2/discovery/token](https://deep-index.moralis.io/api/v2.2/discovery/token) | - -## API Endpoints and Sorting Parameters - -### Rising Liquidity - -Identify tokens with surging liquidity, higher market cap, active social presence, and strong security scores. Positive price trends make them appealing to traders. The 1 month change in liquidity is the underlying metric for this strategy. This metric highlights the ease of trading the asset without significant price impact. An increase in liquidity usually indicates rising interest and a healthy trading environment. Combining liquidity with market cap can provide insights into market stability and growth potential. - -- **Main Filter Metric**: `liquidity_change_usd` -- **Time Frame**: 1 month -- **Sorting Order**: DESC -- **Use Cases**: - - **Market Health**: Assesses the health and stability of the market. - - **Trading Opportunities**: Identifies tokens with increasing liquidity for better trading opportunities. - -### Buying Pressure - -Focus on tokens experiencing substantial buying pressure, driven by increased net volume. These tokens often have significant market cap, social engagement, and price momentum. Net volume is the underlying filter metric for this strategy. This metric indicates the level of buying pressure by measuring the net change in volume of experienced buyers. It helps identify tokens that are gaining interest from knowledgeable investors. - -- **Main Filter Metric**: `experienced_net_buyers_change` -- **Time Frame**: 1 month -- **Sorting Order**: DESC -- **Use Cases**: - - **Investment Decision**: Helps investors identify tokens with strong buying interest. - - **Market Analysis**: Provides insights into market trends and investor sentiment. - -### Solid Performers - -Target tokens with consistently solid buying pressure across multiple timeframes, indicating dependable assets with robust volume, security, and price trends. Uses multi time frame net volume change and total 1 month volume as filters. Net volume is the difference between buyers volume and sellers volume. This indicates the dominant force in the market. Positive buy pressure suggests accumulation and potential for price increases, especially when analyzed alongside experienced net buyers for insights into who is driving the market - retail or more informed entities. - -- **Main Filter Metric**: `net_volume_change_usd` -- **Time Frame**: 1 month -- **Sorting Order**: DESC -- **Use Cases**: - - **Performance Analysis**: Identifies consistently performing tokens. - - **Market Trends**: Provides insights into ongoing market trends and dominant forces. - -### Experienced Buyers - -Powerful indicator of what experienced traders are buying right now. Uses the 1 week experienced buyers metrics as the filter. Buyers with at least 100 outgoing transactions are considered. Filtering by experienced participants provides insights into informed trading behavior, adding weight to the buying signals. This suggests knowledgeable investors are leading or following the market trend. - -- **Main Filter Metric**: `experienced_net_buyers_change` -- **Time Frame**: 1 week -- **Sorting Order**: DESC -- **Use Cases**: - - **Informed Trading**: Identifies tokens favored by experienced traders. - - **Market Sentiment**: Gauges the sentiment of knowledgeable investors. - -### Risky Bets - -Find tokens with lower market cap but promising attributes like net buyers, buyer pressure, steady volume, security, and price trends. Filters out higher market cap coins. This category focuses on lower market cap tokens that might offer higher returns but come with increased risk. - -- **Main Filter Metric**: `market_cap` -- **Sorting Order**: DESC -- **Use Cases**: - - **High-Risk Investments**: Identifies high-risk, high-reward investment opportunities. - - **Market Exploration**: Helps in exploring new and emerging tokens with potential for significant growth. - -### Blue Chip - -Focus on established tokens with substantial market cap, recent positive price changes, steady volume, high security, and positive trends, offering stability and reliability. Established tokens, using market cap and token age filters to help remove smaller, newer, risky low cap coins. This strategy focuses on stable, well-established tokens that have proven their reliability over time. - -- **Main Filter Metric**: `price_percentage_change_usd` -- **Time Frame**: