Docs
Open the app

Identity (GET /v1/me)

Returns the account, plan, live credit balance, and pricing behind the API key you authenticate with. Use it to confirm a key works and to read your balance before you spend. It is free.

Request

GET /v1/me
Base URL https://api.naut.so
Auth Authorization: Bearer ck_live_…
Scope read:metadata
Cost 0 credits (free)
Version every response carries NAUT-API-Version, also sent as Compass-API-Version (currently 1.7.0)
curl https://api.naut.so/v1/me \
  -H "Authorization: Bearer ck_live_your_key_here"

Response 200

{
  "apiVersion": "1.7.0",
  "baseUrl": "https://api.naut.so",
  "docs": "https://naut.so/docs/api",
  "endpoints": [
    { "method": "GET", "path": "/v1/me", "summary": "Your identity, plan, credit balance, and this endpoint list. Always free.", "credits": 0 },
    { "method": "GET", "path": "/v1/people", "summary": "Search and filter people. Supports q, roles, channels, contactType, sort.", "credits": 5 }
    // ...every other endpoint, each with its own credit price
  ],
  "id": "clx0...",
  "name": "Ada Lovelace",
  "email": "ada@example.com",
  "tier": "starter",
  "sampleMode": false,
  "organization": "Example Labs",
  "creditsBalance": 2850,
  "apiKey": {
    "label": "agent",
    "prefix": "ck_live_AbCdEf",
    "scopes": ["read:metadata", "read:contacts"],
    "environment": "live"
  },
  "pricing": {
    "currency": "credits",
    "basicCallCredits": 5,
    "privateCallCredits": 10,
    "note": "Data calls cost 5 credits. Revealing a contact's private channels (email/phone/telegram/linkedin) costs 10 credits the first time (a permanent unlock); later calls on that contact cost 5." // ...
  },
  "meta": {
    "creditsCharged": 0,
    "creditsBalance": 2850
  }
}

Fields

Field Type Description
apiVersion string The API build you are talking to. Also sent as the NAUT-API-Version header.
baseUrl string Where to send every other call. Read it from here rather than hard-coding a host.
docs string Where to read more.
endpoints array Every endpoint with its method, path, summary and credits. Generated from the same price table that bills you, so the quote and the charge cannot disagree.
id string The account the key belongs to.
name string The account holder's name.
email string The account holder's email.
tier string The plan key: free, starter (sold as Essential), pro, team, or enterprise.
sampleMode boolean true when this key is being served the free sample plane instead of live data. It is true for every free account, whatever its credit balance, and false on a trial or paid plan.
organization string The workspace name, or NAUT if none is set.
creditsBalance number Credits available right now. Data calls cost 5; a private reveal costs 10.
apiKey.label string The label you gave the key.
apiKey.prefix string The key's display prefix, such as ck_live_AbCdEf.
apiKey.scopes string[] What the key may read: read:metadata and read:contacts.
apiKey.environment string The key's environment, such as live.
pricing object The credit cost of a basic call (basicCallCredits) and a private reveal (privateCallCredits), with note, a short summary of the prices.
meta.creditsCharged number Credits this call charged (0 for /v1/me).
meta.creditsBalance number Your balance after this call. /v1/me charges nothing, so it repeats creditsBalance above.

Errors

Code Reason
401 The key is missing, malformed, or revoked. The body names the right baseUrl.
410 You called the API's retired previous host. Send the same request to https://api.naut.so.
429 You hit the rate limit. The window clears within a minute: read X-RateLimit-Reset from your last successful response, or follow error.hint, then retry. More than 20 calls a minute with a missing or invalid key from a single address are also refused for a minute.

Data calls (not /v1/me) can also return 402 (out of credits), 429 TRIAL_DAILY_LIMIT (a trial past today's share of its credits) and, on a private reveal, 403 UNPAID_PLAN. See Errors & Status Codes.