Skip to main content
POST
/
api
/
labs
/
stationarity
Run ADF and/or KPSS stationarity tests
curl --request POST \
  --url https://macrobymark.com/api/labs/stationarity \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "seriesId": "<string>",
  "tests": [
    "adf"
  ],
  "lags": 123,
  "deterministic": "<string>"
}
'
{
  "seriesId": "<string>",
  "observationsUsed": 123,
  "adf": {},
  "kpss": {},
  "errors": "<array>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Body

application/json
seriesId
string
required
tests
enum<string>[]
required
Available options:
adf,
kpss
lags
integer
deterministic
string

Response

200 - application/json

Test results

seriesId
string
observationsUsed
integer
adf
object
kpss
object
errors
array