ClawNet
Ask a question in plain English. Get data from 13,000+ APIs in one call. ClawNet figures out which data sources to query, runs them in parallel, and gives you one clean answer.
Quick Start
CODEBLOCK0
CODEBLOCK1
That's it. One question in, one answer out.
Setup (3 options)
Option A: API Key (most common)
- 1. Get a key at https://claw-net.org/dashboard
- Set
CLAWNET_API_KEY in your environment - Base URL: INLINECODE1
Option B: x402 / USDC (no account needed)
Pay per call with USDC on Base. No API key, no signup. Your wallet-equipped agent just calls the endpoint and pays automatically.
CODEBLOCK2
Option C: MCP (for AI coding tools)
Connect ClawNet as an MCP server in Claude Code, Cursor, VSCode, or Windsurf:
CODEBLOCK3
Data Skills (4 built-in)
Pre-built skills that return structured JSON. No LLM involved — fast and cheap:
| Skill | Cost | What you get |
|---|
| INLINECODE2 | 1 credit ($0.001) | Real-time price, 24h change, volume, market cap |
| INLINECODE3 |
2 credits ($0.002) | Top trending tokens by volume and social buzz |
|
whale-tracker-data | 2 credits ($0.002) | Large holder movements, net flow, holder changes |
|
defi-yield-data | 2 credits ($0.002) | DeFi yield opportunities, APY, TVL, risk tier |
CODEBLOCK4
How to Use ClawNet
Step 1: Browse (free, no auth)
See what's available without an API key:
CODEBLOCK5
Step 1b: Search & estimate (free, but needs API key)
CODEBLOCK6
Step 2: Ask (uses credits)
Send a natural language query. ClawNet's LLM picks the best endpoints, runs them in parallel, and synthesizes the answer:
CODEBLOCK7
Every response includes cryptographic proof of where the data came from (see Provenance below).
Step 3: Call directly (after discovery)
Once you know which skill you need, skip the LLM routing and call it directly — faster and cheaper:
CODEBLOCK8
Step 4: Come back when needs change
The registry updates every 4 hours with new endpoints from 7 discovery sources. New question? New data need? Use /v1/orchestrate again to discover the right endpoints.
Verify Data (optional)
Cross-reference any answer against independent sources before acting on it:
CODEBLOCK9
Tiers: quick (0.5 credits), standard (2 credits), deep (5 credits).
All Endpoints
Free (no auth needed)
| Endpoint | What it does |
|---|
| INLINECODE10 | Browse the skill catalog |
| INLINECODE11 |
Skill details, input schema, pricing |
|
GET /v1/soma/:did/trust | Check any agent's verification history |
|
GET /v1/soma/:did/verdicts | Recent verification verdicts for an agent |
|
GET /.well-known/soma.json | ClawNet's cryptographic identity |
Requires API key (but no credit cost)
| Endpoint | What it does |
|---|
| INLINECODE15 | Semantic search for skills by topic |
| INLINECODE16 |
Preview cost before running a query |
|
GET /v1/balance | Check your credit balance |
Paid (API key or x402)
| Endpoint | Cost | What it does |
|---|
| INLINECODE18 | 2+ credits | Natural language query across 13,000+ sources |
| INLINECODE19 |
1-2 credits | Query a data skill (structured JSON) |
|
POST /v1/skills/:id/invoke | varies | Invoke a skill directly with variables |
|
POST /v1/manifest | 0.5-5 credits | Cross-reference data against independent sources |
Pricing
1 credit = $0.001. Credits never expire. Buy at https://claw-net.org (Stripe or USDC).
A typical orchestration query costs 2-10 credits ($0.002-$0.01). Data skills cost 1-2 credits each.
Endpoint Discovery
ClawNet doesn't just have a static list of APIs. It auto-discovers new endpoints every 4 hours from 7 sources:
| Source | Endpoints |
|---|
| Built-in registry | 274 curated |
| ClawAPIs |
Dynamic providers |
|
402index | 15,000+ community directory |
|
Coinbase Bazaar | Official x402 discovery |
|
Zauth | Pre-verified (only WORKING status) |
|
Dexter | Facilitator marketplace |
|
x402list | 17,000+ services |
When you ask a question, ClawNet searches across all of these to find the best data source.
Provenance
Every response is cryptographically signed. You don't have to trust ClawNet — you can verify.
What this means in practice: Each response includes proof of what data was fetched, from where, and that it hasn't been tampered with. This happens automatically — no extra steps needed.
Response headers (on every orchestration and x402 response):
CODEBLOCK10
Want to go deeper?
- -
GET /.well-known/soma.json — ClawNet's full cryptographic identity - INLINECODE23 — verification history for any agent (free, public)
- Install soma-sense to independently verify ClawNet's model usage via MCP
- Read the Soma paper for the full protocol
On-chain identity: ClawNet (36119) and Soma (37696) are registered on Base Mainnet via ERC-8004.
Error Codes
| Code | Status | Meaning |
|---|
| INLINECODE24 | 402 | Out of credits — buy more or use x402 |
| INLINECODE25 |
401 | Bad or missing API key |
|
RATE_LIMITED | 429 | Too many requests — wait and retry |
|
SOURCE_ERROR | 502 | Upstream data source failed — try again |
ClawNet
用简单英语提问。一次调用获取来自13,000多个API的数据。ClawNet会找出需要查询的数据源,并行运行它们,并给出一个简洁的答案。
快速开始
bash
curl -X POST https://api.claw-net.org/v1/orchestrate \
-H X-API-Key: $CLAWNETAPIKEY \
-H Content-Type: application/json \
-d {query: SOL目前的价格是多少?}
json
{
answer: SOL当前交易价格为148.23美元,24小时内上涨3.2%。交易量:21亿美元...,
costBreakdown: { creditsUsed: 8, costUsd: 0.008 },
metadata: { stepsExecuted: 3, totalDurationMs: 1240 }
}
就这么简单。输入一个问题,输出一个答案。
设置(3种方式)
方式A:API密钥(最常见)
- 1. 在 https://claw-net.org/dashboard 获取密钥
- 在环境中设置 CLAWNETAPIKEY
- 基础URL:https://api.claw-net.org
方式B:x402 / USDC(无需账户)
使用Base链上的USDC按次付费。无需API密钥,无需注册。你的配备钱包的代理只需调用端点即可自动支付。
bash
POST https://api.claw-net.org/x402/orchestrate
POST https://api.claw-net.org/x402/skills/{id}
方式C:MCP(适用于AI编码工具)
在Claude Code、Cursor、VSCode或Windsurf中将ClawNet连接为MCP服务器:
json
{
mcpServers: {
clawnet: {
command: npx,
args: [tsx, src/mcp/server.ts],
env: { CLAWNETAPIKEY: yourkey, CLAWNETBASE_URL: https://api.claw-net.org }
}
}
}
数据技能(4个内置)
返回结构化JSON的预构建技能。无需LLM参与——快速且廉价:
| 技能 | 成本 | 获取内容 |
|---|
| price-oracle-data | 1积分(0.001美元) | 实时价格、24小时变化、交易量、市值 |
| trending-tokens-data |
2积分(0.002美元) | 按交易量和社交热度排名的热门代币 |
| whale-tracker-data | 2积分(0.002美元) | 大户持仓变动、净流量、持仓变化 |
| defi-yield-data | 2积分(0.002美元) | DeFi收益机会、年化收益率、总锁仓量、风险等级 |
bash
curl https://api.claw-net.org/v1/skills/price-oracle-data/query?token=SOL \
-H X-API-Key: $CLAWNETAPIKEY
如何使用ClawNet
步骤1:浏览(免费,无需认证)
无需API密钥即可查看可用内容:
bash
浏览技能目录
GET /v1/marketplace/skills
查看特定技能的输入格式和定价
GET /v1/marketplace/skills/price-oracle-data
步骤1b:搜索与估算(免费,但需要API密钥)
bash
按主题进行技能语义搜索
POST /v1/discover {query: solana代币价格}
运行查询前预览成本
GET /v1/estimate?query=SOL值多少钱?
步骤2:提问(消耗积分)
发送自然语言查询。ClawNet的LLM会选择最佳端点,并行运行它们,并综合答案:
bash
POST /v1/orchestrate {query: 比较本周SOL与ETH的表现}
每个响应都包含数据来源的加密证明(请参阅下方的溯源)。
步骤3:直接调用(发现后)
一旦知道需要哪个技能,跳过LLM路由直接调用——更快更便宜:
bash
使用API密钥
POST /v1/skills/price-oracle-data/invoke {variables: {token: SOL}}
使用USDC(无需API密钥)
POST /x402/skills/price-oracle-data {variables: {token: SOL}}
步骤4:需求变化时返回
注册表每4小时更新一次,从7个发现源获取新端点。有新问题?需要新数据?再次使用 /v1/orchestrate 来发现正确的端点。
验证数据(可选)
在依据任何答案采取行动前,可对照独立来源进行交叉验证:
bash
curl -X POST https://api.claw-net.org/v1/manifest \
-H X-API-Key: $CLAWNETAPIKEY \
-H Content-Type: application/json \
-d {tier: standard, verify: {claims: [{type: price, subject: SOL, value: 148.23}]}}
等级:quick(0.5积分)、standard(2积分)、deep(5积分)。
所有端点
免费(无需认证)
| 端点 | 功能 |
|---|
| GET /v1/marketplace/skills | 浏览技能目录 |
| GET /v1/marketplace/skills/:id |
技能详情、输入模式、定价 |
| GET /v1/soma/:did/trust | 查看任何代理的验证历史 |
| GET /v1/soma/:did/verdicts | 代理最近的验证裁决 |
| GET /.well-known/soma.json | ClawNet的加密身份 |
需要API密钥(但无积分成本)
| 端点 | 功能 |
|---|
| POST /v1/discover | 按主题进行技能语义搜索 |
| GET /v1/estimate?query=... |
运行查询前预览成本 |
| GET /v1/balance | 查看积分余额 |
付费(API密钥或x402)
| 端点 | 成本 | 功能 |
|---|
| POST /v1/orchestrate | 2+积分 | 跨13,000+数据源的自然语言查询 |
| GET /v1/skills/:id/query |
1-2积分 | 查询数据技能(结构化JSON) |
| POST /v1/skills/:id/invoke | 视情况而定 | 直接使用变量调用技能 |
| POST /v1/manifest | 0.5-5积分 | 对照独立来源交叉验证数据 |
定价
1积分 = 0.001美元。 积分永不过期。在 https://claw-net.org 购买(Stripe或USDC)。
一次典型的编排查询花费2-10积分(0.002-0.01美元)。数据技能每次花费1-2积分。
端点发现
ClawNet不仅仅拥有静态的API列表。它每4小时从7个来源自动发现新端点:
动态提供商 |
|
402index | 15,000+社区目录 |
|
Coinbase Bazaar | 官方x402发现 |
|
Zauth | 预验证(仅WORKING状态) |
|
Dexter | 促进者市场 |
|
x402list | 17,000+服务 |
当你提问时,ClawNet会搜索所有这些来源以找到最佳数据源。
溯源
每个响应都经过加密签名。你不必信任ClawNet——你可以验证。
实际意义: 每个响应都包含获取了哪些数据、从何处获取以及数据未被篡改的证明。这是自动完成的——无需额外步骤。
响应头(在每个编排和x402响应上):
X-Soma-Protocol: soma/1.0
X-Soma-Data-Hash: <响应数据的哈希值>
X-Soma-Signature: <加密签名>
X-Soma-Model-Verified: true
X-Soma-Discovery: /.well-known/soma.json
想深入了解?
- - GET /.well-known/soma.json — ClawNet的完整加密身份
- GET /v1/soma/:did/trust — 任何代理的验证历史(免费、公开)
- 安装 soma-sense 以通过MCP独立验证ClawNet的模型使用情况
- 阅读 [Soma论文](https