# API reference

> Every public operation of the Renzo API, grouped by tag.

URL: https://renzo-digital.com/docs/api

The full OpenAPI 3 document, with schemas and examples: https://api.renzo-digital.com/api/v1/openapi.json

## auth

Sign in with an emailed code or a social provider, refresh tokens and sign out.

### POST /api/v1/auth/logout

Sign out of this session

Ends the session of the access token you send. Other devices stay signed in. Needs a customer token.

### POST /api/v1/auth/logout-all

Sign out of every session

Ends every session of the account at once, for example after losing a device. Needs a customer token.

### POST /api/v1/auth/otp/request

Request a sign-in code

Emails a six-digit code and a magic link to the address, and returns a `challenge_token` for the verify step. The answer is the same whether or not the address has an account. No token needed. Each request has its own code and attempt budget; existing challenges stay usable until consumed or expired. Throttled per IP address, and per email address to one code a minute and five an hour; a 429 carries `Retry-After`.

### POST /api/v1/auth/otp/verify

Sign in with the emailed code

Exchanges the `challenge_token` and the emailed code for an access and refresh token pair. The first sign-in creates the account with status `pending_profile`; set a username next with `PATCH /api/v1/users/me`. No token needed. Throttled per IP address.

### POST /api/v1/auth/password/login

Sign in with a password (review accounts)

Signs in one of the few review accounts that Renzo gives to app and directory reviewers. Regular customers cannot use it; they sign in with an emailed code. Returns a token pair. Throttled per IP address and per email; a 429 carries `Retry-After`.

### POST /api/v1/auth/refresh

Refresh the token pair

Exchanges a refresh token for a new access and refresh token pair. Each refresh token works once: sending a used one again ends the whole session, as a guard against theft. No access token needed.

### POST /api/v1/auth/social/email

Send the sign-in code to an email address

Emails a six-digit code to the address for a social sign-in that is waiting on an email. Send the `pending_token` from the callback. Calling it again with another address sends a new code there, and the earlier code stops working. No token needed.

### GET /api/v1/auth/social/providers

List social sign-in providers

Lists the social sign-in providers that are switched on: some of google, apple, facebook, x and github. Show a button only for these. No token needed.

### POST /api/v1/auth/social/verify

Finish a social sign-in with the emailed code

Exchanges the `challenge_token` and the emailed code for a token pair. The provider is linked to the account on that address, or a new account is made for it. No token needed. Throttled per IP address.

### POST /api/v1/auth/social/{provider}/callback

Finish a social sign-in or link

Trades the provider's `code` for the provider account, then answers by `status`. `signed_in` carries tokens. `verify_email` means a code went to the address: post it to `/auth/social/verify`. `email_required` means the provider gave no email: post one to `/auth/social/email`. `linked` means a link finished; it needs the starting token.

### POST /api/v1/auth/social/{provider}/start

Start a social sign-in or link

Returns the provider URL to send the browser to. The provider then returns the browser with `code` and `state`; post both to the callback. The attempt lives about ten minutes. With `intent=link`, send the customer token: the provider is added to that account instead of signing in. Throttled per IP address.

## users

Your profile, email address, plan limits, linked social sign-ins, connected AI apps and account deletion.

### GET /api/v1/users/me

Get your profile

Returns the signed-in customer's profile, including `status` (`pending_profile` until a username is set) and the two language settings. Needs a customer token. Works before a username is set.

### PATCH /api/v1/users/me

Update your profile

Changes only the fields you send. A new account sets its username here to finish sign-up, and can change it later. Needs a customer token.

### DELETE /api/v1/users/me

Delete your account

Signs out every session and schedules the account for deletion after a 15-day grace period. Signing in during the grace period cancels the deletion. Send `now=true` to delete at once. Needs a customer token.

### GET /api/v1/users/me/connections

List connected AI apps

Lists the AI apps (MCP clients) you allowed to use your Renzo account, newest first. Needs a customer token. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### DELETE /api/v1/users/me/connections/{connection_id}

Disconnect an AI app

Revokes an AI app's access at once; its tokens stop working on the next call. Needs a customer token.

### POST /api/v1/users/me/email/request

Request a code to change your email

Emails a code to the new address and returns a `challenge_token`. The address changes only after `POST /api/v1/users/me/email/verify` succeeds. Needs a customer token and a username on the account. Each request opens an independent challenge. Throttled per IP address and per email address.

### POST /api/v1/users/me/email/verify

Confirm your new email

Checks the code sent to the new address and moves the account to it. Returns the updated profile. Needs a customer token and a username on the account. Throttled per IP address.

### GET /api/v1/users/me/entitlements

Get your plan limits

Returns what your current plan grants: capability flags and limits, such as the maximum number of watchlists and active price alerts. Read limits here rather than hard-coding them. Needs a customer token.

### GET /api/v1/users/me/identities

List linked social sign-ins

Lists the social sign-in providers linked to your account, at most one per provider, so the list is not paged. Each item says when it was linked and last used. Needs a customer token.

### DELETE /api/v1/users/me/identities/{provider}

Unlink a social sign-in

Removes one provider from your account. It is always allowed, because an emailed code still opens the account. Needs a customer token.

### GET /api/v1/users/username-available

Check if a username is free

Says whether a username is valid and not taken, so a sign-up form can check as the user types. It never says which account holds a taken name. Needs a customer token.

## articles

Published articles: list them, or read one by slug. Full text may need a plan.

### GET /api/v1/articles

List articles

Lists published articles, newest first, in the requested language (falls back to English). Filter by `type`; guides appear only with `type=guide`. `symbol` (a symbol slug) keeps articles about that symbol (primary tag); it works with `type`. `published_after` keeps articles published at or after that time. Rows carry no body. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/articles/{slug}

Get an article

Returns one published article by slug, in the requested language (falls back to English). Some articles need sign-in (401 `article_sign_in_required`); on Premium articles a reader without the plan gets only the first blocks as a preview. An archived article answers 410. A token is optional.

### GET /api/v1/articles/{slug}/recommendations

Get related and trending articles

Returns published article summaries for a sidebar, without bodies or credentials. Related articles rank by shared primary symbols, then fall back to the same type; ties use newest publication first. Trending articles rank by counted reader views in the last seven days, then newest publication, so articles with no views still fill the list. The current article and related results are excluded from trending. Only content-engine articles are suggested; guides, Soro articles and internally authored articles are excluded. Each list contains up to `limit` results; empty lists are valid. The requested locale falls back to English unless `exact_locale=true`.

## search

Full-text search over published articles.

### GET /api/v1/search

Search articles

Full-text search over published articles in the requested language. Best match first, and a recent article ranks above an older match of the same quality. Filter by `type`, by `symbol` for the articles tagged with that symbol slug, and by `published_after` for articles published at or after that time. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/search/suggestions

Suggest articles as the visitor types

Published articles whose title holds every word of `q`, also a part word. Titles that start with `q` come first, then the newest. Articles that match `q` in the text fill any room left, newest first. A query with no word of 3 or more characters, or one that takes too long, returns no items. No token needed.

## shelves

Curated article lists: Editor's Pick and the Market Feed.

### GET /api/v1/shelves/editors-pick

List Editor's Pick articles

Lists the articles the editors picked, newest first. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/shelves/market-feed

List Market Feed articles

Lists articles tagged with at least one active symbol, newest first. Filter by `asset_class`. It carries no prices; read those from market data. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

## engagement

Like or dislike an article, read its totals, and report a read.

### GET /api/v1/articles/{article_id}/reactions

Get reaction totals

Returns the exact like and dislike totals of an article. With a token, it also returns your own reaction. A token is optional.

### PUT /api/v1/articles/{article_id}/reactions

Like or dislike an article

Sets your reaction to `like` or `dislike` and returns the new totals. Sending the same reaction twice changes nothing. Needs a customer token and a username on the account.

### DELETE /api/v1/articles/{article_id}/reactions

Remove your reaction

Removes your like or dislike and returns the new totals. Removing a reaction that is not there is not an error. Needs a customer token and a username on the account.

### POST /api/v1/articles/{article_id}/views

Report an article read

Counts one read of an article for its view totals. Call it after the reader has stayed on the article for a few seconds; repeat reads are deduplicated. No token needed.

## symbols

The catalog of tradable symbols and the articles tagged with each one.

### GET /api/v1/symbols

List symbols

Browses or searches the catalog of active symbols. Search with `q`; filter with `asset_class`. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/symbols/{slug}/articles

List articles about a symbol

Lists published articles tagged with one symbol: the articles about it first, then the ones that only mention it, each newest first. `role` keeps one of the two. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/tags

List tags

Lists active symbols that have at least one published article about them (primary tag). Each row has `article_count` (all time) and `recent_count` (last 30 days); an article counts once, whatever its languages. `sort=popular` (default) ranks by `recent_count`, then `article_count`, then ticker; `limit` is at most 50 and there is no cursor. `sort=name` lists by ticker A to Z. Cursor-paginated: pass `next_cursor` back as `cursor`, with the same filters, until `has_more` is false. `type` counts only the articles of that type and drops the tags with none. `q` matches the ticker or display name, as on `GET /symbols`, and also the ticker without its slash, so `XAUUSD` finds `XAU/USD`. With `sort=popular`, the ticker that equals `q` that way comes first. A one-character `q` matches that exact ticker only. `asset_class` keeps one asset class, as on `GET /symbols`. Each row also has `weekly_counts`, the counts of the last 8 weeks (7-day windows ending now, oldest first), and `latest_article`, the newest article in `locale` with the English fallback, or null. No token needed.

## market-data

Quotes, daily bars and the latest intraday price of catalog symbols. Bond symbols are US Treasury yields in percent.

### GET /api/v1/market-data

List market quotes

Lists catalog symbols with their latest daily quote, change, performance and 30-day sparkline. Filter by `asset_class`, or ask for up to 100 `slugs`. A quote without a fresh price says why in `error.code`. A `bond` symbol is a US Treasury yield in percent, one business day behind. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/market-data/{slug}

Get a market quote

Returns one symbol with its latest daily quote, change, performance and 30-day sparkline. No token needed.

### GET /api/v1/market-data/{slug}/bars

List daily bars

Lists the daily open, high, low and close bars of one symbol, newest day first. Limit the range with `start` and `end`. A symbol without a price source has no bars. A `bond` bar holds only the day's yield, as `close`. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/market-data/{slug}/latest-price

Get the latest intraday price

Returns the intraday price that price alerts check for one symbol, so an alert form can show it. 503 when there is no price right now. Needs a customer token and a username on the account.

## default-watchlists

Read-only system lists: Popular, Most active, Winners and Losers.

### GET /api/v1/default-watchlists/{kind}

Get a system watchlist

Returns a read-only list: `popular` (picked by Renzo) or the top 10 `most_active`, `winners` or `losers` of an `asset_class`, ranked from stored daily bars. No token needed.

## watchlists

Your own lists of symbols. Your plan sets how many you can keep.

### GET /api/v1/watchlists

List your watchlists

Lists your watchlists with their symbols. Your plan's cap is in `GET /api/v1/users/me/entitlements`. Needs a customer token and a username on the account. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### POST /api/v1/watchlists

Create a watchlist

Creates an empty watchlist. Refused once your plan's watchlist limit is reached. Needs a customer token and a username on the account.

### GET /api/v1/watchlists/{watchlist_id}

Get a watchlist

Returns one of your watchlists with its symbols in your order. Needs a customer token and a username on the account.

### PATCH /api/v1/watchlists/{watchlist_id}

Rename a watchlist

Changes the name of one of your watchlists. Needs a customer token and a username on the account.

### DELETE /api/v1/watchlists/{watchlist_id}

Delete a watchlist

Deletes one of your watchlists and its symbol list. Needs a customer token and a username on the account.

### POST /api/v1/watchlists/{watchlist_id}/symbols

Add a symbol to a watchlist

Adds a symbol at the end of the watchlist. Adding a symbol already on it changes nothing. Needs a customer token and a username on the account.

### PUT /api/v1/watchlists/{watchlist_id}/symbols/order

Reorder a watchlist

Sets the order of the symbols. Send every symbol ID on the list exactly once. Needs a customer token and a username on the account.

### DELETE /api/v1/watchlists/{watchlist_id}/symbols/{symbol_id}

Remove a symbol from a watchlist

Removes one symbol from the watchlist and returns the updated list. Needs a customer token and a username on the account.

## price-alerts

Alerts that message you when a symbol crosses a price.

### GET /api/v1/price-alerts

List your price alerts

Lists your price alerts, newest first, each with the symbol's current price. Filter by `symbol_id` or `state`. Your plan's cap is `price_alerts.max_active` in `GET /api/v1/users/me/entitlements`. Needs a customer token and a username on the account. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### POST /api/v1/price-alerts

Create a price alert

Creates an alert that messages you by email, Telegram or WhatsApp when the symbol's price crosses `target_price`. Refused once your plan's active-alert limit is reached. Needs a customer token and a username on the account. Send an `Idempotency-Key` header so a retry replays the first answer instead of acting twice.

### GET /api/v1/price-alerts/fired

List fired alerts

Lists the times your alerts fired, newest first, with the price that fired them. Filter by `symbol_id` or `alert_id`. Needs a customer token and a username on the account. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### POST /api/v1/price-alerts/stop

Stop an alert from its message link

Stops one alert using the signed token from the stop link in an alert message. The token is the only key, so no sign-in is needed. Clicking twice answers the same.

### GET /api/v1/price-alerts/{alert_id}

Get a price alert

Returns one of your price alerts with the symbol's current price. Needs a customer token and a username on the account.

### PATCH /api/v1/price-alerts/{alert_id}

Update a price alert

Changes the target, mode or channels of an alert, or pauses or resumes it. Re-arming a fired alert counts against your active-alert limit. Needs a customer token and a username on the account.

### DELETE /api/v1/price-alerts/{alert_id}

Delete a price alert

Deletes one of your alerts. Its past fires stay in the fired list. Needs a customer token and a username on the account.

## feedback

Send feedback to the Renzo team and read the replies.

### GET /api/v1/feedback

List your feedback

Lists your own feedback, newest first, with status and any staff reply. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### POST /api/v1/feedback

Send feedback

Sends feedback from the signed-in account and emails a receipt to the account address. Limited to 5 an hour and 20 a day per account, and 30 an hour per IP address. The same text again within 10 minutes returns the first item and sends no new receipt. Send an `Idempotency-Key` header so a retry replays the first answer.

## economic-calendar

Releases of economic indicators (one Release is one scheduled publication of an indicator, such as US CPI for October), and your personal .ics calendar feed.

### GET /api/v1/economic-calendar/countries

List calendar countries

Lists the countries that have releases in the calendar, for a country filter. No token needed.

### GET /api/v1/economic-calendar/feed

Get your calendar feed

Returns your personal .ics feed URL and its filters. Subscribe to the URL in any calendar app. The first read creates the feed. Needs a customer token.

### PUT /api/v1/economic-calendar/feed/filters

Update your calendar feed filters

Sets the countries, importance levels and language of the events in your feed. Needs a customer token and a username on the account. Send an `Idempotency-Key` header so a retry replays the first answer instead of acting twice.

### POST /api/v1/economic-calendar/feed/reset

Reset your calendar feed URL

Gives the feed a new secret URL. The old URL stops working at once. Needs a customer token and a username on the account. Send an `Idempotency-Key` header so a retry replays the first answer instead of acting twice.

### GET /api/v1/economic-calendar/feed/{token}.ics

Download the calendar feed (.ics)

The iCalendar file that calendar apps poll. The secret token in the path is the only key, so no sign-in is needed; keep the URL private. It holds releases from the last 7 days to 5 weeks ahead.

### GET /api/v1/economic-calendar/indicators/{indicator_id}

Get an economic indicator

Returns one indicator, such as US CPI, with its country, importance and description. No token needed.

### GET /api/v1/economic-calendar/indicators/{indicator_id}/history

List an indicator's past releases

Lists the past releases of one indicator, newest first, for a history chart or table. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/economic-calendar/releases

List economic releases

Lists releases (scheduled publications of economic indicators, such as US CPI) in a date range, earliest first, with forecast, previous and actual values. Defaults to today. Filter by country, importance and category. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/economic-calendar/releases/{release_id}

Get an economic release

Returns one release with its indicator and values. No token needed.

## market-holidays

Exchange closures and early closes.

### GET /api/v1/market-holidays

List market holidays

Lists exchange closures and early closes in a date range, earliest first. Defaults to today. Filter by `markets`. A date the exchange has not yet published has `estimated` true. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/market-holidays/markets

List markets

Lists the exchanges in the holiday calendar. No token needed.

## cfd-calendars

Futures roll dates and index dividend adjustments that move CFD prices.

### GET /api/v1/cfd-calendars/dividends

List index dividend adjustments

Lists the estimated dividend points per stock index and ex-date, which index CFD prices are adjusted by. Filter by `indices`. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/cfd-calendars/dividends/indices

List dividend calendar indices

Lists the stock indices in the dividend adjustment calendar, for a filter. No token needed.

### GET /api/v1/cfd-calendars/rolls

List futures rolls

Lists the dates when futures-based CFDs roll from the expiring contract to the next one, with the estimated price gap. Filter by `roots` and `categories`. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### GET /api/v1/cfd-calendars/rolls/instruments

List futures roots

Lists the futures roots in the roll calendar, for a filter. No token needed.

## dividends

Cash dividends of US-listed stocks and funds by ex-date.

### GET /api/v1/dividends

List US stock dividends

Lists cash dividends of exchange-listed US stocks and funds by ex-date, with the yield. OTC tickers are left out. Filter by `tickers` or search with `q`. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

## notifications

Notification types, your channel preferences and messaging connections.

### GET /api/v1/notifications/channels

List your channels

Lists the delivery channels (email, WhatsApp, Telegram) and whether each can reach you now. Needs a customer token.

### DELETE /api/v1/notifications/channels/{channel}

Disconnect a messaging app

Stops delivery on the channel at once and forgets the connected account. Disconnecting twice is not an error. Needs a customer token and a username on the account.

### POST /api/v1/notifications/channels/{channel}/connect

Start connecting a messaging app

Returns a single-use, short-lived link that connects a messaging account, such as Telegram or WhatsApp, to your Renzo account. Open it in that app to finish. WhatsApp needs any paid plan. Needs a customer token and a username on the account.

### GET /api/v1/notifications/preferences

Get your notification preferences

Returns, for each notification type and channel, whether you receive it. A cell you never set shows the type's default. Needs a customer token.

### PUT /api/v1/notifications/preferences

Update your notification preferences

Turns notification types on or off per channel. Cells you leave out keep their current value. WhatsApp needs any paid plan. Needs a customer token and a username on the account.

### GET /api/v1/notifications/types

List notification types

Lists the kinds of notifications Renzo sends, such as price alerts, with their default channels. Needs a customer token. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

## email

Unsubscribe links in Renzo emails. No sign-in needed.

### POST /api/v1/email/one-click-unsubscribe

One-click unsubscribe (mail providers)

The RFC 8058 one-click unsubscribe target that mailbox providers post to from the `List-Unsubscribe` header. The `token` query parameter is the only key; the form body is ignored. No sign-in needed.

### POST /api/v1/email/unsubscribe

Unsubscribe from an email link

Stops the kind of email named by the token from the unsubscribe link in an email body. No sign-in needed. Calling twice answers the same.

## products

Plans on sale and their prices.

### GET /api/v1/products

List plans and prices

Lists the plans on sale with their active prices and what each plan grants. The free plan has no price. No token needed. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

## billing

Checkout, your subscription, plan changes, cancellation and orders.

### GET /api/v1/billing

Get your billing overview

Returns your live subscription, if any, and your first page of orders in one call. Needs a customer token.

### POST /api/v1/billing/checkout-sessions

Start a checkout

Creates a hosted checkout page for one price and returns its URL; send the user there to pay. You have at most one open checkout: the same price answers the open page again, and another price closes it first. Refused while you already have a live subscription; change its price instead. Needs a customer token and a username on the account. Send an `Idempotency-Key` header so a retry replays the first answer instead of acting twice.

### GET /api/v1/billing/checkout-sessions/preview

Preview a checkout

Shows what a checkout of one price charges now and at the next bill, including any referral discount and referral credit. Changes nothing. Needs a customer token and a username on the account.

### GET /api/v1/billing/orders

List your orders

Lists your orders and payments, newest first. Needs a customer token. Cursor-paginated: pass `next_cursor` back as `cursor` until `has_more` is false.

### POST /api/v1/billing/portal-sessions

Open the billing portal

Returns a short-lived URL of the payment provider's portal, where you update the card and download invoices. Each call opens a new session. Needs a customer token and a username on the account.

### GET /api/v1/billing/subscription

Get your subscription

Returns your live subscription: plan, price, period end and any cancellation or downgrade booked for the period end. 404 when you have none. Needs a customer token.

### PUT /api/v1/billing/subscription/cancellation

Cancel your subscription

Cancels at the end of the current period. Access stays until `current_period_end`, with no refund, and a booked downgrade is dropped. Needs a customer token and a username on the account.

### DELETE /api/v1/billing/subscription/cancellation

Undo a cancellation

Keeps a subscription that was set to cancel at the period end. A subscription not set to cancel is returned unchanged. Needs a customer token and a username on the account.

### PUT /api/v1/billing/subscription/price

Change your plan

Moves your subscription to another price. An upgrade charges the quoted amount now; a downgrade takes effect at the period end. A declined card answers 402. Needs a customer token and a username on the account. Send an `Idempotency-Key` header so a retry replays the first answer instead of acting twice.

### POST /api/v1/billing/subscription/price/preview

Preview a plan change

Quotes what moving your subscription to another price costs now. Changes nothing. An upgrade must be previewed shortly before it is confirmed. Needs a customer token and a username on the account.

## referrals

Your referral link and totals, and adding a friend's code.

### GET /api/v1/referrals/codes/{code}

Check a referral code

Says whether a referral code is active and what discount it gives, for a live check on a sign-up form. Case does not matter. No token needed. Throttled per IP address.

### GET /api/v1/referrals/me

Get your referral link and totals

Returns your referral code and link with totals of friends who joined and rewards earned. The code is made on the first read. Friends are never named. Needs a customer token and a username on the account.

### POST /api/v1/referrals/me/referrer

Add a friend's referral code

Links your account to the friend who referred you. Allowed once, and only before you ever had a plan. Needs a customer token and a username on the account. Send an `Idempotency-Key` header so a retry replays the first answer instead of acting twice.

### GET /api/v1/referrals/program

Get referral program status

Says whether the referral program is on and what discount a friend gets. Cached. No token needed. Throttled per IP address.
