outcomeNavTags
Returns the whole Outcome navigation tree in one call: top-level categories,
their tag groups, and optional sub-tags. Each node says how to filter
outcomeMeta when a user picks it. The request takes
no filters.
POST/infotype
outcomeNavTagsBuild the Outcome category bar and tag menu; each node carries the category / tag to pass to outcomeMeta.
Request body
typestringrequired
Must be `outcomeNavTags`.
"outcomeNavTags"Request example
curl -X POST https://rpc.txflow-testnet.xyz/info \
-H "Content-Type: application/json" \
-H "x-api-version: 2026-08-16" \
-d '{
"type": "outcomeNavTags"
}'Try it
Response 200
codeinteger
`0` on success.
dataOutcomeNavTagsResponse
categoriesOutcomeNavCategory[]
In display order.
successboolean
`false` on error, with `code` set and the text in `message` instead of `data`.
Response example
{
"success": true,
"code": 0,
"data": {
"categories": [
{
"slug": "sports",
"label": "Sports",
"category": "sports",
"count": 153,
"children": [
{
"slug": "soccer",
"label": "Football",
"queryTags": [
"soccer"
],
"category": "sports",
"position": null,
"count": 153,
"children": [
{
"slug": "EPL",
"label": "EPL",
"queryTags": [
"soccer",
"EPL"
],
"category": "sports",
"count": 26
}
]
}
]
}
]
}
}Filtering outcomeMeta by a node
| Level | Example | outcomeMeta filter |
|---|---|---|
| Category | sports | category: "sports" |
| Tag group | soccer | category: "sports", tag: "soccer" |
| Sub-tag | EPL | category: "sports", tag: "soccer,EPL" |
- Send the node's
queryTagscomma-joined astag. Multiple tags are AND-filtered. - Send the node's own
category, not the slug of the entry it is listed under. They can differ: the top-leveliranentry is a tag (it carriesqueryTags: ["iran"]) whosecategoryisgeopolitics. slugandqueryTagsare case-sensitive (EPL,5M). Renderlabelas-is.
{ "type": "outcomeMeta", "exchangeId": 1, "category": "sports", "tag": "soccer,EPL", "limit": 20 }The tree changes rarely. Fetch it once per session and cache it.