This is the documentation for our API. It provides information on how to interact with our services.
Endpoints
Op Metrics
Get metrics for OP tokens.
HTTP Request
GET /api/v1/op/metrics
Sample Curl
curl -X GET "http://whaletransfers.com/api/v1/op/metrics?pretty=1"
Response
200 OK
{
"date": "2023-10-17",
"price": 1.195,
"circulating_supply": 880444572,
"circulating_market_cap": 1052131263.5400001,
"total_supply": 4294967295.9998536,
"total_market_cap": 5132485918.719826,
"holders": 1020950,
"updated_at": "2023-10-17 20:44:06"
}
Op Price
Get last price for OP tokens.
HTTP Request
GET /api/v1/op/price
Sample Curl
curl -X GET "http://whaletransfers.com/api/v1/op/price"
Response
200 OK
1.245
Prices
Get Prices Of Top 50 Crypto Assets
HTTP Request
GET /api/v1/prices
Sample Curl
curl -X GET "http://whaletransfers.com/api/v1/prices?pretty=1"
Response
200 OK
{
"prices": [
{
"id": "btc",
"currency_name": "Bitcoin",
"position": 1,
"price": 28513.5,
"price_at_today": 28523,
"price_at_7d": 27392.5,
"price_at_30d": 26536,
"price_at_365d": 19550.5,
"supply": 19516618,
"market_cap": 556487087343,
"updated_at": "2023-10-17 20:30:06"
},
{
"id": "eth",
"currency_name": "Ethereum",
"position": 2,
"price": 1563.48,
"price_at_today": 1599.42,
"price_at_7d": 1567.63,
"price_at_30d": 1622.48,
"price_at_365d": 1331.4,
"supply": 120260916.34672,
"market_cap": 188025537490,
"updated_at": "2023-10-17 20:30:06"
},
...
Top Wallets
Get top-wallets for OP tokens.
HTTP Request
GET /api/v1/op/top-wallets
Sample Curl
curl -X GET "http://whaletransfers.com/api/v1/op/top-wallets?pretty=1"
Response
200 OK
{
"date": "2023-10-16",
"price": 1.231,
"wallets": [
{
"rank": 1,
"name": "Optimism",
"address": "0x2a82ae142b2e62cb7d10b55e323acb1cab663a26",
"op_balance": 1294044371.3202868,
"dollar_value": 1592968621.095273,
"market_percentage": 30.1293
},
...
}
Price History
Get OP Tokens Daily Price History
HTTP Request
GET /api/v1/op/price-history
Sample Curl
curl -X GET "http://whaletransfers.com/api/v1/op/price-history?pretty=1"
Response
200 OK
{
"prices": [
{
"date": "2023-10-16",
"price": null,
"open": 1.209,
"close": 1.218,
"high": 1.222,
"low": 1.208,
"volume": 460540.87,
"volume_dollar": 559573.41162
},
{
"date": "2023-10-15",
"price": null,
"open": 1.199,
"close": 1.21,
"high": 1.216,
"low": 1.187,
"volume": 5586490.9,
"volume_dollar": 6711586.91994
}
}