Skip to main content
GET
/
api
/
v1
/
recipes
/
library
/
featured
List featured recipes
import requests

url = "https://api.example.com/api/v1/recipes/library/featured"

response = requests.get(url)

print(response.text)
{
  "result": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "slug": "<string>",
      "title": "<string>",
      "description": "<string>",
      "example_prompts": [
        "<string>"
      ],
      "chains": [
        "<string>"
      ],
      "tags": [
        "<string>"
      ],
      "category": [
        "<string>"
      ],
      "icon": "<string>",
      "author_name": "<string>",
      "status": "draft",
      "featured": true,
      "verified": true,
      "view_count": 123,
      "use_count": 123,
      "share_count": 123,
      "search_count": 123,
      "locale": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "success": true,
  "suggestion": "",
  "message": "",
  "meta": {
    "total": 123,
    "offset": 123,
    "limit": 123,
    "has_more": true,
    "after": "<string>",
    "before": "<string>"
  }
}

Query Parameters

limit
integer
default:12

The maximum number of featured recipes to return. Range: [1, 50].

Required range: 1 <= x <= 50

Response

Successful Response

result
RecipeRead · object[]
required
success
boolean
default:true
suggestion
string
default:""
message
string
default:""
meta
PaginationMeta · object

Pagination metadata for list responses.

Supports both legacy offset-based and cursor-based pagination. Cursor fields (has_more, after, before) are populated for cursor-paginated endpoints. Legacy fields (offset, limit) are populated when the caller uses the deprecated offset parameter.