Guavy Logo GUAVY
Sentiment Get Sentiment History
GET
·
/api/v1/sentiment/get-sentiment-history

Get Sentiment History

Retrieve sentiment time series data for an instrument over a specified number of days.

Attributes

symbol
string
Required
The symbol of the instrument to fetch sentiment data for.
limit
integer
The maximum number of days of time series data to return. Defaults to 100.

API Request

Example Request with cURL

curl \
--request GET \
--url     'https://data.guavy.com/api/v1/sentiment/get-sentiment-history/<symbol>?limit=<integer>' \
--header 'Authorization: Bearer YOUR-GUAVY-ACCESS-TOKEN' \
--header 'Content-Type: application/json'

This request format works across all modern HTTP clients, including Python requests, JavaScript fetch, and other programming language libraries.

Example Response for /api/v1/sentiment/get-sentiment-history/btc?limit=2

{
  "sentiment": [
    {
      "date": "2026-04-28",
      "negative": 76,
      "neutral": 0,
      "positive": 205,
      "symbol": "BTC",
      "timestamp": 1777334400000,
      "total": 281
    },
    {
      "date": "2026-04-27",
      "negative": 189,
      "neutral": 3,
      "positive": 538,
      "symbol": "BTC",
      "timestamp": 1777248000000,
      "total": 730
    }
  ]
}

Response Object

sentiment
array[object]
Array of sentiment data objects, with the following keys:
date
string
The date for which the sentiment data applies.
negative
integer
The count of negative sentiment mentions for the day.
neutral
integer
The count of neutral sentiment mentions for the day.
positive
integer
The count of positive sentiment mentions for the day.
symbol
string
The symbol of the instrument.
timestamp
integer
The UNIX timestamp (in milliseconds) date for which the sentiment data applies.
total
integer
The total count of sentiment mentions for the day.

Token Costs

Each API call consumes tokens from your monthly budget. Endpoints that return richer or deeper data cost more tokens. Historical endpoints scale with the amount of data requested.

Endpoint Token Cost
GET /api/v1/ping 1
GET /api/v1/instruments/list-symbols 1
GET /api/v1/instruments/search-instruments/:query 2
GET /api/v1/instruments/get-detail/:symbol 5
GET /api/v1/instruments/scorecard/:symbol 10
GET /api/v1/newsroom/get-market-summary 3
GET /api/v1/newsroom/get-article/:id 3
GET /api/v1/newsroom/get-recent-briefs/:symbol 3 – 8 (scales with limit)
GET /api/v1/newsroom/search-briefs/:symbol 3 – 8 (scales with limit)
GET /api/v1/newsroom/get-instrument-analysis/:symbol 10
GET /api/v1/trades/get-recent-buys 3
GET /api/v1/trades/get-recent-sells 3
GET /api/v1/trades/get-recommendations 5
GET /api/v1/trades/get-current-action/:symbol/:strategy 5
GET /api/v1/trades/get-trend-history/:symbol/:limit 5 – 15 (scales with limit)
GET /api/v1/trades/get-backtest-history/:symbol/:strategy 8 – 20 (scales with years)
GET /api/v1/trades/get-backtest-summary/:symbol/:strategy 8 – 20 (scales with years)
GET /api/v1/sentiment/get-sentiment-history/:symbol 3 – 12 (scales with limit)
GET /api/v1/technical-analysis/get-price-history/:symbol 5
GET /api/v1/technical-analysis/get-indicators/:symbol 8

Account Limits

Each plan includes a monthly token budget: 3,000 for Sandbox, 250,000 for Quant, and 2,000,000 for Commercial. You can top up at any time with a one-time token pack — unused tokens roll over every month. If you exceed your budget, the API returns a 403 until the next reset or until you purchase more tokens.

Connection Limits

The Guavy API has a limit of 10 simultaneous connections and a 120-second timeout per request. We recommend caching responses that don't change frequently to reduce token consumption and improve performance.

Was this helpful?
Feedback option #{picture.id}
Feedback option #{picture.id}
Feedback option #{picture.id}
Feedback option #{picture.id}

© 2026 Guavy Inc. All rights reserved.