Documentation
Authentication
All API requests require authentication using an API key. You can obtain an API key by signing up for an account on the IPScanner website.
API Key Authentication
Include your API key in the Authorization header of all requests:
Authorization: Bearer YOUR_API_KEYExample
Authentication Example
# Every keyed request carries the same header
curl -H 'Authorization: Bearer YOUR_API_KEY' \
https://ipscanner.io/v1/vpn/203.0.113.195Security Best Practices
Store API keys securely: Never hardcode API keys in client-side code or public repositories.
Use environment variables: Store API keys in environment variables or secure vaults.
Implement rate limiting: Add rate limiting to prevent abuse of your API key.