Quickstart
Make a first call with no sign-in, then sign in with an email code and make an authenticated call.
This takes about five minutes. You need curl, Python 3 with requests, or Node.js 18 or later. You also need an email inbox you can read.
The examples use the UAT (test) server:
export BASE=https://api.uat.renzo-digital.comMake a call with no sign-in
Public reads need no token. List the three newest articles:
curl "$BASE/api/v1/articles?limit=3"The answer is 200 with a page of articles. List rows never carry the article body:
{
"items": [
{
"id": "f43679d3-0ab5-5f68-8bda-f0a4c5560594",
"slug": "fed-holds-rates-steady-as-inflation-cools",
"title": "Fed holds rates steady as inflation cools",
"type": "news",
"access_level": "public",
"locale": "en",
"requested_locale": "en",
"published_at": "2026-11-04T13:30:00Z",
"symbols": [
{ "ticker": "US500", "slug": "us500-index", "asset_class": "index" }
]
}
],
"has_more": true,
"next_cursor": "eyJrIjoiMjAyNi0xMS0wNFQxMzozMDowMFoifQ",
"limit": 3
}The JSON above is trimmed. To get the next page, send next_cursor back as cursor. See Pagination.
Ask for a sign-in code
Send your email address. The answer is 202, and it is the same whether or not the address has an account.
curl -X POST "$BASE/api/v1/auth/otp/request" \
-H "Content-Type: application/json" \
-d '{"email": "you@example.com"}'{
"challenge_token": "ch_7Hq2mXz9Kp4TnV1b",
"expires_at": "2026-11-04T13:40:00Z",
"code_expires_at": "2026-11-04T13:35:00Z",
"attempts_remaining": 5
}An email arrives with a six-digit code. The code works for 10 minutes. Keep the challenge_token.
Trade the code for tokens
curl -X POST "$BASE/api/v1/auth/otp/verify" \
-H "Content-Type: application/json" \
-d '{"challenge_token": "ch_7Hq2mXz9Kp4TnV1b", "code": "482913"}'The answer is 200:
{
"tokens": {
"access_token": "eyJhbGciOiJIUzI1NiIs...example",
"refresh_token": "eyJhbGciOiJIUzI1NiIs...refresh-example",
"token_type": "Bearer",
"expires_in": 900,
"expires_at": "2026-11-04T13:45:00Z",
"refresh_expires_at": "2026-12-04T13:30:00Z"
},
"profile": {
"id": "eca8506d-1dfa-56a2-8765-96305e99f89c",
"email": "you@example.com",
"username": null,
"status": "pending_profile",
"country": null,
"ui_language": "en",
"article_language": "en",
"timezone": "UTC",
"currency": "USD",
"mobile": null,
"created_at": "2026-11-04T13:30:00Z",
"last_login_at": "2026-11-04T13:30:00Z"
},
"created": true
}created is true on the first sign-in: the account was just made. The access token lives 15 minutes. The refresh token renews it, see Authentication.
A wrong code answers 401 otp_code_incorrect. After 5 wrong codes, the challenge answers otp_too_many_attempts: ask for a new code.
Make an authenticated call
Send the access token in the Authorization header:
export TOKEN=eyJhbGciOiJIUzI1NiIs...example
curl "$BASE/api/v1/users/me" -H "Authorization: Bearer $TOKEN"{
"id": "eca8506d-1dfa-56a2-8765-96305e99f89c",
"email": "you@example.com",
"username": null,
"status": "pending_profile",
"ui_language": "en",
"article_language": "en",
"timezone": "UTC",
"currency": "USD",
"country": null,
"mobile": null,
"created_at": "2026-11-04T13:30:00Z",
"last_login_at": "2026-11-04T13:30:00Z"
}Finish the profile
A new account has status pending_profile. It can read, but most writes answer 409 profile_incomplete until it has a username. Set one:
curl -X PATCH "$BASE/api/v1/users/me" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"username": "marketwatcher"}'The answer is 200 with the profile, now with "status": "active". A name someone else holds answers 409 username_taken.
Next steps
- Authentication: refresh, sign-out, social sign-in and every auth error.
- Errors: how to read an error and what to retry.
- Watchlists and Price alerts: the main personal features.
- API reference: every operation, with code samples.