Overview
Search for blog posts using full-text search across titles and content. Perfect for implementing search functionality in your blog application.Query Parameters
Search query (minimum 1 character)
Page number (must be ≥ 1)
Items per page (1-100)
Show only published blogs (set to
false to include drafts)Response
Returns search results with the query information.Array of blog posts matching the search querySee BlogResponse for complete object schema
Total number of blogs matching the search
Current page number
Items per page
Total number of pages
The search query that was executed
Example Requests
Example Response
Status Code:
200 OKError Responses
Missing or invalid query parameter
Search failed
Search Features
Full-text Search
Full-text Search
The search queries both title and content fields for matches. Results are ranked by relevance.
Case-insensitive
Case-insensitive
Search is case-insensitive for better user experience.
Multi-word Queries
Multi-word Queries
Use spaces for multi-word searches. All words must match (AND logic).
Pagination Support
Pagination Support
Search results are paginated just like the list endpoint.
Best Practices
Implement debouncing - When building search UIs, debounce user input to avoid excessive API calls.
Show query in UI - Display the
query field from the response to confirm what was searched.Handle empty results - Check if
total is 0 and show a “No results found” message.Use pagination - For queries with many results, implement pagination controls.
For search-as-you-type functionality, set a minimum query length of 3 characters to reduce noise.
The search query parameter
q is required. Requests without it will return a 400 error.