82trust / 100

Verify Url

by realcite-url in Security & trust

x402 APIPassing, checked 3 h ago

Verify a URL: does it resolve, what's the final status and redirect chain, is it archived on the Wayback Machine, and (optionally) does expected text appear on the page. Checked via direct fetch and the Internet Archive.

POST https://goodsong.dev/verify/url

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
222 ms typical, 222 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 POST "https://goodsong.dev/verify/url" \
  -H "content-type: application/json" \
  -d '{"url":"https://example.com/blog/some-article"}'
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fgoodsong.dev%2Fverify%2Furl
const res = await pay("https://goodsong.dev/verify/url", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://example.com/blog/some-article"}),
});
console.log(await res.json());

Example input

{
  "url": "https://example.com/blog/some-article"
}

Example output

{
  "canonical": {
    "archived_snapshot": {
      "status": "200",
      "timestamp": "20240101000000",
      "url": "https://web.archive.org/web/20240101000000/https://example.com/blog/some-article"
    },
    "content_hash": "sha256:...",
    "final_url": "https://example.com/blog/some-article",
    "redirect_chain": [],
    "title": "Some Article"
  },
  "checks": {
    "archived": true,
    "content_match": null,
    "final_status": 200,
    "redirected": false,
    "resolves": true
  },
  "cost": {
    "amount": "0.005",
    "currency": "USDC"
  },
  "evidence": [
    {
      "retrieved_at": "2026-08-30T12:00:00Z",
      "source": "direct_fetch",
      "url": "https://example.com/blog/some-article"
    },
    {
      "retrieved_at": "2026-08-30T12:00:00Z",
      "source": "wayback_machine",
      "url": "https://archive.org/wayback/available"
    }
  ],
  "latency_ms": 480,
  "verdict": "confirmed"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402222 ms$0.005