Skip to main content
Returns the tag/category metadata used for filtering and search.
Kalshi: doesn’t expose per-market tags — instead returns the flattened global category-keyed map. The market_id argument is ignored on Kalshi (every input returns the same union).Polymarket: returns the tags attached to the specific market via GET /markets/{id}/tags.

Parameters

market_id
string
required
Native market identifier — Kalshi ticker or Polymarket condition ID.

Returns

tags
Tag[]
let tags = ex.fetch_market_tags("KXBTC-25MAR14-T20000").await?;
for t in &tags {
    println!("{}", t.name);
}
[
  { "id": "Politics", "name": "Politics", "slug": "politics" },
  { "id": "US Elections", "name": "US Elections", "slug": "us-elections" }
]