VPNDetection Entitlement API
What your key may spend, and what it has.
What your key may spend, and what it has.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/vpndetection-io:vpndetection-io-entitlement-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: VPNDetection Entitlement 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: Entitlement
description: What your key may spend, and what it has.
x-displayName: Entitlement
paths:
/api/v1/entitlement:
get:
operationId: myEntitlement
tags:
- Entitlement
summary: Plan and usage
description: 'Answers what the presented key is, what plan is behind it, and what has
been spent against that plan''s allowance in the current window.'
responses:
'200':
description: The key's entitlements and consumption.
content:
application/json:
schema:
$ref: '#/components/schemas/Entitlement'
examples:
paid:
summary: A key on a paid plan, uncapped
value:
org_id: 85bb51e4-2eb6-4a31-8e4d-02ba8b98fe61
apikey:
id: 0ab424cc-7619-4dad-b027-afacdc2cedb0
expires: null
allowed_cidrs: []
plan:
key: max
tier: max
usage:
requests: 580
quota: 5000000
hard_limit: null
window_start: '2026-09-04T07:00:00Z'
window_end: '2026-10-04T07:00:00Z'
free:
summary: 'A key of an organization on the free plan, Unlimited: its usage is the day''s lookups answered with every field, out of the 100 a day its trial has. Nothing stops it past them, its lookups answering with Unlimited''s fields, so there is no hard limit, and the window is the UTC day.'
value:
org_id: f32191d0-ef02-450e-a505-eb5814c35cab
apikey:
id: 10c2b437-3aa2-4a63-bd17-8e7c8c7f0def
expires: null
allowed_cidrs: []
plan:
key: free
tier: free
usage:
requests: 37
quota: 100
hard_limit: null
window_start: '2026-11-11T00:00:00Z'
window_end: '2026-11-12T00:00:00Z'
'401':
description: No key was presented, or it is unknown, revoked or expired.
content:
application/json:
schema:
$ref: '#/components/schemas/EntitlementError'
examples:
missing:
value:
error: an API key is required
invalid:
value:
error: invalid API key
revoked:
value:
error: API key revoked
expired:
value:
error: API key expired
'403':
description: 'The key restricts which source addresses may use it, and this
request did not come from one of them.
'
content:
application/json:
schema:
$ref: '#/components/schemas/EntitlementError'
example:
error: source address not allowed for this API key
'503':
description: 'The usage counters could not be read. Reported rather than guessed
at: the whole answer is the number, and a confident zero would read
as "you have used nothing".
'
content:
application/json:
schema:
$ref: '#/components/schemas/EntitlementError'
example:
error: usage is temporarily unavailable
security:
- apiKeyQuery: []
- apiKeyHeader: []
- bearerAuth: []
components:
schemas:
EntitlementPlan:
type: object
required:
- key
- tier
properties:
key:
type: string
description: 'The plan the organization is on: `free` for the free plan,
Unlimited, or a paid plan''s key. On `free`, usage counts the
day''s lookups answered with every field, its daily trial.
'
example: max
tier:
type: string
enum:
- free
- starter
- scale
- max
description: 'The field tier, which decides how much of a lookup answer comes
back; `free` is the free plan''s. What each tier includes is documented
on the lookup endpoint rather than repeated here, so there is one
place it can be wrong.
'
Entitlement:
type: object
required:
- org_id
- apikey
- plan
- usage
properties:
org_id:
type: string
format: uuid
description: The organization the key belongs to.
apikey:
$ref: '#/components/schemas/EntitlementApikey'
plan:
$ref: '#/components/schemas/EntitlementPlan'
usage:
$ref: '#/components/schemas/EntitlementUsage'
EntitlementApikey:
type: object
description: 'The credential itself. The key is never echoed - only its ID, which is
what the console shows and what you can act on.
'
required:
- id
- expires
- allowed_cidrs
properties:
id:
type: string
format: uuid
expires:
type:
- string
- 'null'
format: date-time
description: Null for a key with no end date, which is the normal case.
allowed_cidrs:
type: array
items:
type: string
description: 'The source addresses this key may be used from. EMPTY means
unrestricted, never "deny all".
'
EntitlementUsage:
type: object
required:
- requests
- quota
- hard_limit
- window_start
- window_end
properties:
requests:
type: integer
format: int64
description: 'Requests counted in the current window. The same number the lookup
API gates on, and it can lag by a few seconds.
'
quota:
type: integer
format: int64
description: What the plan includes. Zero on a plan that includes none.
hard_limit:
type:
- integer
- 'null'
format: int64
description: 'Where we stop serving. NULL means never, which is the normal state
of an uncapped paid plan and is not the same as zero. Above the
quota and below this, requests are served and billed as overage.
'
window_start:
type: string
format: date-time
description: When the current allowance period began.
window_end:
type: string
format: date-time
description: When the allowance next resets.
EntitlementError:
type: object
required:
- error
properties:
error:
type: string
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