Endpoint
curl -X GET 'https://api.ceboelha.com/insights/news?page=1&limit=10&category=recipe' \
-H 'Content-Type: application/json'
Query Parameters
Page number for pagination (starts at 1)
Number of articles per page (1-100)
Filter by article categoryOptions: recipe, article, tip, wellness, news
Filter by tag (e.g., “low-fodmap”, “breakfast”, “IBS”)
Filter for featured articles onlyOptions: true, false
Search query to filter articles by title, excerpt, content, or tags
Response
Indicates if the request was successful
Array of article objects
Short summary/preview of the article
URL of the article cover image
Article category: recipe, article, tip, wellness, or news
ISO 8601 timestamp when article was published
ISO 8601 timestamp when article was last updated
Whether article is featured on homepage
Recipe details (only present if category is “recipe”)
Preparation time in minutes
Recipe difficulty: easy, medium, or hard
Array of ingredient strings
Array of instruction strings
Whether recipe is FODMAP friendly
Suitable FODMAP phase: elimination, reintroduction, or maintenance
Pagination information
Whether there are more pages available
Response Example
{
"success": true,
"data": [
{
"id": 1,
"title": "Low-FODMAP Breakfast Smoothie Bowl",
"excerpt": "Start your day with this delicious and gut-friendly smoothie bowl",
"image_url": "https://example.com/images/smoothie-bowl.jpg",
"category": "recipe",
"tags": ["breakfast", "low-fodmap", "smoothie"],
"author": {
"name": "Dr. Sarah Johnson",
"avatar": "https://example.com/avatars/sarah.jpg",
"bio": "Nutritionist specializing in FODMAP diet"
},
"publishedAt": "2024-03-01T10:00:00Z",
"updatedAt": "2024-03-01T10:00:00Z",
"featured": true,
"views": 1234,
"likes": 89,
"recipe": {
"prep_time": 10,
"cook_time": 0,
"servings": 2,
"difficulty": "easy",
"ingredients": [
"1 banana",
"1 cup blueberries",
"1/2 cup lactose-free yogurt",
"1 tbsp chia seeds"
],
"instructions": [
"Blend banana, blueberries, and yogurt until smooth",
"Pour into bowl and top with chia seeds"
],
"fodmap_friendly": true,
"fodmap_phase": "elimination"
}
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 45,
"totalPages": 5,
"hasMore": true
}
}
Notes
- Articles are only returned if their status is
published
- Results are sorted by
publishedAt date in descending order (newest first)
- The
content field is not included in list responses for performance. Use the Get Article endpoint to fetch full content
- No authentication is required for this endpoint