Content
Get a blog post
Returns a single published blog post, including its full body.
No API key required.
get/v1/blog/{slug}
Request
- Base URL: https://api.gunspec.io
- URL: https://api.gunspec.io/v1/blog/{slug}
- Auth: one of:
- none
- API key in header X-API-Key
- HTTP bearer
Path parameters
slugstring required
Blog post slug
Response
Get a blog post
Example response
{
"success": true,
"data": {
"post": {
"id": "post_01hbar",
"slug": "complete-guide-firearm-calibers-for-developers",
"title": "What is a firearms specification API",
"summary": "What the catalog holds, and how to call it.",
"heroImage": "guides/what-is-a-firearms-api.webp",
"heroAlt": "Studio render of the AK-47, left side",
"category": "guides",
"status": "published",
"postedAt": "2026-08-01T00:00:00.000Z",
"createdAt": "2026-08-01 09:12:44",
"updatedAt": "2026-08-02 10:01:07",
"author": {
"name": "Sacha Roussakis-Notter",
"handle": "sacha-roussakis-notter",
"avatarStyle": "bottts",
"avatarSeed": "9f2c4a1b7e30d5c6"
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.