Skip to content

API ReferenceSystem

Endpoints

System

Readiness of an instance and the network it serves.

Base URLhttps://api.lane.markets/v1local instance: http://localhost:3000/v1

Readiness and freshness (not rate limited; ?strict=1 returns 503 unless fresh)

GET/v1/health

Query parameters

  • strict"1"

Responses

200Health

  • readyboolean

  • lastBlockuint string

  • freshboolean

  • reasonsstring[]

  • chainHeaduint string

  • lagBlocksinteger

  • lastSyncSecondsAgointeger | null

  • keeperobject | null

  • keeper.addressstring

  • keeper.balanceHypestring | null

  • poolsobject

  • pools.v3integer

  • pools.v2integer

  • pools.v4integer

  • pools.solidlyinteger

  • executorstring | null

  • orderBookstring | null

  • keeperEnabledboolean

Request
curl "https://api.lane.markets/v1/health"

Network the instance serves (for wallets)

GET/v1/config

Responses

200Config

  • namestring

  • chainIdinteger

  • rpcUrlstring

  • explorerstring

Request
curl "https://api.lane.markets/v1/config"
lane.markets · Make the most of every move.