---
title: "Create a new account locally"
method: POST
path: "/keys"
tags: ["ICS1"]
---

# Create a new account locally

`POST /keys`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- object
  - `name` string, required
  - `password` string, required
  - `seed` string, required

## Response `200`

Returns account information of the created key

- KeyOutput
  - `name` string
  - `address` string
  - `pub_key` string
  - `type` string
  - `seed` string

## Other responses

- `400`: Invalid request
- `409`: Key name confliction
- `500`: Server internal error

## Changes

- **2026-07-17** `66846564e1ee`: 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `409`
  - added the non-success response with the status `500`
- **2019-01-29** `09b6e250c67e`: 1 info
  - endpoint added
- **2019-01-29** `7f670f71b0eb`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/bnb-chain/apis/gaia-lite-for-cosmos/changes/keys/post.md)

---

[API](https://skmtc.dev/bnb-chain/apis/gaia-lite-for-cosmos.md) - [All operations](https://skmtc.dev/bnb-chain/apis/gaia-lite-for-cosmos/llms.txt) - [OpenAPI document](https://skmtc.dev/bnb-chain/apis/gaia-lite-for-cosmos/revisions/66846564e1ee?raw)
