Skip to main content
Every request to The Hog API — except the public health endpoint — requires authentication. Use the API key and API secret from the Credentials page in your dashboard. Send the public API key as X-Access-Key and the API secret as X-Secret-Key.
Keep your API keys and secret keys secure. Never expose them in client-side code, public repositories, or logs. If a key is compromised, rotate it immediately from your account settings.

Headers

Do not use the Authorization header for dashboard-created API credentials.

Example request

Authentication errors

All error responses follow a consistent shape:
Every API response includes an X-Request-Id header. Include this value when contacting support — it lets the team trace your specific request.

Next steps

Once you can authenticate successfully, follow the quickstart to make your first company search, find people, and enrich a contact.