For the complete documentation index, see llms.txt. This page is also available as Markdown.

API authentication

How authentication works when integrating with UR APIs.

UR uses Ethereum Personal Sign (EIP-191) for all API authentication. While there are no API keys or OAuth tokens, the concept is fundamentally the same: you register a key with UR, sign your requests with it, and UR verifies the signature on every call.

Registering and deregistering keys

During onboarding you get an ECDSA key pair whose public address (an Ethereum address) is registered with UR. This is your authentication credential. You have two ways to obtain it: create it in the API sandbox, which generates the key pair and registers it for you, or generate the key pair yourself and send UR only the public address. Either way, UR stores only the public address and never your private key. You can rotate keys by registering a new address and deregistering the old one through your dedicated integration channel. For both paths and the full lifecycle, see API signing key.

Two authentication methods

Method
Used for
Who signs

Partner authentication (server-to-server)

UR-OPEN-API and Webhooks

Your backend's registered key pair

User authentication (wallet-to-server)

UR-API (sensitive user operations like FX, transfers)

The user's wallet

How it works

For webhook verification, the flow is reversed: UR signs the response body, and your backend verifies the signature against UR's known server address.

For the full signing logic, code examples, and environment addresses, see Signature and Verify.

Last updated