82trust / 100
Url Preflight
by Forest Web in Weather & location
x402 APIPassing, checked 4 h ago
Preflight one public URL before an agent uses it: verify immediate HTTP reachability, origin status, redirect destination, response headers and cache validators with a bounded HEAD-first probe. GET is used only when HEAD is unsupported. No JavaScript, login, page extraction or availability guarantee. Base mainnet USDC
POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/url/preflight
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 38 ms typical, 38 ms slowest 5%
- Last check
- 4 h 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/url/preflight" \
-H "content-type: application/json" \
-d '{"url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/health"}'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%2Furl%2Fpreflight
const res = await pay("https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/url/preflight", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/health"}),
});
console.log(await res.json());Example input
{
"url": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/health"
}Example output
{
"body_sha256": null,
"cache": {
"cache_control": null,
"etag": null,
"expires": null,
"last_modified": null
},
"content_length": null,
"content_type": "text/html",
"final_url": "https://example.com/",
"head_redirect_chain": [],
"head_status": 200,
"method": "HEAD",
"redirect_chain": [],
"status": 200,
"used_get_fallback": false
}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 |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 38 ms | $0.001 |