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

# Get started

> Test the API endpoints using our demo API, or get an API key for production use with better performance and higher rate limits.

<Frame>
  <img src="https://i.imgur.com/eZ2hAXj.png" />
</Frame>

## TypeScript SDK

For the best developer experience, we recommend using the official TypeScript SDK:

```bash theme={null}
npm install @mobula_labs/sdk
```

```typescript theme={null}
import { MobulaClient } from '@mobula_labs/sdk';

const client = new MobulaClient({ apiKey: 'your-api-key' });
const data = await client.fetchMarketData({ asset: 'bitcoin' });
```

<Card title="SDK Documentation" icon="npm" href="/rest-api-reference/sdk">
  Full type safety, all REST methods, and utility functions included
</Card>

<Card title="GraphQL API Reference" icon="code-branch" href="/api-reference/graphql/overview">
  Explore queries, mutations, types, and the GraphQL Explorer
</Card>

## API Endpoints

Mobula provides two API endpoints:

<CardGroup cols={2}>
  <Card title="Demo API" icon="flask" color="#F59E0B">
    **demo-api.mobula.io**

    * No signup required
    * Rate limited (for testing only)
    * Increased latency
    * Perfect for exploring the API
  </Card>

  <Card title="Production API" icon="rocket" color="#10B981">
    **api.mobula.io**

    * Requires free API key
    * Higher rate limits
    * Optimized performance
    * Production-ready
  </Card>
</CardGroup>

<Note>
  **Getting Started**: You can test all endpoints using **demo-api.mobula.io** without any signup. For production use, [generate a free API key](https://admin.mobula.io) to use **api.mobula.io**.
</Note>

## Swagger UI

An interactive Swagger UI is available to explore and test all API endpoints directly from your browser:

<CardGroup cols={2}>
  <Card title="Production Swagger UI" icon="book-open" href="https://api.mobula.io/docs">
    **api.mobula.io/docs**

    * Full endpoint reference
    * Try requests directly in browser
    * Requires API key for authenticated calls
  </Card>

  <Card title="Explorer Swagger UI" icon="magnifying-glass" href="https://demo-api.mobula.io/docs">
    **demo-api.mobula.io/docs**

    * Same endpoints, explorer instance
    * Interactive request builder
    * OpenAPI 3.0.0 spec
  </Card>
</CardGroup>

## Resources

You can find our OpenAPI spec [here](https://github.com/MobulaFi/mobula-api-docs/blob/main/rest-api-reference/openapi.yaml).

<CardGroup>
  <Card title="Wallet Explorer API" icon="wallet" href="/rest-api-reference/endpoint/wallet-portfolio">
    Any wallet data, on any chain.
  </Card>

  <Card title="Market Data API" icon="chart-mixed" href="/rest-api-reference/endpoint/market-data">
    Any token data.
  </Card>

  <Card title="Support" icon="Discord" href="https://discord.gg/JVT7xKm3AD">
    Discord
  </Card>

  <Card title="Metadata API" icon="hashtag" href="/rest-api-reference/endpoint/all">
    Any metadata, on-chain.
  </Card>
</CardGroup>
