SDK
One typed Python client today. An OpenAPI 3.1 spec so you can generate typed clients for any other language.
Python
pip install amaneki
import amaneki
client = amaneki.Client() # free tier, anonymous
snap = client.get_regime("btcusdt")
print(snap["regime"], snap["z_vol"])
# With a paid key:
# client = amaneki.Client(api_key="ak_...")
Source tarball: pypi.org/project/amaneki. The repository itself is private; if you need the unpacked source for audit, email and we'll send a tarball.
Other languages — generate from the OpenAPI spec
The live spec at https://api.amaneki.com/openapi.json declares every endpoint, response shape, parameter and the BearerAuth + ApiKeyHeader security schemes. Any OpenAPI-3.1-aware generator will produce a typed client.
TypeScript (openapi-typescript)
npx openapi-typescript https://api.amaneki.com/openapi.json --output amaneki.d.ts
Go (oapi-codegen)
go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest \ --config oapi-config.yaml https://api.amaneki.com/openapi.json
Any language (openapi-generator)
docker run --rm -v "$PWD:/out" openapitools/openapi-generator-cli generate \ -i https://api.amaneki.com/openapi.json \ -g typescript-fetch -o /out/amaneki-ts
Live API reference
Interactive sandbox at api.amaneki.com/v1/reference (Scalar, rendered from the same OpenAPI spec).