# Stargaze Chain API
> Real-time on-chain data for Stargaze (chain-id stargaze-1), the Cosmos NFT marketplace Layer-1 secured by delegated proof-of-stake, with STARS as its native coin. The status endpoint returns the chain id, latest block height and time, proposer and node application version so you can confirm the chain is live and producing blocks. The validators endpoint returns the full bonded validator set — each moniker, operator address, self+delegated stake in STARS, commission rate and jailed flag — sorted by stake, plus the total bonded and not-bonded STARS. The supply endpoint returns the total STARS supply (in STARS and base ustars), the bonded amount and the bonded ratio. The governance endpoint returns the most recent on-chain governance proposals with title, status and voting window. The meta endpoint documents the chain, denom and decimals. Reads a live Stargaze Cosmos-SDK LCD node directly (with mirror fallback), so values are current to the latest block. Live, nothing stored. 5 endpoints. This serves chain-level staking, supply and governance data; for individual NFT collections or wallet holdings use a dedicated NFT/indexer API.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/stargaze-api/..."
```

## Pricing
- **Free** (Free) — 280 calls/Mo, 2 req/s
- **Basic** ($13/Mo) — 22,500 calls/Mo, 5 req/s
- **Pro** ($34/Mo) — 116,000 calls/Mo, 20 req/s
- **Mega** ($77/Mo) — 520,000 calls/Mo, 55 req/s

## Endpoints

### Chain

#### `GET /v1/status` — Chain status: latest block, chain id, node version

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/stargaze-api/v1/status"
```

### Staking

#### `GET /v1/supply` — Total STARS supply and bonded ratio

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/stargaze-api/v1/supply"
```

#### `GET /v1/validators` — Bonded validator set with stake and commission

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/stargaze-api/v1/validators"
```

### Governance

#### `GET /v1/governance` — Recent on-chain governance proposals

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/stargaze-api/v1/governance"
```

### Meta

#### `GET /v1/meta` — Chain metadata

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/stargaze-api/v1/meta"
```


---
Marketplace page: https://www.oanor.com/api/stargaze-api
OpenAPI spec: https://www.oanor.com/api/stargaze-api/openapi.json
