Merran documentation API & integrations
Read a shared recipe
const url = 'http://localhost:3000/api/shared/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/shared/exampleNo sign-in: the link’s token alone grants read access to this one recipe, and only the fields in the answer. Every way a link can fail, from never made to stopped, gets the same 404.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The recipe.
A shared recipe as anyone with its link sees it: no notes, ratings, tags, history or ids.
object
As given, or prep and cook added up.
object
From the recipe’s site, worked out from USDA’s data, or estimated by AI.
Kcal.
Grams.
Grams.
Grams.
Grams.
Grams.
Milligrams.
Ingredient lines that couldn’t be counted.
The servings it’s for; it rescales when they change.
Where its photo is, in each size, or null. The links need no sign-in.
object
For the recipe page.
Cropped, for previews.
A small square, for small tiles.
object
Its place in the list.
The line as written.
object
Its place in the list.
The household that shared it.
object
Example
{ "name": "Lemon Chicken", "description": "Crisp-skinned chicken in a bright pan sauce.", "servings": 4, "yieldText": null, "prepMinutes": 15, "cookMinutes": 35, "totalMinutes": 50, "diets": [ "gluten-free" ], "nutrition": null, "sourceUrl": null, "photo": { "full": "/api/shared/q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6j7k8l9z0x1c/photo?size=full&v=0199e8b0", "card": "/api/shared/q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6j7k8l9z0x1c/photo?size=card&v=0199e8b0", "thumb": "/api/shared/q1w2e3r4t5y6u7i8o9p0a1s2d3f4g5h6j7k8l9z0x1c/photo?size=thumb&v=0199e8b0" }, "ingredients": [ { "id": "i1", "section": null, "text": "2 lemons, juiced", "quantity": 2, "quantityMax": null, "unit": null, "food": "lemon", "note": "juiced" } ], "steps": [ { "id": "s1", "section": null, "text": "Sear the chicken, skin side down." } ], "household": { "name": "The Riveras" }}This recipe isn’t shared.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Too many reads of this link.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}© 2026 Kyle Johnson. Documentation: CC BY 4.0. Merran: AGPL-3.0-or-later.