---
title: "Resolve sport and league for collectibles"
method: POST
path: "/api/collectibles/resolve-sports"
tags: ["Collectibles"]
---

# Resolve sport and league for collectibles

`POST /api/collectibles/resolve-sports`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/collectibles/resolve-sports`
- Auth: HTTP bearer

Authenticated. Body { collectibleIds: string[] } (1–100). Returns items in request order with duplicates collapsed. Unknown ids come back with sport: null and league: null rather than a 404.

## Request body

- object
  - `collectibleIds` string[], required

## Response `200`

{ success, data: { items } }

- object
  - `success` boolean
  - `data` object
    - `items` object[], required
      - `collectibleId` string, required
      - `sport` string, nullable, required: Sports-catalog slug (GET /api/config/sports) of the card team's league; null for unknown ids or leagueless teams.
      - `league` object, nullable, required
        - `id` string, required
        - `name` string, required

## Other responses

- `400`: VALIDATION_ERROR — empty, oversized or non-string id list
- `401`: Authentication required
- `500`: INTERNAL_ERROR

## Changes

- **2026-11-18** `6de639c52609`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/collectibles/resolve-sports/post.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
