Discover/stw.berlin API
live

stw.berlin APIstw.berlin

Fetch daily and weekly canteen menus from studierendenWERK BERLIN. Get dish names, student/employee/guest prices, dietary labels, and all Mensa locations.

Endpoints
2
Updated
3mo ago
Try it

No input parameters required.

api.parse.bot/scraper/d62db332-03b4-433e-962c-7796abc79384/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/d62db332-03b4-433e-962c-7796abc79384/list_canteens' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Get a list of all available canteens (Mensen) from studierendenWERK BERLIN with their names and page URLs. Returns canteens including Mensa, Backshop, and Späti locations across Berlin universities.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "canteens": "array of canteen objects, each with 'name' (string) and 'url' (string, full URL of the canteen page)"
  },
  "sample": {
    "data": {
      "canteens": [
        {
          "url": "https://www.stw.berlin/mensen/einrichtungen/freie-universität-berlin/mensa-fu-ii.html",
          "name": "Mensa FU II"
        },
        {
          "url": "https://www.stw.berlin/mensen/einrichtungen/technische-universität-berlin/mensa-tu-hardenbergstraße.html",
          "name": "Mensa TU / UdK Hardenbergstraße"
        }
      ]
    },
    "status": "success"
  }
}

About the stw.berlin API

This API provides access to canteen menu data from studierendenWERK BERLIN across 2 endpoints. Use list_canteens to retrieve all Mensa, Backshop, and Späti locations with their URLs, then call get_menu to pull full weekly or single-day menus per canteen — including dish names, category groupings, three-tier pricing, and dietary labels.

Canteen Locations

The list_canteens endpoint returns an array of canteen objects, each containing a name (string) and a url (full URL to the canteen page on stw.berlin). This covers all studierendenWERK BERLIN locations, including Mensa dining halls, Backshop outlets, and Späti convenience spots at Berlin universities. The endpoint takes no parameters and is the expected first call to discover valid canteen_url values for use in menu requests.

Menu Data

The get_menu endpoint accepts three optional parameters: canteen_url (obtained from list_canteens), date (YYYY-MM-DD format for a single day), and week_offset (integer, 0 for current week, 1 for next week, etc.). By default it returns the full week from Monday to Saturday. The response includes a canteen string (location name), a resources_id (the internal canteen identifier), and a days array. Each element in days contains a date field and a menu array of dish objects.

Dish Details and Dietary Labels

Each dish object within the menu array includes: category (the serving counter or dish type grouping), name (full dish name in German as listed by the canteen), prices with separate values for students, employees, and guests, and labels for dietary and allergen classifications such as vegetarian, vegan, or pork indicators. The price structure reflects studierendenWERK BERLIN's standard three-tier pricing model.

Common use cases
  • Build a meal-planning app for Berlin university students that shows the weekly menu for their campus Mensa
  • Display today's canteen options on a university intranet or digital notice board using the date parameter
  • Filter dishes by dietary labels (e.g. vegan, vegetarian) to surface suitable options for specific dietary needs
  • Compare student vs. guest pricing across all canteen locations to help visitors estimate food costs
  • Aggregate next week's menus across multiple canteens using week_offset: 1 to plan group lunches
  • Index canteen dish names and categories for a searchable campus food database
  • Send automated daily lunch notifications to a Slack channel or Telegram bot with that day's menu
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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 studierendenWERK BERLIN offer an official developer API?+
studierendenWERK BERLIN does not publish a documented public developer API. Menu data is available on their website at stw.berlin, but there is no official API endpoint or developer portal documented for third-party use.
What does the `get_menu` endpoint return for a specific day versus a full week?+
When you pass a date parameter (YYYY-MM-DD), the days array in the response contains only the entry for that date. Without a date, the endpoint returns all days from Monday through Saturday for the current or offset week. In both cases each day entry contains the same structure: a date string and a menu array of dishes with category, name, prices, and labels.
Are allergen details or full nutritional information (calories, macros) included in the response?+
Not currently. The API returns dietary labels (such as vegan or vegetarian indicators) alongside each dish, but does not expose detailed allergen codes or nutritional values like calories, protein, or fat content. You can fork this API on Parse and revise it to add an endpoint targeting canteen-specific nutritional detail pages.
Does the API cover canteens outside the studierendenWERK BERLIN network, such as canteens at private universities or other German cities?+
Coverage is limited to locations listed on stw.berlin, which covers studierendenWERK BERLIN-operated canteens across Berlin's public universities. Canteens operated by other student service organisations in other German cities are not included. You can fork this API on Parse and revise it to target additional Studentenwerk sites.
How current is the menu data, and how far in advance are menus available?+
Menu availability depends on how far ahead studierendenWERK BERLIN publishes menus on stw.berlin. Typically the current and next week are available. The week_offset parameter lets you request future weeks, but results will be empty if the canteen has not yet published that week's menu.
Page content last updated . Spec covers 2 endpoints from stw.berlin.
Related APIs in Food DiningSee all →
dia.es API
Browse and search products across Día supermarket's catalog, view product details, categories, and current offers available on dia.es. Find specific items, explore product categories and subcategories, and discover active promotions.
kroger.com API
Find Kroger grocery store locations across the US organized by state, city, and search parameters. Get detailed store information including directories and specifics for any Kroger location in your area.
coupons.com API
Search and discover coupons, printable offers, and store-specific deals from Coupons.com. Browse top featured offers, find deals across thousands of retailers, and access aggregated coupon data including discount amounts, usage conditions, and expiration details.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
winecompanion.com.au API
Browse and explore Australian wineries from Wine Companion's comprehensive directory, including contact details, ratings, and regional locations. Search and filter by state, region, or facilities to find wineries across Australia.
liquor.com API
Find and browse thousands of cocktail recipes with ratings and user reviews, search drinks by ingredient or category, and read curated articles about spirits and mixology. Get detailed recipe instructions, comments from other users, and expert content all in one place.
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.