Requests and errors
Authentication, error responses, Portuguese messages and API versions.
Authentication
Every request carries your project's API key in the x-api-key header. The base URL is https://api.notus.team, and routes start with /api/v1 (Pix deposit and withdrawal quotes and orders are /api/v2). Keep the key on your server: anyone with it acts as your project.
Every request carries your project's API key in the x-api-key header. The base URL is https://api.notus.team, and routes start with /api/v1 (fiat quotes and orders are /api/v2). Keep the key on your server: anyone with it acts as your project.
Errors
A failed request answers with an HTTP status and a body like:
{
"id": "FIAT_QUOTE_EXPIRED",
"message": "Fiat quote expired",
"extra": { "quoteId": "c8bb5c9c-9a32-4c91-9d4a-6fdd86c9d3b6" },
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}idis a stable code: branch on it, not onmessage.messageis readable text, in Portuguese when you sendAccept-Language: pt.extracarries details for that error, when there are any.traceIdidentifies the request; include it when you contact Notus.
An invalid body answers 400 with id: "BAD_REQUEST" and an errors list naming each field.
API versions
Notus changes response shapes without breaking you: each project is pinned to the API version that was current when it was created, and keeps getting those shapes. To try or adopt a newer version, send it in the api-version header:
curl https://api.notus.team/api/v1/wallets/register \
-H "x-api-key: $NOTUS_API_KEY" \
-H "api-version: 2026-11-27" ...| Version | Change |
|---|---|
2026-11-27 | GET /fiat/brcode/preview is removed (answers 410); send brCode on the Pix quote instead. |
2026-10-29 | The Pix quote takes identityId instead of entityId. |
2026-03-18 | Account responses use walletAddress (older versions also return it as accountAbstraction). |
| Version | Change |
|---|---|
2026-11-27 | GET /fiat/brcode/preview is removed (answers 410); send brCode on the fiat quote instead. |
2026-10-29 | The fiat quote takes identityId instead of entityId. |
2026-03-18 | Wallet responses use walletAddress (older versions also return it as accountAbstraction). |
An unknown version answers 400 INVALID_API_VERSION_EXCEPTION.