Skip to content
API v2 · Deprecated

Overview

One order API for swapping, bridging and converting tokens across chains.

Deprecated. /v2 keeps working but gets no new features. Build new integrations on v3: its contract is openapi/v3.json, served at https://docs.khalani.network/openapi/v3.json, and its guides are at https://docs.khalani.network.

Base URL Authentication
https://api.hyperstream.dev Your API key in the X-API-Key header, from your backend only. GET /v2/orders/{orderId} and GET /v2/health are public.
  • Request and response bodies are JSON. Every amount is a decimal string of integer base units, never a number.
  • Every response carries an x-request-id header. Quote it, with the orderId, when you contact support.
  • Quotes and builds are single-use answers: do not cache them.

Information

  • OpenAPI version: 3.1.0

Your integrator API key. Backend only.

Security scheme type: apiKey

Header parameter name: X-API-Key