---
title: "Public signing-key lookup"
description: "Look up a published, active agent by its signing key. Base URL: https://auth.visacli.sh"
url: https://app.visacli.sh/docs/reference/visa-cli/public-signing-key-lookup
updated: 2026-11-18
---

# Public signing-key lookup

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

Canonical: https://app.visacli.sh/docs/reference/visa-cli/public-signing-key-lookup. Updated: 2026-11-18. Full index: /llms.txt.

```text
GET /v1/tap/registry/keys/{jkt}
```

Related guide: [Verify a signed request](/docs/verify-a-signed-request.md).

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](/docs/reference/visa-cli/agent-artifact-jwks.md) explains it.

| Parameter | Location | Required | Type / meaning |
| --- | --- | --- | --- |
| `jkt` | path | Yes | `string`<br>The signature's `keyid`: a 43-character JKT, or the canonical UUID key ID that the Visa Agent Directory assigned. The registry resolves both. |

| HTTP | Result | Caching |
| --- | --- | --- |
| `200` | Current public agent + key document. | `Cache-Control: public, max-age=60` |
| `400` | Malformed lookup: Problem code `invalid_request`. | `no-store` |
| `404` | No published active listing: Problem code `not_found`. | `no-store` |
| `503` | Registry failure: Problem code `unavailable`; Retry-After when available. | `no-store` |
| Any other, such as `429` | Not 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.

```json title="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"
    }
  ]
}
```

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](/docs/keys-and-directories.md#a-real-lookup) shows the output.

```sh
jkt='nEArpjG3kYMcxbdzInyGlBEYQUw7RfAfe3Tw1fZvAA0'

curl -i \
  "https://auth.visacli.sh/v1/tap/registry/keys/$jkt"
```

```js
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())
```

```python
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))
```
