Getting started
Getting started
Every request to the versioned agent API is made against /api/v1 on your Listrar host (e.g. https://dashboard.listrar.com). Two endpoints — /search and /requirements — are public and need no key. Everything else is scoped to your tenant by an API key.
1. Get an API key
Create one under Settings → API Keys in the dashboard. Keys look like lsk_live_... and carry explicit scopes (for example record:read or webhooks:manage) — a request fails if the key presented lacks the scope the endpoint requires.
2. Send it as a bearer token
Every authenticated request
Authorization: Bearer lsk_live_...3. Try a public request — no key needed
Request
curl "https://dashboard.listrar.com/api/v1/search?q=kettle&pageSize=5"Searches the full public directory — every published, directory-listed Digital Product Passport across all tenants.
4. Try an authenticated request
Request
curl "https://dashboard.listrar.com/api/v1/products?pageSize=5" \
-H "Authorization: Bearer lsk_live_..."Lists your own tenant's published products, in the PII-free agent projection (gtin, title, price, availability, image, a resolvable url, and a dataQualityNote).
Next
Browse every endpoint in the API overview, or if you're building an AI agent, go straight to AI & MCP.