Paid citations for the fediverse.
Connect any Mastodon instance to CitationPay. Every public post becomes a priced source. AI agents pay per citation via x402 on Arc, and the post author earns USDC — automatically.
- 1Instance admin imports postsPaste a Mastodon instance URL. CitationPay fetches public posts via the Mastodon API.
- 2Posts become priced sourcesEvery post gets a per-citation price. By hashtag or by timeline. The author becomes the publisher.
- 3Agents pay per citationWhen an AI agent cites a Mastodon post, x402 nanopayments settle to the author's wallet on Arc. Gasless. Sub-cent. Under a second.
50,000+ instances · 15 million+ users
These are just examples. CitationPay works with any Mastodon-compatible instance — including Pleroma, Akkoma, GoToSocial, and any ActivityPub server with a public API.
Import a Mastodon instance
Fetches public posts via the Mastodon API and registers them as priced sources on CitationPay.
Pick an instance and click import.
CitationPay will fetch public posts and register them as priced sources.
For instance admins
Adding CitationPay to your Mastodon instance means every creator on your server earns when their posts are cited by an AI agent. No configuration needed on the creator's side — just the instance URL and a per-citation price.
# Clone the CitationPay repo
git clone https://github.com/your-org/citationpay
# Set environment
cp .env.example .env.local
# Add your CIRCLE_API_KEY, ARC_RPC_URL, etc.
# Seed some Mastodon content
curl -X POST https://lepton.thecanteenapp.com/api/mastodon/import \
-H 'content-type: application/json' \
-H 'authorization: Bearer cp_live_...' \
--data '{"instanceUrl":"mastodon.social","mode":"public","priceUsd":"0.001"}'
# Done. Mastodon posts are now priced sources.
# Agents pay per citation via x402 on Arc.
# Authors earn USDC.Distribution through existing communities
CitationPay attaches nanopayments to communities that already exist. Mastodon is the first — with 50,000+ instances and 15 million+ users. More integrations planned for Ghost, PeerTube, and Owncast.