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

# Introduction

> APIs for building and settling custom parlays across prediction markets, including Kalshi and Polymarket, on Solana.

Totalis turns individual prediction market bets into custom parlays. A **parlay** is one bet that
pays out only if every outcome in it happens. Pick outcomes on Kalshi or Polymarket and combine
them into one position. Market makers compete to price it,
and trades settle on Solana. Totalis is not available to U.S. persons.

<CardGroup cols={3}>
  <Card title="Quickstart" icon="rocket" href="/solana/quickstart">
    Your first authenticated call in five minutes.
  </Card>

  <Card title="API reference" icon="code" href="/solana/api-reference/introduction">
    Every endpoint and stream, with request and response shapes.
  </Card>

  <Card title="Market making" icon="handshake" href="/solana/guides/market-making">
    Stream quote requests, price them, and earn the spread.
  </Card>
</CardGroup>

## Try it without an account

Market data is public. This call needs no key and no signup:

```bash theme={null}
curl "https://api.totalis.trade/markets?limit=3"
```

Everything else needs authentication: an [API key](/solana/authentication), or the app's Privy session. Start with the [Quickstart](/solana/quickstart).

## How it works

<Steps>
  <Step title="Build a parlay">
    Pick outcomes from any supported market and set your bet amount.
  </Step>

  <Step title="Get competitive quotes">
    Open a quote request: your outcomes and amount, sent to market makers for pricing. They compete
    in real time to offer the best payout odds.
  </Step>

  <Step title="Trade and settle">
    Accept a quote. When the maker confirms, your stake and the maker's collateral lock in on-chain
    Solana vaults. The position settles automatically when the markets resolve.
  </Step>
</Steps>

## Core concepts

<CardGroup cols={2}>
  <Card title="How parlays work" icon="arrows-spin" href="/solana/guides/lifecycle">
    The path from quote request to settlement, and how to close early.
  </Card>

  <Card title="Limits and fees" icon="scale-balanced" href="/solana/limits-and-fees">
    Every constraint and both fees, with the math.
  </Card>

  <Card title="Funding your wallet" icon="wallet" href="/solana/guides/funding">
    Send USDC, enable trading once, withdraw any time.
  </Card>

  <Card title="Vaults and custody" icon="vault" href="/solana/guides/vault-architecture">
    Where collateral sits and what Totalis can and cannot do with it.
  </Card>

  <Card title="Authentication" icon="key" href="/solana/authentication">
    Scoped API keys, the scope catalog, and key management.
  </Card>

  <Card title="Glossary" icon="book" href="/solana/glossary">
    Every term, field, and unit convention.
  </Card>
</CardGroup>

## Need help?

<CardGroup cols={3}>
  <Card title="Email the founders" icon="envelope" href="mailto:founders@totalis.trade">
    Integration questions and liquidity.
  </Card>

  <Card title="Changelog" icon="clock-rotate-left" href="/solana/changelog">
    Every API change, dated.
  </Card>

  <Card title="FAQ" icon="circle-question" href="/solana/faq">
    What integrators ask most.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.