[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [WTT tournament results](https://spiral.ai/integrations/codex/wtt-tournament-results)

# How to Use WTT tournament results in Codex

Returns official match results for a WTT event, with rounds, competitors, winners, and game scores. Use it to summarize a tournament or compare results across its rounds.

|  |  |
| --- | --- |
| Model | WTT tournament results |
| Available through | Alexandria |
| Category | Sports |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with WTT tournament results in Codex

- Use WTT tournament results for Singapore Smash 2025 and build a table of the men’s singles final rounds with competitors, winners, and game scores.
- Use WTT tournament results to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from WTT tournament results and tell me what changed since last week.
- Check WTT tournament results and summarize what you find in three bullet points.
- Pull the newest data from WTT tournament results and give me the result as a table.

## How to set up WTT tournament results in Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run WTT tournament results**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "worldtabletennis-com/table-tennis/event_results",
    "input": {
      "event_id": 1
    }
  }'
```

Then paste one of the prompts above: Codex finds WTT tournament results on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## WTT tournament results tools and prices

- [World Table Tennis · Event results](https://spiral.ai/tools/alexandria/worldtabletennis-com/table-tennis/event_results) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| take | 1 to 500 | 50 | Maximum matches returned, latest first. |
| round |  | — | FNL, SFNL, QFNL, 8FNL, R32, R64, R128, RND1, RND2, RND3 or GP (any group; GP01.. for one group). |
| sub_event | MS, WS, MD, WD, XD, MT, WT, XT | — | Men/Women Singles, Men/Women/Mixed Doubles, Men/Women/Mixed Team. |
| include_scores |  | — | Embed the shaped match card under `match`; false returns the index only. |

## What can you do with WTT tournament results in Codex?

Build a table tennis results browser that connects tournament records, match cards, and dated standings. A coding agent can add views for game scores and ranking publication dates to your project.

### Weekly table tennis briefing

Combine tournament dates, official results, and selected match cards into a weekly briefing. Add current standings and the ranking publication date so readers can place the performances in context.

### Tournament wrap-up

Find a completed tournament, summarize its final rounds, and examine the decisive matches. Include a clearly dated comparison with current ITTF standings.

### National association performance review

Review Japan’s or France’s results across selected WTT tournaments, highlight close matches, and compare the athletes’ current standings. Use the published ranking edition to date the comparison.

### Sports desk fact-check

Check a draft’s tournament dates, venue, match scores, and ranking claims against the returned records. Confirm which ranking edition the draft cites before approving its standings references.

### Deciding-game match analysis

Find matches that reached a deciding game and calculate game margins from their scores. Use current rankings as a separately dated comparison of the competitors.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Codex guides](https://spiral.ai/integrations/codex)

## WTT tournament results in other agents

- [Amp](https://spiral.ai/integrations/amp/wtt-tournament-results)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/wtt-tournament-results)
- [Claude](https://spiral.ai/integrations/claude-desktop/wtt-tournament-results)
- [Claude Code](https://spiral.ai/integrations/claude-code/wtt-tournament-results)
- [Cline](https://spiral.ai/integrations/cline/wtt-tournament-results)
- [Cursor](https://spiral.ai/integrations/cursor/wtt-tournament-results)
- [Devin](https://spiral.ai/integrations/devin/wtt-tournament-results)
- [dots](https://spiral.ai/integrations/dots/wtt-tournament-results)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/wtt-tournament-results)
- [Gemini](https://spiral.ai/integrations/gemini/wtt-tournament-results)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/wtt-tournament-results)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/wtt-tournament-results)
- [goose](https://spiral.ai/integrations/goose/wtt-tournament-results)
- [Grok](https://spiral.ai/integrations/grok/wtt-tournament-results)
- [Grok Build](https://spiral.ai/integrations/grok-build/wtt-tournament-results)
- [Hermes](https://spiral.ai/integrations/hermes/wtt-tournament-results)
- [Instinct](https://spiral.ai/integrations/instinct/wtt-tournament-results)
- [Manus](https://spiral.ai/integrations/manus/wtt-tournament-results)
- [Muse](https://spiral.ai/integrations/muse/wtt-tournament-results)
- [Muse Code](https://spiral.ai/integrations/muse-code/wtt-tournament-results)
- [n8n](https://spiral.ai/integrations/n8n/wtt-tournament-results)
- [Notion](https://spiral.ai/integrations/notion/wtt-tournament-results)
- [OpenClaw](https://spiral.ai/integrations/openclaw/wtt-tournament-results)
- [opencode](https://spiral.ai/integrations/opencode/wtt-tournament-results)
- [Perplexity](https://spiral.ai/integrations/perplexity/wtt-tournament-results)
- [Raycast](https://spiral.ai/integrations/raycast/wtt-tournament-results)
- [VS Code](https://spiral.ai/integrations/vscode/wtt-tournament-results)
- [Windsurf](https://spiral.ai/integrations/windsurf/wtt-tournament-results)
- [Zapier](https://spiral.ai/integrations/zapier/wtt-tournament-results)

## More Codex guides

- [WTT tournament calendar](https://spiral.ai/integrations/codex/wtt-tournament-calendar)
- [Yahoo Fantasy Basketball player rankings](https://spiral.ai/integrations/codex/yahoo-fantasy-basketball-player-rankings)
- [WTT match details](https://spiral.ai/integrations/codex/wtt-match-details)
- [Yahoo Fantasy Basketball player search](https://spiral.ai/integrations/codex/yahoo-fantasy-basketball-player-search)
- [StartWho NFL weekly results](https://spiral.ai/integrations/codex/startwho-nfl-weekly-results)
- [Yahoo Fantasy Basketball player stats](https://spiral.ai/integrations/codex/yahoo-fantasy-basketball-player-stats)

## Questions about WTT tournament results in Codex

**Can Codex use WTT tournament results?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run WTT tournament results like any built-in tool.

**How much does WTT tournament results cost in Codex?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need an Alexandria account to use WTT tournament results in Codex?**

No. Spiral runs WTT tournament results on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up WTT tournament results in Codex?**

About two minutes: add the hosted server, then sign in.

**Does Codex wait while WTT tournament results runs?**

WTT tournament results runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**What public table tennis data does this source cover?**

The documented coverage includes WTT events, official match results and match cards, plus senior and youth ITTF rankings.

**When does ITTF publish new rankings?**

From 2026, senior and youth rankings are scheduled for Mondays at 08:00 UTC. That schedule applies to ranking publication, rather than individual match results.

**How can I identify a particular ranking edition?**

ITTF labels editions with a year, week number, and publication date. For example, its senior ranking index identifies 2026 Week 47 as 16 November 2026.

**Does ITTF publish youth doubles rankings too?**

Yes. Its youth ranking index separates singles, doubles pairs, and doubles individual lists, with boys’, girls’, and mixed lists where applicable.

**Can I reuse WTT archive footage alongside a results report?**

The WTT Media Archive requires a license to reproduce, publish, distribute, or resell its content. Those terms concern archive media and do not establish reuse permission for the results data.

