REST API

Real-Time and historical Data API for Stork signed data.

Authentication

All REST requests must include an Authorization header with the value set as Basic <token> . For example if your token is gmork123:

curl -x GET 'https://api.jp.stork-oracle.network/priced/assets' -H "Authorization: Basic gmork123"

Rate Limits

There is currently a universal rate limit of 5 requests/sec.

Need a higher rate limit? Reach out to Stork. [email protected] or Twitter DMs open.

List Available Assets

get
/prices/assets

Get the list of availble asset IDs.

Authorizations
AuthorizationstringRequired

Enter your token in the format of "Basic your-token"

Responses
200

OK

application/json
get
/prices/assets

Get Latest Prices

get
/prices/latest

Get latest real-time prices for specified assets.

Authorizations
AuthorizationstringRequired

Enter your token in the format of "Basic your-token"

Query parameters
assetsstringRequired

Comma-separated list of asset symbols (e.g., BTCUSD)

Responses
200

OK

application/json
get
/prices/latest

Get Historical Price Metrics

get
/tradingview/history

Get OHLC price data for a specific asset within a time range.

Authorizations
AuthorizationstringRequired

Enter your token in the format of "Basic your-token"

Query parameters
fromintegerRequired

Start timestamp (Unix seconds)

tointegerRequired

Start timestamp (Unix seconds)

resolutionstring · enumRequired

Time resolution in minutes, or 1 day, 1 week, or 1 month.

Possible values:
symbolstringRequired

A unique identifier for an asset.

Example: BTCUSD
Responses
200

successful operation

No content

get
/tradingview/history
200

successful operation

No content

Last updated