82trust / 100
Discover
by Forest Agent Tools in Markets & finance
x402 APIPassing, checked 57 min ago
Discover machine-payable x402 services for a task by searching Bazaar resource metadata and returning normalized candidate endpoints, capabilities and payment-discovery facts. This is service/resource discovery only; it does not invoke or pay the discovered endpoint. Base mainnet USDC
POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/x402/discover
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 38 ms typical, 47 ms slowest 5%
- Last check
- 57 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/x402/discover" \
-H "content-type: application/json" \
-d '{"query":"weather"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhttp--forest-gas-station-mainnet--lcjl27p8lmjs.code.run%2Fx402%2Fdiscover
const res = await pay("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/x402/discover", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"query":"weather"}),
});
console.log(await res.json());Example input
{
"query": "weather"
}Example output
{
"capability": "x402.discover",
"data": {
"query": "weather",
"resources": []
},
"meta": {
"cache": "miss",
"checked_at": "2026-01-01T00:00:00.000Z",
"duration_ms": 1,
"provider": "bazaar-discovery"
},
"ok": true,
"version": "1"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 57 min ago | Passed | 402 | 184 ms | $0.002 |
| 4 h ago | Passed | 402 | 38 ms | $0.002 |
| 7 h ago | Passed | 402 | 47 ms | $0.002 |
| 12 h ago | Passed | 402 | 36 ms | $0.002 |