> ## 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 three services for programmatic access to AI-powered crypto intelligence:

> [card] [Copilot](https://docs.messari.io/api-reference/endpoints/ai/chat-completions-api.md)
>
> Real-time chat completions for contextual crypto responses. Supports OpenAI-compatible, Vercel AI SDK, and Messari native formats.

> [card] [Agents](https://docs.messari.io/api-reference/endpoints/ai/agents-api.md)
>
> Messari's Search and Compute agents on their own, returning documents and query results for you to write the answer from.

> [card] [Deep Research](https://docs.messari.io/api-reference/endpoints/ai/deep-research-api.md)
>
> Asynchronous long-form research report generation on any crypto topic, backed by cited sources.

## Authorization

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

### Pay-Per-Request with x402

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

### AI Credits

Copilot and Deep Research consume credits per request; the Agents endpoints do not. [Get in touch](https://blockworks.com/contact) about enrolling in our consumption-based credit system.


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