---
title: "Get a nonce for linking a wallet"
method: POST
path: "/api/v2/accounts/wallets/siwx/nonce"
tags: ["Account Endpoints"]
---

# Get a nonce for linking a wallet

`POST /api/v2/accounts/wallets/siwx/nonce`

## Request

- Base URL: `https://api.opensea.io`
- URL: `https://api.opensea.io/api/v2/accounts/wallets/siwx/nonce`
- Auth: API key in header `x-api-key` and OpenID Connect (`https://auth.opensea.io/.well-known/openid-configuration`, scopes: `write:wallets`)
- TypeScript: <https://skmtc.dev/opensea/apis/opensea-api/docs/api/v2/accounts/wallets/siwx/nonce/post.ts> (a function with typed inputs; its response is checked against the schema)

Issue a single-use nonce for linking a wallet to the authenticated account, with the statement to sign. Build the SIWX message with this nonce and this statement verbatim, sign it with the wallet, and submit it to link_wallet_with_siwx. The nonce is valid for 10 minutes and only for this account.

## Response `200`

Nonce issued

- WalletLinkNonceResponse
  - `nonce` string, required
  - `statement` string, required

## Other responses

- `400`: Bad Request
- `401`: Invalid or missing API key
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal server error. Please open a support ticket so OpenSea can investigate.

## Changes

- **2026-11-03** `2c7935d84f90`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/opensea/apis/opensea-api/changes/api/v2/accounts/wallets/siwx/nonce/post.md)

---

[API](https://skmtc.dev/opensea/apis/opensea-api.md) - [All operations](https://skmtc.dev/opensea/apis/opensea-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opensea/apis/opensea-api/revisions/2c7935d84f90?raw)
