{"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 tryout key INSTANTLY: one hour, tight quota. Ongoing access starts with a 30-day free App trial (card required; 249 SEK/month ex VAT after the trial, cancel anytime): log in at https://primat.nu/data with the same address; the key keeps working once the trial starts. Keys & plans: https://primat.nu/data"},"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. Free: no rows/day cost."},{"method":"GET","path":"/api/v3/stores/resolve?place=|postcode=|lat=&lon=","description":"Place -> ranked nearby stores + the site's own default store selection. Free: no rows/day cost."},{"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 (every plan)."},{"method":"POST","path":"/api/v3/signup","description":"Instant one-hour tryout key, no email."},{"method":"POST","path":"/api/v3/confirm/request","description":"Email the account owner the link to start the 30-day App trial."}]}