# TheSportsDB Team Search

> TheSportsDB Team Search is a paid API for AI agents from api.fadeandco.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Searches TheSportsDB for up to 5 sports teams matching a name, returning sport, league, formed year, stadium, country, website, and English description.

## Facts

- Endpoint: GET https://api.fadeandco.workers.dev/api/dev/thesportsdb?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/thesportsdb-team-search-6bb6457f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pL21uKeXQV1KehUU1ZQsk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability thesportsdb-team-search-6bb6457f
```

Example prompt: Can you look up the sports team 'Arsenal' and tell me what league they play in, when they were founded, and where their stadium is?

## When to prefer this

Choose this endpoint when you need to look up metadata about a named sports team — league affiliation, stadium, founding year, country, or description — without needing real-time scores or player rosters. It is ideal for enriching sports queries with contextual team information across multiple sports globally, backed by TheSportsDB's community database.

## Known failure modes

- Team name too short (under 2 characters) or too long (over 60 characters) returns a validation error
- No matching teams found returns an empty teams array with count 0
- TheSportsDB API rate limit or availability issues may cause upstream failures
- Ambiguous or misspelled team names may return unrelated or partial results
- Community-maintained data may be incomplete or outdated for lesser-known teams

## How this service works

TheSportsDB team search: up to 5 teams matching a name, with sport, league, formed year, stadium, country, website and English description. Community-maintained database; uses TheSportsDB's public test key unless the owner sets THESPORTSDB_KEY.

## Output

A JSON object containing the query string, a count of matched teams (up to 5), and an array of team objects each with id, name, sport, league, country, stadium, website, formed year, stadium capacity, and an English description. Also includes the upstream TheSportsDB source URL and a checkedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "team"
     ],
     "properties": {
      "team": {
       "type": "string",
       "description": "Team name to search for, 2 to 60 characters"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "query": "Arsenal",
  "teams": [
   {
    "id": "133604",
    "name": "Arsenal",
    "sport": "Soccer",
    "league": "English Premier League",
    "country": "England",
    "stadium": "Emirates Stadium",
    "website": "https://www.arsenal.com",
    "formedYear": 1892,
    "description": "Arsenal Football Club is a professional football club based in Islington, London, England, that plays in the Premier League, the top flight of English football. The club has won 13 League titles, a record 13 FA Cups, 2 League Cups, 15 FA Community Shields, 1 League Centenary Trophy, 1 UEFA Cup Winne…",
    "stadiumCapacity": null
   }
  ],
  "source": "https://www.thesportsdb.com/api/v1/json/<key>/searchteams.php?t=Arsenal",
  "checkedAt": "2026-10-23T09:35:51.865Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/thesportsdb-team-search-6bb6457f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fadeandco.workers.dev](https://www.zero.xyz/host/api.fadeandco.workers.dev/llms.txt)
