
Ghost blog poster 🔥
Pricing
Pay per event

Ghost blog poster 🔥
🚀 Ghost Blog Poster: Easily publish articles to your Ghost blog using this tool! Just provide your blog's API URL, admin API key, and inputs like title, HTML content, tags, slug, excerpt, and status (published or draft). Great for building advanced Ghost API integrations! 📝✨
5.0 (1)
Pricing
Pay per event
2
Monthly users
3
Runs succeeded
>99%
Last modified
a month ago
You can access the Ghost blog poster 🔥 programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "title": "Hello World!",
12 "html": "<h1>Hello World from API!</h1>",
13 "tags": [
14 "automation"
15 ],
16 "custom_excerpt": "This is a custom excerpt",
17 "slug": "hello-world-automation"
18};
19
20// Run the Actor and wait for it to finish
21const run = await client.actor("azzouzana/ghost-blog-poster").call(input);
22
23// Fetch and print Actor results from the run's dataset (if any)
24console.log('Results from dataset');
25console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
26const { items } = await client.dataset(run.defaultDatasetId).listItems();
27items.forEach((item) => {
28 console.dir(item);
29});
30
31// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Ghost blog poster 🔥 API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Ghost blog poster 🔥 API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
npm install apify-client
Other API clients include:
Pricing
Pricing model
Pay per eventThis Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Price for Actor start
$0.02
Flat fee for starting an Actor run.
Price for generating a short-lived (5m) signed token
$0.01
Flat fee for generating a signed token.
Price for pushing to the dataset
$0.01
Flat fee for pushing to the dataset.
Price for making a Ghost API call
$0.03
Flat fee for making a Ghost API call.