AI chat
POST/v2/chat
Send a message to the Elfa AI and receive a complete response. Suited for agents and integrations that do not support server-sent events (SSE).
Session management: omit sessionId to start a new conversation.
The response includes a sessionId — pass it in subsequent requests to continue the same conversation.
Analysis types and required fields:
chat(default) — general conversation. Requiresmessage.macro— macro market overview.messageis optional.summary— quick market summary.messageis optional.tokenIntro— token introduction. RequiresassetMetadatawithsymbol, orchain+contractAddress.tokenAnalysis— token trade setup analysis. SameassetMetadatarequirements astokenIntro.accountAnalysis— Twitter/X account analysis. RequiresassetMetadata.username.
assetMetadata fields (when applicable):
symbol— token ticker symbol (e.g."BTC","$ETH")chain— blockchain name (e.g."ethereum","solana")contractAddress— token contract addressusername— Twitter/X username for account analysis
Request
Responses
- 200
- 400
- 401
Ok
Invalid request
Unauthorized