- Chat Completions (Messari v2)
- Chat Completions (OpenAI compatible)
- Chat Completions (Messari Format)
Chat Completions Quickstart
AI Copilot Chat Example
Get started quickly with our SDK example for AI Copilot Chat. This guide walks you through instantiating the client, making chat completion requests, and handling responses.
Authorization
Refer to our Authentication docs for creating an API key.Pay-Per-Request with x402
No API key? You can also access the MessariAI API using x402 micropayments — pay per request with USDC on Base Mainnet, no account required.Copilot Rate Limits
| User Tier | Requests |
|---|---|
| Unpaid | 10 per day |
| Enterprise | 600 per minute |
AI Credits
If more Copilot requests are needed, contact api@messari.io about enrolling in our consumption based credit system. If you run out of credits, your requests will fallback to our default rate limits defined in the above table. After exhausting the credits and daily rate limit, the API will respond with a429 error with the message of "rate limit exceeded. Resets in <time_till_next_message>"
