Myntkaup API · v1

Build on Myntkaup

Read balances and prices, buy and sell crypto, follow your history, create gift cards and make withdrawals from your own code. Every request is signed with a key that only you hold.

What you can do

Bank withdrawals go only to your own account and crypto withdrawals wait for your email confirmation. No key can change settings or read personal data.

Quick start

  1. Create a key

    In the webapp, open Settings → API, choose what the key may do and confirm with electronic ID. Save the private key: it's shown once.

  2. Install an SDK

    npm install @myntkaup/api or pip install myntkaup. They sign every request for you. Coming soon

  3. Make your first request

    GET /v1/me returns your account and the key's scopes. Then follow Getting started.

# sign-headers.sh is on the Authentication page (OpenSSL 3).
# It reads MYNTKAUP_API_KEY_ID and MYNTKAUP_API_PRIVATE_KEY from your .env.
set -a; . ./.env; set +a

curl https://public-api.myntkaup.is/v1/me \
  $(./sign-headers.sh GET /v1/me | sed 's/^/-H /')
import { Myntkaup } from "@myntkaup/api";

const client = new Myntkaup(); // reads the key from the environment
const me = await client.me();
console.log(me.account.name, me.key.scopes);
from myntkaup import Myntkaup

client = Myntkaup()  # reads the key from the environment
me = client.me()
print(me["account"]["name"], me["key"]["scopes"])

Base URL

Production

https://public-api.myntkaup.is

Keys start with mk_live_. Everything is JSON over HTTPS under /v1.

Staging

https://public-api.staging.myntkaup.is

For mk_test_ keys, used by Myntkaup's own testing for now. A public sandbox is planned.

Opening gradually

The API is being opened to accounts step by step. When it's available for yours, an API tab appears in Settings in the webapp. Questions? Write to myntkaup@myntkaup.is.

Open Settings → API