← 返回
开发者工具 中文

Maestro Api

Query Maestro APIs over HTTP using the SIWX + JWT + x402 credit purchase flow. Resolve the exact endpoint from docs.gomaestro.org before requesting or paying.
使用 SIWX + JWT + x402 信用购买流程通过 HTTP 查询 Maestro API,并在请求或支付前从 docs.gomaestro.org 确定准确的端点。
vardominator vardominator 来源
开发者工具 clawhub v0.2.4 3 版本 99955.8 Key: 无需
★ 4
Stars
📥 2,183
下载
💾 1
安装
3
版本
#0.1.3#0.1.5#0.1.6#0.1.7#latest#v0.2.1#v0.2.2#v0.2.3#v0.2.4

概述

Maestro API

Use this skill when the user wants a direct HTTP call to a Maestro endpoint. The intended path is short: resolve the exact operation page, send the real request, satisfy the live SIWX challenge, and only buy credits if the server still returns 402.

Fast Path

  1. Resolve the exact operation page in docs.gomaestro.org.
  2. Read the page's .md form and use its OpenAPI block as the source of truth.
  3. Build the request URL from servers: plus the operation path.
  4. Send the real request with no auth or payment headers.
  5. If the response is 200, return the data.
  6. If the response is 402 with extensions.sign-in-with-x, sign the SIWX challenge and retry the exact same request with sign-in-with-x.
  7. If that retry returns 200, return the data.
  8. If that retry returns 402 plus Authorization: Bearer , buy credits from the latest accepts[] entry and retry the exact same request with Authorization and X-PAYMENT.
  9. Reuse the JWT for follow-up queries until it expires or Maestro asks for more credits.

Resolve Endpoint From Docs

Use docs only to find the exact operation page. Do not browse broadly once you have it.

  • Start with https://docs.gomaestro.org/llms.txt only if the operation page is not already obvious.
  • Prefer operation pages over quick-start pages.
  • Read the .md page and extract:
  • operation line -> path
  • servers: -> base URL for the chosen network
  • parameters and body schema -> request shape
  • Combine server.url + path.
  • Do not derive the REST host from the SIWX domain or URI.
  • Useful Bitcoin routing shortcuts:
  • confirmed chain data -> Blockchain Indexer API
  • mempool-aware or pending data -> Mempool Monitoring API
  • mempool.space-style routes -> Esplora API
  • wallet balances or wallet activity -> Wallet API

Minimal Prerequisites

Ask only for what is required to sign and pay:

  • PRIVATE_KEY, or a runtime CDP wallet signer
  • enough USDC and native gas on one network from the live 402 response
  • no API key

Request Rules

  • Keep method, path, query parameters, and body unchanged across the unauthenticated request, the SIWX retry, and the paid retry.
  • Always use the latest 402 response for supported_chains, accepts[], asset, pay_to, and price limits.
  • Confirm before the first paid mainnet request.
  • If a paid retry still fails, report:
  • docs page used
  • selected network
  • selected amount
  • signer address
  • minimal next action

Read Only When Needed

Read SIWX + x402 Reference only when you need the exact signing or header details:

  • sign-in-with-x payload format
  • X-PAYMENT payload format
  • EIP-4361 SIWX message template
  • ERC-3009 EIP-712 domain and message fields
  • response header meanings
  • failure cases and common pitfalls

版本历史

共 3 个版本

  • v0.2.4 当前
    2026-03-28 17:46 安全 安全
  • v0.2.2
    2026-03-11 11:02
  • v0.2.1
    2026-03-11 09:35

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,891
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,421
dev-programming

Docker Essentials

arnarsson
核心 Docker 命令和工作流程,包括容器管理、镜像操作和调试。
★ 38 📥 32,239