> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ngnmarket.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Blog Post

> Retrieve the full detail record for a single post: rich author profile, named taxonomies, and a content preview.

Returns a richer record than the list endpoints. Key differences:

* **Rich author object** — bio, website, social links, and avatar URL instead of just a name
* **Named taxonomies** — `categories`, `tags`, and `companies` each include a display `name` alongside the `slug` / `symbol`, making them ready to render directly
* **`content.html` preview** — the article's "Key Highlights" section (heading + bullet list) if one is present, or the first 500 characters of plain text as a fallback. This is not the full article body.
* **`url`** — the canonical link to the full article on [ngnmarket.com/blog](https://ngnmarket.com/blog)

Use slugs from any list or [search](/api-reference/blog/search) response.


## OpenAPI

````yaml GET /blog/posts/{slug}
openapi: 3.1.0
info:
  title: NGN Market API
  version: '1.0'
  description: >
    The NGN Market API provides programmatic access to Nigerian Exchange Group
    (NGX) market data, including equities, forex rates, company profiles,
    indices, bonds, and financial news.


    ## Base URL


    All endpoints are served from:


    ```

    https://api.ngnmarket.com/v1

    ```


    ## Authentication


    Every request requires a Bearer token in the `Authorization` header:


    ```

    Authorization: Bearer ngm_live_YOUR_KEY

    ```


    Generate and manage your API keys from the [developer
    dashboard](https://ngnmarket.com/developer).


    ## Plans & Quotas


    | Plan | Monthly Calls | Requests/min | Price |

    | :--- | ---: | ---: | :--- |

    | Free | 3,000 | 30 | Free |

    | Hobby | 10,000 | 60 | ₦15,000/mo |

    | Starter | 100,000 | 120 | ₦50,000/mo |

    | Growth | 500,000 | 200 | ₦200,000/mo |

    | Business | 2,000,000 | 300 | ₦700,000/mo |

    | Enterprise | Unlimited | Unlimited | Custom |


    Every response includes a `meta` object showing your current usage and
    remaining quota. Exceeding the per-minute rate limit returns `429
    RATE_LIMITED`. Exceeding the monthly quota returns `429 QUOTA_EXCEEDED`.


    ## Response Envelope


    All responses use a consistent JSON envelope:


    ```json

    {
      "success": true,
      "data": { ... },
      "meta": {
        "plan": "starter",
        "calls_used": 4821,
        "calls_remaining": 95179,
        "reset_at": "2026-05-01T00:00:00.000Z"
      }
    }

    ```
  contact:
    name: NGN Market Support
    email: support@ngnmarket.com
    url: https://ngnmarket.com
  license:
    name: Proprietary
servers:
  - url: https://api.ngnmarket.com/v1
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Market
    description: >-
      Daily market snapshots, top trades, movers, market breadth, sectors, and
      YTD performers.
  - name: Companies
    description: >-
      Browse, search, and retrieve profiles, price charts, and financial
      statements for NGX-listed companies.
  - name: Forex
    description: Current and historical NGN exchange rates against major currencies.
  - name: Indices
    description: >-
      All NGX market indices, including list, detail with constituents, and
      historical chart data.
  - name: ETFs
    description: >-
      NGX-listed Exchange Traded Funds and ETPs — list, full fund detail, and
      historical daily price data.
  - name: Bonds
    description: >-
      NGX-listed bond instruments with issuer details, coupon rates, and
      maturity dates.
  - name: Disclosures
    description: >-
      Official corporate filings from NGX-listed companies (financial
      statements, AGM notices, board meetings, director dealings, earnings
      forecasts). Sourced from NGX Group and updated twice daily.
  - name: Blog
    description: >-
      Published NGN Market blog posts. List, search, and filter by category or
      company.
  - name: Dividends
    description: >-
      Market-wide NGX dividend calendar. Browse upcoming and recently paid
      dividends across all listed companies with optional search and pagination.
  - name: Account
    description: >-
      Quota status, 30-day request analytics, and paginated request logs for the
      authenticated user.
paths:
  /blog/posts/{slug}:
    get:
      tags:
        - Blog
      summary: Blog post detail
      description: >
        Returns the full detail record for a single post: rich author profile,
        named taxonomy objects (categories, tags, and companies each with a
        display name and slug), and a `content.html` preview (the article's "Key
        Highlights" section if present, or the first 500 characters of plain
        text as a fallback). The full article is available at the canonical
        `url` on ngnmarket.com.


        Use slugs from any list or search response.


        **Plan required:** Free
      operationId: getBlogPostBySlug
      parameters:
        - name: slug
          in: path
          description: >-
            URL-safe slug of the blog post (e.g.
            `fgn-bond-market-outlook-2026`).
          required: true
          schema:
            type: string
            example: fgn-bond-market-outlook-2026
      responses:
        '200':
          description: Post retrieved successfully.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/SuccessEnvelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/BlogPostDetail'
              examples:
                blogPostDetail:
                  summary: Full post detail
                  value:
                    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>

                          <ul>

                          <li>Dangote Cement Q1 2026 revenue up 35% YoY.</li>

                          <li>Pre-tax profit rose to N321 billion driven by
                          volume growth.</li>

                          <li>Board declares interim dividend of N5 per
                          share.</li>

                          </ul>
                    meta:
                      plan: free
                      calls_used: 315
                      calls_remaining: 9685
                      reset_at: '2026-06-01T00:00:00.000Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Post not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              example:
                success: false
                error:
                  code: NOT_FOUND
                  message: Post "unknown-slug" not found.
        '429':
          $ref: '#/components/responses/QuotaExceeded'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    SuccessEnvelope:
      type: object
      required:
        - success
      properties:
        success:
          type: boolean
          const: true
        meta:
          $ref: '#/components/schemas/Meta'
    BlogPostDetail:
      type: object
      description: >-
        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`.
      properties:
        slug:
          type: string
        title:
          type: string
        excerpt:
          type: string
        cover_image:
          type: string
          description: URL of the cover image, or empty string if none.
        published_date:
          type: string
          format: date
        is_featured:
          type: boolean
        author:
          type: object
          properties:
            name:
              type: string
            bio:
              type: string
            website:
              type: string
            twitter:
              type: string
            linkedin:
              type: string
            avatar:
              type: string
              description: URL of the author avatar image.
        categories:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              slug:
                type: string
        tags:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              slug:
                type: string
        companies:
          type: array
          items:
            type: object
            properties:
              symbol:
                type: string
              slug:
                type: string
        url:
          type: string
          description: Canonical URL of the post on ngnmarket.com.
        content:
          type: object
          properties:
            html:
              type: string
              description: >
                HTML content preview. Returns the "Key Highlights" section
                (heading + bullet list) if present in the article. Falls back to
                the first 500 characters of plain text (HTML tags stripped) when
                no highlights section exists.
    ErrorEnvelope:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Machine-readable error identifier.
              example: NOT_FOUND
            message:
              type: string
              description: Human-readable error description.
              example: Resource not found.
            required_plan:
              type: string
              description: _(PLAN_REQUIRED only)_ Minimum plan needed.
            current_plan:
              type: string
              description: _(PLAN_REQUIRED only)_ Your current plan.
    Meta:
      type: object
      description: Quota and plan metadata included on every authenticated response.
      properties:
        plan:
          type: string
          description: Current plan name.
          enum:
            - free
            - starter
            - growth
            - business
            - enterprise
          example: starter
        calls_used:
          type: integer
          description: Total calls made this calendar month across all your keys.
          example: 4821
        calls_remaining:
          type: integer
          description: Calls remaining before your quota is exhausted.
          example: 95179
        reset_at:
          type: string
          format: date-time
          description: ISO 8601 UTC timestamp of your next quota reset (1st of next month).
          example: '2026-05-01T00:00:00.000Z'
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          examples:
            missingKey:
              summary: Missing Authorization header
              value:
                success: false
                error:
                  code: MISSING_API_KEY
                  message: 'Provide your API key via: Authorization: Bearer <key>'
            invalidKey:
              summary: Invalid or revoked key
              value:
                success: false
                error:
                  code: INVALID_API_KEY
                  message: API key not found or revoked.
    QuotaExceeded:
      description: Monthly call limit reached.
      content:
        application/json:
          schema:
            allOf:
              - $ref: '#/components/schemas/ErrorEnvelope'
              - type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
          example:
            success: false
            error:
              code: QUOTA_EXCEEDED
              message: >-
                Monthly call limit of 100,000 reached. Resets on
                2026-05-01T00:00:00.000Z.
            meta:
              plan: starter
              calls_used: 100000
              calls_remaining: 0
              reset_at: '2026-05-01T00:00:00.000Z'
    ServerError:
      description: Unexpected server-side failure. Safe to retry with backoff.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            success: false
            error:
              code: SERVER_ERROR
              message: Something went wrong on our end. Please try again.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ngm_live_*
      description: >
        Pass your API key as a Bearer token: `Authorization: Bearer
        ngm_live_YOUR_KEY`.

        Generate keys at
        [ngnmarket.com/dashboard/developer](https://ngnmarket.com/developer).

````