Machine-facing endpoints for generating viral assets. Free preview, then pay per asset with a SOL microtransaction — the same flow the Telegram bot uses, over plain HTTP. An MP4 asset is $0.25, quoted in SOL at the live rate.
Every call carries an agent key in the x-api-key header. Minting is unlocked once your account is wired up: save your required API keys under Your API keys. Referral links and a test generation are optional. Everything lives in the your hub, and the same checklist gates /apikey for @BankrMEMEbot. Keys are shown once — store them securely.
Missing or invalid keys return 401. Rate limits apply per key — pricing 60/min · create 10/min · status 60/min · check 20/min.
02 / Pricing
One price list.
Every route below charges from the same table. Pay with x-api-key credits or per call over x402 in USDC. MP4 assets are priced in USD ($0.25) and quoted in SOL at the live rate; the SOL amounts in the examples are illustrative.
There are two kinds of call. One made on your own saved provider keys (BYOK) is 1 credit ($0.01) and runs on those keys, plain HTTP or MCP — one tool call is one call, however many pages it makes. One made on our keys pays that service's list credits. Either way, what a BYOK key makes is the owner's to resell: the pages, memes and MP4s themselves, API access wrapped for your own clients, or a branded bot you run on the engine.
1 credit = $0.01. With your own provider keys saved in /hub (BYOK), every BYOK API and MCP call is 1 credit ($0.01), the first 100 each month free; an MP4 is 1 credit ($0.01) when your own Railway render worker is saved, otherwise the full 25 credits ($0.25) on our servers. Without BYOK a key pays the list credits below, and x402 pays the list USD price; both run on our provider keys.
AssetRing quotes are in SOL by default. When the engine runs in $APIRING mode the same quote comes back in tokens — currency: "$APIRING" and amountTokens instead of amountLamports / amountSol. Read the quote; don't assume the currency.
published prices
Service
x402 / call
Credits
What you get
/before pitch
POST /api/agent/before
$0.10
10
A personalized pitch page for one person: hook, memes, iMessage beats, voiced audioscript, share link.
input ≤ 1500 chars
audioscript
POST /api/agent/audioscript
$0.25
25
A verbatim script or an mp3 becomes a beat-timed, captioned page with memes. The MP4 is a separate step.
script < 150 words or mp3 ≤ 3 min · async job, free polling
/1minute
POST /api/agent/one-minute
$0.25
25
The /1minute engine via API: give ONE of a topic (engine writes + voices the ~60s take), your own audio_url, or a link to extract audio from → 9:16 temp page. Regen with style/iMessage/hot-take/meme/text; MP4 is a separate step.
one input: topic ≤ 600 chars | audio_url (https, ≤24MB) | link; ≤ 2 active per key · async job, free polling
MP4 render
POST /api/agent/mp4
$0.25
25
Renders any engine page to a vertical MP4, delivered on the temp page.
hosted ~24h · async job, free polling
multilingual meme
POST /api/agent/xaiver/memes
$0.10
10
An idea, link or X post becomes a meme, slideshow and hot take in 23 languages.
input ≤ 2000 chars
Amazon packcoming soon
POST /api/agent/amazon/pack
$2
200
The full /amazon pack for one product: facts, 10 creative concepts, voiced review page and affiliate first comment.
coming soon · async job, free polling
1 credit = $0.01. Credits are the list price rounded up, so a page is 10 credits and an audioscript or MP4 is 25. Bigger packs cost less per credit: 100 for $1 ($0.010 each), 500 for $4 ($0.008 each), 2,000 for $12 ($0.006 each), 10,000 for $50 ($0.005 each). Failed jobs are refunded or never charged.
03 / Flow
The pay-per-asset flow.
01
POST /agent/assetring/jobsGenerate the free preview, get a unique lamport quote.
02
PaySend exactly that amount to the treasury wallet — plain transfer, no memo needed.
03
POST …/checkThe sweep verifies your deposit on-chain and claims it atomically.
04
PollOnce status is "DELIVERED", the final MP4 is in mp4Url.
The unique-amount quote is the double-redemption guard: one signature unlocks exactly one asset, ever. Quotes expire after 24h — create a fresh job if yours lapses.
04 / Reference
Asset endpoints.
The price, wallet, network, quote TTL and format list below are read live from GET /api/assetring/pricing, which needs no key — the API is unreachable, so this is the last published price. The keyed route returns the same block.
GET/agent/assetring/pricing
Live asset price, payment wallet, network, and the supported format list.
Generate the FREE preview for an idea, product, or URL and open a payment quote with a unique lamport amount. The unique amount IS the payment identifier — no memo required. Optionally pass callbackUrl (+ webhookSecret) to get PUSHED the finished MP4 instead of polling.
Sweep the treasury's recent deposits for your unique amount (same machinery as the bot's CHECK button). When your payment confirms, the job auto-advances to DELIVERED and mp4Url is populated.
Pass a callbackUrl when creating a job and we POST the finished MP4 to you the moment it delivers — no polling loop needed. Optionally supply your own webhookSecret (16+ chars); omit it and we generate one, returned exactly once in the create response.
POST https://yourapp.com/hooks/apiring
Content-Type: application/json
User-Agent: PlunderRiffle-AssetRing/1.0
X-Apiring-Signature: sha256=<hex HMAC-SHA256 of the raw body with your webhookSecret>
X-Apiring-Event: job.delivered
X-Apiring-Job-Id: <jobId>
{ "event": "job.delivered", "jobId": "…", "status": "DELIVERED",
"format": "slideshow", "mp4Url": "https://…/final.mp4",
"paid": true, "deliveredAt": "…", "attempt": 1 }
Verify the signature: HMAC-SHA256 of the raw request body keyed with your webhookSecret.
Delivery is at-least-once — treat replays as no-ops (key on jobId).
Failures are retried by a background sweeper every 60s until acknowledged (2xx).
Render failures push event: "job.failed" with error — the payment stays bound to the job.
callbackUrl must be a public http(s) URL — loopback, private and internal hosts are rejected.
06 / Example
Full roundtrip, in curl.
# 1. Free preview + unique quote
JOB=$(curl -s https://bot.plunderandriffle.com/api/agent/assetring/jobs \
-H "x-api-key: $KEY" -H "Content-Type: application/json" \
-d '{"input":"viral slideshow about our app","format":"slideshow"}')
LAMPORTS=$(echo "$JOB" | jq .payment.amountLamports)
WALLET=$(echo "$JOB" | jq -r .payment.wallet)
JOB_ID=$(echo "$JOB" | jq -r .job.jobId)
echo "Send exactly $LAMPORTS lamports to $WALLET for job $JOB_ID"
# 2. After paying, sweep the chain for your deposit:
curl -s https://bot.plunderandriffle.com/api/agent/assetring/jobs/$JOB_ID/check \
-H "x-api-key: $KEY"
# 3. Poll until status == "DELIVERED", then grab .job.mp4Url
07 / Credits
Credit-based generation, no SOL needed.
Prefer prepaid credits? The same key also powers the credit API — top up with USDC or Stripe.
GET/agent/credits/packs— Credit pack catalog with per-credit rates (see Pricing) — here.now pages, not MP4 renders
GET/agent/listings— Browse the agent marketplace
POST/agent/request— Generate a page and auto-list it for sale
POST/agent/content— Dedicated # content mode per brand — meme, tweet, linkedin + 6 more categories, prebuilt with the brand's voice (10 credits). See Brands ↓
GET/agent/me— Your key, credits, listings and purchases
08 / Memes
Branded-bot memes, over HTTP.
The same meme engine behind every branded bot. One call returns a live meme page (plus a PNG for carousels). Spends credits from the same key balance; failures are refunded. Kinds: image (10 credits) · carousel (10 credits) · confession (10 credits) · hottake (10 credits) · hybrid (20 credits) · xaiver-reply (10 credits) (reply is an alias of xaiver-reply; prices are read live from GET /api/agent/brands/kinds).
POST/agent/brands/memes— Generate a meme in any branded bot's voice (10–20 credits). /agent/xaiver/memes still works.
POST/agent/brands/chat— Talk to a branded bot (e.g. Jobless Joe) in its own voice. You keep the history (1 credit).
GET/xaiver/contest— The open contest + reward schedule (public)
curl https://bot.plunderandriffle.com/api/agent/brands/memes \
-H "x-api-key: $KEY" -H "Content-Type: application/json" \
-d '{"brief":"when the API key finally works on the first try","kind":"image"}'
# → { "success": true,
# "meme": { "kind": "image", "url": "https://…here.now/…", "imageUrl": null, "title": "…" },
# "brand": { "key": "acme", "name": "Acme", … },
# "creditCost": 10, "creditsRemaining": 90 }
09 / Brands
Bot Access & Specific Brand Bots.
Every branded bot on the meme engine is programmatically addressable by key. AI agents can query all available registered brand bots using GET /agent/brands, or target a specific bot by setting "brand": "<key>" in the request body. If you haven't registered a bot, you can pass an ad-hoc brandProfile to generate content using your company's custom voice, hashtag, and token ticker.
A registered brand bot can have this mode switched off by its admin (/admin → Brands) — the endpoint then returns 403 for that brand. Ad-hoc brandProfile calls are always allowed.
4. Chat with a brand bot
# POST /agent/brands/chat — the bot answers in its own voice.
# You keep the conversation and send it back each turn (last 12 kept).
# 1 credit ($0.01); refunded if the model providers are down.
curl https://bot.plunderandriffle.com/api/agent/brands/chat -H "x-api-key: $KEY" -H "Content-Type: application/json" \
-d '{"brand":"joblessjoe","message":"Third rejection this week. Any advice?"}'
# → { "success": true, "reply": "…", "brand": { "key": "joblessjoe", … },
# "creditCost": 1, "creditsRemaining": 99 }
# Next turn: send the whole thread.
# {"brand":"joblessjoe","messages":[
# {"role":"user","content":"Third rejection this week. Any advice?"},
# {"role":"assistant","content":"…"},
# {"role":"user","content":"Okay, make it a meme idea."}]}
Brand keys come from GET /agent/brands; an ad-hoc brandProfile works too. MCP clients get the same thing as the chat_with_brand tool. Read-only keys can't chat (it spends credits).
Each brand bot's public feed, leaderboard, and featured content can be queried via /brands/<key>/recent, /leaderboard, and /featured. Telegram bot administrators can provision and manage specific brand bots dynamically via /admin → Brands.
10 / MCP
The MCP server.
The same engine over MCP, for Claude, Cursor and any other agent client. One POST carries one JSON-RPC message (stateless Streamable HTTP). Authenticate with the same key: Authorization: Bearer <key> or x-api-key. Generators return a temp page preview, not a video; ask for the MP4 with request_mp4 once the preview is approved, and poll async jobs with get_job_status. Pricing is the same as above: one tool call is one call.
list_my_offers returns the key owner's own links from /hub and their tracked partner pages (/whop, /fishaudio, /bankr, /railway…), each carrying their ref. Share the page URLs; their button opens the member's own link once saved.
generate_ad_creative
Make a meme or ad.
shop
Product link to copy and creatives.
create_ridiculous
Jobless Joe's meme reaction show.
create_followup
Another format from a finished show.
create_news
Jobless Joe News.
create_best_of
Best-of reel from links.
create_before_pitch
One business, before and after.
set_call_page
Your phone page.
list_my_offers
Your own links and tracked partner pages.
get_job_status
Poll an async job.
request_mp4
Render an approved preview to MP4.
Last published list; the server is the source of truth.
11 / Errors
Status codes.
200
Success — check may still report paid: false if no matching deposit has landed yet.
400
Validation — bad format, missing input.
401
Missing or invalid agent key.
402
Out of credits — top up, or save your own provider keys (BYOK) so calls stop drawing on credits.
403
That key can't make this call: a read-only (mcp:read) key can't spend credits, a brand's # content mode can be switched off by its admin, and an AssetRing key with no linked Telegram identity is refused.
404
Job not found, or it belongs to another key.
429
Rate limited.
502 / 503
Generation or quote allocation failed — retry safely.