Skip to main content
POST
/
vq
/
ai
/
analyze
AI-powered financial analysis
curl --request POST \
  --url https://api.vectrade.io/v1/vq/ai/analyze \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "Analyze AAPL for long-term hold",
  "symbols": [
    "<string>"
  ],
  "stream": false
}
'
{
  "content": "<string>",
  "citations": [
    {
      "source": "<string>",
      "url": "<string>"
    }
  ],
  "usage": {
    "promptTokens": 123,
    "completionTokens": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.vectrade.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required

Analysis prompt

Example:

"Analyze AAPL for long-term hold"

symbols
string[]

Symbols to include in context

stream
boolean
default:false

Response

Analysis response (or SSE stream if stream=true)

content
string
citations
object[]
usage
object