Skip to main content

API Key Authentication

Netrows uses API key authentication. Include your API key in the Authorization header as a Bearer token.
Authorization: Bearer YOUR_API_KEY

Getting Your API Key

  1. Sign up at netrows.com/get-access
  2. Confirm your email address
  3. Login to your dashboard
  4. Generate a new API key
You can create multiple API keys for different applications or environments.

Example Request

curl --request GET \
  --url 'https://api.netrows.com/v1/people/profile?username=williamhgates' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Security Best Practices

Never expose your API key in client-side code, public repositories, or logs.
Use environment variables or secure key management systems to store your API keys.
# .env file
NETROWS_API_KEY=your_api_key_here
Create separate API keys for development, staging, and production environments.
Periodically rotate your API keys and revoke old ones from your dashboard.
Track your API usage in the dashboard to detect unauthorized access.

Error Responses

Invalid API Key

{
  "error": "Invalid API key",
  "code": "INVALID_API_KEY"
}
Status Code: 401 Unauthorized

Missing API Key

{
  "error": "Missing API key",
  "code": "MISSING_API_KEY"
}
Status Code: 401 Unauthorized

Rate Limiting

API keys are subject to rate limits based on your subscription plan:
  • Starter Plan: 20 requests/minute
  • Growth Plan: 50 requests/minute
  • Pay-as-you-go: 100 requests/minute
  • Enterprise: Custom limits
Learn more about rate limits.