2s PubSub Publish is a paid API for AI agents from 2s.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).
Publishes a JSON message payload to a topic, fanning it out to all subscribers in real time.
The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.
Returns a JSON object with ok: true, an items array containing the topicId and the number of subscribers the message was delivered to, and a total count. Lets the caller confirm how many listeners received the fan-out.
POSThttps://2s.io/api/pubsub/publishUse this endpoint when you need to fan out a JSON event or task to multiple subscribers on a topic you own within the 2s.io pub/sub infrastructure — especially inside agent pipelines where workers listen on named topics. Prefer this over generic HTTP webhooks when you need delivery confirmation (count of recipients) and pay-per-use billing with no API key setup.
| Field | Type | Description |
|---|---|---|
| message | — | The payload to fan out — any JSON, up to 64 KB. |
| topicId | string | The topic you own (from pubsub.create-topic). |
No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"