- Access Messari’s real-time quantitative (compute) dataset which includes but is not limited to: Market data, Asset metrics, Fundraising, Token unlocks
- Access Messari’s qualitative (search) dataset which includes but is not limited to: News, Blogs, Youtube transcriptions, RSS-feeds, Twitter, Webcrawl documents, Proprietary datasets of: Research, Quarterlies, Diligence Reports
- Generate market insights and analysis
- Process natural language queries about crypto assets, protocols and projects
API_KEY
field with your Enterprise API key generated in the Messari Account > API page of our webapp and you’re off!
Request Params
verbosity
Theverbosity
parameter controls the level of detail in the model’s response. When set to "verbose"
, the model provides more comprehensive and detailed explanations, including additional context, examples, and supporting information. Other possible values might include "balanced"
or "succinct"
for shorter responses.
Example usage:
response_format
Theresponse_format
parameter specifies the desired formatting style for the model’s response. When set to "markdown"
, the output will be formatted using Markdown syntax, allowing for structured text with headings, lists, code blocks, and other formatting elements. Other common option might include "text"
.
Example usage:
inline_citations
Theinline_citations
parameter determines whether the response metadata should include citations within its response text. When set to true
, the model will reference sources directly in the text where information is being drawn from. This is particularly useful for academic, research, or factual content where attribution is important.
Example usage:
stream
Thestream
parameter controls whether the API response is delivered as a complete response or as a stream of partial responses. When set to false
, the API will wait until the entire response is generated and then deliver it in one piece. When set to true
, the API would begin sending partial responses as they are generated, useful for implementing real-time typing effects or processing responses incrementally.
Example usage:
generate_related_questions
Thegenerate_related_questions
parameter determines whether the response metadata should include AI-generated related questions to the user query. This feature is useful for receiving follow up questions as part of the API response payload to prompt the user with potential next questions.
Note: A maximum of 5 is allowed.
Example usage:
Authorizations
Body
Array of messages in the conversation history
Whether the AI can ask for clarification when the query is ambiguous
Adds AI generated related questions to use as follow up questions
Adds inline citation document references in the payload metadata
Text format for the response. Values accepted are 'markdown' and 'plaintext'.
Stream the response through the API
Controls the length and detail level of the AI-generated response. Values accepted are 'succinct', 'balanced', and 'verbose'.
Response
Default response
Array of completion choices
Unix timestamp when the completion was created
Unique identifier for the completion request
Model used for the completion
Type of object returned, always 'chat.completion'
Additional metadata about the completion