Guavy Logo GUAVY
Trades Get Trend History
GET
·
/api/v1/trades/get-trend-history

Get Trend History

This endpoint returns timeseries trend data for a given instrument.

Attributes

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

API Request

Example Request with cURL

curl \
--request GET \
--url     'https://data.guavy.com/api/v1/trades/get-trend-history/<symbol>/<limit>' \
--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/trades/get-trend-history/btc/4

{
  "trends": [
    {
      "date": "2026-04-26",
      "price": 78198.11031834534,
      "strength": "Solid",
      "timestamp": 1777246200000,
      "trend": "Up"
    },
    {
      "date": "2026-04-25",
      "price": 77598.50740825474,
      "strength": "Moderate",
      "timestamp": 1777159800000,
      "trend": "Up"
    },
    {
      "date": "2026-04-24",
      "price": 77423.8544683742,
      "strength": "Moderate",
      "timestamp": 1777073400000,
      "trend": "Neutral"
    },
    {
      "date": "2026-04-23",
      "price": 78167.45952000727,
      "strength": "Solid",
      "timestamp": 1776987000000,
      "trend": "Up"
    }
  ]
}

Response Object

trends
array[object]
Array of trend history objects, with the following keys:
date
string
Human-readable date string formatted from the timestamp.
price
float
The price of the cryptocurrency at the start of the trend.
strength
string
The strength of the trend e.g. Moderate, Solid, Strong, or Weak
timestamp
integer
UNIX timestamp (in milliseconds) representing when this data was collected.
trend
string
The trend of the cryptocurrency action e.g. Up, Down, or Neutral.

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.