78trust / 100

Redirect

by PennyAPI Redirect Resolver in Security & trust

x402 APIPassing, checked 3 h ago

Resolve a URL redirect chain before an agent follows a link. Return the final URL, HTTP status, redirect count, and chain for URL verification and safe navigation.

GET https://pennyregwatch.com/v1/redirect

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
305 ms typical, 686 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://pennyregwatch.com/v1/redirect?target=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%2Fpennyregwatch.com%2Fv1%2Fredirect
const res = await pay("https://pennyregwatch.com/v1/redirect?target=example.com");
console.log(await res.json());

Example input

{
  "target": "example.com"
}

Example output

{
  "final_url": "https://example.com/",
  "ok": true,
  "redirect_count": 0,
  "target": "example.com"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402305 ms$0.001
6 h agoPassed402298 ms$0.001
10 h agoPassed402284 ms$0.001
13 h agoPassed402300 ms$0.001
17 h agoPassed402281 ms$0.001
20 h agoPassed402389 ms$0.001
25 h agoPassed402378 ms$0.001
28 h agoPassed402749 ms$0.001
31 h agoPassed402376 ms$0.001
36 h agoPassed402686 ms$0.001