Base URL

 https://www.sumtyme.tech

Request Endpoint

POST /agn-reasoning/ts

OHLC Input Data Lengths

Minimum Length

5000 Periods

Maxiumum Length

10000 Periods

Request Header

Content-Type
string
required

Must be set to application/json

X-API-Key
string
required

Your API key is a unique, one-time generated credential that authenticates your requests to our API.

Request Body

datetime
list
required
open
list
required
high
list
required
low
list
required
close
list
required
interval
int
required
interval_unit
string
required
reasoning_mode
string
required

Response Fields

datetime
string

Trend timestamp

trend_identified
string

Important: This endpoint only returns data for datetimes where a trend is identified. If no trend is detected for a specific time period, those datapoints will be omitted from the response. Check the timestamp field in the returned objects to identify which time periods are included.