Get started
nArtifacts API
Link our games to your platform and your wallet. Every call is named for what it does.
Base address
LiveReal players
https://api.nartifacts.com/v1/SandboxTest players
https://sandbox.api.nartifacts.com/v1/Every call is a POST with JSON. Each is named for what it does.
Where to start
Authentication
Keys, apps, and how every call is signed.
Environments
Live, Sandbox, and as many test environments as you need.
Sessions
Start a game, change its bets, close it.
Wallet
The five calls on your server.
Game client
Web, iOS, Android, Unity, React Native and Flutter.
Errors and limits
One answer shape, fixed error codes, clear limits.
How it fits together
- 1
Your server calls
session.start.With the player, the game and the bet settings.
- 2
We answer with a game link.
With our
sessionId, and the time the link expires. - 3
You open the link.
In your web site, or in a web view in your iOS or Android app.
- 4
Our server calls your wallet.
For the balance first. Then a stake, and a win or a loss, for every round.
The game link works once, and must be opened within 2 minutes.