Documentation Index
Fetch the complete documentation index at: https://mintlify.com/miikorz/DailyNews/llms.txt
Use this file to discover all available pages before exploring further.
POST /feed/search searches stored news feed items by title and returns every document whose title field contains the given substring. The match is case-insensitive and implemented as a MongoDB $regex query (new RegExp(searchValue, 'i')), so partial matches are returned — searching for "mad" will match "Madrid", "Madrigal", and "Real Madrid". Results are sorted by createdAt descending. This endpoint searches only documents already stored in MongoDB; it does not trigger a live scrape.
Endpoint
Request Body
Send a JSON body withContent-Type: application/json.
The title substring to search for. The match is case-insensitive. An empty string returns all stored feed items.
Response
Array of Feed objects whose
title matches the search substring, sorted by createdAt descending. Returns an empty array [] when no documents match.Always
null on a successful 200 response.Example Request
Example Response
Error Responses
500 — Unexpected server error:Status Codes
| Code | Meaning |
|---|---|
200 | Search completed; matching feeds returned (may be an empty array) |
500 | An unexpected server error occurred |
This endpoint searches only documents already persisted in MongoDB — both manually created items and previously scraped articles. It does not trigger a live scrape. To fetch the latest articles from El País and El Mundo before searching, call
GET /feed first to refresh the stored dataset.