Data API reference
Every call of the Siade Whales Data API, with its parameters, an example and what it returns.
All calls are GET, start with https://siadewhales.com/api/v1 and need your key in the X-API-Key header. Answers are JSON. Prices and limits are in Data API.
Stocks
Stocks, indices, ETFs, currencies and commodities from 112 exchanges. $0.20 per 1,000 calls.
Search
GET /stocks/search?q=apple
| Parameter | |
|---|---|
q |
Name or symbol, at least two characters. Required. |
Returns up to 20 results, each with its id, class (stock, index, etf…), name, symbol, country, exchange, currency, price and change1d in percent. The id is what the other calls take.
Quotes
GET /stocks/quotes?ids=aapl,msft
Up to 20 ids separated by commas. Each quote has its price and its change over one day (d1), one week (w1), one month (m1) and the year so far (ytd), in percent.
One security
GET /stocks/aapl
The quote plus its market figures — market capitalisation, valuation ratios such as P/E and price to book, earnings per share and dividends — and its profile: sector, industry, employees, city, country, website, next results date and beta; for a fund, its category, assets and costs.
Candles
GET /stocks/aapl/candles?interval=1d&limit=250
| Parameter | |
|---|---|
interval |
1d, 1w or 1M. By default, 1d. |
limit |
How many candles, up to 1,000. By default, 250. |
end |
Time in milliseconds of the last candle you want, to go back in time. |
Each bar is [time, open, high, low, close, volume], time in milliseconds.
Companies
Companies from the public registers of 209 countries, listed or not. $3 per 1,000 calls.
Search
GET /companies/search?country=ES&q=madrid
| Parameter | |
|---|---|
country |
Two-letter country code. Required. For the United Kingdom, GB or UK. |
q |
Name or registration number, at least three letters. Required. |
status |
active (by default), closed or all. |
sort |
relevance (by default), size, newest or oldest. |
page |
From 1 to 10. Each page has 20 results. |
Each result has the country, the id in its register, the name, status, legal form, city, the date it was founded, and, when the register has them, employees, activityCode and web. more tells you whether there is another page.
One company
GET /companies/ES/M-771838
The company as its register describes it — status, form, address, activity, the people who run it and its owners where the register publishes them — plus its accounts year by year where available, an analysis of those accounts, its source with the register's name and licence, and updated, when we last read it.
News
Stories from 141 outlets, grouped by event, with our newsroom's own pieces. $0.50 per 1,000 calls.
Latest stories
GET /news?section=markets&limit=20
| Parameter | |
|---|---|
section |
markets, economy, centralbanks, companies, commodities, crypto, world or tech. |
asset |
Only the stories that name a market, by its id (for example aapl or crypto:btc). |
since |
Only the stories after this time, in milliseconds. |
lang |
en (by default), es or fr. |
limit |
Up to 50. By default, 20. |
Each story has its id, time ts, section, the assets it names, a headline and, when our newsroom wrote it, a standfirst and ours: true. sources lists every outlet that covered it, with the link to each report.
One story
GET /news/cab3445147d6c11d
The same fields, plus the body of our piece when there is one.
Crypto
$0.30 per 1,000 calls.
| Call | Returns |
|---|---|
GET /market/eth |
The ETH price in dollars. |
GET /market/gas |
Ethereum gas, slow, normal and fast, in gwei. |
GET /market/fear-greed |
The fear and greed index, from 0 to 100. |
GET /market/staking |
ETH staking: the yield (APR) and its last days, and the ETH supply with its issuance and burn. |
GET /history/{metric} |
The history of eth_usd, gas_gwei or fear_greed. Parameters from, to (milliseconds) and limit. |
GET /crypto/whales |
Moves of $25 million or more. Parameters network, days (1 or 7) and limit (up to 100). |
Market answers include updated_at, the time of the data, and the X-Data-Age-Seconds header.
Free calls
GET /metrics lists the history series and how far back each goes. It does not spend balance.
