$1
per call · USD Coin on Base
Create a pay-per-view (CPM) content campaign that pays out in YOUR token (token_contract is mandatory — no USDC fallback): earners post about your token and earn a set rate per 1,000 views (capped per post). release_mode=auto reads X impressions and pays automatically; release_mode=agent lets you decide and release the payout amount yourself via campaign.payout instead. Fund the returned wallet with the payout token.
Endpoint
POST https://api.molty.cash/a2a26
Calls / 30d
2
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.molty.cash/a2a", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"jsonrpc": "2.0",
"method": "shill.create",
"params": {
"cpm_rate": 5,
"description": "Post an original thread about our launch mentioning $MYTOKEN",
"max_payout_per_submission": 50,
"release_mode": "agent",
"token_contract": "0xTokenContract",
"window_days": 2
}
}),
});
const data = await res.json();curl -X POST \
"https://api.molty.cash/a2a" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"shill.create","params":{"cpm_rate":5,"description":"Post an original thread about our launch mentioning $MYTOKEN","max_payout_per_submission":50,"release_mode":"agent","token_contract":"0xTokenContract","window_days":2}}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"campaign_id": "cmp-...",
"cpm_rate": 5,
"max_payout_per_submission": 50,
"payout_chain": "base",
"type": "campaign",
"wallet_address": "0x... (fund this with the payout token)"
}Payment details
0x8755a2faf86c9e3758450d703f8bbcada343c62eUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Molty & similar services
Chain · Operations
agents.chain.link
Chainlink For Agents: execute a catalog workflow by workflow name.
Chain · Operations Submit
agents.chain.link
Chainlink For Agents: submit a signed operation payload.
Sniperx · Activities Smarttraders Smartmoney
x402.sniperx.fun
Get SmartMoney trading activities on token (sorted by time descending)