Skip to main content
Read stock technical indicators

Overview

This endpoint computes a snapshot of standard technical indicators for one US stock from the newest stored split-adjusted bars of Historical Stock Prices. Darvas does the math on the server, so a script or an AI agent gets RSI, MACD and moving averages without downloading bars and computing them itself.

Parameters

Indicators

An indicator is null while too few bars exist, such as sma_200 for a stock with under 200 sessions. latest_date is the newest bar’s date; on week it is the first session of the newest week, which may still be in progress. For crypto pairs, see Crypto Technical Indicators; for one company’s price, technicals and fundamentals together, see the Company Dossier.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

ticker
string

The ticker, in any case. Ignored when cik is sent.

Maximum string length: 12
Pattern: ^[A-Za-z0-9][A-Za-z0-9.-]{0,11}$
interval
enum<string>

Bar interval for indicator calculation: day or week (default day).

Available options:
day,
week
Maximum string length: 8

Response

Read stock technical indicators: one page.

The answer of GET /prices/technicals.

ticker
string
required

Stock ticker symbol.

Pattern: ^[A-Z0-9.-]{1,12}$
Example:

"AAPL"

interval
string
required

Bar timeframe analyzed.

Maximum string length: 8
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"day"

technicals
object
required

Server-computed technical indicator snapshot.

Example: