VPNDetection Account API

Who the credential belongs to, and what it may do.

GitHub OpenAPI

Operations 1

GET /api/v1/iam/identity Identity #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vpndetection-io:vpndetection-io-account-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vpndetection-io-account-api-openapi.yml Raw ↑
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