Skip to main content
This guide walks you through making your first Relayer API call. You will verify connectivity with the health endpoint, then make an authenticated request.

Prerequisites

  • An API key from your operator dashboard (see Authentication)
  • curl or Node.js installed

Environments

Relayer provides two environments. Choose the one that matches your stage:
Sandbox runs on Render — the first request after idle may take 30-60 seconds to cold-start.

Step 1: Verify connectivity

Start with the unauthenticated root endpoint to confirm the API is reachable.
You should receive a 200 with a basic service descriptor.

Step 2: Set up your environment

Store your API key and base URL as environment variables:

Step 3: Make an authenticated request

Now make an authenticated call. This example lists the wallets in your workspace — a safe, read-only operation that confirms auth, scope, and module activation in one go.
A successful response looks like:
An empty data array is expected on a fresh workspace. It means the API authenticated your request successfully — you just haven’t created any wallets yet.

Step 4: Explore the Kits

Now that you are authenticated, explore the Kit that matches your use case:

Signing Kit

Create self-custodial wallets and sign transactions with passkeys.

Payout Kit

Set up fiat on/off-ramp rails and manage recipients.

Agent Kit

Ship budget-enforced AI agents that can sign and pay for resources.

Widget Kit

Embed canonical swap, transfer, and crosschain widgets in your app.

Troubleshooting