Market Data REST API
Home
REST API
WebSocket API
Search…
Getting Started
Rate Limit
Pagination
Assets
Pairs
List
Details
Markets
Exchanges
Powered By
GitBook
Pairs
Cryptowatch pair endpoints
A
pair
consists of a
base
and
quote
, and is traded on an
exchange.
Example:
btceur
Parameter
Type
Optional?
Example
id
Integer
Required
232
base
​
Asset
​
Required
​
Bitcoin
​
quote
​
Asset
​
Required
​
Euro
​
futuresContractPeriod
String
Optional
monthly
Note:
our system now supports multiple kinds of instruments such as
futures
contracts
, and is not limited to
spot
pairs
.
This version of the API still calls these "pairs", whereas in the next version they will be called "instruments".
Example
1
curl
"https://api.cryptowat.ch/pairs/btceur"
Copied!
1
{
2
"id"
:
232
,
3
"symbol"
:
"btceur"
,
4
"base"
:
{
5
"id"
:
60
,
6
"symbol"
:
"btc"
,
7
"name"
:
"Bitcoin"
,
8
"fiat"
:
false
,
9
"route"
:
"https://api.cryptowat.ch/assets/btc"
10
},
11
"quote"
:
{
12
"id"
:
108
,
13
"symbol"
:
"eur"
,
14
"name"
:
"euro"
,
15
"fiat"
:
true
,
16
"route"
:
"https://api.cryptowat.ch/assets/eur"
17
}
18
}
Copied!
Previous
Details
Next
List
Last modified
2yr ago
Copy link
Contents
Example