# Symbols

> The catalog of tradable symbols, and the articles about each one.

URL: https://renzo-digital.com/docs/resources/symbols

A symbol is one instrument in the Renzo catalog, such as a stock, an index, a currency pair, a coin or a bond yield. Symbols tie articles, quotes, watchlists and price alerts together. Anyone may read them, no token needed.

## Endpoints

| Operation | What it does | Auth |
| --- | --- | --- |
| `GET /api/v1/symbols` | Browse or search active symbols. Cursor-paginated. | None |
| `GET /api/v1/tags` | List the symbols that have published articles about them, with article counts. Popular or by name. | None |
| `GET /api/v1/symbols/{slug}/articles` | List published articles tagged with one symbol: the articles about it first, then the mentions, each newest first. Filter by tag `role`. Cursor-paginated. | None |

## Example: search for a symbol

```bash tab="curl"
curl "$BASE/api/v1/symbols?asset_class=commodity&q=gold&limit=1"
```

```python tab="Python"
import os

import requests

BASE = os.environ["BASE"]

answer = requests.get(
    f"{BASE}/api/v1/symbols",
    params={"asset_class": "commodity", "q": "gold", "limit": 1},
)
answer.raise_for_status()
print(answer.json())
```

```js tab="Node.js"
const { BASE } = process.env;

const answer = await fetch(`${BASE}/api/v1/symbols?asset_class=commodity&q=gold&limit=1`);
if (!answer.ok) throw new Error(`HTTP ${answer.status}`);
console.log(await answer.json());
```

```json title="Response"
{
  "items": [
    {
      "id": "ef262e08-a113-551b-af16-238b630e7083",
      "slug": "xauusd-forex",
      "ticker": "XAUUSD",
      "display_name": "Gold / US Dollar",
      "exchange": "FOREX",
      "asset_class": "commodity",
      "is_active": true,
      "price_scale": 2,
      "tags": ["metals", "safe-haven"],
      "created_at": "2026-09-01T08:00:00Z",
      "updated_at": "2026-11-04T13:30:00Z"
    }
  ],
  "next_cursor": "eyJrIjoiMjAyNi0xMS0wNFQxMzozMDowMFoifQ",
  "has_more": true,
  "limit": 1
}
```

Then list the articles about it, with the `slug`:

```bash tab="curl"
curl "$BASE/api/v1/symbols/xauusd-forex/articles?limit=1"
```

```python tab="Python"
import os

import requests

BASE = os.environ["BASE"]

answer = requests.get(
    f"{BASE}/api/v1/symbols/xauusd-forex/articles",
    params={"limit": 1},
)
answer.raise_for_status()
print(answer.json())
```

```js tab="Node.js"
const { BASE } = process.env;

const answer = await fetch(`${BASE}/api/v1/symbols/xauusd-forex/articles?limit=1`);
if (!answer.ok) throw new Error(`HTTP ${answer.status}`);
console.log(await answer.json());
```

Rows are the same as in [Articles](https://renzo-digital.com/docs/resources/articles).

## Tags

A tag is an active symbol with at least one published article about it (a `primary` tag). `GET /api/v1/tags` lists them. Each row has the symbol fields plus `article_count` (all time), `recent_count` (last 30 days), `weekly_counts` and `latest_article`. An article counts once, whatever its languages. Drafts, archived articles and articles that only mention the symbol are not counted.

```bash tab="curl"
curl "$BASE/api/v1/tags?sort=popular&limit=5"
```

```python tab="Python"
import os

import requests

BASE = os.environ["BASE"]

answer = requests.get(f"{BASE}/api/v1/tags", params={"sort": "popular", "limit": 5})
answer.raise_for_status()
print(answer.json())
```

```js tab="Node.js"
const { BASE } = process.env;

const answer = await fetch(`${BASE}/api/v1/tags?sort=popular&limit=5`);
if (!answer.ok) throw new Error(`HTTP ${answer.status}`);
console.log(await answer.json());
```

```json title="Response"
{
  "items": [
    {
      "id": "ef262e08-a113-551b-af16-238b630e7083",
      "slug": "xauusd-forex",
      "ticker": "XAUUSD",
      "display_name": "Gold / US Dollar",
      "exchange": "FOREX",
      "asset_class": "commodity",
      "is_active": true,
      "article_count": 42,
      "recent_count": 9,
      "weekly_counts": [1, 0, 2, 3, 1, 4, 2, 3],
      "latest_article": {
        "title": "Gold holds near record as the dollar slips",
        "slug": "gold-holds-near-record",
        "published_at": "2026-11-04T13:30:00Z"
      }
    }
  ],
  "next_cursor": null,
  "has_more": false,
  "limit": 5,
  "total": null,
  "page": null,
  "page_size": null,
  "total_pages": null
}
```

- **Popular.** `sort=popular` is the default. It ranks by `recent_count`, then `article_count`, then ticker. `limit` may not pass 50, and there is no cursor.
- **By name.** `sort=name` lists by ticker, A to Z, with a cursor. Send the same `type`, `q` and `asset_class` with every page. A cursor from another list or with other filters answers `400` [`invalid_cursor`](https://renzo-digital.com/docs/error-codes#invalid_cursor).
- **One article type.** `type=news`, `opinion` or `editorial` counts only the articles of that type. A tag with none of that type is not listed. Guides have no tags, so `type=guide` answers `422` [`validation_failed`](https://renzo-digital.com/docs/error-codes#validation_failed). Example: `GET /api/v1/tags?type=opinion&sort=popular&limit=6`.
- **Search.** `q` matches part of the ticker or the display name, as on `GET /api/v1/symbols`. It also matches the ticker without its slash, the way a tag chip shows it: `q=XAUUSD` finds `XAU/USD`. With `sort=popular`, the tag whose chip text equals `q`, in any case, comes first, so a hashtag lookup finds it on the first page. A one-character `q` matches only the ticker that is exactly that character, so `q=F` finds `F` and not `FFF`. `q` may be up to 64 characters; a longer value answers `422` [`validation_failed`](https://renzo-digital.com/docs/error-codes#validation_failed). `q` and `type` work with both sorts.
- **One market.** `asset_class` keeps the tags of one asset class, with the same values as on `GET /api/v1/symbols`. It works with both sorts, `type` and `q`. Example: `GET /api/v1/tags?asset_class=forex&sort=name`.
- **Weekly counts.** `weekly_counts` holds 8 numbers, oldest first: the articles about the symbol in each of the last 8 weeks. A week is a 7-day window that ends now, so the last number is the past 7 days. With `type`, only that type counts.
- **Latest article.** `latest_article` is the newest article about the symbol, with its `title`, `slug` and `published_at`. Send `locale` (as on [Articles](https://renzo-digital.com/docs/resources/articles)) to read it in that language; an article with no translation in it falls back to English. It is `null` when no article reads in either. An unknown `locale` answers `422` [`validation_failed`](https://renzo-digital.com/docs/error-codes#validation_failed).
- **Empty fields stay.** This list always sends every field, so an empty one is `null`, not missing.
- **Articles of a tag.** Send the `slug` as `symbol` to [list articles](https://renzo-digital.com/docs/resources/articles), or call `GET /api/v1/symbols/{slug}/articles?role=primary`.

## Rules and edge cases

- **Classes.** `asset_class` is one of `equity`, `index`, `forex`, `crypto`, `commodity`, `bond`, `etf`, `future` or `option`.
- **Search.** `q` matches part of the ticker or the display name. It may be up to 64 characters. A longer value answers `422` [`validation_failed`](https://renzo-digital.com/docs/error-codes#validation_failed). No match answers `200` with an empty `items` list.
- **Active only.** Only active symbols are listed. A retired symbol answers `404` [`symbol_not_found`](https://renzo-digital.com/docs/error-codes#symbol_not_found) on the articles call.
- **Order and paging.** The list is sorted by ticker. `limit` defaults to 20 and may not pass 100. See [Pagination](https://renzo-digital.com/docs/concepts/pagination).
- **Bonds.** A `bond` symbol is a US Treasury yield, for example `us-10y-treasury`. Its quote is in percent. See [Market data](https://renzo-digital.com/docs/resources/market-data).
- **`price_scale`.** It is how many decimals a client should show for this symbol's prices.
- **Article filters.** `GET /api/v1/symbols/{slug}/articles` takes `locale` and `exact_locale`, as in [Articles](https://renzo-digital.com/docs/resources/articles).
- **Tag role.** By default the list holds every article tagged with the symbol: first the articles about it (`primary`), then those that only mention it, each part newest first. A cursor carries on across that switch. Send `role=primary` for only the articles about it, or `role=mentioned` for those whose body only names it. Any other value answers `422` [`validation_failed`](https://renzo-digital.com/docs/error-codes#validation_failed). Each article row shows the `role` of each of its symbols. See [Articles](https://renzo-digital.com/docs/resources/articles).
- **Symbol ID or slug.** Watchlists and price alerts take the symbol `id`. Quotes, bars and article lists take the `slug`.

## Errors

| Code | Status | When |
| --- | --- | --- |
| [`symbol_not_found`](https://renzo-digital.com/docs/error-codes#symbol_not_found) | 404 | No active symbol has this slug. |
| [`invalid_cursor`](https://renzo-digital.com/docs/error-codes#invalid_cursor) | 400 | The cursor is damaged, belongs to another list or was sent with other filters. |

Sign-in and request errors, such as [`token_expired`](https://renzo-digital.com/docs/error-codes#token_expired) and [`validation_failed`](https://renzo-digital.com/docs/error-codes#validation_failed), can come from any call. See [Errors](https://renzo-digital.com/docs/concepts/errors).

## Reference

- [Symbols in the API reference](https://renzo-digital.com/docs/api#tag/symbols)
