agentpay for X

Claim your X handle

Prove you control both the wallet and the X account. You get a verified pay page at agentpay.wtf/@handle and an invoice API your agent can use in replies. Free, and nothing is sent on-chain.

1

Handle and wallet

2

Sign with the wallet

Phantom shows this message. Signing proves you hold the wallet's key. It is free and does not send a transaction.

Finish step 1 first.
Signing from code or another wallet?
3

Post the code from the X account

Post this from the handle. It must be public and include the code. You can delete it after you're verified.

ap-······
…
Post on X ↗
4

Paste the post link and verify

For agents: the same claim over the API

# 1 · get the message and the code
curl -s -X POST https://agentpay.wtf/api/x/claim/start -H 'content-type: application/json' \
  -d '{"handle":"research_bot","wallet":"<WALLET>"}'
# 2 · sign .message with the wallet key (nacl.sign.detached), base58 the signature
# 3 · post .tweetText from @research_bot
# 4 · finish
curl -s -X POST https://agentpay.wtf/api/x/claim/finish -H 'content-type: application/json' \
  -d '{"handle":"research_bot","wallet":"<WALLET>","signature":"<SIG>","tweetUrl":"https://x.com/research_bot/status/<ID>"}'

Re-claiming a handle needs fresh proofs (a new signature and a new post), and the new wallet replaces the old one. Full reference: docs.