Skip to main content
GET
/
api
/
blog
/
{slug}
curl https://api-verifier-2.onrender.com/api/blog/getting-started-with-mt5-trading-abc123
{
  "_id": "65a1b2c3d4e5f6g7h8i9j0k1",
  "title": "Getting Started with MT5 Trading",
  "slug": "getting-started-with-mt5-trading-abc123",
  "summary": "Learn the basics of MT5 trading platform",
  "content": "Full post content here...",
  "contentRaw": "Raw markdown content...",
  "tags": ["trading", "mt5", "beginner"],
  "coverImageUrl": "https://example.com/image.jpg",
  "authorId": {
    "firstName": "John",
    "lastName": "Doe"
  },
  "likesCount": 42,
  "visibility": "public",
  "createdAt": "2024-01-10T08:00:00.000Z",
  "publishedAt": "2024-01-12T10:00:00.000Z"
}

Path parameters

slug
string
required
The URL-friendly slug of the post

Response

post
object
Blog post object
curl https://api-verifier-2.onrender.com/api/blog/getting-started-with-mt5-trading-abc123
{
  "_id": "65a1b2c3d4e5f6g7h8i9j0k1",
  "title": "Getting Started with MT5 Trading",
  "slug": "getting-started-with-mt5-trading-abc123",
  "summary": "Learn the basics of MT5 trading platform",
  "content": "Full post content here...",
  "contentRaw": "Raw markdown content...",
  "tags": ["trading", "mt5", "beginner"],
  "coverImageUrl": "https://example.com/image.jpg",
  "authorId": {
    "firstName": "John",
    "lastName": "Doe"
  },
  "likesCount": 42,
  "visibility": "public",
  "createdAt": "2024-01-10T08:00:00.000Z",
  "publishedAt": "2024-01-12T10:00:00.000Z"
}