Merran documentation API & integrations
Find more for a collection
const url = 'http://localhost:3000/api/collections/weeknight/find';const options = { method: 'POST', headers: {cookie: 'merran.session_token=<merran.session_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/api/collections/weeknight/find \ --cookie merran.session_token=<merran.session_token>Adds to the collection’s last search when it has one, and starts a search for its theme otherwise, as POST /discover does: matches from the shelf at once, and more from the web, kept with the collection (its found). Needs a model that can search the web. With an API key, it needs the recipes: write permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
weeknightResponses
Section titled “Responses”Searching.
object
The starter collection it found more for (POST /collections/{collection}/find), or null.
Still searching, done, stopped (someone stopped it, keeping what it found), or failed (error says why).
Pages opened of those found online, while they open. Null otherwise.
object
For each round, up to 4 from the shelf of recipes Merran reads, then up to 8 from the web: each a page Merran opened and can import, no more than two from a site unless there aren’t others.
object
The recipe’s page, to import at POST /recipes/import.
A small copy kept by Merran, a shelf recipe’s photo (GET /sites/recipes/{recipe}/photo), or, for a search from before November 25, 2026, the site’s own link. Null when it has none.
Why it’s a good pick.
Example
{ "id": "0199e8b0-5a10-7a01-8b00-00000000002d", "theme": "cozy fall soups", "collection": null, "status": "done", "error": null, "progress": null, "recipes": [ { "url": "https://cooking.example/butternut-squash-soup", "name": "Roasted Butternut Squash Soup", "site": "cooking.example", "minutes": 60, "photo": "/api/discover/0199e8b0-5a10-7a01-8b00-00000000002d/photos/a1b2c3d4e5f60718293a4b5c", "why": "Vegetarian and freezes well, with the squash roasted for depth." } ], "createdAt": "2026-10-01T17:30:00.000Z", "updatedAt": "2026-10-01T17:30:00.000Z"}Not signed in.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}Not allowed.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}No such collection.
object
object
object
Example
{ "error": { "code": "not_found", "message": "There's nothing here.", "fields": { "name": "Give it a name." } }}A search is going already.
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.