# NYEN API and SDKs

> Public REST API at https://nyen.cc/v1 with an OpenAPI reference, events and webhooks, plus the @nyen/sdk (npm) and nyen-sdk (PyPI) SDKs.

Canonical page: https://nyen.cc/docs  
Updated: 2026-09-26

## Developers

- REST API: https://nyen.cc/v1. Blocks, transactions, addresses, tokens, token history, fees, identities, server-sent events.
- One JSON envelope, typed error codes, API keys and rate limits, CORS, OpenAPI specification.
- Events: server-sent events with replay and signed (HMAC) webhooks with idempotent retries.
- SDKs: `npm i @nyen/sdk` (TypeScript), `pip install nyen-sdk` (Python). Both include offline address validation and offline signing support.
- Node binaries: `nyend` (daemon), `nyen` (CLI), `nyen-tx`. P2P port 31649, RPC port 31650 (loopback only).
- Docs: https://nyen.cc/docs, API reference https://nyen.cc/docs/api/reference, error codes https://nyen.cc/docs/api/errors.
- Explorers: block explorer https://explorer.nyen.cc, token explorer https://nyen.cc/tokens.

## Quick start

```sh
curl https://nyen.cc/v1/chain
npm i @nyen/sdk
pip install nyen-sdk
```

---

More: [llms.txt](https://nyen.cc/llms.txt) · [full reference](https://nyen.cc/llms-full.txt) · [nyen.cc](https://nyen.cc/)
