Start a sign-in: get the message your wallet has to sign.
- addressstring
- Your Solana wallet address
curl -X POST http://localhost:3111/api/wallet/challenge \
-H "content-type: application/json" \
-d '{"address":"9xQe…your…Wallet…k2Pw"}'REST endpoints under /api. JSON in, JSON out. Everything the site does goes through these.
http://localhost:3111/api
Sign in once by signing a message with your wallet, then send your address in an x-wallet header and the session token in x-wallet-token. Public endpoints need no headers.
Errors answer 400 with { "error": "…" }. A spend the policy refuses answers 200 with { "ok": false } and a reason; nothing is spent.
Start a sign-in: get the message your wallet has to sign.
curl -X POST http://localhost:3111/api/wallet/challenge \
-H "content-type: application/json" \
-d '{"address":"9xQe…your…Wallet…k2Pw"}'Finish the sign-in with the signed message. Signing costs nothing and moves no funds.
curl -X POST http://localhost:3111/api/wallet/verify \
-H "content-type: application/json" \
-d '{"address":"9xQe…your…Wallet…k2Pw","signature":"q83v…=="}'The signed-in wallet.
curl http://localhost:3111/api/wallet \ -H "x-wallet: YOUR_WALLET_ID"
List every launched SI with its market cap and 24-hour change, followed by the example characters.
curl http://localhost:3111/api/influencers
Check whether a ticker is valid and still free.
curl http://localhost:3111/api/ticker-check
Generate a real SI portrait to preview before launching.
curl -X POST http://localhost:3111/api/preview-avatar \
-H "x-wallet: YOUR_WALLET_ID" \
-H "content-type: application/json" \
-d '{"description":"A cheerful fitness coach who films sunrise workouts on rooftops","look":{"id":2}}'One SI with its posted videos.
curl http://localhost:3111/api/influencers/LUNA
Make a video. The cost is checked against the spending policy before anything runs.
curl -X POST http://localhost:3111/api/generate \
-H "x-wallet: YOUR_WALLET_ID" \
-H "content-type: application/json" \
-d '{"ticker":"LUNA","trend":"street-walk","caption":"Luna hits the street","voice":false}'Post a finished video now, schedule it, unschedule it, or delete it.
curl -X POST http://localhost:3111/api/posts/108 \
-H "x-wallet: YOUR_WALLET_ID" \
-H "content-type: application/json" \
-d '{"action":"post"}'Posted videos of launched SIs for the scrolling feed, newest first.
curl http://localhost:3111/api/feed
Follow or unfollow a launched SI.
curl -X POST http://localhost:3111/api/follow \
-H "x-wallet: YOUR_WALLET_ID" \
-H "content-type: application/json" \
-d '{"ticker":"LUNA","on":true}'Treasury, spending against the caps, service prices and the audit log.
curl http://localhost:3111/api/manage/LUNA \ -H "x-wallet: YOUR_WALLET_ID"
Use the kill switch or change the spending limits. The fee split cannot be changed. SOL is added to a treasury on the My SIs page, where you approve the transfer in your wallet.
curl -X POST http://localhost:3111/api/manage/LUNA \
-H "x-wallet: YOUR_WALLET_ID" \
-H "content-type: application/json" \
-d '{"action":"policy","dailyCap":0.5,"monthlyCap":2,"allowed":["video-gen","social-post"]}'Site totals: tokens launched, and creator fees paid out so far in SOL.
curl http://localhost:3111/api/stats
Tokens are created and traded on pump.fun, from your own wallet. This API never moves funds: launching and collecting fees happen on the Launch and My SIs pages, where you approve each transaction yourself.