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

# Overview

> Integrate with Fairground: REST API, client SDKs, and on-chain error lookup.

Are you ready to build against the Faiground protocol? The sections below cover the REST API, official client SDKs, and how to decode on-chain revert selectors.

## REST API

The Fairground API is built with **ConnectRPC**: JSON over HTTP.

<Card title="API Reference" icon="square-terminal" href="/developers/api-reference/introduction">
  Endpoints, base URLs, protocol shape, and links to interactive Swagger.
</Card>

## Client SDKs

Official SDKs wrap the same services with **typed clients**, examples, and reference docs.

<CardGroup cols={2}>
  <Card title="Python SDK" icon="book-open" href="/developers/sdk-reference/python/overview">
    `forte_perpetuals_sdk` — async and sync clients, data guides, and generated method reference.
  </Card>

  <Card title="TypeScript SDK" icon="brackets" href="/developers/sdk-reference/typescript/overview">
    TypeScript/JavaScript client docs as the package and reference are published here.
  </Card>
</CardGroup>

## On-chain revert reasons

Transactions that interact with Fairground **smart contracts** can revert with a **4-byte error selector**. Check the reference table to find the plain language explanation of the returend hex code.

<Card title="Error Selector Reference" icon="triangle-exclamation" href="/developers/error-selector-reference">
  Decode on-chain revert reasons from their 4-byte hex.
</Card>
