Skip to content
OSINTtools.io

Keybase API

Encrypted chat and file-sharing service whose public profiles link a user's PGP keys to signed proofs of their other accounts.

Base URL
https://keybase.io/_/api/1.0
Sign-in
No key
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from keybase.io · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. No key needed

    The Keybase API answers without an account or key.

  2. Make your first request

    Look up Keybase users by username, proven domain, linked social account or PGP fingerprint.. Replace the example values and run it in a terminal, or use Try it on the endpoint.

    curl 'https://keybase.io/_/api/1.0/user/lookup.json'
  3. Read the response

    A 200 response looks like this.

    {
      "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"
    }

Authentication

No key or account: every endpoint answers without one.

Rate limits and pricing

Not stated in the docs

Users

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.

Query parameters

usernamesstringtakes your username

One or more Keybase usernames, comma-separated

Example: example_user
domainstringtakes your domain

A domain a user has proven ownership of. Only one value is accepted.

Example: example.com
twitterstring

Username on Twitter

Example: example_user
githubstring

Username on GitHub

Example: example-user
redditstring

Username on Reddit

Example: example_user
hackernewsstring

Username on Hacker News

Example: example_user
key_fingerprintstring

A PGP key fingerprint

Example: 0123456789abcdef0123456789abcdef01234567
fieldsstring

Comma-separated sections of the user object to return

Example: basics,public_keysOne of: pictures, basics, public_keys, profile, proofs_summary, remote_key_proofs, sigs, cryptocurrency_addresses
Response fields · 10Show

codeinteger

0 on success

namestring

Status name, for example OK

them[]object

User objects; null for a username not found

idstring

User identifier

usernamestring

Keybase username

ctimeinteger

Account creation time

urlstring

Profile picture URL

key_fingerprintstring

Fingerprint of the primary key

bundlestring

The public key

csrf_tokenstring

Token string returned with the response

curl 'https://keybase.io/_/api/1.0/user/lookup.json'
No key needed
Response
{
  "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"
}