Discover/Matprat API
live

Matprat APImatprat.no

Access Matprat.no recipe data via API: full recipe details, nutrition, ratings, weekly meal plans, search with filters, and autocomplete suggestions.

Endpoint health
verified 3d ago
autocomplete
search_recipes
get_recipe
get_weekly_menu
get_popular_recipes
5/5 passing latest checkself-healing
Endpoints
5
Updated
18d ago

What is the Matprat API?

The Matprat.no API exposes 5 endpoints covering Norway's largest recipe site, letting you retrieve full recipe details (including nutrition facts, step-by-step instructions, and aggregate ratings), run filtered searches across the entire recipe catalog, and fetch the curated weekly meal plan. The get_recipe endpoint returns 10 structured fields per recipe, while search_recipes supports cumulative filters for diet type, commodity, preparation time, and more.

Try it
URL path of the recipe on matprat.no (e.g. /oppskrifter/rask/pasta-puttanesca/).
api.parse.bot/scraper/3da2a980-e1c7-407d-b676-13e7a80ebbd0/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/3da2a980-e1c7-407d-b676-13e7a80ebbd0/get_recipe?url=%2Foppskrifter%2Frask%2Fpasta-puttanesca%2F' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace matprat-no-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Matprat recipe discovery: search, detail, weekly menu, autocomplete."""
from parse_apis.Matprat_API import Matprat, Sort, RecipeNotFound

client = Matprat()

# Search for pasta recipes sorted by popularity
for hit in client.recipe_hits.search(query="pasta", sort=Sort.POPULAR, limit=3):
    print(hit.title, hit.data.difficulty, hit.data.rating)

# Get full details of the first hit
hit = client.recipe_hits.search(query="kylling", limit=1).first()
if hit:
    recipe = client.recipes.get(url=hit.data.link_url)
    print(recipe.name, recipe.nutrition.calories, recipe.aggregate_rating.rating_value)
    for step in recipe.recipe_instructions[:3]:
        print(step.text)

# Weekly meal plan
for item in client.menu_items.list(limit=5):
    print(item.name, item.day, item.difficulty, item.preparation_time)

# Autocomplete suggestions
for suggestion in client.suggestions.search(query="laks", limit=4):
    print(suggestion.type, suggestion.data.name)

# Error handling: catch recipe not found
try:
    client.recipes.get(url="/oppskrifter/does-not-exist/")
except RecipeNotFound as exc:
    print(f"Recipe not found: {exc}")

print("exercised: recipe_hits.search / recipes.get / menu_items.list / suggestions.search")
All endpoints · 5 totalmissing one? ·

Fetch full details of a single recipe by its URL path on matprat.no. Returns structured recipe data including name, description, ingredients, step-by-step instructions, nutrition facts, aggregate rating, and a related recipe suggestion. The URL path is the canonical identifier found in search results under data.linkUrl.

Input
ParamTypeDescription
urlrequiredstringURL path of the recipe on matprat.no (e.g. /oppskrifter/rask/pasta-puttanesca/).
Response
{
  "type": "object",
  "fields": {
    "name": "string — recipe title",
    "nutrition": "object with calories, carbohydrateContent, proteinContent, fatContent as strings with units",
    "totalTime": "string — ISO 8601 duration",
    "api_rating": "object with rating, ratingPrecise, ratingCount, alreadyRated, authenticated",
    "description": "string — short recipe description",
    "recipeYield": "string — serving size description",
    "datePublished": "string — ISO date",
    "recipeCuisine": "array of cuisine strings",
    "recipeCategory": "array of category strings",
    "aggregateRating": "object with ratingValue (number) and ratingCount (integer)",
    "recipeIngredient": "array of ingredient strings with amounts and units",
    "recipeInstructions": "array of HowToStep objects each with a text field",
    "api_related_recipes": "object with a related recipe suggestion including name, url, difficulty, preparationTime"
  },
  "sample": {
    "data": {
      "name": "Pasta puttanesca",
      "nutrition": {
        "@type": "NutritionInformation",
        "calories": "761 KCAL",
        "fatContent": "40 G",
        "proteinContent": "21 G",
        "carbohydrateContent": "74 G"
      },
      "totalTime": "PT20M",
      "api_rating": {
        "rating": 5,
        "ratingCount": 2,
        "alreadyRated": false,
        "authenticated": false,
        "ratingPrecise": 5
      },
      "description": "En klassisk italiensk pastarett!",
      "recipeYield": "2 PORSJONER",
      "datePublished": "2025-09-08",
      "recipeCuisine": [
        "Internasjonal"
      ],
      "recipeCategory": [
        "Pasta"
      ],
      "aggregateRating": {
        "@type": "AggregateRating",
        "ratingCount": 2,
        "ratingValue": 5
      },
      "recipeIngredient": [
        " 200 g spagetti",
        " 2 båter hvitløk"
      ],
      "recipeInstructions": [
        {
          "text": "Kok spagetti i godt saltet vann.",
          "@type": "HowToStep"
        }
      ],
      "api_related_recipes": {
        "url": "/oppskrifter/familien/pasta-med-kikertboller-og-gulrotpesto/",
        "name": "Pasta med kikertboller og gulrotpesto"
      }
    },
    "status": "success"
  }
}

About the Matprat API

Recipe Data

The get_recipe endpoint accepts a URL path (e.g. /oppskrifter/rask/pasta-puttanesca/) and returns a fully structured recipe object. Key fields include name, description, totalTime as an ISO 8601 duration, recipeYield, datePublished, recipeCuisine, and recipeCategory arrays. The nutrition object breaks down calories, carbohydrateContent, proteinContent, and fatContent as labeled strings. The aggregateRating field provides both a ratingValue and ratingCount drawn from user ratings on the site.

Search and Discovery

search_recipes supports full-text queries via the query parameter (Norwegian terms like kylling or pasta work as expected) and returns paginated searchHits with recipe summaries including linkUrl, difficulty, preparationTime, and rating data. The searchFilters array in each response provides the valid filter IDs for parameters like commodity (e.g. 68 for beef, 69 for pork), diet_type (e.g. 358 for vegetarian, 357 for vegan), origins, and prep_time. Filters are cumulative. The get_popular_recipes endpoint returns the same response shape but ranked by current popularity rather than search relevance.

Weekly Meal Plans and Autocomplete

get_weekly_menu returns one recipe per day (Monday through Sunday) for a given ISO week and year. Each day entry includes the recipe id, name, day, linkUrl, ingredients, rating, difficulty, preparationTime, and portions. When week and year are omitted, it defaults to the current week. The autocomplete endpoint takes a search prefix and returns two item types: filter suggestions (dish types, ingredients with IDs usable in search_recipes) and content suggestions (recipe previews), making it practical for building search-as-you-type interfaces or discovering valid filter values without guessing.

Reliability & maintenanceVerified

The Matprat API is a managed, monitored endpoint for matprat.no — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when matprat.no changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official matprat.no API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a Norwegian meal planner app using get_weekly_menu to populate a weekly calendar with curated recipes and ingredient lists.
  • Index Matprat's recipe catalog with search_recipes filtered by diet_type to create a vegetarian or vegan recipe directory.
  • Display nutrition breakdowns (calories, protein, fat, carbohydrates) from get_recipe in a food tracking or calorie-counting tool.
  • Implement a recipe search-as-you-type feature using autocomplete to surface both matching recipes and filterable ingredient categories.
  • Aggregate trending Norwegian recipes by polling get_popular_recipes and tracking which recipes appear consistently over time.
  • Filter recipes by preparation time and main commodity via search_recipes to power a 'what can I cook tonight' quick-meal recommender.
  • Extract aggregateRating and ratingCount fields from get_recipe to rank or compare recipes in a curated collection.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Matprat.no have an official developer API?+
Matprat.no does not publish a public developer API or API documentation for external use. This Parse API provides structured access to the recipe data available on the site.
What does `search_recipes` return and how do I use the filter parameters?+
It returns totalHits, a searchHits array of recipe summaries (each with id, title, description, linkUrl, difficulty, preparationTime, and rating), and a searchFilters array listing all valid filter options. To filter results, pass the ID values from searchFilters into parameters like commodity, diet_type, prep_time, or origins. Filters are cumulative — you can combine multiple parameters in a single request to narrow results further.
Does `get_recipe` return the full ingredient list and step-by-step instructions?+
Yes. The endpoint returns structured ingredients and step-by-step instructions alongside the other recipe fields. It also includes a related recipe suggestion. Fields like nutrition, aggregateRating, totalTime, and recipeCategory are returned in the same response.
Does the API cover user-submitted recipes or only editorially curated content?+
The API covers the recipes published on matprat.no, which is an editorially managed site. User-generated content such as community-submitted recipes or personal recipe collections is not currently exposed. The search_recipes and get_popular_recipes endpoints surface the main published catalog. You can fork this API on Parse and revise it to add an endpoint targeting any additional content sections the site may provide.
Can I retrieve historical weekly meal plans, or only the current week?+
get_weekly_menu accepts both week (ISO week number 1–53) and year parameters, so you can request past or future weeks directly. When both parameters are omitted, it defaults to the current ISO week and year. The range of available historical data depends on what matprat.no has published for a given week.
Page content last updated . Spec covers 5 endpoints from matprat.no.
Related APIs in Food DiningSee all →
blueapron.com API
Search and browse Blue Apron recipes, menus, and cookbooks to discover meal ideas and get detailed recipe information. Access the complete recipe catalog through sitemaps and detailed recipe listings with ingredients and instructions.
tasty.co API
Search and discover Tasty.co recipes by ingredients or cuisine, then access detailed cooking instructions, ingredient lists, and video guides for each dish. Browse popular recipes and get pro cooking tips to perfect your meals.
allrecipes.com API
Search and browse millions of recipes from Allrecipes while accessing detailed information like ingredients, step-by-step instructions, nutritional facts, and user reviews. Find the perfect dish by searching specific recipes or exploring curated categories.
seriouseats.com API
Search and retrieve thousands of recipes and expert cooking advice from Serious Eats to find exactly what you're looking for in the kitchen. Get detailed recipe information including ingredients, instructions, and trusted culinary expertise to help you cook with confidence.
akispetretzikis.com API
Search and discover thousands of recipes from Akis Petretzikis' collection, then view detailed cooking instructions, ingredients, and nutritional information for each dish. Browse recipes by category to find exactly what you're looking for, whether you need a quick weeknight dinner or an elaborate dessert.
bbcgoodfood.com API
Search thousands of recipes with full ingredient lists, cooking directions, and nutritional information. Browse recipes by topic and category, and access user reviews and ratings for each dish.
epicurious.com API
Search Epicurious recipes by ingredient or cuisine, view detailed recipe information including ingredients and instructions, and read user reviews to find the best dishes to cook. Get everything you need to discover and prepare new meals from one of the web's most trusted recipe sources.
nemlig.com API
Search and browse grocery products across categories on nemlig.com, view detailed product information and recipes, check current promotional offers, and manage a shopping basket. Add items to a basket and organize them before checkout.