---
title: "Deprecated: fetch private key (PIN-gated)"
method: POST
path: "/api/wallets/private-key"
tags: ["Wallets", "Wallet and web3"]
deprecated: true
---

# Deprecated: fetch private key (PIN-gated)

`POST /api/wallets/private-key`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/wallets/private-key`
- Auth: HTTP bearer

> **Deprecated.**

Deprecated. Use POST /api/wallets/{address}/sign-transaction for sends and POST /api/wallets/{address}/export for seed reveal.

## Request body

- object

## Response `200`

OK

## Other responses

- `400`: INVALID_PIN (wrong wallet PIN) or VALIDATION_ERROR (malformed input, missing PIN, or PIN reset required)

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - added the non-success response with the status `400`
- **2026-08-16** `16bfbac187d7`: 1 info
  - endpoint deprecated
- **2026-03-12** `099fcb1a1540`: 1 info
  - api tag `Wallet and web3` added
- **2026-03-08** `120afc4ee72c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/wallets/private-key/post.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
