Verify Site Ownership

Anyone can capture a public page, so a site in your WRL account says nothing about who runs it. Ownership verification shows that someone using your account could put a file on the host, or change its DNS, at the time of the check. It says nothing about the content of the site, and it changes nothing about capturing. Today nothing depends on it; WRL will ask for it before an account can publish a page history under a site's name.

In the dashboard

Open the site under Sites, choose Settings and go to Ownership. Verify ownership shows the token, a tab for the file (with a Download the file button) and a tab for the DNS record, each with its own check button. After a check the section says what WRL found, with one message for each reason in the table below. Once the host is confirmed, the section shows when WRL checked last and when it checks next, with Check now, Show the token and Remove verification. While a verification waits for its first check, the same button is called Cancel verification.

Get the token

curl -X POST https://api.webresourceledger.com/v1/sites/example.com/ownership \
  -H "Authorization: Bearer $WRL_API_KEY"
{
  "host": "example.com",
  "ownership": {
    "status": "pending",
    "token": "wrlv_3q8Zk0N2pY7vJm5xQe1RtUw9sLb4hGd6aCf2KiEo8Tn",
    "file": {
      "url": "https://example.com/.well-known/wrl-site-verification.txt",
      "content": "wrlv_3q8Zk0N2pY7vJm5xQe1RtUw9sLb4hGd6aCf2KiEo8Tn"
    },
    "dns": { "name": "_wrl.example.com", "type": "TXT", "value": "wrlv_3q8Zk0N2pY7vJm5xQe1RtUw9sLb4hGd6aCf2KiEo8Tn" },
    "method": null,
    "confirmedAt": null,
    "lastFoundAt": null,
    "lastCheckedAt": null,
    "nextCheckAt": null,
    "failedChecks": 0,
    "lastCheck": null,
    "unreachableSince": null,
    "endedAt": null
  }
}

The first call answers 201, later calls 200 with the same token. The token isn't a secret: you publish it. It works only for your account, because a check compares what it finds with your account's token. Another account that verifies the same host gets a different one.

A host is one site: www.example.com and example.com are verified apart, and a host with a port can't be verified. The key needs the capture scope, and an account can verify 10 hosts.

Put it on the site

Put the token on a line of its own in a text file at:

https://example.com/.well-known/wrl-site-verification.txt

The file can have other lines, for example the token of a second account, such as your agency's. WRL fetches it over HTTPS and reads up to 64 KB. It follows up to three redirects, and only to HTTPS addresses on the same host: when example.com sends every request to www.example.com, verify www.example.com, or use DNS. WRL can't fetch the file from a private address.

Or put it in DNS

Add a TXT record at _wrl.example.com whose value is the token. For www.example.com the name is _wrl.www.example.com; a record on the bare domain doesn't cover its subdomains. A CNAME at that name that leads to a TXT record elsewhere works too. WRL asks Cloudflare's DNS over HTTPS, and Google's when that fails. A new record can take a few minutes to show up.

Check it

curl -X POST https://api.webresourceledger.com/v1/sites/example.com/ownership/check \
  -H "Authorization: Bearer $WRL_API_KEY"

WRL tries the file and then DNS, and stops at the first that has the token. To check one of them, send {"method": "file"} or {"method": "dns"}. The answer is 200 whenever the check ran. After a check that found the token, status is confirmed, method says where, and nextCheckAt is 30 days later. When it didn't, lastCheck.results says what WRL saw at each place:

"lastCheck": {
  "at": "2026-12-02T10:12:40.000Z",
  "ok": false,
  "results": [
    { "method": "file", "reason": "redirect_other_host", "detail": "https://example.com/.well-known/wrl-site-verification.txt redirects to www.example.com." },
    { "method": "dns", "reason": "no_record", "detail": "No TXT record at _wrl.example.com." }
  ]
}
reason What WRL saw
found The token, in the file or a TXT record
not_found The file answered with HTTP 404 or 410
http_status The file answered with another status, such as 401 or 500, or redirected more than three times
no_token The file, or a TXT record, has no line that is the token alone
html_page A web page with status 200 and no token: often a "page not found" page
redirect_other_host The file redirects to another host, named in detail
blocked HTTP 403 or 429: a firewall or bot protection refused WRL
too_large The file is larger than 64 KB
unreachable Timeout, connection or TLS error, or a private address
no_record No TXT record at the name
dns_error Both DNS lookups failed

A host can be checked 10 times an hour. A check you start never counts against the verification.

Keep it current

Leave the token online. WRL checks a confirmed host again every 30 days, the method that found the token last time first:

  • When either method finds the token, the count of misses goes back to 0.
  • When the file answers without the token, or the TXT record is gone, the check counts as a miss and status is failing. The next check is 30 days later.
  • When the host can't be asked (unreachable, blocked, dns_error), nothing is counted and WRL tries again a day later. unreachableSince says when the run of unanswered checks began. After 7 days without an answer it counts one miss.
  • The third miss in a row ends the verification: status is ended.

Each counted miss, and the end of a verification, sends an email to the account's notification address, with what WRL saw at the file and the DNS record and when it looks again. The switch is Site ownership on the Notifications page.

From the day the token disappears to the end of the verification it takes 60 to 90 days. A check you start that finds the token confirms the host again at any time, also after it ended.

Remove it

DELETE /v1/sites/{host}/ownership removes the verification and the token. The next token for the host is a new one. DELETE /v1/sites/{host}, which stops keeping a site current, leaves the ownership alone, and so does a host without captures or settings.

GET /v1/sites/{host} shows the verification under ownership, to keys with the read scope too.

WRL never puts an owner's name on a capture or its verification page. A capture is evidence because WRL made it, whoever asked for it.