{"name":"Primat API","version":"v3","notice":"Primat är under utveckling. Strukturen, datat och prismodellen kan komma att ändras. Om ändringar sker så ser vi till att meddela användare via epost.","attribution":{"text":"Prisdata från primat.nu","url":"https://primat.nu","required":"Gratisnivån förutsätter att krediten visas, med länk, där datat visas."},"description":"Daily per-store Swedish grocery prices: ICA, Coop, Willys, Hemköp, Lidl, City Gross. Price FACTS (regular, member, per-unit multibuy, campaign) with change-log semantics: changed_at = when the price last changed, confirmed_at = when the store was last checked; no change since changed_at means confirmed unchanged. Paid tiers (App and up) also get urls.image — the chain's original product-image URL.","spec":"https://primat.nu/api/v3/openapi.json","docs":"https://primat.nu/api","terms":"https://primat.nu/villkor","authentication":{"headers":["Authorization: Bearer <api_key>","X-API-Key: <api_key>"],"key_types":{"secret":"primat_live_… — server-side, full access","publishable":"primat_pk_… — browser-safe, origin-locked, read-only, low quota"},"signup":"POST /api/v3/signup {\"email\": …} returns a provisional key INSTANTLY (7-day TTL, tight quota). POST /api/v3/confirm/request then one click in the mail upgrades it to the free tier. Keys & plans: https://primat.nu/data"},"try_without_key":{"method":"GET","path":"/api/v3/demo/products?q=banan&stores=ica:1003385","description":"Real data, up to 25 results per call, 250 requests per day and IP. No key. stores= is optional; ids come from /api/v3/demo/stores/resolve."},"endpoints":[{"method":"GET","path":"/api/v3/me","description":"Account, plan limits and usage."},{"method":"GET","path":"/api/v3/stores?all=0","description":"Store register with coverage tier and confirmed_at per store."},{"method":"GET","path":"/api/v3/stores/resolve?place=|postcode=|lat=&lon=","description":"Place -> ranked nearby stores + the site's own default store selection."},{"method":"GET","path":"/api/v3/products?q=banan&stores=ica:1003385","description":"Ranked product search; store-scoped or national (cheapest carrying store)."},{"method":"GET","path":"/api/v3/products/{chain}/{store_id}/{product_id}","description":"One product at one store."},{"method":"GET","path":"/api/v3/prices?stores=willys:2103&cursor=&limit=500","description":"Full store catalogs as keyset cursor pages (stable, never skips rows)."},{"method":"GET","path":"/api/v3/deals?stores=…","description":"Current price drops with previous price."},{"method":"GET","path":"/api/v3/cheap?stores=…","description":"Cheapest by comparison (unit) price."},{"method":"GET","path":"/api/v3/history/{chain}/{store_id}/{product_id}","description":"Daily price history (paid tiers — Pro: 12 months, Byrå: full; generation-pinned)."},{"method":"GET","path":"/api/v3/history/{gtin}","description":"History across carrying stores by GTIN/EAN."},{"method":"POST","path":"/api/v3/batch","description":"Up to 100 product lookups in one call (free tier and up)."},{"method":"POST","path":"/api/v3/signup","description":"Instant provisional API key, no email."},{"method":"POST","path":"/api/v3/confirm/request","description":"Send the confirmation mail that upgrades a provisional key to free."}]}