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 →

Authentication
Every request needs a bearer token created in your dashboard.

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_xxxxxxxxxxxxxxxxxxxxxxxx

Never ship the token in browser code or public repos.

POST /api/public/v1/posts
Create a Blogger post (live or draft) on your active blog.

Request body

FieldTypeNotes
titlestringRequired. Post title.
htmlstringHTML body. Provide html OR text.
textstringPlain text; wrapped in <p> tags.
blog_idstringOptional — overrides your active blog.
tagsstring[]Blogger labels (max 20).
meta_descriptionstringUsed for OG/Twitter/JSON-LD (<=300 chars).
banner_urlstring(url)Featured image URL.
image_urlsstring(url)[]Additional images (rendered as gallery).
authorstringAuthor name for JSON-LD.
canonical_urlstring(url)Canonical link for the post.
faq[{question, answer}]Adds FAQ schema.
is_draftbooleanDefault 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 token
  • 400 — invalid JSON, or no blog selected and no blog_id given
  • 422 — input validation failed (see error)
  • 500 — Blogger API error (see error)
cURL
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
  }'
Node.js
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);
Python
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())
Rate limits & logs

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 Blogger Daily Quotas & Fair Usage
  • 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.