Help Center/Getting Started/How to copy your API key

Getting Started

How to copy your API key

Find and copy your API key from the dashboard.


Finding your API key

  1. Log in to your dashboard
  2. Navigate to API Keys
  3. Click Create new key if you don't have one yet
  4. Give it a descriptive name (e.g., "Production server" or "WordPress plugin")
  5. Click Create and immediately copy the key
Important: Your API key is only shown once at creation time. If you lose it, you'll need to create a new one.

Using your API key

Include it in the X-API-Key header on every request:

curl -X POST https://predax.io/api/v1/check/ip \
  -H "X-API-Key: prdx_abc123..." \
  -H "Content-Type: application/json" \
  -d '{"ip": "1.2.3.4"}'

Key security best practices

  • Never commit API keys to source control
  • Use environment variables to store keys
  • Create separate keys for development and production
  • Rotate keys regularly
  • If a key is compromised, revoke it immediately from the dashboard