Skip to content
Skip to Content
Docs
Studio

List Recent Reference Foods

Lists the foods the calling member opened in the Reference food database, most recently viewed first. Every food the member opened stays in the list. Only the caller's own foods are returned. A food opened a moment ago can take a moment to appear.

GET
/studio/reference/foods/recent

Query Parameters

limit?Limit

Most foods to return (1 to 50).

Range1 <= value <= 50
Default20
cursor?|

next_cursor from the previous page. Omit for the first page.

Response Body

Successful Response

application/json
  1. response

One page of foods.

items*array<>

The foods on this page.

next_cursor*|

Pass as cursor for the next page; null on the last page.

Example Request
curl -X GET 'https://api.bettermenu.live/studio/reference/foods/recent'
Example Response
{  "items": [    {      "food_id": "string",      "name": "string",      "brand": "string",      "source": "generic",      "saved": true,      "saved_at": "2019-08-24T14:15:22Z",      "first_viewed_at": "2019-08-24T14:15:22Z",      "last_viewed_at": "2019-08-24T14:15:22Z",      "view_count": 0,      "last_portion": {        "label": "string",        "grams": 0.001      },      "per_100g": {        "calories": 0,        "total_fat": 0,        "total_carbohydrate": 0,        "protein": 0      },      "data_version": "string"    }  ],  "next_cursor": "string"}

Recipe in, FDA-format Nutrition Facts out, with every version kept.

Start freeNo card needed.