---
title: "Get a timeseries of finance news sentiment for assets"
method: GET
path: "/v1/analytics/finance/sentiment"
tags: ["analytics"]
---

# Get a timeseries of finance news sentiment for assets

`GET /v1/analytics/finance/sentiment`

Get the news sentiment for a given asset during a provided period of time.

This endpoint is good for narrow AI, like using in combination with a regressor
to forecast prices etc.

## Query parameters

- `asset` 'bitcoin' | 'ethereum' | 'cardano' | 'uniswap' | 'ripple' | 'solana' | 'polkadot' | 'polygon' | 'chainlink' | 'tether' | 'dogecoin' | 'monero' | 'tron' | 'binance' | 'aave' | 'tesla' | 'microsoft' | 'amazon', required — The asset name to query for sentiment.
- `metric` 'news_positive' | 'news_negative' | 'news_total' | 'news_positive_weighted' | 'news_negative_weighted' | 'news_total_weighted' — The metric to obtain. Weighted metrics account for page-rank of original source. Higher page rank sources are weighted more heavily.
- `date_from` string, date-time, nullable — The start date in ISO format
- `date_to` string, date-time, nullable — The end date in ISO format

## Response `200`

The timeseries sentiment for an asset or cryptocurrency

- FinanceResponse
  - `data` FinanceResponseTimeSeries, required
    - `timeseries` FinanceResponseTimeSeriesData[], required
      - `datetime` string, date-time, required
      - `value` union, required
        - integer
        - number

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `405` — Method Not Allowed
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.dev/asknews/apis/asknews-api.md) · [All operations](https://skmtc.dev/asknews/apis/asknews-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/asknews/asknews-api/revisions/dd4286769887/schema)
