Recipes API
Search and sort community plugins.
Quickstart
Execute a search at https://trmnl.com/recipes, then append JSON to the URL.
# search for "weather"
https://trmnl.com/recipes?search=weather&sort-by=newest
# in JSON format
https://trmnl.com/recipes.json?search=weather&sort-by=newestList Recipes
GET /recipes.json
Returns published recipes only. Unlisted recipes stay out of the list, but you can still fetch one by ID (below).
Example Request
https://trmnl.com/recipes.json?sort-by=install
Query Params
All are optional.
search
string
Full-text search. Partial words OK, plus small typos in the name. Ignored under 3 characters. Prefix with # to filter by category, URL-encoded as %23calendar
sort-by
string
Option by which to rank results (default newest)
user_id
integer
ID of the author, e.g. 51
per_page
integer
Results count (maximum 100, default 25)
page
integer
Page number (default 1)
Valid sort-by options:
oldest
newest
popularity (installs + forks)
fork
install
Searches are limited to 60 requests per minute per IP address. Past that you'll get a 429.
Example Response
author_bio is the recipe's author_bio custom field, repeated at the top level for convenience (null when the recipe has none). stats counts installs + forks of the recipe.
Get a single Recipe
GET /recipes/{id}.json
Works for published + unlisted recipes. An unknown ID redirects (302) to /recipes instead of returning a 404.
Example Request
https://trmnl.com/recipes/16382.json
Example Response
Last updated