How to Use WTT tournament results in opencode
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.
Prompts to try with WTT tournament results in opencode
Copy an example into opencode, or ask in your own words.
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 opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run WTT tournament results
One request; the result comes back by polling or a webhook.
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: opencode finds WTT tournament results on Spiral, shows the price and runs it.
WTT tournament results providers and prices
Spiral runs WTT tournament results through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Event ID | 1 to 99999999 | WTT event id, e.g. 3246 for Europe Smash Sweden 2026. | |
| Take | 1 to 500 | 50 | Maximum matches returned, latest first. |
| Sub event | MS, WS, MD, WD, XD, MT, WT, or XT | Men/Women Singles, Men/Women/Mixed Doubles, Men/Women/Mixed Team. | |
| Include scores | on or off | Embed the shaped match card under |
Every API field of World Table Tennis · Event results is on its tool page: open its card above.
What can you do with WTT tournament results in opencode?
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.
More on WTT tournament results and opencode
Overview
WTT tournament results in other agents
Questions about WTT tournament results in opencode
Can opencode use WTT tournament results?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run WTT tournament results like any built-in tool.
How much does WTT tournament results cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use WTT tournament results in opencode?
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 opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while WTT tournament results runs?
WTT tournament results runs in the background. opencode 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.
Start using WTT tournament results in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


