---
title: "PIN-gated custodial seed/key export"
method: POST
path: "/api/wallets/{address}/export"
tags: ["Wallets", "Wallet and web3"]
---

# PIN-gated custodial seed/key export

`POST /api/wallets/{address}/export`

Replacement for deprecated POST /api/wallets/private-key. Reveals signing material after PIN check.

## Path parameters

- `address` string, required

## Request body

- object
  - `pin` string, required

## Response `200`

{ success: true, data: { privateKey, mnemonic } }

## Other responses

- `400` — VALIDATION_ERROR
- `401` — UNAUTHORIZED

---

[API](https://skmtc.net/d-sports-ecosystem/apis/d-sports-api.md) · [All operations](https://skmtc.net/d-sports-ecosystem/apis/d-sports-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/d-sports-ecosystem/d-sports-api/revisions/cbc84b00330e/schema)
