Post to Nostr from one API
Publish notes to Nostr, signed with your key and sent to the relays you choose. Images and videos are linked with their metadata so clients show them inline.
What works on Nostr
- 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
- Images per post
- Up to 10
- Videos per post
- Up to 4
- Images and videos together
- Allowed
- 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
Paste your private key and choose your relays. The key is stored encrypted and only used to sign your notes.
Options for Nostr
Nostr needs no extra options. The post text, media and options are sent to your endpoint as JSON.
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_nost_8f2k"
}
],
"scheduledFor": "2026-11-03T09:00",
"timezone": "Europe/Berlin"
}'const res = await fetch("https://postkea.com/api/v1/posts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.POSTKEA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
content: "Our spring pottery workshop opens for booking today.",
platforms: [
{
accountId: "acc_nost_8f2k",
},
],
scheduledFor: "2026-11-03T09:00",
timezone: "Europe/Berlin",
}),
});
const { data } = await res.json();
console.log(data);import os, requests
r = requests.post(
"https://postkea.com/api/v1/posts",
headers={"Authorization": f"Bearer {os.environ['POSTKEA_API_KEY']}"},
json={
"content": "Our spring pottery workshop opens for booking today.",
"platforms": [
{
"accountId": "acc_nost_8f2k",
},
],
"scheduledFor": "2026-11-03T09:00",
"timezone": "Europe/Berlin",
},
)
data = r.json()["data"]
print(data)Read public Nostr data
Postkea publishes to Nostr but does not scrape it.
Nostr questions
Can I schedule Nostr 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 Nostr 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 Nostr 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 Nostr?
No. Nostr 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.