NexusNEXUS
MIDNIGHTCARDANOBITCOIN
The Midnight API for builders

A hosted Midnight blockchain API: DUST status, transaction building and submission, and indexer data for mainnet and preprod. REST over HTTPS, OpenAPI 3.1, no node to run.

NEXUS
one endpoint, every primitive
Dust GenerationMIDNIGHT
12,000 NIGHT5 DUST / NIGHT
49,400 / 60,000 DUST7d to capacity
registered · shielded fees
Prove where you wantMIDNIGHT
POST/tx/submitproof: nexus
POST/tx/prove-and-submitproof: nexus
POST/tx/submit-provenproof: yours
bind · submit · txHash back
Shielded UTXOsMIDNIGHT
UNSHIELDEDmn_shield…9fzk4,200
SHIELDEDhidden
DUST REGintent 3f81…9c2yes
zswap · proof verified · 41 ms
IndexerGRAPHQL
POST /indexer/graphql
{ block { height hash } }
height1,204,338
indexer · graphql · info

Nexus Midnight API at a glance

Mainnet, preprod, Preview

reads and transactions on all three networks, all on ledger 9

DUST

registration status, account state, and registration transactions over REST

Your prover or ours

submit signed, already proven, or prove-and-submit on Nexus

OpenAPI 3.1

machine-readable spec published at /v3/api-docs

Public

status page with live health for core subsystems

Midnight chain access: DUST, transactions, and the indexer on one REST API

A Midnight REST API over plain HTTPS, for apps on the Midnight blockchain. The same base URL and X-Api-Key header as Cardano and Bitcoin, with an OpenAPI 3.1 spec that generates typed clients.

Six endpoint groups cover what a Midnight app needs today. The same endpoints serve mainnet and preprod, each with its own scoped key.

# DUST registration status for a Cardano reward address, mainnet
BASE="https://nexus.gerowallet.io/api/midnight/midnight-mainnet"
STAKE="stake1u9x2..."

curl "$BASE/dust/status?cardanoRewardAddress=$STAKE" \
  -H "X-Api-Key: nxs_your_api_key_here"

The network is in the path (midnight-mainnet, midnight-preprod), the key in the header. Each key is scoped to one chain and one network.

DUST status

Registration status, generation rate, and capacity for a single reward address, or up to 50 in one batch call.

View in docs

DUST registrations

Build the Cardano-side registration, update, and deregistration transactions, and list live registrations.

View in docs

DUST account state

The Midnight-side DUST account for an address, and a state snapshot for sync.

View in docs

Transactions

Build an unshielded NIGHT transfer, then submit it signed, already proven, or prove-and-submit on Nexus.

View in docs

Transaction UTXOs

The unshielded UTXO view of any Midnight transaction: created and spent outputs by hash.

View in docs

Network info and indexer

Indexer, prover, and node endpoints plus the current era, and a GraphQL passthrough to the Midnight indexer.

View in docs

DUST without the plumbing

DUST is the shielded resource that pays Midnight fees. It is generated by holding NIGHT, regenerates toward a cap, and decays when the backing NIGHT moves. Nexus gives you the registration flow and the live status as REST calls.

  1. Build the registration

    POST /dust/build-registration-tx returns the Cardano transaction (tx_cbor) that maps a reward address holding NIGHT to a DUST address. Your wallet signs it.

  2. Submit it on Cardano

    The registration is an ordinary Cardano transaction, so any Cardano submit path works, including the Nexus Cardano API.

  3. Read the status

    GET /dust/status returns registered, night_balance, generation_rate, current_capacity and max_capacity, so your app can show when DUST is ready to spend.

GET /dust/status200 OK
cardano_reward_address
"stake1u9x2…"
dust_address
"mn_dust…9fzk"
registered
true
night_balance
"12000000000"
generation_rate
"5 DUST / NIGHT"
current_capacity
"49400"
max_capacity
"60000"

Illustrative values. Field names are the live response. Full schema in the docs.

New to NIGHT and DUST? GeroWallet's guides cover the basics: What is DUST, NIGHT, cNIGHT and DUST explained, and How to generate DUST. This page covers the same flow as REST calls for your own app.

Prove where you want

Proving is the expensive step of a Midnight transaction. Nexus offers three submit routes so you decide who does it.

  1. Build and sign
  2. Prove
  3. Submit to Midnight
POST /tx/submit
Nexus proves

Send the signed, unproven transaction. Nexus proves, binds, and submits it. The default for unshielded NIGHT transfers built with /tx/build-unshielded.

POST /tx/prove-and-submit
Nexus proves

For shielded transactions your app built with the Midnight SDK: Nexus runs the proof and submits.

POST /tx/submit-proven
You proved it

You already ran the proof against your own prover. Nexus only submits, no proving on our side.

Every route returns the transaction hash. When Nexus proves, your unproven transaction and its private witness data reach Nexus for the proof; /tx/submit-proven keeps them on your machine.

Running your own prover, or proving at volume? Talk to us about Dedicated infrastructure.

Built by the team that ships a Midnight wallet

Nexus is built by A.D. Labs LTD, the team behind GeroWallet, which ships DUST generation in-wallet on Midnight mainnet. The same team runs Cardano, Bitcoin, and Midnight access for Nexus from one account.

Partners, customers, and design partners

  • FluidTokens

    Design partner

  • BloxBean

    Open-source partner

  • Midnight

    Network partner

  • SongMarketCap

    Integration partner

  • Solada

    Integration partner

  • Cardano Foundation

    Community integration partner

Flat Midnight API pricing

Flat monthly plans instead of per-call metering. Plans start at $9 on Starter, Builder comes with a 7-day trial, and a Midnight key is included in every plan's key allowance. Every price is on the pricing page before you sign up.

Starter

$9/mo

  • 3M requests / month
  • 10 req/s
  • 2 API keys

Prototypes and hobby projects.

Builder

7-day trial

$29/mo

  • 10M requests / month
  • 25 req/s
  • 4 API keys

Indie devs and side projects.

Growth

$79/mo

  • 30M requests / month
  • 50 req/s
  • 7 API keys

Startups and DApp teams.

Scale

$199/mo

  • 50M requests / month
  • 100 req/s
  • 13 API keys

Production applications.

Enterprise

$499/mo

  • 200M requests / month
  • 500 req/s
  • Unlimited API keys

Exchanges, aggregators, and institutional users.

Add-ons: Market Data $19, Wallet Analytics $15, Transaction Builder $19, MCP Server $19, IPFS $5, Tax Data $49 per month. Bundles: Data $19, Build + AI $19, Complete $29. WebSocket packages start at $29 per month.

Midnight API questions, answered

What developers ask before putting Nexus behind a Midnight app.

What is the Midnight API?

A hosted REST API for the Midnight network. Instead of running a Midnight node, an indexer, and a proof server, you call Nexus endpoints for DUST registration status and account state, build and submit unshielded transactions, read a transaction's UTXOs, and forward GraphQL queries to the Midnight indexer. Authentication is an nxs_ API key in the X-Api-Key header, the same as Nexus's Cardano and Bitcoin APIs.

Which Midnight networks does Nexus support?

Mainnet, preprod and Preview, for reads and transactions, all on ledger 9. Midnight relaunched Preview in November 2026 as its public test network. Stagenet was retired on November 30, 2026: Midnight replaced it with Preview. Use the test networks with faucet tokens only. The network is part of the URL: /api/midnight/midnight-mainnet, /api/midnight/midnight-preprod, /api/midnight/midnight-preview.

How do I read Midnight blockchain data with Nexus?

Send a GraphQL query to /indexer/graphql and Nexus forwards it to the Midnight indexer, which serves blocks, transactions, and contract activity. For the common lookups there are plain REST endpoints: the unshielded UTXOs a transaction created and spent, DUST registration status and account state, and network info. Every call uses the same nxs_ key, with the network in the path.

Midnight retired its own mainnet endpoints. Which Midnight blockchain provider do I use now?

Midnight retired its own mainnet and preprod endpoints on 9 October 2026, and its docs name Blockfrost as the public provider of the indexer and node RPC (read 3 December 2026). Blockfrost has since announced that it is shutting down, so check Blockfrost's own notice before you build on it. Nexus is a hosted Midnight provider: one account covers DUST endpoints, transaction build and submit with optional proving, and the indexer passthrough on mainnet and preprod, alongside Cardano and Bitcoin. Nexus does not serve a Midnight node RPC. If you need one, the route is your own node. Read the Midnight endpoint notice.

Do I need my own proof server?

No. For unshielded NIGHT transfers, /tx/submit takes the signed transaction and Nexus proves, binds, and submits it. For shielded transactions your app builds with the Midnight SDK, /tx/prove-and-submit runs the proof on Nexus. Proving on Nexus means the unproven transaction, including its private witness data (the DUST fee spend, and the spent notes on a shielded send), reaches Nexus for the length of the proof; Nexus does not log or store it. To keep that data on your machine, run your own prover and submit with /tx/submit-proven, which never proves. The proving routes are rate-limited per caller and answer 503 with Retry-After when the provers are busy.

How does DUST registration work through Nexus?

DUST is generated by holding NIGHT. To start generating from NIGHT held on Cardano, a Cardano reward address is registered to a Midnight DUST address. Nexus builds that registration transaction (/dust/build-registration-tx returns the CBOR for your wallet to sign), and after it is on chain, /dust/status reports registered, the NIGHT balance, the generation rate, and current and maximum DUST capacity. Update and deregistration transactions are built the same way.

Can I use the Midnight API from a Cardano wallet or app?

Yes. DUST registration is a Cardano transaction, and the status lookup is keyed by a Cardano reward address, so a Cardano wallet can offer the whole flow with a Midnight key alongside its Cardano key. Keys are scoped to one chain and one network, so a Cardano app adding Midnight issues a Midnight key from the same account and dashboard.

How much does the Midnight API cost?

The same flat monthly plans as the rest of Nexus: Starter $9, Builder $29 with a 7-day trial, Growth $79, Scale $199, Enterprise $499, each with a monthly request allowance and a rate limit rather than per-call metering. A Midnight key counts toward the plan's key allowance. Dedicated infrastructure is available on request.

Ship your Midnight app on one integration

DUST status, transaction building, three ways to submit, and the indexer behind one API key per network. Plans from $9 a month.

Dedicated infrastructure starts at $2,000 per month. A contractual SLA is available on Dedicated: contact sales.