SiteSwapDevelopers
API reference: Catalog

Look up a model number or barcode

GEThttps://dev.siteswap.pro/api/v1/catalog/lookup

Finds models by model number or name (q), or one model by a UPC, EAN or GTIN barcode (code). Send one of the two.

Needs the listings:read scope.

Needs an API key or sign-in token in Authorization: Bearer or X-API-Key. Authentication

Query parameters

marketplacestringdefault "tools"
A marketplace key, as GET /marketplaces lists them, for example materials
qstring
A model number or name
codestring
A barcode number

Responses

200OK
400bad_request, key_in_url or invalid_json: the request could not be read
401missing_key or invalid_key: no key, or a key that is not valid or was revoked
403key_pending, key_declined, scope_missing, terms_required or account_unavailable: see Errors
404not_found: nothing here that you may see
413too_large: the body is over 256 KB
429rate_limited or daily_quota: wait for Retry-After seconds

Response fields

modelsobject[]required
models[].idstringrequired
models[].namestringrequired
models[].detailstring | nullrequired
More about it, for example the maker
models[].makerobject | nullrequired
models[].maker.idstringrequired
models[].maker.namestringrequired
models[].typeobject | nullrequired
models[].type.idstringrequired
models[].type.namestringrequired
models[].category_idstring | nullrequired
A category the model can be posted under
models[].sourcestring | nullrequired
The maker's page it was read from
models[].checkedstring | nullrequired
The day it was read
codeobject | nullrequired
code.validbooleanrequired
The barcode's check digit is right
code.packstring | nullrequired
The pack the code is printed on
code.quantitynumber | nullrequired
Pieces in that pack
SiteSwap API v1Support