Logo
Logo

PRODUCTS

TOOLS

pricing background

API Key Rotation

Keep your primary API key secure by using a secondary key with a defined expiry period.

WhoisFreaks API Keys

By default, WhoisFreaks provides a single production-level API key. However, we offer flexibility to meet different user needs by providing additional key options:

  • Development API Key – Intended solely for development purposes, with usage limits defined by the user. This key can be requested by contacting us.
  • Secondary API Key – Functions as a substitute for the primary key but comes with an expiry period. It is designed to protect the primary key from potential breaches. To generate a secondary key, users must first contact us to enable API key rotation, then call the rotation endpoint.

Rotate API Key

Use the API key rotation endpoint to generate a secondary API key. This request will only succeed once API key rotation has been enabled on your account. Please contact us to activate API key rotation before attempting to generate a secondary key.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
Loading request...

Response

Loading response...

Status Codes

Success Codes
  • 200Request Processed Successfully
Failure Codes
  • 401You are not allowed to rotate API Key.
  • 401Unauthorized
  • 401Provided API key is invalid.
  • 401Provided API key is inactive.
  • 404API Key does not exist