---
title: "Paid: Grind a vanity Solana keypair"
method: GET
path: "/api/x402/vanity"
---

# Paid: Grind a vanity Solana keypair

`GET /api/x402/vanity`

## Request

- Base URL: `https://three.ws`
- URL: `https://three.ws/api/x402/vanity`
- Auth: none required

Pay to generate a brand-new Solana keypair whose Base58 address starts with a chosen prefix and/or ends with a chosen suffix. Returns the public address and its secret key (Base58 + 64-byte array) so it imports into any Solana wallet. Ground fresh per request in a Rust/WASM ed25519 engine and never stored. Difficulty-tiered price ($0.01 for 1 char, $0.05 for 2, $0.25 for 3); combined pattern capped at 3 Base58 characters. Settlement runs only after a successful grind, so an exhausted budget costs nothing.

## Query parameters

- `prefix` string
- `suffix` string
- `ignoreCase` '0' | '1' | 'true' | 'false'

## Response `200`

Keypair JSON: address + secret key

## Other responses

- `400`: Missing prefix/suffix or pattern too long
- `402`: Payment Required (x402)

---

[API](https://skmtc.dev/three/apis/three-ws-api.md) · [All operations](https://skmtc.dev/three/apis/three-ws-api/llms.txt) · [OpenAPI document](https://skmtc.dev/three/apis/three-ws-api/revisions/dbc5e3a81b79?raw)
