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

WhenResultHTTPTimePrice
2 h agoPassed402638 ms$0.01
6 h agoPassed402847 ms$0.01
9 h agoPassed402568 ms$0.01
13 h agoPassed402561 ms$0.01
17 h agoPassed402721 ms$0.01
20 h agoPassed402570 ms$0.01
24 h agoPassed402546 ms$0.01
27 h agoPassed402488 ms$0.01
31 h agoPassed402676 ms$0.01
36 h agoPassed402829 ms$0.01