General APIs
KyberSwap Limit Order General APIs
Download OpenAPI specification:
General APIs
Latest
Latest
Please refer to Supported Exchanges And Networks for full list of supported networks.
Query parameters
chainIdstringRequired
The chainId of the network to query.
Responses
200
OK
application/json
400
Bad Request
- Missing required field
- chainId is not supported
application/json
500
Internal Server Error
application/json
get
GET /read-partner/api/v1/orders/pairs HTTP/1.1
Host: limit-order.kyberswap.com
Accept: */*
{
"value": {
"code": 0,
"message": "Successfully",
"data": {
"pairs": [
{
"makerAsset": "0x1c954e8fe737f99f68fa1ccda3e51ebdb291948c",
"takerAsset": "0x2791bca1f2de4661ed88a30c99a7a9449aa84174"
}
]
}
}
}
Please refer to Supported Exchanges And Networks for full list of supported networks.
Query parameters
chainIdstringRequired
The chainId of the network to query.
Responses
200
OK
application/json
400
Bad Request
- Missing required field
- chainId is not supported
application/json
500
Internal Server Error
application/json
get
GET /read-ks/api/v1/configs/contract-address HTTP/1.1
Host: limit-order.kyberswap.com
Accept: */*
{
"value": {
"code": 0,
"message": "Successfully",
"data": {
"latest": "0xcab2FA2eeab7065B45CBcF6E3936dDE2506b4f6C",
"features": {
"0xBff3AF706AedfAa19724BAb00947b7cD7bF3Af5F": {
"supportDoubleSignature": false
},
"0xcab2FA2eeab7065B45CBcF6E3936dDE2506b4f6C": {
"supportDoubleSignature": true
}
}
}
}
}
*For /read-ks/api/v1/configs/contract-address
, please refer to the .yaml
file for the full return object as GitBook has limited support for OpenAPI's additionalProperties
definition.
Last updated
Was this helpful?