Blogger REST API Docs
Publish, update and draft posts on your Blogger blog from any language with one API key. HTTPS only. JSON in, JSON out.
Looking for tutorials? Python, Node.js, n8n, Make & more Blogger API guides →
Generate a token from Dashboard → API. The full token is shown once — save it in a secret manager. Send it as an Authorization header:
Authorization: Bearer bpk_live_xxxxxxxxxxxxxxxxxxxxxxxxNever ship the token in browser code or public repos.
Request body
| Field | Type | Notes |
|---|---|---|
| title | string | Required. Post title. |
| html | string | HTML body. Provide html OR text. |
| text | string | Plain text; wrapped in <p> tags. |
| blog_id | string | Optional — overrides your active blog. |
| tags | string[] | Blogger labels (max 20). |
| meta_description | string | Used for OG/Twitter/JSON-LD (<=300 chars). |
| banner_url | string(url) | Featured image URL. |
| image_urls | string(url)[] | Additional images (rendered as gallery). |
| author | string | Author name for JSON-LD. |
| canonical_url | string(url) | Canonical link for the post. |
| faq | [{question, answer}] | Adds FAQ schema. |
| is_draft | boolean | Default false — publish immediately. |
Successful response
{
"ok": true,
"post_id": "6543210987654321",
"post_url": "https://your-blog.blogspot.com/2026/07/my-first-post-via-api.html",
"status": "LIVE"
}Error codes
401— missing / invalid / revoked token400— invalid JSON, or no blog selected and noblog_idgiven422— input validation failed (seeerror)500— Blogger API error (seeerror)
curl -X POST https://blogjh.lovable.app/api/public/v1/posts \
-H "Authorization: Bearer bpk_live_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "My first post via API",
"html": "<h2>Hello world</h2><p>Published from a script.</p>",
"tags": ["automation", "api"],
"meta_description": "A demo post from the Jhajha Blogger API REST API.",
"banner_url": "https://example.com/banner.jpg",
"is_draft": false
}'const res = await fetch("https://blogjh.lovable.app/api/public/v1/posts", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.BLOG_BUDDY_TOKEN}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Hello from Node",
text: "This is a plain text body.\n\nA second paragraph.",
tags: ["node", "sample"],
is_draft: true,
}),
});
const data = await res.json();
console.log(data);import os, requests
r = requests.post(
"https://blogjh.lovable.app/api/public/v1/posts",
headers={"Authorization": f"Bearer {os.environ['BLOG_BUDDY_TOKEN']}"},
json={
"title": "Hello from Python",
"html": "<p>Posted via API.</p>",
"tags": ["python", "demo"],
"banner_url": "https://picsum.photos/1200/600",
},
timeout=30,
)
print(r.status_code, r.json())Blogger API v3 applies its own quotas (Google side). We keep a per-request log of endpoint, status, latency and post id in your dashboard under API → Logs.
Base URL: https://blogjh.lovable.app. All endpoints under /api/public/* are HTTPS.
- Google allows roughly 50–100 new posts per blog per 24 hours.
- Safe limit: 30–50 posts per blog per day, with a 3–5 minute gap between posts.
- Spread high volume across multiple blogs instead of one blog.
- When Google's limit is hit you get
403 rateLimitExceeded— retry after 24 hours.
Jhajha Blogger API is an independent tool, not a Google product. You are responsible for following Google's Blogger content and spam policies.