# 2s TCG Sets Lookup

> 2s TCG Sets Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-15).

Retrieves a list of trading card game sets for a specified game, with optional name filtering and result limits.

## Facts

- Endpoint: GET https://2s.io/api/tcg/sets
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-tcg-sets-lookup-76340706
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HUcVCHCG86Xb3nuGBPjHd

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 2s-tcg-sets-lookup-76340706
```

Example prompt: Can you list all the Pokemon TCG sets available, filtered to ones with 'sword' in the name?

## When to prefer this

Use this endpoint when you need a catalog or list of TCG sets for a specific game (e.g. Pokemon, Magic the Gathering, Yu-Gi-Oh) and optionally want to filter by set name. Prefer this over card-level endpoints when the goal is set discovery or enumeration rather than individual card lookup.

## Known failure modes

- Missing required 'game' parameter returns an error
- Invalid or unrecognized game name/categoryId returns empty or error response
- Limit exceeding 500 is clamped or rejected
- Payment not included or insufficient USDC results in 402 response

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

Returns a list of TCG set objects for the specified game, each containing set metadata such as set name and identifier. Results can be filtered by a case-insensitive substring match on the set name and capped at a specified limit (default 100, max 500).

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "game"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Case-insensitive substring filter on set name."
      },
      "game": {
       "type": "string",
       "description": "categoryId (e.g. 3) or game name (e.g. \"pokemon\")."
      },
      "limit": {
       "type": "number",
       "description": "Max sets (default 100, max 500)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-tcg-sets-lookup-76340706/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
