Loading...
Loading...
Compare original and translation side by side
doc.url-metadatahttps://fittings.shdoc.url-metadatahttps://fittings.shGET https://fittings.sh/v1/doc/url-metadata| Field | Type | Required | Notes |
|---|---|---|---|
| string | yes | Public http(s) URL |
{
"url": "https://example.com/"
}GET https://fittings.sh/v1/doc/url-metadata| 字段 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| string | 是 | 公开的http(s) URL |
{
"url": "https://example.com/"
}| Price | $0.003 per call, metered per bytes |
| Source | live fetch of the caller-supplied URL |
| Licence | permissive |
| Attribution | Metadata belongs to the origin publisher |
| 价格 | 每次调用0.003美元,按字节计量 |
| 来源 | 实时获取调用者提供的URL |
| 许可证 | 宽松许可 |
| 归属 | 元数据归原始发布者所有 |
fittingscall.mjscurl -sO https://fittings.sh/skill/call.mjscurl -s https://fittings.sh/catalog/doc.url-metadata | jq402 Payment Requiredundefinedfittingscall.mjscurl -sO https://fittings.sh/skill/call.mjscurl -s https://fittings.sh/catalog/doc.url-metadata | jq402 Payment Requiredundefined
Spending is never a side effect of curiosity: with no `FITTINGS_PRIVATE_KEY`
the client fetches the quote and stops. `FITTINGS_MAX_PRICE` caps what it will
pay without asking, and defaults to $0.05.
**Use a throwaway wallet holding a few dollars, not a main one.** The key sits
in plaintext wherever the agent runs, and the whole cost of entry is USDC on
Base — no account, no API key, and no ETH, because the payer signs off-chain and
the facilitator broadcasts and pays the gas.
Writing your own client instead of using this one? `@x402/core` and
`@x402/evm` on npm, and the `fittings` skill records the two things that cost
real debugging time: the challenge is in a response header rather than the body,
and it must be re-signed from the exact request being retried.
If this is not the right service, `https://fittings.sh/catalog/search?q=...`
searches all of them for free.
探索性操作不会产生费用:未设置`FITTINGS_PRIVATE_KEY`时,客户端仅获取报价即停止。`FITTINGS_MAX_PRICE`用于设置无需确认即可支付的最高金额,默认值为0.05美元。
**请使用仅持有少量资金的临时钱包,而非主钱包**。密钥以明文形式存储在Agent运行的环境中,入门仅需Base网络上的USDC——无需账户、API密钥或ETH,因为付款方进行链下签名,由服务商广播交易并支付Gas费。
不想使用该客户端,希望自行编写?可使用npm上的`@x402/core`和`@x402/evm`,`fittings` Skill记录了两个耗时调试的要点:挑战信息位于响应头而非响应体中,且必须针对重试的精确请求重新签名。
如果该服务不符合您的需求,可通过`https://fittings.sh/catalog/search?q=...`免费搜索所有可用服务。