A free esports news API for Valorant and CS2 tournament news (JSON + RSS)
If you run an esports site, a Discord bot or a gaming app, you probably want fresh tournament news without writing it yourself. We built a small, free API for that at TeamWars: it serves Valorant and CS2 tournament recap
If you run an esports site, a Discord bot or a gaming app, you probably want fresh tournament news without writing it yourself. We built a small, free API for that at TeamWars: it serves Valorant and CS2 tournament recaps as JSON and RSS, in many languages.
Docs: https://teamwars.pro/api/docs
What you get
- Tournament recap stories (finals, scores, winners), written automatically from match data
- JSON endpoints plus an RSS feed that needs no key
- Many languages: pass
lang=en,lang=de,lang=trand so on - Free tier: 10 news items per day, up to 30 requests per minute
Endpoints
| Endpoint | What it returns |
|---|---|
GET /api/v1/free/news |
Stories, newest first (cursor pagination) |
GET /api/v1/free/news/{id} |
A single story |
GET /api/v1/free/forecast |
Upcoming matches with a win probability estimate |
GET /api/v1/free/rss |
RSS feed, latest 10 items, no key needed |
GET /api/v1/free/status |
Service status and last publish time |
Useful parameters for /news: lang, game (valorant by default), since (ISO 8601), cursor and limit (max 10).
Quick start
Create a free account, get your key, and call it from your backend:
curl -H "Authorization: Bearer tw_live_YOUR_KEY" \
"https://teamwars.pro/api/v1/free/news?lang=en&limit=10"
import requests
r = requests.get(
"https://teamwars.pro/api/v1/free/news",
params={"lang": "en", "limit": 10},
headers={"Authorization": "Bearer tw_live_YOUR_KEY"},
)
for story in r.json()["data"]:
print(story["published_at"], story["title"])
No key yet? The RSS feed works right away: https://teamwars.pro/api/v1/free/rss
Two tips
- Keep the key on your server and cache the response. Do not put it in browser code: anyone can read it there, and every page view would use your daily items.
- Each story has three dates:
event_at(when the tournament happened),published_at(when the story went live) andfeed_at(when it entered the feed; ordering andsincefollow this one).
Feedback and feature requests are welcome in the comments.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.