Authentication
All requests to the AdultDataLink API must be authenticated using an API key. This key uniquely identifies your application and is required to access most endpoints.
Step 1: Create an Account
Visit account.adultdatalink.com and register for an account. After verifying your email, you'll be able to access your dashboard.
Step 2: Generate an API Key
Once logged in, navigate to the API Keys section in your account dashboard and click “Create API Key”. Give your key a descriptive name and set the appropriate permissions. Your key will be shown only once—be sure to copy and save it securely.
Step 3: Use Your API Key
You can provide your API key in one of the following ways:
- Authorization Header (Bearer Token): Include it as
Authorization: Bearer YOUR_API_KEY_HERE. - Query Parameter: Append
?api_key=YOUR_API_KEY_HEREto the URL. - X-API-Key Header: Include it as
X-API-Key: YOUR_API_KEY_HERE.
Note: For users accessing the API via RapidAPI, authentication is handled automatically through the RapidAPI proxy, bypassing manual key validation.
GET /pornstar/pornstar-data HTTP/1.1
Host: api.adultdatalink.com
Authorization: Bearer YOUR_API_KEY_HERE
GET /pornstar/pornstar-data?api_key=YOUR_API_KEY_HERE HTTP/1.1
Host: api.adultdatalink.com
GET /pornstar/pornstar-data HTTP/1.1
Host: api.adultdatalink.com
X-API-Key: YOUR_API_KEY_HERE
Security Best Practices
- Always use HTTPS to encrypt your API calls.
- Never expose your API key publicly (e.g., in frontend JavaScript or public repos).
- Rotate your keys periodically for enhanced security.
- Use environment variables or secure secrets storage in production.
If you believe your key has been compromised, revoke it immediately from your dashboard and generate a new one.