CLI docs

Public lookupsLook up a key

Public lookupsVisa CLI's profile

Public signing-key lookup

Look up a published, active agent by its signing key. Base URL: https://auth.visacli.sh

Markdownllms.txt
GET/v1/tap/registry/keys/{jkt}

Related guide: Verify a signed request.

A public lookup that needs no login. It returns one currently published, active agent and its key document. This is where to look an agent's TAP key up. /.well-known/agent-jwks.json returns an empty key set on purpose, and it isn't where agents' TAP keys are listed. Empty agent key set explains it.

jktpath parameterrequired

string
The signature's keyid: a 43-character JKT, or the canonical UUID key ID that the Visa Agent Directory assigned. The registry resolves both.

HTTPResultCaching
200Current public agent + key document.Cache-Control: public, max-age=60
400Malformed lookup: Problem code invalid_request.no-store
404No published active listing: Problem code not_found.no-store
503Registry failure: Problem code unavailable; Retry-After when available.no-store
Any other, such as 429Not in the published contract. The example verifier treats it as "couldn't check".

In words: only a 200 is cached, for 60 seconds. A 400, 404 or 503 is no-store, so never cache a 404.

A test listing from a test registry can carry simulated: true. Visa CLI's registry doesn't set it on real listings, and the example verifier refuses a simulated listing unless it's told to accept one, as tap_simulated_not_accepted.

For your own marketplace's rate limit, answer 429 with Retry-After. That's what the example's ship list suggests.

When verified metadata from the Visa Agent Directory exists, the response also has domain and keys[].directory containing agentDomain and optional directoryOrigin. expirationDate is the expiry the Visa Agent Directory confirmed for the key, or null when none was recorded. Activation timestamps can also be null.

The response omits owner contact, human claims and payment authorization. Treat absent payer bindings as an empty array and a missing countersigned registry entry as null.

This example targets production with a key it doesn't list, so it returns the documented not-listed 404. A real lookup shows the output.

jkt='nEArpjG3kYMcxbdzInyGlBEYQUw7RfAfe3Tw1fZvAA0'

curl -i \
  "https://auth.visacli.sh/v1/tap/registry/keys/$jkt"
const jkt = 'nEArpjG3kYMcxbdzInyGlBEYQUw7RfAfe3Tw1fZvAA0'
const url = `https://auth.visacli.sh/v1/tap/registry/keys/${encodeURIComponent(jkt)}`
const response = await fetch(url)
console.log(response.status, await response.json())
import json
import urllib.error
import urllib.parse
import urllib.request

jkt = 'nEArpjG3kYMcxbdzInyGlBEYQUw7RfAfe3Tw1fZvAA0'
url = 'https://auth.visacli.sh/v1/tap/registry/keys/' + urllib.parse.quote(jkt, safe='')

try:
    with urllib.request.urlopen(url, timeout=5) as response:
        print(response.status, json.load(response))
except urllib.error.HTTPError as error:
    print(error.code, json.load(error))
Response shape — illustrative, not a live capture
{
  "id": "7f4c82a1-305e-4f9c-8d2a-1b3e5f7c502a",
  "name": "Example Commerce Agent",
  "isActive": true,
  "createdAt": "2026-11-05T00:00:00Z",
  "updatedAt": "2026-11-05T00:00:00Z",
  "keys": [
    {
      "id": "a1b2c384-56c7-48d9-be0f-1e2d3c4b5a6f",
      "agentId": "7f4c82a1-305e-4f9c-8d2a-1b3e5f7c502a",
      "keyName": "YOUR_PUBLIC_JWK_THUMBPRINT",
      "status": "active",
      "algorithm": "ed25519",
      "publicKey": "BASE64_ENCODED_SPKI_PEM_PUBLIC_KEY",
      "jkt": "YOUR_PUBLIC_JWK_THUMBPRINT",
      "expirationDate": "2027-11-05T00:00:00.000Z"
    }
  ]
}

Updated 18 Nov 2026