API Documentation

Blog Search provides a simple API to access search results. Currently, there is not any authentication or rate limiting. If you are actually using this API, I would be love to hear from you. Please let me know.

Search Endpoint

GET /api/search?q={query}

Returns: JSON object with an array of search results, or an empty array if no results are found.

{
  "results": [
    {
      "url": "https://example.com/blog-post",
      "title": "Example Blog Post",
      "date": "2023-04-15",
      "snippet": "Post content snippet..."
    },
    // More results...
  ]
}

Example Usage

# Python
r = requests.get("https://blogsearch.io/api/search", params={"q": "your search query"})
results = r.json()["results"]