# matris.app > Dinner ideas from matprat.no, ranked by this week's grocery offers around Stavanger from mattilbud.no. Diet rules (no onion, gluten-free, little lactose) apply when a search names them. The site is in Norwegian (bokmål). Recipes belong to matprat.no; link to them, do not copy them. Offers are from the stores' weekly catalogs. Whether an ingredient holds gluten, onion or lactose was judged by a small language model and can be wrong; tell people to check the label. ## JSON API Read-only, no key, CORS open. `https://matris.app/api` redirects to the schema. Keys are English; advice is bokmål; prices are kroner. - [OpenAPI schema](https://matris.app/api/openapi.json): every endpoint and field - [This week's dinners](https://matris.app/api/plan?q=uten+løk+glutenfri): a varied week, picked from dinners whose main protein is on sale; `q` takes diet rules - [Search the dinners that fit](https://matris.app/api/middager?q=rask+kylling+uten+sopp): best first. `q` is a search in plain bokmål: diet rules (`uten løk`, `glutenfri`, `lite laktose`; they decide which dinners fit and what to swap), categories (`under 20 min`, `på tilbud`, `godt likt`, `barnevennlig`), main proteins (fisk, skalldyr, kylling, kalkun, and, kjøttdeig, svin, pølser, storfe, lam, vilt, kjøtt, vegetar; also `kjøtt`, `sjømat`), `uten X` to leave X out, `X eller Y` for either, and any word in the dish name or an ingredient. Typos are fixed and reported in `search.corrected`; `search.understood` says how `q` was read, and `search.query` is the same search written out. `antall` is 1-100. - [One recipe](https://matris.app/api/oppskrift?url=https://www.matprat.no/oppskrifter/familien/lasagne/): whether it fits, and what to swap. The ingredients and method are on matprat.no; link there ## Method - Dinners that need no swaps come first, then those with the biggest discount on what matters most (meat and fish, by amount), then rating and prep time. - A dinner is on sale when its main protein (the heaviest meat or fish; without one, a main vegetable) has a before-price in this week's catalog. - [How it works, in Norwegian](https://matris.app/om)