# Keybase API reference

> The Keybase user lookup call returns the public profile data of Keybase accounts: username, picture, public keys (including the PGP key and fingerprint), proofs of linked accounts and cryptocurrency addresses. An investigator can look a person up by Keybase username, by a domain they proved they…

Source: https://osinttools.io/apis/keybase/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/keybase/

- Base URL: https://keybase.io/_/api/1.0
- Authentication: No key needed.
- Rate limits: Not stated in the docs
- Vendor docs: https://keybase.io/docs/api/1.0/call/user/lookup

## Overview

The Keybase user lookup call returns the public profile data of Keybase accounts: username, picture, public keys (including the PGP key and fingerprint), proofs of linked accounts and cryptocurrency addresses. An investigator can look a person up by Keybase username, by a domain they proved they own, by a username on Twitter, GitHub, Reddit or Hacker News, or by PGP key fingerprint.

Calls are GET requests to `https://keybase.io/_/api/1.0/user/lookup.json`. The docs state that cross-origin AJAX calls work from any website. User objects are large, so the docs recommend choosing sections with `fields`.

## Users

### Look up Keybase users by username, proven domain, linked social account or PGP fingerprint.

`GET /user/lookup.json`

- Takes: Username, Domain
- Footprint: passive (the target is not contacted)

Identify the user with one of usernames, domain, twitter, github, reddit, hackernews or key_fingerprint. For a username lookup the result array matches the request list, with null for users not found. For domain and social lookups only legitimate matches are returned, so the array may be empty or have several entries.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `usernames` | query | string | no | One or more Keybase usernames, comma-separated Example: example_user |
| `domain` | query | string | no | A domain a user has proven ownership of. Only one value is accepted. Example: example.com |
| `twitter` | query | string | no | Username on Twitter Example: example_user |
| `github` | query | string | no | Username on GitHub Example: example-user |
| `reddit` | query | string | no | Username on Reddit Example: example_user |
| `hackernews` | query | string | no | Username on Hacker News Example: example_user |
| `key_fingerprint` | query | string | no | A PGP key fingerprint Example: 0123456789abcdef0123456789abcdef01234567 |
| `fields` | query | string | no | Comma-separated sections of the user object to return Example: basics,public_keys One of: pictures, basics, public_keys, profile, proofs_summary, remote_key_proofs, sigs, cryptocurrency_addresses |

Response fields:

- `status.code` (integer): 0 on success
- `status.name` (string): Status name, for example OK
- `them[]` (object): User objects; null for a username not found
- `them[].id` (string): User identifier
- `them[].basics.username` (string): Keybase username
- `them[].basics.ctime` (integer): Account creation time
- `them[].pictures.primary.url` (string): Profile picture URL
- `them[].public_keys.primary.key_fingerprint` (string): Fingerprint of the primary key
- `them[].public_keys.primary.bundle` (string): The public key
- `csrf_token` (string): Token string returned with the response

```bash
curl 'https://keybase.io/_/api/1.0/user/lookup.json'
```

Example response (200):

```json
{
  "status": {
    "code": 0,
    "name": "OK"
  },
  "them": [
    {
      "id": "0123456789abcdef0123456789abcd00",
      "basics": {
        "username": "example_user",
        "ctime": 1400000000,
        "mtime": 1400000000
      },
      "public_keys": {
        "primary": {
          "key_fingerprint": "0123456789abcdef0123456789abcdef01234567",
          "bundle": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."
        }
      }
    }
  ],
  "csrf_token": "EXAMPLE_TOKEN"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
