Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

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 outcomeNavTags

Build 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
POST https://rpc.txflow-testnet.xyz/info
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

LevelExampleoutcomeMeta filter
Categorysportscategory: "sports"
Tag groupsoccercategory: "sports", tag: "soccer"
Sub-tagEPLcategory: "sports", tag: "soccer,EPL"
  • Send the node's queryTags comma-joined as tag. 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-level iran entry is a tag (it carries queryTags: ["iran"]) whose category is geopolitics.
  • slug and queryTags are case-sensitive (EPL, 5M). Render label as-is.
{ "type": "outcomeMeta", "exchangeId": 1, "category": "sports", "tag": "soccer,EPL", "limit": 20 }

The tree changes rarely. Fetch it once per session and cache it.