RenzoDocs

Concepts

The rules that every endpoint shares.

View as Markdown

These pages explain the behaviour that is the same across the whole API. Read them once before you build a client.

PageIn short
ErrorsEvery error is application/problem+json with a stable code. Branch on code.
PaginationLists use a cursor. Follow next_cursor until has_more is false.
IdempotencySend Idempotency-Key on writes you may retry. A retry replays the first answer.
Rate limitsSign-in and a few public calls are limited. A 429 carries Retry-After.
Plans and limitsAny paid plan unlocks Premium; each plan sets its own caps.
LocalesThe UI language and the article language are separate. Content falls back to English.
TimestampsISO-8601 in UTC. Dates are YYYY-MM-DD.
Versioning/api/v1 is stable. New fields can appear at any time.
Webhooks and deliveryThere are no customer webhooks. Renzo delivers by Telegram, WhatsApp, email and .ics feeds.

Conventions

  • Requests and answers are JSON (Content-Type: application/json), except the .ics calendar feed.
  • Field names are snake_case.
  • IDs are UUIDs. Articles and symbols also have a readable slug.
  • Money is an integer number of cents, in fields that end in _cents. Market prices are numbers. CFD calendar values that need every digit, such as points and gap, are decimal strings.
  • A field with no value is null. Do not rely on a field being absent.
  • Every answer carries an X-Request-ID header. You may send your own X-Request-ID (up to 64 characters) to tie your logs to ours.
  • Public reads may come from a CDN cache. They are usually at most 5 minutes old, and up to 15 minutes while the cache refreshes. Answers with a token are never cached by a CDN.

On this page