https://api.snaptrade.com/api/v1/
Check whether the API is operational and verify timestamps.
1import { Snaptrade } from "snaptrade-typescript-sdk";2 3const snaptrade = new Snaptrade({4 clientId: "PARTNER_CLIENT_ID",5 consumerKey: "CONSUMER_KEY",6});7 8const response =9 await snaptrade.apiStatus.check();10console.log(response.data);
object
Status of API
version
integer
timestamp
string
online
boolean
1{2 "version": 153,3 "timestamp": "2022-11-04T01:47:00.377Z",4 "online": true5}