Blog post detail
curl --request GET \
--url https://api.ngnmarket.com/v1/blog/posts/{slug} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/blog/posts/{slug}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ngnmarket.com/v1/blog/posts/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ngnmarket.com/v1/blog/posts/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ngnmarket.com/v1/blog/posts/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ngnmarket.com/v1/blog/posts/{slug}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/blog/posts/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"slug": "dangote-cement-q1-analysis",
"title": "Dangote Cement Q1 2026 Results: What the Numbers Say",
"excerpt": "A breakdown of Dangote Cement's Q1 2026 financial results and what they mean for shareholders.",
"cover_image": "https://ngnmarket.com/images/blog/dangote-cement-q1.jpg",
"published_date": "2026-04-07",
"is_featured": false,
"author": {
"name": "NGN Market",
"bio": "We're the NGN Markets team, working to make investing in Nigerian stocks simpler, smarter, and more transparent for everyone.",
"website": "https://ngnmarket.com/",
"twitter": "https://x.com/ngnmarket",
"linkedin": "https://www.linkedin.com/company/ngnmarket/",
"avatar": "https://cdn.ngnmarket.com/authors/ngn-market.png"
},
"categories": [
{
"name": "Corporate News",
"slug": "corporate-news"
}
],
"tags": [
{
"name": "Earnings",
"slug": "earnings"
}
],
"companies": [
{
"symbol": "DANGCEM",
"slug": "dangcem"
}
],
"url": "https://ngnmarket.com/blog/dangote-cement-q1-analysis",
"content": {
"html": "<h2>Key Highlights</h2>\n<ul>\n<li>Dangote Cement Q1 2026 revenue up 35% YoY.</li>\n<li>Pre-tax profit rose to N321 billion driven by volume growth.</li>\n<li>Board declares interim dividend of N5 per share.</li>\n</ul>"
}
},
"meta": {
"plan": "free",
"calls_used": 315,
"calls_remaining": 9685,
"reset_at": "2026-06-15T23:57:00.000Z"
}
}Blog Endpoints
Get Blog Post
Retrieve the full detail record for a single post: rich author profile, named taxonomies, and a content preview.
GET
/
blog
/
posts
/
{slug}
Blog post detail
curl --request GET \
--url https://api.ngnmarket.com/v1/blog/posts/{slug} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ngnmarket.com/v1/blog/posts/{slug}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ngnmarket.com/v1/blog/posts/{slug}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ngnmarket.com/v1/blog/posts/{slug}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ngnmarket.com/v1/blog/posts/{slug}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ngnmarket.com/v1/blog/posts/{slug}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ngnmarket.com/v1/blog/posts/{slug}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"slug": "dangote-cement-q1-analysis",
"title": "Dangote Cement Q1 2026 Results: What the Numbers Say",
"excerpt": "A breakdown of Dangote Cement's Q1 2026 financial results and what they mean for shareholders.",
"cover_image": "https://ngnmarket.com/images/blog/dangote-cement-q1.jpg",
"published_date": "2026-04-07",
"is_featured": false,
"author": {
"name": "NGN Market",
"bio": "We're the NGN Markets team, working to make investing in Nigerian stocks simpler, smarter, and more transparent for everyone.",
"website": "https://ngnmarket.com/",
"twitter": "https://x.com/ngnmarket",
"linkedin": "https://www.linkedin.com/company/ngnmarket/",
"avatar": "https://cdn.ngnmarket.com/authors/ngn-market.png"
},
"categories": [
{
"name": "Corporate News",
"slug": "corporate-news"
}
],
"tags": [
{
"name": "Earnings",
"slug": "earnings"
}
],
"companies": [
{
"symbol": "DANGCEM",
"slug": "dangcem"
}
],
"url": "https://ngnmarket.com/blog/dangote-cement-q1-analysis",
"content": {
"html": "<h2>Key Highlights</h2>\n<ul>\n<li>Dangote Cement Q1 2026 revenue up 35% YoY.</li>\n<li>Pre-tax profit rose to N321 billion driven by volume growth.</li>\n<li>Board declares interim dividend of N5 per share.</li>\n</ul>"
}
},
"meta": {
"plan": "free",
"calls_used": 315,
"calls_remaining": 9685,
"reset_at": "2026-06-15T23:57:00.000Z"
}
}Returns a richer record than the list endpoints. The author field is a full object (bio, website, social links, avatar URL) rather than just a name.
categories, tags, and companies each come with a display name alongside the slug or symbol, so you can render them without a second lookup. content.html gives you the article’s “Key Highlights” section (heading plus bullet list) if one exists, or the first 500 characters of plain text as a fallback, this is a preview, not the full article body. url is the canonical link to the full article on ngnmarket.com/blog.
Use slugs from any list or search response.Authorizations
Pass your API key as a Bearer token: Authorization: Bearer ngm_live_YOUR_KEY.
Generate keys at ngnmarket.com/dashboard/developer.
Path Parameters
URL-safe slug of the blog post (e.g. fgn-bond-market-outlook-2026).
Example:
"fgn-bond-market-outlook-2026"
Response
Post retrieved successfully.
Quota and plan metadata included on every authenticated response.
Show child attributes
Show child attributes
Detailed post record returned by GET /blog/posts/{slug}. Includes a rich author object, named taxonomy objects (vs plain slugs in the list), and a content.html preview. The full article is available at the canonical url.
Show child attributes
Show child attributes