Skip to main content
The CLI requires an access key to authenticate with the Xpoz MCP server. Get your key from the Xpoz dashboard.
Start instantly — no account needed. Generate a free token and use it as your API key:
This returns a preview of up to 5 results per call. To get full data, pagination, and CSV export, create a free account — no credit card required.

Login

1

Get your access key

Sign up or log in at xpoz.ai and copy your access key from the Settings page.
2

Store the key

You will be prompted to enter your access key. The key is stored locally in a config file (see Config File Location below).
3

Verify

Confirms that a valid access key is stored and shows your account status.

Logout

Remove the stored access key:

Auth Commands

Credential Precedence

The CLI resolves credentials in this order:
  1. --api-key flag — highest priority, overrides everything
  2. XPOZ_API_KEY environment variable — useful for CI/CD and scripting
  3. Stored config file — set by xpoz-cli auth login
For CI/CD pipelines and automation, use the XPOZ_API_KEY environment variable. For local development, auth login is more convenient.

Config File Location

The file is created with 0600 permissions (owner read/write only) to protect your access key.
The config file contains your access key in plain text. Do not commit it to version control. The CLI sets restrictive file permissions (0600) on Linux and macOS to prevent other users on the system from reading it.

Next Steps

Usage

Start querying platforms with the CLI.

MCP Authentication

Set up the same access key with the MCP server directly.