> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moralis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Trending NFTs by Market Cap

> Get top NFT collections by their current market cap. Currently only supports Ethereum.

export const EndpointMeta = ({premium, cus, cusUnit, mainnetOnly}) => {
  const items = [];
  const planName = typeof premium === "string" ? premium : "Pro";
  if (premium) {
    items.push({
      icon: "\u26a0\ufe0f",
      label: "Premium endpoint",
      text: <>
          Requires the <strong>{planName} plan</strong> or above.{" "}
          <a href="/data-api/introduction/resources/premium-endpoints">
            View all
          </a>
          .
        </>
    });
  }
  if (cus) {
    const isDynamic = !!cusUnit;
    items.push({
      icon: "\u26a1",
      label: isDynamic ? "Dynamic cost" : "Endpoint cost",
      text: isDynamic ? <>
          {cus} CUs per {cusUnit}.{" "}
          <a href="/get-started/pricing#dynamic-endpoints">Learn more</a>.
        </> : <>
          {cus} CUs.{" "}
          <a href="/get-started/pricing">Learn more</a>.
        </>
    });
  }
  if (mainnetOnly) {
    items.push({
      icon: "\ud83d\udd17",
      label: "Mainnet only",
      text: <>Testnet chains are not supported.</>
    });
  }
  if (items.length === 0) return null;
  return <div className="endpoint-meta" style={{
    border: "1px solid var(--border-color, #e2e8f0)",
    borderRadius: "8px",
    overflow: "hidden",
    marginBottom: "16px",
    fontSize: "14px",
    lineHeight: "1.6",
    maxWidth: "100%"
  }}>
      <style dangerouslySetInnerHTML={{
    __html: `
            .endpoint-meta {
              --border-color: #e2e8f0;
              --row-bg: #f8fafc;
              --label-color: #0f172a;
              --text-color: #1f2937;
            }
            .endpoint-meta a {
              color: #0f7fff !important;
              text-decoration: underline;
            }
            @media (prefers-color-scheme: dark) {
              .endpoint-meta {
                --border-color: #374151 !important;
                --row-bg: #1e293b !important;
                --label-color: #f9fafb !important;
                --text-color: #e5e7eb !important;
              }
              .endpoint-meta a {
                color: #60a5fa !important;
              }
            }
            html.dark .endpoint-meta,
            [data-theme="dark"] .endpoint-meta {
              --border-color: #374151 !important;
              --row-bg: #1e293b !important;
              --label-color: #f9fafb !important;
              --text-color: #e5e7eb !important;
            }
            html.dark .endpoint-meta a,
            [data-theme="dark"] .endpoint-meta a {
              color: #60a5fa !important;
            }
          `
  }} />
      {items.map((item, i) => <div key={i} style={{
    display: "flex",
    alignItems: "baseline",
    gap: "8px",
    padding: "10px 14px",
    borderBottom: i < items.length - 1 ? "1px solid var(--border-color, #e2e8f0)" : "none",
    backgroundColor: "var(--row-bg, #f8fafc)"
  }}>
          <span style={{
    flexShrink: 0
  }}>{item.icon}</span>
          <span style={{
    wordBreak: "break-word",
    color: "var(--text-color, #1f2937)"
  }}>
            <strong style={{
    color: "var(--label-color, #0f172a)"
  }}>
              {item.label}:
            </strong>{" "}
            {item.text}
          </span>
        </div>)}
    </div>;
};

<EndpointMeta cus={200} />

<Warning>
  **Deprecated — scheduled for removal on June 4, 2026.** See the [changelog](/changelog) for details and migration guidance.
</Warning>


## OpenAPI

````yaml /openapi-files/data-api/api.json GET /market-data/nfts/top-collections
openapi: 3.0.0
info:
  title: EVM API
  version: '2.2'
servers:
  - url: https://deep-index.moralis.io/api/v2.2
security:
  - ApiKeyAuth: []
tags: []
paths:
  /market-data/nfts/top-collections:
    get:
      tags:
        - Market Data
      summary: Get top NFT collections by market cap
      description: >-
        Get top NFT collections by their current market cap. Currently only
        supports Ethereum.
      operationId: getTopNFTCollectionsByMarketCap
      parameters: []
      responses:
        '200':
          description: Returns the top NFT collections by market cap
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/marketDataTopNFTCollectionByMarketCap'
      deprecated: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    marketDataTopNFTCollectionByMarketCap:
      type: array
      items:
        required:
          - rank
          - collection_title
          - collection_image
          - floor_price_usd
          - floor_price_24hr_percent_change
          - market_cap_usd
          - market_cap_24hr_percent_change
          - volume_usd
          - volume_24hr_percent_change
          - collection_address
        properties:
          rank:
            type: integer
            description: The rank
            example: 1
          collection_title:
            type: string
            description: The collection title
            example: CryptoPunks
          collection_image:
            type: string
            description: The collection image
            example: ''
          floor_price_usd:
            type: string
            description: The floor price in USD
            example: '0.0'
          floor_price_24hr_percent_change:
            type: string
            description: The floor price 24hr percent change
            example: '0.0'
          market_cap_usd:
            type: string
            description: The market cap in USD
            example: '0.0'
          market_cap_24hr_percent_change:
            type: string
            description: The market cap 24hr percent change
            example: '0.0'
          volume_usd:
            type: string
            description: The volume in USD
            example: '0.0'
          volume_24hr_percent_change:
            type: string
            description: The volume 24hr percent change
            example: '0.0'
          collection_address:
            type: string
            description: The collection address
            example: '0x123'
          floor_price:
            type: string
            description: The floor price
            example: '0.0'
          floor_price_usd_24hr_percent_change:
            type: string
            description: The floor price usd 24hr percent change
            example: '0.0'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      x-default: test

````