微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

X402 Monetize

X402 Monetize · v1.0.14
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(NO_FRONTMATTER)。我们仍保留下载,方便你自行查看内容。
安全 unknown 级 作者 ssidharhubble 公开目录收录
1.1k 下载 0 安装 3.1k 收藏 1 浏览

简介

X402 Monetize

原始描述

Creates paid API endpoints using the x402 micropayment protocol. Wraps existing Zo skills and tools behind per-request payment walls. Each call costs $0.001–...

通过你的 Agent 添加

安装目录:x402-monetize/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/x402-monetize/
Codex CLI~/.codex/skills/x402-monetize/
DeepSeek Harness~/.agents/skills/x402-monetize/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: x402-monetize version: 1.0.14 description: | Creates paid API endpoints using the x402 micropayment protocol. Wraps existing Zo skills and tools behind per-request payment walls. Each call costs $0.001–$0.10, settled on-chain. No crypto custody risk — the x402 facilitator handles payment. compatibility: Zo Computer, Node.js, @x402/core, @x402/express metadata: author: ssyopros.zo.computer category: monetization tags: x402, micropayments, paid-api, passive-# x402-monetize

Create paid API endpoints that earn micropayments every time they're called.

What This Does

  1. Wrap any Python script or Zo tool as an HTTP API endpoint
  2. Add x402 payment middleware (client pays per-call via USDC on Base)
  3. Register the endpoint as a Zo user service on port 4020
  4. The endpoint runs 24/7 and deposits earnings
cd /home/workspace/MoneyMachine/x402_server
node index.js

Endpoints Included

Endpoint Price Description
/api/signals/:ticker $0.01 Options trading signal (bull/bear/neutral)
/api/whale/:ticker $0.01 Whale flow alert (size, direction, conviction)
/api/wave/:ticker $0.01 Elliott Wave count + Fibonacci levels
/api/maxpain/:ticker $0.005 Max pain level + strike wall zones
/api/backtest $0.05 Run options strategy backtest
/api/services free List all paid endpoints

Adding a New Paid Endpoint

const { paymentMiddleware } = require('@x402/express');

// Add to index.js:
app.get('/api/my-endpoint', paymentMiddleware(), async (req, res) => {
  // Your logic here
  res.json({ result: 'paid data', price: '$0.01' });
});

Payment Flow

  1. Client requests /api/signals/AAPL
  2. Server returns 402 Payment Required with payment details
  3. Client pays USDC to facilitator
  4. Client retries with payment proof
  5. Server returns data

Docs

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill