Skip to main content
POST

Authorizations

x-partner-api-key
string
header
required

The client's own API key (kmi_<id>_<secret>), issued by Kamui. A missing, malformed, unknown, revoked or expired key answers 401 unauthorized.

Headers

x-request-id
string

Your id for this request: 1 to 128 letters, digits, ., _, : or -. It is echoed in the response. Any other value is replaced with a new UUID.

Pattern: ^[A-Za-z0-9._:-]{1,128}$

Body

application/json
slug
string
required

Vault slug, matched exactly: lowercase letters, digits and single hyphens (stable-vault). Case and whitespace count, so Stable-Vault and stable-vault answer 400. A legacy slug works; the response carries the canonical one.

Required string length: 1 - 64
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
metric
enum<string>
required
Available options:
share_price,
tvl
from
integer
Required range: 1704067200 <= x <= 9007199254740991
to
integer
Required range: 1704067200 <= x <= 9007199254740991

Response

Success

data
object
required
asOf
integer
required
Required range: -9007199254740991 <= x <= 9007199254740991