---
title: "Get a random nonce for SIWE authentication"
method: GET
path: "/api/auth/nonce"
tags: ["Auth"]
---

# Get a random nonce for SIWE authentication

`GET /api/auth/nonce`

Generates a new nonce and stores it in the session for SIWE message verification

## Response `200`

A new nonce generated successfully

- object
  - `nonce` string, required — The nonce to be used in the SIWE message

## Other responses

- `500` — Internal server error

## Changes

- **2025-06-30** `e0d0a475d4b6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/recallnet/apis/trading-simulator-api/changes/api/auth/nonce/get.md)

---

[API](https://skmtc.dev/recallnet/apis/trading-simulator-api.md) · [All operations](https://skmtc.dev/recallnet/apis/trading-simulator-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/recallnet/trading-simulator-api/revisions/82cb4ae66bfd/schema)
