InternetData Entitlement API
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.
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.
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/internetdata-io:internetdata-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: InternetData Entitlement API
description: 'The InternetData API: look up what every database InternetData publishes says
about an IP address, an AS or a domain, download the databases your organization
is licensed for, and manage the account behind them.
See https://docs.internetdata.io for guides and https://github.com/internetdata
for the official client libraries.'
contact:
name: InternetData Support
email: support@internetdata.io
url: https://internetdata.io
termsOfService: https://internetdata.io/terms
version: 2026.11.19
servers:
- url: https://internetdata.io
tags:
- name: Entitlement
description: What your key may spend, and what it has.
x-displayName: Entitlement
paths:
/api/v1/entitlement:
servers:
- url: https://api.internetdata.io
description: Production
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
name: 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
name: Unlimited
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; or the key was sent over
plain HTTP, which is refused whatever the key.
'
content:
application/json:
schema:
$ref: '#/components/schemas/EntitlementError'
examples:
source:
value:
error: source address not allowed for this API key
plain_http:
value:
error: API key sent over plain HTTP; use https://
'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:
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'
EntitlementPlan:
type: object
required:
- key
- name
- tier
properties:
key:
type: string
description: 'The plan the organization is on, as an identifier that is never
renamed or reused: `free` for the free plan, or a paid plan''s key.
Compare against it and show `name`. On `free`, usage counts the
day''s lookups answered with every field, its daily trial.
'
example: max
name:
type: string
description: 'The plan''s name, as the site and console show it: `Unlimited` for
the free plan. Show this rather than a name built from `key`: a
plan''s name can change, and its key never does.
'
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. This list never gains a value: a
new plan reports one of these. What each tier includes is documented
on the lookup endpoint rather than repeated here, so there is one
place it can be wrong.
'
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".
'
EntitlementError:
type: object
required:
- error
properties:
error:
type: string
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 full answers stop: past it, a paid key is answered with
Unlimited''s fields and `cap_reached: true`, uncharged, until the
window ends or the cap is raised. `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.
securitySchemes:
ApiKeyAuth:
type: apiKey
in: query
name: apikey
description: 'UUID-format API key issued to the customer. Each key is authorized for a
specific set of database IDs; requesting any other ID returns 403.
v1 only. The v2 endpoints take a console-issued key as a bearer token.
'
BearerAuth:
type: http
scheme: bearer
description: '`Authorization: Bearer <key>`, with a key from the console. Keys are
default-deny: each operation names the scope it needs, and an existing
key does not gain an operation until that scope is added to it.
'
ApiKeyHeaderAuth:
type: apiKey
in: header
name: X-Api-Key
description: '`X-Api-Key: <key>`. The same v2 key, for clients that do not set a bearer.'
ApiKeyQueryAuth:
type: apiKey
in: query
name: apikey
description: '`?apikey=<key>`. Convenient in a browser or a curl one-liner, which is
how a database is usually fetched; prefer a header elsewhere.
This is the same v2 key as the other two schemes. A v1 credential is a
different vocabulary and fails validation here, as it would anywhere.
'
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: InternetData Database API
tags:
- Database
- Database v2
- name: InternetData IAM API
tags:
- Account
- Organization
- API keys
- name: InternetData Authorization
tags:
- Authorization
- name: InternetData Lookup API
tags:
- Lookup
- name: InternetData Entitlement API
tags:
- Entitlement