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

# AI API

> AI-powered APIs for crypto research and analysis using Messari's knowledge graph.

The Messari AI API provides two services for programmatic access to AI-powered crypto intelligence:

<CardGroup cols={2}>
  <Card title="Copilot" icon="comments" href="/api-reference/endpoints/ai/chat-completions-api">
    Real-time chat completions for contextual crypto responses. Supports OpenAI-compatible, Vercel AI SDK, and Messari native formats.
  </Card>

  <Card title="Deep Research" icon="microscope" href="/api-reference/endpoints/ai/deep-research-api">
    Asynchronous long-form research report generation on any crypto topic, backed by cited sources.
  </Card>
</CardGroup>

## Authorization

Refer to our [Authentication](/api-reference/authentication) docs for creating an API key.

### Pay-Per-Request with x402

No API key? Copilot chat completions are also available via [x402 micropayments](/api-reference/x402-payments) —
pay per request with USDC on Base Mainnet, no account required. Deep Research is not currently available through x402.

### AI Credits

Both services consume credits per request. Contact [api@messari.io](mailto:api@messari.io) about enrolling in our consumption-based credit system.
