Skip to content
merran
GitHubInstall

Merran documentation API & integrations

Possible duplicate recipes

GET
/api/recipes/duplicates
curl --request GET \
--url http://localhost:3000/api/recipes/duplicates \
--cookie merran.session_token=<merran.session_token>

Every pair of the household’s recipes that may be the same one: the same page under any address, or the same words in their names. A name inside another counts when most of their ingredients agree. Pairs someone said aren’t the same, and recipes in Recently deleted, are left out. No AI is used. With an API key, it needs the recipes: read permission.

The pairs.

Media typeapplication/json
object
pairs
required

Every pair of the household’s recipes that may be the same one, each once, the pairs with the newest recipe first.

Array<object>
object
recipes
required

The two recipes, the older first.

array
reasons
required
Array<string>
Allowed values: link name

Example

{
"pairs": [
{
"recipes": [
{
"id": "0199e8b0-5a10-7a01-8b00-000000000006",
"slug": "lemon-chicken",
"name": "Lemon Chicken",
"photo": null,
"sourceUrl": "https://cooking.example/lemon-chicken",
"createdAt": "2026-10-15T18:30:00.000Z",
"reasons": [
"link"
]
},
{
"id": "0199e8b0-5a10-7a01-8b00-000000000007",
"slug": "roast-lemon-chicken",
"name": "Roast Lemon Chicken",
"photo": null,
"sourceUrl": "http://www.cooking.example/lemon-chicken/",
"createdAt": "2026-11-09T12:00:00.000Z",
"reasons": [
"link"
]
}
],
"reasons": [
"link"
]
}
]
}

Not signed in.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

Example

{
"error": {
"code": "not_found",
"message": "There's nothing here.",
"fields": {
"name": "Give it a name."
}
}
}

Not allowed.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
fields
object
key
additional properties
string

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.