Gemini Endpoint

Get AI-powered market analysis and insights

GET /api/gemini/overview

Get AI-powered analysis and narrative intelligence for cryptocurrency markets using Google's Gemini AI.

Query Parameters

query

The analysis query (e.g., "bitcoin market analysis", "ethereum sentiment")

Example Request

GET /api/gemini/overview?query=bitcoin+market+analysis
fetch('/api/gemini/overview?query=bitcoin%20market%20analysis')
  .then(res => res.json())
  .then(data => console.log(data))

Response

200 OK
{
  "success": true,
  "data": {
    "analysis": "Bitcoin shows strong bullish momentum with technical breakouts signaling continued strength...",
    "sentiment": "positive",
    "confidence": 0.85,
    "key_factors": [
      "Increasing institutional adoption",
      "Strong technical support at $40,000",
      "Positive macroeconomic indicators"
    ],
    "timestamp": "2024-01-10T12:00:00Z"
  }
}