78trust / 100
Resolve Redirect Chain
by atomic-verify-claim-poc.topadvancement-atomic.workers.dev in Security & trust
x402 APIPassing, checked 2 h ago
Resolve an HTTP or HTTPS URL through redirects and return the complete redirect chain, HTTP status for each hop, final URL, and redirect safety findings. Use when an agent needs to determine where a URL actually leads before visiting, citing, downloading, or trusting it.
POST https://atomic-verify-claim-poc.topadvancement-atomic.workers.dev/api/resolve-redirect-chain
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 570 ms typical, 829 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://atomic-verify-claim-poc.topadvancement-atomic.workers.dev/api/resolve-redirect-chain" \
-H "content-type: application/json" \
-d '{"url":"https://example.com"}'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%2Fatomic-verify-claim-poc.topadvancement-atomic.workers.dev%2Fapi%2Fresolve-redirect-chain
const res = await pay("https://atomic-verify-claim-poc.topadvancement-atomic.workers.dev/api/resolve-redirect-chain", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://example.com"}),
});
console.log(await res.json());Example input
{
"url": "https://example.com"
}Example output
{
"failure_reason": null,
"final_http_status": 200,
"final_url": "https://example.com/",
"hop_count": 0,
"hops": [],
"latency_ms": 125,
"loop_detected": false,
"requested_url": "https://example.com",
"status": "NO_REDIRECT"
}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 |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 638 ms | $0.01 |
| 6 h ago | Passed | 402 | 847 ms | $0.01 |
| 9 h ago | Passed | 402 | 568 ms | $0.01 |
| 13 h ago | Passed | 402 | 561 ms | $0.01 |
| 17 h ago | Passed | 402 | 721 ms | $0.01 |
| 20 h ago | Passed | 402 | 570 ms | $0.01 |
| 24 h ago | Passed | 402 | 546 ms | $0.01 |
| 27 h ago | Passed | 402 | 488 ms | $0.01 |
| 31 h ago | Passed | 402 | 676 ms | $0.01 |
| 36 h ago | Passed | 402 | 829 ms | $0.01 |