Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: VPNDetection Account API
description: 'The VPNDetection API: classify any IP address, and download the databases
behind the answers.
Lookups need no API key: Unlimited, the free plan, answers any address with
no daily or monthly cap, with a key or without one. Every paid plan answers
every field, and a free account tries them, 100 lookups a day. Unlimited''s
answers may be used commercially, but not redistributed or used in a
competing service (https://vpndetection.io/terms#no-key).
See https://docs.vpndetection.io for guides and https://github.com/vpndetection-io
for the official client libraries.'
contact:
name: VPNDetection Support
email: support@vpndetection.io
url: https://vpndetection.io
termsOfService: https://vpndetection.io/terms
version: 2026.11.14
servers:
- url: https://api.vpndetection.io
description: Production
tags:
- name: Account
description: Who the credential belongs to, and what it may do.
x-displayName: Account
paths:
/api/v1/iam/identity:
get:
operationId: accountIdentity
tags:
- Account
summary: Identity
description: 'The identity behind this credential: what it is, the organization it is
scoped to, and the scopes it currently holds.
`user` is present for an OAuth token and absent for an API key, which
has an organization but no person behind it. `credential.kind` says
which you are holding, so a client can branch without guessing from a
missing field.
`scopes` is what the credential may do now, so a client can check
before it calls.'
security:
- bearerAuth:
- account.read
responses:
'200':
description: The caller.
content:
application/json:
schema:
$ref: '#/components/schemas/Identity'
examples:
ok:
summary: A token granted read access
value:
rc: SUCCESS
user:
id: 3d86d1ef-f70b-4063-a3b8-f69605a8fc57
fullname: Ada Lovelace
email: ada@example.com
org:
id: 7b309476-0e70-4225-9a46-5e25650094dd
scopes:
- account.read
- apikeys.read
'401':
$ref: '#/components/responses/AccountUnauthorized'
'403':
$ref: '#/components/responses/AccountForbidden'
components:
schemas:
AccountOrgRef:
type: object
properties:
id:
type: string
format: uuid
required:
- id
AccountUser:
type: object
properties:
id:
type: string
format: uuid
fullname:
type: string
email:
type: string
format: email
required:
- id
Identity:
type: object
properties:
rc:
type: string
user:
$ref: '#/components/schemas/AccountUser'
org:
$ref: '#/components/schemas/AccountOrgRef'
scopes:
type: array
items:
type: string
description: What this credential may do right now.
required:
- rc
- user
- org
- scopes
AccountRc:
type: object
properties:
rc:
type: string
description: The outcome. `SUCCESS` on success; otherwise the reason.
required:
- rc
responses:
AccountUnauthorized:
description: No credential was presented, or it is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/AccountRc'
AccountForbidden:
description: 'The credential does not hold the scope this endpoint requires. The
missing scope is deliberately not named.
'
content:
application/json:
schema:
$ref: '#/components/schemas/AccountRc'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: '`Authorization: Bearer <key>`.'
apiKeyHeader:
type: apiKey
in: header
name: X-Api-Key
description: '`X-Api-Key: <key>`.'
apiKeyQuery:
type: apiKey
in: query
name: apikey
description: '`?apikey=<key>`. Convenient in a browser; prefer a header elsewhere.'
x-tagGroups:
- name: VPNDetection IP API
tags:
- Lookup
- name: VPNDetection Database API
tags:
- Database
- name: VPNDetection Entitlement API
tags:
- Entitlement
- name: VPNDetection IAM API
tags:
- Account
- Organization
- API keys
- name: VPNDetection Authorization
tags:
- Authorization