Skip to main content

REST API Overview

Base URL: https://api.ombra-net.com

All endpoints return JSON. All BigInt numeric fields (balances, amounts, fees) are encoded as JSON strings to avoid precision loss.

Authentication

Most endpoints are public, no auth required. Rate limits apply (see below).

For higher rate limits, register an API key:

curl -X POST https://api.ombra-net.com/api/keys/register \
-d '{"tier": 1}'
# returns { "id": "...", "key": "..." }

Then include in headers:

X-API-Key: <your key>

See API Reference › Keys.

Rate limits

TierRPMConcurrentNotes
Anonymous6010Default — no API key
Tier 160050Free with API key
Tier 26_000200Paid (contact team)

Rate limit headers in every response:

X-RateLimit-Limit: 600
X-RateLimit-Remaining: 587
X-RateLimit-Reset: 1735389942

On limit exceeded: HTTP 429 Too Many Requests.

Errors

Standard HTTP status codes:

CodeMeaning
200OK
400Bad Request — malformed JSON or invalid params
401Unauthorized — missing/invalid API key
403Forbidden — IP banned, or fork not active
404Not Found — resource doesn't exist
409Conflict — duplicate tx, stale nonce
422Unprocessable — signature invalid, validation failed
429Too Many Requests — rate limit
500Server Error
503Service Unavailable — node syncing

Error body:

{ "error": "Tx invalid (lipsesc câmpuri)", "code": "VALIDATION_FAILED" }

Common errors when submitting tx

Error messageCause
"Nonce stale: tx=X, state=Y"Wallet out of sync — re-fetch account nonce
"Insufficient balance"state.balance(from) < amount + fee
"Tx already in mempool"Duplicate submission
"Signature invalid"Wrong privateKey or canonical JSON mismatch
"Fork not active"Submitted tx for fork that hasn't activated

Pagination

Endpoints returning lists support limit + offset:

curl 'https://api.ombra-net.com/api/chain/blocks?limit=50&offset=100'

Max limit varies per endpoint (typically 100-500). Default limit = 30.

Streaming

For real-time updates, use SSE or WebSocket — see Streaming.

Categories