Skip to main content
The API is live at https://api.matocard.xyz, with every route in the API reference tab and in Swagger. CORS is open, so it works from a browser, Vercel or localhost.
Matocard API in Swagger

Swagger at api.matocard.xyz/docs: every route, with examples, and an Authorize button for the session header.

1

Check it is up

2

Install

3

Sign in

No passwords. The account signs a fixed message once; the result is the session.
signin.ts
4

Read the home screen

The first signed call creates the user.
5

Get a quote

Next

Authentication

The session format and its rules.

Amounts and quotes

Smallest units, currencies, rounding.

Payments

Top-ups, settlements and cash-outs.

Contract calls

What the app sends to the chain itself.