Skip to content
トレカクラウド
Esc
↑↓navigate↵open⌘Jpreview

Search the card catalog

Searches active cards by name, card number, JAN or ID. Up to 25 results.

GET/cards
Authorization
AuthorizationOAuth2 access token · headerrequired

Authorization code flow (PKCE S256 required). Send resource=https://api.toreca-cloud.com/partner/v1 with the authorization, token and refresh requests. Access tokens last 15 minutes; refresh tokens last 90 days and rotate on every refresh.

Scopes:inventory:read
Query parameters
searchstringrequired
min length 1 · max length 150
limitinteger
min 1 · max 25 · default: 25
Responses
200

The cards

cardsCard[]required
Show properties
Array of Card
idstring<uuid>
namestring
localizedNamesobject
cardNumberstring | null
setTotalRawstring | null
janCodestring | null
languageCodestring
variantstring | null
finishstring | null
imageUrlstring<uri> | null
rarityobject | null
Show properties
codestring
namestring
setobject | null
Show properties
idstring<uuid>
codestring
namestring
nameEnstring | null
gameGame
Show properties
idstring<uuid>
codestring
namestring
snkrdunkSnkrdunkProduct | null

The SNKRDUNK product: the URL the shop set on the card (null if it cleared it), else the shared catalog's product.

Show properties
One of:
SnkrdunkProduct
productIdstringrequired
matches ^[1-9][0-9]*$
urlstring<uri>required
null
null
401

invalid_token: the token is missing, expired, or for another resource.

errorstringrequired

The error code. The main ones are below; more may be added.

  • 400: invalid_request (bad parameters or body), invalid_cursor
  • 401: invalid_token
  • 403: insufficient_scope, connection_revoked, client_disabled, forbidden, ip_not_allowed
  • 404: not_found
  • 409: conflict (updated at the same time; read again and retry), idempotency_conflict (a requestId reused for different content), receipt_not_confirmed (a purchase awaiting the customer's payment confirmation)
  • 422 units: unit_unavailable (not in stock), unit_not_allocated (not allocated to this partner), unit_not_found
  • 422 holds: invalid_expiry, hold_shipped, hold_cancelled, hold_confirmed, hold_blocked, sale_amount_required (neither a sale price nor a market value)
  • 422 listings and shipments: commitment_not_on_sale, commitment_not_allocated, commitment_shipping, commitment_blocked, commitment_closed, commitment_not_on_shipment, shipment_shipped, shipment_cancelled, shipment_not_shipped, shipment_blocked, shipment_refused
  • 422 moves: invalid_location, location_inactive, different_site, same_site, mixed_sites, invalid_site, site_inactive, wrong_site, unit_not_on_transfer, transfer_line_closed, unit_not_on_checkout, move_refused, transfer_refused, checkout_refused, return_refused
  • 422 other: invalid_webhook_url, invalid_generated_at
  • 429: rate_limited
  • 503: photo_unavailable
scopestring

With insufficient_scope, the missing scope

requestIdstring<uuid>
inventoryItemIdsstring<uuid>[]
holdIdsstring<uuid>[]
commitmentIdsstring<uuid>[]
403

One of insufficient_scope, connection_revoked, client_disabled or forbidden.

errorstringrequired

The error code. The main ones are below; more may be added.

  • 400: invalid_request (bad parameters or body), invalid_cursor
  • 401: invalid_token
  • 403: insufficient_scope, connection_revoked, client_disabled, forbidden, ip_not_allowed
  • 404: not_found
  • 409: conflict (updated at the same time; read again and retry), idempotency_conflict (a requestId reused for different content), receipt_not_confirmed (a purchase awaiting the customer's payment confirmation)
  • 422 units: unit_unavailable (not in stock), unit_not_allocated (not allocated to this partner), unit_not_found
  • 422 holds: invalid_expiry, hold_shipped, hold_cancelled, hold_confirmed, hold_blocked, sale_amount_required (neither a sale price nor a market value)
  • 422 listings and shipments: commitment_not_on_sale, commitment_not_allocated, commitment_shipping, commitment_blocked, commitment_closed, commitment_not_on_shipment, shipment_shipped, shipment_cancelled, shipment_not_shipped, shipment_blocked, shipment_refused
  • 422 moves: invalid_location, location_inactive, different_site, same_site, mixed_sites, invalid_site, site_inactive, wrong_site, unit_not_on_transfer, transfer_line_closed, unit_not_on_checkout, move_refused, transfer_refused, checkout_refused, return_refused
  • 422 other: invalid_webhook_url, invalid_generated_at
  • 429: rate_limited
  • 503: photo_unavailable
scopestring

With insufficient_scope, the missing scope

requestIdstring<uuid>
inventoryItemIdsstring<uuid>[]
holdIdsstring<uuid>[]
commitmentIdsstring<uuid>[]
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.toreca-cloud.com/partner/v1/cards?search=string' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "cards": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "localizedNames": {
        "property1": "string",
        "property2": "string"
      },
      "cardNumber": "string",
      "setTotalRaw": "string",
      "janCode": "string",
      "languageCode": "string",
      "variant": "string",
      "finish": "string",
      "imageUrl": "http://example.com",
      "rarity": {
        "code": "string",
        "name": "string"
      },
      "set": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "code": "string",
        "name": "string",
        "nameEn": "string"
      },
      "game": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "code": "string",
        "name": "string"
      },
      "snkrdunk": {
        "productId": "string",
        "url": "https://snkrdunk.com/apparels/123456"
      }
    }
  ]
}

Was this page helpful?