Skip to navigation

By Barcode

View as Markdown

Resolve a physical product to the releases catalogued under its barcode (UPC/EAN). The lookup with no TMDb equivalent.

Authentication

AuthorizationBearer

A user API key (prefix ak_), created in your HMDb account settings. Send it as Authorization: Bearer ak_…. Required on every request — reads and writes.

Query parameters

inputstringOptional

tRPC input as a URL-encoded JSON object. Example: ?input=%7B%22barcode%22%3A%22085391132722%22%7D

Response

Success — the procedure result, wrapped in { result: { data } }.

resultobject

Errors

400
Bad Request Error
404
Not Found Error