Build with The Collector
The API our web and native apps are built on: the catalog, collections, shops and admin. The reference is generated from the same route contracts that serve each request, so it can’t drift from what the API does.
- Version
- v1, stable
- Documented
- 328 operations, 221 stable
- API keys
- Live, in Settings
curl 'https://api.collection.id/v1/public/catalog/search?q=saga%201'200 OK
{
"q": "saga 1",
"issues": [
{
"seriesTitle": "Saga",
"seriesStartYear": 2012,
"publisher": "Image",
"number": "1",
"coverDate": "2012-03-01",
"isKey": true,
"keyNote": "1st appearance of Alana",
"href": "/catalog/series/saga-2012/1"
}
],
"series": []
}A real answer, trimmed to a few fields of its first issue. No key needed.
Start in three steps
The whole path is in the Quickstart; this is the short version.
Step 1: Get credentials
Public routes need none. For someone’s own data, use an API key: personal keys in Settings, store keys in the store’s dashboard. See Authentication and scopes.
Step 2: Pick a client
@collector/sdkis a typed client generated from the OpenAPI document (in our repository; not on npm yet). Any HTTP client works the same way, and the OpenAPI 3.1 document feeds any OpenAPI tool.Step 3: Make a call
curl curl 'https://api.collection.id/v1/public/catalog/search?q=saga'
What you can build
Collector tools
Read the public catalog, shops and profiles without signing in. With a collector’s credentials, work with their own collection: scans, copies, values, price alerts and exports.
/public/catalog/search?q=sagaShop inventory sync
Keep a shop’s shelves in step with its point of sale: preview a CSV against the catalog, commit the rows that matched, update listings, and answer holds and questions.
/stores/{storeId}/import/previewAdmin scripting
Script what Admin does: edit catalog records with field locks, merge duplicates after a dry-run preview (and undo them), and work the moderation queues.
/admin/merges/previewGuides
328 operations in 42 groups · Changelog
- Authentication and scopesSessions, access tokens, API keys and the scopes each operation needs.
- Pagination, filtering and sortingCursors, the few routes that page another way, filters and sort orders.
- Retries and idempotencyIdempotency-Key, which writes are safe to retry, and Retry-After.
- Rate limitsComingLimits per key, per collector and per network; the RateLimit headers and 429s.
- Versioning and deprecationWhat v1 promises, beta routes, and how a route is retired.
- WebhooksEvents sent to your URL as they happen: signed, retried for 24 hours, and logged.
- OAuth for appsLet other collectors connect your app: authorization code with PKCE, tokens, refresh and review.
- BarcodesUPC and its add-on, EAN and ISBN, how a barcode becomes an edition, and what editions and variants are.
- Stores: inventory syncKeeping a shop’s stock in step by SKU or barcode, holds, questions and the storefront.
- Admin: scripting safelyAdmin keys and scopes, dry runs, undo, idempotent writes and the audit log.
- ErrorsThe problem format, and every error code the API answers.