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

# Novig Dev Docs

> Get started with the NBX API

<div className="relative overflow-hidden rounded-2xl mb-8 min-h-[400px]">
  <img src="https://mintcdn.com/novig/Joflp29_JqbW3UzB/images/bbal.jpg?fit=max&auto=format&n=Joflp29_JqbW3UzB&q=85&s=29886911c7206a7cfeb1894c8e38bf38" alt="Sports prediction markets" className="absolute inset-0 w-full h-full object-cover" width="612" height="362" data-path="images/bbal.jpg" />

  <div className="absolute inset-0 bg-gradient-to-r from-black/70 via-black/50 to-transparent" />

  <div className="relative flex items-center min-h-[400px]">
    <div className="p-6 md:p-12 max-w-2xl">
      <h1 className="text-3xl md:text-5xl font-bold text-white mb-4">
        The <span className="text-blue-400">Sports Trading API</span> You've Been Looking For
      </h1>

      <p className="text-base md:text-lg text-gray-200 mb-6">
        Access live odds, place orders, and stream market data. Build winning trading strategies on the Novig exchange.
      </p>

      <div className="flex flex-wrap gap-3">
        <a href="/api-reference/authentication" className="inline-flex items-center gap-2 bg-blue-500 hover:bg-blue-600 text-white font-semibold px-6 py-3 rounded-lg transition-all hover:scale-105">
          Get Started

          <svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M13 7l5 5m0 0l-5 5m5-5H6" />
          </svg>
        </a>

        <a href="/api-reference/rest-api" className="inline-flex items-center gap-2 bg-white/10 backdrop-blur-sm hover:bg-white/20 text-white font-semibold px-6 py-3 rounded-lg border border-white/20 transition-all">
          View API Reference
        </a>
      </div>
    </div>
  </div>
</div>

## Start Building

<CardGroup cols={2}>
  <Card title="Authentication" icon="key" href="/api-reference/authentication" iconType="duotone">
    Secure OAuth 2.0 authentication. Get your access token and start trading in minutes.
  </Card>

  <Card title="REST API" icon="code" href="/api-reference/rest-api" iconType="duotone">
    Full-featured HTTP endpoints for orders, positions, market data, and account management.
  </Card>

  <Card title="WebSocket Streams" icon="bolt" href="/api-reference/WSS/overview" iconType="duotone">
    Real-time order book updates, trade feeds, and market events with sub-second delivery.
  </Card>

  <Card title="GraphQL API" icon="diagram-project" href="/api-reference/graphql/overview" iconType="duotone">
    Flexible queries for markets, players, and historical data with a powerful playground.
  </Card>

  <Card title="OpenAPI Schema" icon="download" href="https://docs.novig.us/api-reference/spec-files/openapi31.json" iconType="duotone">
    Download our OpenAPI 3.1 specification for code generation and API tooling.
  </Card>
</CardGroup>

## When to Use Each API

<CardGroup cols={3}>
  <Card title="GraphQL" icon="diagram-project" href="/api-reference/graphql/overview">
    Complex nested queries, flexible data fetching
  </Card>

  <Card title="REST API" icon="plug" href="/api-reference/rest-api">
    Order placement, account management
  </Card>

  <Card title="WebSocket" icon="bolt" href="/api-reference/WSS/overview">
    Real-time updates, live order book, streaming data
  </Card>
</CardGroup>
