Ghost Content API JavaScript Client

The Ghost Content API JavaScript Client is an official promise-based JavaScript library published as @tryghost/content-api on npm. It abstracts the complexity of authenticating and interacting with the Ghost Content API, providing a clean interface for fetching posts, pages, tags, authors, and settings. The library works in both client-side and server-side JavaScript environments and supports the full NQL filtering syntax.

API entry from apis.yml

apis.yml Raw ↑
aid: ghost:content-api-javascript-client
name: Ghost Content API JavaScript Client
tags:
- Client Library
- Content Management
- JavaScript
- Node.js
- SDK
image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
baseURL: https://api.example.com
humanURL: https://ghost.org/docs/content-api/javascript/
properties:
- url: https://ghost.org/docs/content-api/javascript/
  type: Documentation
description: The Ghost Content API JavaScript Client is an official promise-based JavaScript library published
  as @tryghost/content-api on npm. It abstracts the complexity of authenticating and interacting with
  the Ghost Content API, providing a clean interface for fetching posts, pages, tags, authors, and settings.
  The library works in both client-side and server-side JavaScript environments and supports the full
  NQL filtering syntax.