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

# 0xAPI reference

## Introduction

0xAPI gives you instant access to structured, decoded blockchain data - both real-time and historical. Whether you’re building wallets, analytics dashboards, or DeFi apps, 0xAPI eliminates the need to run your own indexers with one unified, high-performance API.

## Components of 0xAPI

<div
  className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 not-prose"
  style={{
marginBottom: '4rem',
maxWidth: '1200px',
margin: '0 auto 4rem auto',
alignItems: 'stretch'
}}
>
  <a
    href="/docs/api-reference/0xAPI/blocks/get-blocks"
    style={{ 
textDecoration: 'none', 
color: 'inherit',
display: 'flex'
}}
  >
    <div
      className="group border border-gray-200 rounded-xl p-6 hover:border-green-500 hover:shadow-lg transition-all duration-200 cursor-pointer"
      style={{
  minHeight: '200px',
  display: 'flex',
  flexDirection: 'column',
  maxWidth: '380px',
  width: '100%'
}}
    >
      <div className="flex items-center mb-4">
        <div className="text-lg font-semibold text-gray-900" role="heading" aria-level="3">Blocks</div>
      </div>

      <p className="text-gray-600 text-sm flex-grow">
        An API for querying blocks, and searching for block number.
      </p>
    </div>
  </a>

  {" "}

  <a
    href="/docs/api-reference/0xAPI/events/get-events"
    style={{
textDecoration: "none",
color: "inherit",
display: "flex",
}}
  >
    <div
      className="group border border-gray-200 rounded-xl p-6 hover:border-green-500 hover:shadow-lg transition-all duration-200 cursor-pointer"
      style={{
  minHeight: "200px",
  display: "flex",
  flexDirection: "column",
  maxWidth: "380px",
  width: "100%",
}}
    >
      <div className="flex items-center mb-4">
        <div className="text-lg font-semibold text-gray-900" role="heading" aria-level="3">
          Events
        </div>
      </div>

      <p className="text-gray-600 text-sm flex-grow">An API for fetching smart contract event logs.</p>
    </div>
  </a>

  {" "}

  <a
    href="/docs/api-reference/0xAPI/nfts/get-nft-collection-traits"
    style={{
textDecoration: "none",
color: "inherit",
display: "flex",
}}
  >
    <div
      className="group border border-gray-200 rounded-xl p-6 hover:border-green-500 hover:shadow-lg transition-all duration-200 cursor-pointer"
      style={{
  minHeight: "200px",
  display: "flex",
  flexDirection: "column",
  maxWidth: "380px",
  width: "100%",
}}
    >
      <div className="flex items-center mb-4">
        <div className="text-lg font-semibold text-gray-900" role="heading" aria-level="3">
          NFT
        </div>
      </div>

      <p className="text-gray-600 text-sm flex-grow">An API for managing and searching NFT contract, metadata, and token.</p>
    </div>
  </a>
</div>

<div
  className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 not-prose"
  style={{
marginBottom: '4rem',
maxWidth: '1200px',
margin: '0 auto 4rem auto',
alignItems: 'stretch'
}}
>
  <a
    href="/docs/api-reference/0xAPI/wallet/get-nfts-by-wallet"
    style={{ 
textDecoration: 'none', 
color: 'inherit',
display: 'flex'
}}
  >
    <div
      className="group border border-gray-200 rounded-xl p-6 hover:border-green-500 hover:shadow-lg transition-all duration-200 cursor-pointer"
      style={{
  minHeight: '200px',
  display: 'flex',
  flexDirection: 'column',
  maxWidth: '380px',
  width: '100%'
}}
    >
      <div className="flex items-center mb-4">
        <div className="text-lg font-semibold text-gray-900" role="heading" aria-level="3">Wallet</div>
      </div>

      <p className="text-gray-600 text-sm flex-grow">
        An API for fetching a complete viow of a wallet across tokens, and NFTs.
      </p>
    </div>
  </a>

  {" "}

  <a
    href="/docs/api-reference/0xAPI/tokens/get-token-holders"
    style={{
textDecoration: "none",
color: "inherit",
display: "flex",
}}
  >
    <div
      className="group border border-gray-200 rounded-xl p-6 hover:border-green-500 hover:shadow-lg transition-all duration-200 cursor-pointer"
      style={{
  minHeight: "200px",
  display: "flex",
  flexDirection: "column",
  maxWidth: "380px",
  width: "100%",
}}
    >
      <div className="flex items-center mb-4">
        <div className="text-lg font-semibold text-gray-900" role="heading" aria-level="3">
          Tokens
        </div>
      </div>

      <p className="text-gray-600 text-sm flex-grow">An API for searching token metadata, token holders, wallet balances, and more.</p>
    </div>
  </a>

  {" "}

  <a
    href="/docs/api-reference/0xAPI/transactions/get-transactions"
    style={{
textDecoration: "none",
color: "inherit",
display: "flex",
}}
  >
    <div
      className="group border border-gray-200 rounded-xl p-6 hover:border-green-500 hover:shadow-lg transition-all duration-200 cursor-pointer"
      style={{
  minHeight: "200px",
  display: "flex",
  flexDirection: "column",
  maxWidth: "380px",
  width: "100%",
}}
    >
      <div className="flex items-center mb-4">
        <div className="text-lg font-semibold text-gray-900" role="heading" aria-level="3">
          Transactions
        </div>
      </div>

      <p className="text-gray-600 text-sm flex-grow">An API for searching transaction hash, transaction by account, and more.</p>
    </div>
  </a>
</div>
