Rate
Last updated
Last updated
DELETE /rates/:baseAssetCode/:quoteAssetCode
DELETE
http://api.slyk.io/rates/:baseAssetCode/:quoteAssetCode
Deletes the rate
between the baseAssetCode
and quoteAssetCode
.
204
No Content
GET /rates
GET
https://api.slyk.io/rates
Returns a paginated list of rates
.
GET /rates/:baseAssetCode/:quoteAssetCode
GET
https://api.slyk.io/rates/:baseAssetCode/:quoteAssetCode
Returns the rate
between the baseAssetCode
and quoteAssetCode
.
PATCH /rates/:baseAssetCode/:quoteAssetCode
PATCH
https://api.slyk.io/rates/:baseAssetCode/:quoteAssetCode
Patch the rate
between the baseAssetCode
and quoteAssetCode
.
POST /rates
POST
https://api.slyk.io/rates
Creates a new rate
.
Name
Type
Example
baseAssetCode
=
in
nin
filter[baseAssetCode]=in:usd,eur,btc
quoteAssetCode
=
in
nin
filter[quoteAssetCode]=nin:usd
rate
=
gt
gte
lt
lte
filter[rate]=gte:0.6
Name
Example
createdAt
sort=createdAt
rate
sort=rate
updatedAt
sort=updatedAt
Name
Description
Example
size
Defines the number of results per page. Default = 30.
page[size]=2
number
Defines the number of the page to retrieve. Default = 1
page[number]=2
Name
Type
Required
Description
customData
object
false
Can store additional information about the rate.
rate
string
false
Rate value.
Name
Type
Required
Description
baseAssetCode
string
true
Base asset
code.
customData
object
false
Can store additional information about the rate.
quoteAssetCode
string
true
Quote asset
code
rate
string
true
Rate value.