Post to Hashnode from one API

Publish Markdown posts or drafts to your Hashnode blog with tags, a subtitle, a cover image and an original link. Hashnode accepts API posts for blogs on its Pro plan.

Hashnode only accepts posts through its API for blogs on the Hashnode Pro plan.

What works on Hashnode

  • Publish now
  • Schedule and queue
  • Post analytics
  • Comments in the inbox
  • Direct messages
  • First comment
  • Public data scraping
  • Video downloads

What you can publish

Text length
No practical limit
Title length
250 characters
Images per post
Up to 1
Videos per post
Not supported
Image file size
Up to 8 MB
Media
Optional
Long text
Sent as one post

Preflight checks these limits for every target before publishing and returns clear errors and warnings.

How you connect

Create an API key or token in Hashnode and paste it. Postkea stores it encrypted, and you can revoke it in Hashnode at any time.

Options for Hashnode

Pass these in platformSpecificData on the Hashnode entry of a post. Everything else, like text, media, first comment and scheduling, works the same on every network.

  • title
  • subtitle
  • status
  • tags
  • canonicalUrl
  • coverImageUrl
  • slug
  • disableComments

Example request

curl -X POST "https://postkea.com/api/v1/posts" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "Our spring pottery workshop opens for booking today.",
  "platforms": [
    {
      "accountId": "acc_hash_8f2k",
      "platformSpecificData": {
        "title": "How we fire crystalline glazes",
        "tags": [
          "ceramics"
        ],
        "status": "draft"
      }
    }
  ],
  "scheduledFor": "2026-11-03T09:00",
  "timezone": "Europe/Berlin"
}'

Read public Hashnode data

Postkea publishes to Hashnode but does not scrape it.

Hashnode questions

Can I schedule Hashnode posts with the API?

Yes. Send a post with scheduledFor and a timezone, or addToQueue to use the next free slot of the account. You can also schedule from the dashboard calendar or let an AI agent do it through the MCP server.

What are the Hashnode limits?

Posts can have up to 100,000 characters. Postkea checks text length, media count, file size, duration and aspect ratio before publishing, so you get a clear error instead of a failed post.

What happens if a Hashnode post fails?

The post gets a result per network. Failed networks cost no credits, the error says what went wrong, and you can retry them with one call to POST /v1/posts/{id}/retry or one click in the dashboard.

Can I scrape Hashnode?

No. Hashnode is a publishing destination in Postkea. You can still read results of your own posts in analytics where the network provides them.

Other platforms

Connect your first channels

Free includes 3 channels and 200 credits a month.