Skip to main content
Make your first Activity, Assets and RPC calls on Testnet in about five minutes. You need a browser and one of curl, Node.js 18+ or Python 3 with requests. Testnet is free on every plan: up to 10,000 requests a day per organization, reset at 00:00 UTC, with no credits used. Credits are for Mainnet.
1

Sign up and copy your key

Open app.lumeus.dev and sign in with your email. Lumeus emails you a six-digit code; there is no password. The first screen shows your Testnet key (lum_test_...). It is shown once, so save it in your secret manager. You can create more keys later under API keys.One key works on the Activity API, the Assets API and RPC of its network. Mainnet needs a separate lum_live_... key. Webhooks use their own whk_... key; see your first webhook.Set these once in your terminal. The sample values are real Testnet data, so the read examples return real results.
The JavaScript and Python examples below read the same environment variables.
2

Read history and balances

Read the two newest token movements of the sample account from the Activity API:
Response (trimmed to one record)
Then read the same account’s current balances from the Assets API:
Response (trimmed)
Every answer carries read_view, the ledger it reflects. Amounts are strings; use amount_raw and balance_raw for exact integer math. A 401 means the key is missing, revoked or for the other network; the message names the right host.
3

Call RPC

RPC is standard Stellar JSON-RPC on one endpoint, POST /:
Response
Check for error in every JSON-RPC reply, even with HTTP 200. You can also use RPC from the Stellar SDKs by passing the key as a header: see Stellar SDKs.

Check your usage

GET /v1/usage on the Activity host reports today’s Testnet requests in its testnet block. Your Mainnet credits are in the monthly_credits_* fields.
Response (trimmed)
Past the daily cap, Testnet requests return 429 rate_limited until 00:00 UTC. See usage and limits.

Next steps

Each API host also serves its OpenAPI document at GET /openapi.json, for example https://api-testnet.lumeus.dev/openapi.json, for SDK generators and agents.