POST /keys
POST

/v1/keys

Create new API key (1 active key on free tier, 5 on paid tiers)

AuthNone — works without a key

Request

POSThttps://api.xrpl.to/v1/keys
Body
Body fieldsas documented
{
  name?: string,
  project: {
    name,
    url: "https://…",
    category: "wallet|explorer|trading_bot|analytics|ai_agent|other",
    description,
    expectedDaily: "lt1k|1k-10k|10k-100k|100k+",
    contact?: "email or @handle"
  },
  agreePolicy: true
}
Headers
X-Wallet, X-Signature, X-Timestamp, X-Public-Key
curl -X POST 'https://api.xrpl.to/v1/keys'
No public sample for this one — copy the code and fill in your own values.

Response

No public sample for this endpoint — run the code on the right with your own values to see the response.
Shapeas documented
{
  success,
  apiKey,
  keyPrefix,
  wallet,
  credits,
  project
}

What it does

Create new API key (1 active key on free tier, 5 on paid tiers)

Notes
Requires wallet signature. Save the API key immediately - it cannot be retrieved later. The project block and agreePolicy record which project the key serves and that it accepted the usage policy (attribution, no redistribution); the agreement is stamped server-side. Legacy name-only bodies are still accepted for now.
Headers
X-Wallet, X-Signature, X-Timestamp, X-Public-Key
OpenAPI