---
title: "Get Signature Nonce"
method: POST
path: "/signature-nonce"
tags: ["indexer"]
---

# Get Signature Nonce

`POST /signature-nonce`

## Request

- Base URL: `https://indexer.us.id-infra.worldcoin.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://indexer.us.id-infra.worldcoin.dev/signature-nonce`
- Auth: none declared
- TypeScript: <https://skmtc.dev/worldcoin/apis/world-id-indexer/docs/signature-nonce/post.ts> (a function with typed inputs; its response is checked against the schema)

Returns the current signature nonce for a given World ID based on its leaf index. The nonce is
used to perform on-chain operations for the World ID.

## Request body

- IndexerQueryRequest: Query for the indexer based on a leaf index. Used for getting inclusion proofs and signature nonces.
  - `leaf_index` string, hex, required: The leaf index to query (from the `WorldIDRegistry`). Accepts decimal or `0x`/`0X`-prefixed hex input.

## Response `200`

- IndexerSignatureNonceResponse: Response containing the signature nonce from the indexer.
  - `signature_nonce` string, hex, required: The signature nonce for the account. Serialized as a canonical `0x`-prefixed hex string.

---

[API](https://skmtc.dev/worldcoin/apis/world-id-indexer.md) - [All operations](https://skmtc.dev/worldcoin/apis/world-id-indexer/llms.txt) - [OpenAPI document](https://skmtc.dev/worldcoin/apis/world-id-indexer/revisions/8d47e835f678?raw)
