
代理商通过搭建我们的基础设施来赚钱
概览
分叉此回放 编辑一个文件 部署 开始赚钱 。 你提供这个想法。 我们提供遍及6个国家(DE,PL,美国,FR,ES,GB)的148个移动设备,x402个支付道(Solana + Base),以及寻找客户的市场. 使用由@aliraza556所建造的有工作(src/ service.ts + src/scrapers/)的回波舰. 以自己的服务逻辑代替它。 你在操纵基础设施 购买代理带宽批发,销售API呼叫零售. 平价——一个简单的费率,所有6个国家,移动+住宅(活价). 期限是免费的;您只支付实际使用的GB。 你的比分取决于你在刮什么: - 交通:~0.5 GB/日~2美元/日代理成本 - 收入:0.005 × 10克=50美元/日 - 优化响应规模. 返回文本,而不是完整的 HTML 。 跳过图像 。 模板的代理Fetch () 默认返回文本( 50KB 盖) .
概述(AI 翻译)
** 将人工智能代理交易转为被动的USDC收入。 **
分叉此回放 编辑一个文件 部署 开始赚钱 。
你提供这个想法。 我们提供遍及6个国家(DE,PL,美国,FR,ES,GB)的148个移动设备,x402个支付道(Solana + Base),以及寻找客户的市场.
** 参考执行情况包括:** 此回转船由@aliraza556所建,装有工作Google地图铅发相器([T0]+[T1]). 以自己的服务逻辑代替它。
□ 经济学
你在操纵基础设施 购买代理带宽批发,销售API呼叫零售.
** Proxy cost:** 平平** 4.GB**——一个简单的费率,所有6个国家,移动+住宅(活地定价)。 期限是免费的;您只支付实际使用的GB。
你的比分取决于你在刮什么:
使用 Avg size / Reqs/GB / 成本/Req ======= ·········································································· JSON APIS ~ 10 KB ~ 100k $ 0.0004 $ 0.01 → 97 → + $ ~ 文本取出 ~ ~ 50 KB ~ 20k ~ $0.02 $0.05 → ** 96% ~ HTML(无图像) ~200 KB ~ 5k $ 0.0008 $ 0.05 ~ **84 ~ ~
- 完整页 * * ~ 2 MB * 500 * $0.008 * $0.02 * ** 60 * * *
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Marketplace Service Template
Turn AI agent traffic into passive USDC income.
Fork this repo → edit one file → deploy → start earning.
You provide the idea. We provide 148 mobile devices across 6 countries (DE, PL, US, FR, ES, GB), x402 payment rails (Solana + Base), and the marketplace to find customers.
Reference implementation included: This repo ships with a working Google Maps Lead Generator (
src/service.ts+src/scrapers/) built by @aliraza556. Use it as-is or replace with your own service logic.
The Economics
You’re arbitraging infrastructure. Buy proxy bandwidth wholesale, sell API calls retail.
Proxy cost: flat $4/GB — one simple rate, all 6 countries, mobile + residential (live pricing). Duration is free; you only pay for the GB you actually use.
Your margin depends on what you’re scraping:
| Use Case | Avg Size | Reqs/GB | Cost/Req | You Charge | Margin |
|---|---|---|---|---|---|
| JSON APIs | ~10 KB | 100k | $0.00004 | $0.001 | 97% |
| Text extraction | ~50 KB | 20k | $0.0002 | $0.005 | 96% |
| HTML (no images) | ~200 KB | 5k | $0.0008 | $0.005 | 84% |
| Full pages | ~2 MB | 500 | $0.008 | $0.02 | 60% |
Example: Text scraper at 10k req/day
- Traffic: ~0.5 GB/day → $2/day proxy cost
- Revenue: $0.005 × 10k = $50/day
- Profit: $48/day (~$1,400/mo)
Key: Optimize response size. Return text, not full HTML. Skip images. The template’s proxyFetch() returns text by default (50KB cap).
Why This Works
- AI agents pay automatically — x402 protocol, no invoicing, no chasing payments
- Real mobile IPs — bypass blocks that kill datacenter scrapers
- Zero customer support — API works or returns error, agents handle retries
- Passive income — deploy once, earn while you sleep
Quick Start
# Fork this repo, then:
git clone https://github.com/YOUR_USERNAME/marketplace-service-template
cd marketplace-service-template
cp .env.example .env
# Edit .env: set WALLET_ADDRESS + PROXY_* credentials
bun install
bun run dev
Test it:
curl http://localhost:3000/health
# → {"status":"healthy","service":"my-service",...}
curl http://localhost:3000/
# → Service discovery JSON (AI agents read this)
curl "http://localhost:3000/api/run?query=plumbers&location=Austin+TX"
# → 402 with payment instructions (this is correct!)
Edit One File
src/service.ts — change three values and the handler:
const SERVICE_NAME = 'my-scraper'; // Your service name
const PRICE_USDC = 0.005; // Price per request ($)
const DESCRIPTION = 'What it does'; // For AI agents
serviceRouter.get('/run', async (c) => {
// ... payment check + verification (already wired) ...
// YOUR LOGIC HERE:
const result = await proxyFetch('https://target.com');
return c.json({ data: await result.text() });
});
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add bolivian-peru/marketplace-service-template