Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Kyber Network Service API

The Service API from Kyber Network — 3 operation(s) for service.

Kyber Network Service API is one of 5 APIs that Kyber Network publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Service. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 3 paths, and defines 22 schemas. It is described by OpenAPI 3.0.0, at version 2.12.1.

Requests are made against a single base URL, https://aggregator-api.kyberswap.com.

3 operations 3 paths 22 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.12.1
Base URL
https://aggregator-api.kyberswap.com
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Service 3
GET
/api/v1/in/route
Get the best zap-in route.
Service_GetInRoute 18 params → 200400404default
GET
/api/v1/migrate/route
Get the best zap-migrate route.
Service_GetMigrateRoute 18 params → 200400404default
GET
/api/v1/out/route
Get the best zap-out route.
Service_GetOutRoute 14 params → 200400404default

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are ZapDetailsAction (8 properties), v1GetInRouteResponseData (7 properties), v1GetMigrateRouteResponseData (7 properties), v1GetOutRouteResponseData (5 properties). Each schema is shown below with its type and property counts.

ZapDetailsAction
object
8 properties
ZapDetailsSwapAction
object
1 property
v1PoolDetails
object
4 properties
v1GetInRouteResponseData
object
Encompasses returned data.
7 properties
v1PositionDetails
object
4 properties
v1GetMigrateRouteResponse
object
Returns the best route to zap-migrate from an existing position to the specified pool position.
4 properties
ZapDetailsActionType
string
- ACTIONTYPEUNSPECIFIED: Unspecified action - ACTIONTYPEPROTOCOLFEE: protocol fee - ACTIONTYPEPARTNERFEE: partner fee - ACTIONTYPEAGGREGATORSWAP: aggregator sw…
v1GetOutRouteResponseData
object
Encompasses returned data.
5 properties
PoolDetailsUniswapV2
object
4 properties
PoolDetailsAlgebraV1
object
4 properties
ZapDetailsRefundAction
object
1 property
v1ZapDetails
object
4 properties
rpcStatus
object
3 properties
v1GetInRouteResponse
object
Returns the best route to zap-in to the specified pool position.
4 properties
SwapActionSwap
object
2 properties
ZapDetailsLiquidityAction
object
4 properties
ZapDetailsTokenAmount
object
3 properties
PoolDetailsUniswapV3
object
4 properties
v1GetMigrateRouteResponseData
object
Encompasses returned data.
7 properties
protobufAny
object
1 property
ZapDetailsFeeAction
object
2 properties
v1GetOutRouteResponse
object
Returns the best route to zap-out from an existing position to the specified pool position.
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

kyber-network-service-api-openapi.yml Raw ↑

Other APIs Kyber Network publishes across the network.

Kyber Network General API
Kyber Network Maker API
Kyber Network swap API
Kyber Network Taker API