@ axiomworks/ 代理服务器
联合来文/TS SDK Axiom 工程代理读取器 ——人工智能代理的付费工具.
不属于其他称为“代理人”的产品。 这是 Axiom 工程代理读取器 时间 api.axiomworks.co.uk (英语)。 。 。 .
npm i @axiomworks/agentreader
import { createClient } from "@axiomworks/agentreader";
// Preview mode (no key): free truncated samples
const preview = createClient();
console.log(await preview.checkDomain({ domain: "example.com" }));
// Paid mode: auto x402 USDC on Base
const client = createClient({ privateKey: process.env.AGENTREADER_PRIVATE_KEY });
const report = await client.ukCompanyLite({ number: "00445790" });
也读作: AGENTREADER_PRIVATE_KEY 编号 : EVM_PRIVATE_KEY 编号 : PRIVATE_KEY 从环境 privateKey 省略.
- API : (英语) https://api.axiomworks.co.uk (英语)
- MCP( stdio npm) : (英语)
@axiomworks/agentreader-mcp—— 说npx -y @axiomworks/agentreader-mcp - 远程 MCP : https://api.axiomworks.co.uk/mcp 互联网档案馆的存檔,存档日期2014-12-21
- 盘子 : https://api.axiomworks.co.uk/dashboard (英语)
- 着陆: https://grokbot1233.github.io/agentreader/ (英语)
- 重现 : https://github.com/grokbot1233/agentreader 页面存档备份,存于互联网档案馆
x402 付款额
付费路线返回HTTP 402. 用私人钥匙,SDK包裹 fetch 通过 @x402/fetch + 键 ExactEvmScheme (单位:千美元)@x402/evm) 和结算 USDC 基地 (单位:千美元)eip155:8453(EIP-3009)自动(EIP-3009——支付者没有ETH气体).
没有密钥, 获取方法附加 preview=1 (免费截取JSON,8/IP/天). 未结算的付费答复 PaymentRequiredError 附有付款要求.
import { createClient, PaymentRequiredError } from "@axiomworks/agentreader";
try {
await createClient().ukCompany({ number: "00445790" }); // preview unless key set
} catch (e) {
if (e instanceof PaymentRequiredError) console.log(e.paymentRequired);
}
方法(USDC价格)
| 方法 | 路线 | 价格 |
|---|---|---|
readUrl({ url }) | /read | 0.002美元 |
extractLinks({ url }) | /links | 0.001美元 |
checkDomain({ domain }) | /check | 0.001美元 |
companyResearch({ domain }) | /company | 0.25 (简体中文) |
ukCompany({ number?, name? }) | /uk-company | 0.50美元 (单位:美元) |
ukCompanyLite({ number?, name? }) | /uk-company-lite | 0.05美元 (单位:千美元) |
companyFull({ domain }) | /company-full | 0.65 多注册 |
ukCharity({ number?, name? }) | /uk-charity | 0.05美元 (单位:千美元) |
ukCharityFull({ number?, name? }) | /uk-charity-full | 0.25 (简体中文) |
convertDocument({ url, format? }) | /convert | 0.03美元 (单位:千美元) |
createMonitor({ url, webhook, … }) | POST /monitor | 1.00美元/30美元d |
walletBalances({ address, chain? }) | /wallet | 0.003美元 |
txStatus({ hash, chain? }) | /tx | 0.003美元 |
tokenCheck({ address, chain? }) | /token-check | 0.01美元(美元) |
fxRates({ base?, symbols?, … }) | /fx | 0.002美元 |
ensLookup({ name?, address? }) | /ens | 0.002美元 |
tokenMetadata({ address, chain? }) | /token | 0.001美元 |
tokenAllowance({ token, owner, spender }) | /allowance | 0.002美元 |
contractInfo({ address, chain? }) | /contract | 0.003美元 |
gasFees({ chain? }) | /gas | 0.001美元 |
blockLookup({ number?, timestamp? }) | /block | 0.001美元 |
nftLookup({ contract, token_id, chain? }) | /nft | 0.002美元 |
webSearch({ q }) | /search | 0.003美元 |
ukPropertyPrices({ postcode }) | /uk-property | 0.01美元(美元) |
ukAreaProfile({ postcode }) | /uk-area | 0.005美元(美元) |
pricing() | /.well-known/x402 | 免费 |
过 { preview: true } 编号 : { preview: false } 任何要推翻默认的呼叫.
const client = createClient({ privateKey: "0x…" });
// Force a free truncated sample even with a key:
await client.companyResearch({ domain: "stripe.com" }, { preview: true });
Claude 桌面/ 光标的 MCP
优先使用配套软件包:
npx -y @axiomworks/agentreader-mcp
{
"mcpServers": {
"agentreader": {
"command": "npx",
"args": ["-y", "@axiomworks/agentreader-mcp"],
"env": { "AGENTREADER_PRIVATE_KEY": "0x…" }
}
}
}
麻省理工学院Axiom工程 (原始内容存档于2018-10-21). [email protected]