Skip to content

docs: Address Labels API (Metadata.Labels cube) - #236

Merged
buddies2705 merged 1 commit into
mainfrom
docs/address-labels-api
Aug 7, 2026
Merged

docs: Address Labels API (Metadata.Labels cube)#236
buddies2705 merged 1 commit into
mainfrom
docs/address-labels-api

Conversation

@buddies2705

@buddies2705 buddies2705 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Documents the newly released Labels API, which shipped without docs.

New page: docs/cubes/address-labels-api.md/docs/cubes/address-labels-api

What it covers

The two contract rules — Address is a mandatory filter and in: takes up to 100 addresses — plus the behaviours that actually bite users:

  • Address accepts only is/in; there is no negation, and omitting it returns "Labels query requires a Address filter in the where clause"
  • matching is case-sensitive, so a checksummed EVM address silently returns zero rows
  • records are append-only — an address repeats per chain and per recording pass — so the recommended default query folds that with limitBy: {by: [Address, Chain, Label_Type], count: 1}
  • the cube is absent from the subscription root, so labels can't be streamed; poll RecordedAt instead
  • verified chain slugs and the label-type taxonomy, each confirmed against a known address

Verification

Every fact and all 8 GraphQL examples were executed live against streaming.bitquery.io before landing — all 8 return non-empty data. Site builds clean.

SEO

  • URL, H1, and title target "address labels API"
  • title renders at exactly 60 chars, so the | Bitquery Docs suffix survives the title trimmer
  • description unique at 158 chars
  • sections are question-shaped ("How to check if an address is an exchange wallet") for AEO/GEO — the July audit found answer-shaped content on only 5% of pages
  • 8-item FAQ emits FAQPage JSON-LD, which the audit flagged as under-used
  • Balances cube gains an inbound internal link

The 100-address batch size is stated as a firm limit throughout (6 places, no hedging) so readers size their batches correctly.

Data quirks worth a look (labels team)

The ETH USDT contract carries a cex-hot-wallet: bitfinex label, and the Tron USDT contract carries cex-deposit-address: coinex-deposit. Both were kept out of examples that claim clean output.

The only token-clone example I could verify was Polygon's canonical WMATIC contract, which looks like a mislabel — so the page documents the type in the reference table but deliberately builds no "detect fake tokens" walkthrough around it.

🤖 Generated with Claude Code

The Labels API shipped without docs. This adds a page for the Metadata.Labels
cube covering the two contract rules — Address is a mandatory filter, and
in: accepts up to 100 addresses — plus the behaviours that bite you in
practice.

Every fact and all 8 GraphQL examples were verified live against
streaming.bitquery.io before landing:

- Address accepts only is/in (no negation); omitting it returns
  "Labels query requires a Address filter in the where clause"
- matching is case-sensitive, so checksummed EVM addresses return zero rows
- records are append-only, so an address repeats per chain and per recording
  pass; the recommended default query folds that with
  limitBy: {by: [Address, Chain, Label_Type], count: 1}
- the cube is absent from the subscription root, so labels cannot be
  streamed — poll RecordedAt instead
- chain slugs (ethereum, bsc, polygon, arbitrum, base, avalanche-c, fantom,
  ethpow, bitcoin, tron, solana) and the label-type taxonomy were each
  confirmed against a known address

SEO: URL and H1 target "address labels API"; title renders at exactly 60
chars so the brand suffix survives the title trimmer; description is unique
at 158 chars; sections are question-shaped for AEO, and an 8-item FAQ adds
FAQPage JSON-LD, which the July audit flagged as under-used. Balances cube
gains an inbound link.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@buddies2705
buddies2705 merged commit aa7d2c3 into main Aug 7, 2026
1 check passed
buddies2705 pushed a commit that referenced this pull request Aug 7, 2026
It landed in #236 as one item under "Understanding Cubes", next to the EVM
and Solana cube pages. Labels are a distinct product surface, not a cube
variant, and the section needs room to grow.

Moves the page into docs/labels/ and adds a top-level sidebar category
following the Stablecoin APIs pattern (generated-index over its own folder),
positioned with the other API product sections between Stablecoin APIs and
MCP. The page carries sidebar_label "Overview" so the nav reads
"Address Labels API > Overview" rather than repeating the full page title.

The URL becomes /docs/labels/address-labels-api, still carrying the target
keyword. #236 already shipped and deployed the cubes URL, which is live and
serving, so this adds a client redirect from /docs/cubes/address-labels-api/
rather than leaving it to 404.

Title, description, canonical, and the FAQPage/TechArticle/BreadcrumbList
JSON-LD were re-verified in the production build at the new URL, the
generated redirect page was confirmed to point at it, and the inbound link
from the Balances cube was repointed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant