Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Project516/BlogAPI/llms.txt

Use this file to discover all available pages before exploring further.

The GET /blogs endpoint returns every blog post that has been loaded into the server’s cache. Each item in the array represents a single post scraped from the project516.dev blog, including its title, canonical URL, and publish date. The response reflects the state of the cache at the time of the request; if the cache has never been populated, an empty array is returned.

Endpoint

GET /blogs

Rate limit

5 requests per minute per IP address. Exceeding this limit returns a 429 Too Many Requests response.

Query parameters

This endpoint accepts no query parameters.

Response

The response is a JSON array of blog post objects.
title
string
The title of the blog post as it appears on project516.dev.
The full URL to the blog post on project516.dev (e.g., https://project516.dev/blog/some-post).
date
string
The publish date of the post in ISO 8601 format (e.g., 2024-11-03).

Code examples

curl https://api.project516.dev/blogs

Example response

[
  {
    "title": "Building a Static Site with Eleventy",
    "link": "https://project516.dev/blog/building-a-static-site-with-eleventy",
    "date": "2024-11-03"
  },
  {
    "title": "Getting Started with FastAPI",
    "link": "https://project516.dev/blog/getting-started-with-fastapi",
    "date": "2024-09-15"
  },
  {
    "title": "Web Scraping with BeautifulSoup",
    "link": "https://project516.dev/blog/web-scraping-with-beautifulsoup",
    "date": "2024-07-22"
  }
]

Error codes

StatusDescription
429 Too Many RequestsYou have exceeded the rate limit of 5 requests per minute. Wait before retrying.

Build docs developers (and LLMs) love