# Messari AI Chat Completion

> Messari AI Chat Completion is a paid API for AI agents from api.messari.io, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Answers natural language questions about cryptocurrency and crypto markets using Messari's AI, returning formatted responses with configurable verbosity.

## Facts

- Endpoint: POST https://api.messari.io/ai/v2/chat/completions
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/messari-77766ac8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VIbyNxa1gCmwbLUT2AGYR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability messari-77766ac8 -d '<json body>'
```

Example prompt: Ask Messari's AI to explain what Ethereum's proof-of-stake transition means for validators, and give me a normal-length markdown-formatted answer.

## When to prefer this

Use this endpoint when you need conversational, AI-generated answers about cryptocurrency topics backed by Messari's proprietary research data. Prefer this over generic LLMs when the question requires up-to-date crypto intelligence, asset data, funding information, or Messari-specific research context. Best for open-ended questions that benefit from narrative explanation rather than structured data lookups.

## Known failure modes

- Payment Required (402) if x402 payment header is missing or insufficient — endpoint requires 250000 units USDC ($0.25) per call
- Invalid message format if messages array is malformed or missing required role/content fields
- Timeout if maxTimeoutSeconds (60s) is exceeded
- Unsupported response_format value returns error
- Empty or null messages array results in bad request

## How this service works

MessariAI chat completion

## Output

An AI-generated response in markdown format answering the user's crypto-related question, drawing on Messari's crypto intelligence data. The response reflects the requested verbosity level (e.g. 'normal') and is structured for readability.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "disable_tables": {
   "type": "boolean"
  },
  "inline_citations": {
   "type": "boolean"
  },
  "messages": {
   "items": {
    "properties": {
     "content": {
      "type": "string"
     },
     "role": {
      "enum": [
       "user",
       "assistant"
      ],
      "type": "string"
     }
    },
    "required": [
     "role",
     "content"
    ],
    "type": "object"
   },
   "type": "array"
  },
  "response_format": {
   "enum": [
    "markdown",
    "text"
   ],
   "type": "string"
  },
  "stream": {
   "type": "boolean"
  },
  "verbosity": {
   "enum": [
    "succinct",
    "normal",
    "verbose"
   ],
   "type": "string"
  }
 },
 "required": [
  "messages"
 ],
 "type": "object"
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "data": {
   "messages": [
    {
     "role": "assistant",
     "content": "Bitcoin recently surpassed $100,000 for the first time..."
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/messari-77766ac8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.messari.io](https://www.zero.xyz/host/api.messari.io/llms.txt)
