> For the complete documentation index, see [llms.txt](https://docs.nansen.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nansen.ai/api/changelog/09-11-2026-premium-labels-strict-boolean.md).

# 09-11-2026: premium\_labels Accepts Only true or false

On `/api/v1/tgm/holders`, `/api/v1/tgm/pnl-leaderboard`, `/api/v1/tgm/perp-pnl-leaderboard` and `/api/v1/perp-leaderboard`, `premium_labels` now accepts only a JSON boolean (`true` or `false`) or `null`. Other values, such as `"true"`, `1`, `"yes"` or `"on"`, return HTTP 422 with `"code": "invalid_field_value"` and are not charged. Previously, they could return premium labels billed at the standard cost.

Requests paid with x402 or MPP that set `premium_labels: true` on these endpoints now return HTTP 403 with `"code": "plan_upgrade_required"`, before any payment is taken. Premium labels require an API key on a paid plan. Requests that omit `premium_labels` or set it to `false` work as before and return free-tier labels.

Requests sending `premium_labels: true` with an API key on a paid plan are unchanged and cost 150 credits.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nansen.ai/api/changelog/09-11-2026-premium-labels-strict-boolean.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
