Details
GET/keys/:key/details
Returns private data on the key including remaining lookups, available datasets and usage limits.
Request
Path Parameters
API Key
The API Key to retrieve. Begins ak_
.
Query Parameters
Private User Token
A secret key used for sensitive operations on your account and API Keys.
Your user token can be retrieved and managed from your accounts page.
Typically beings uk_...
Responses
- 200
- 401
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
result objectrequired
daily_limit objectrequired
number
or null
. The daily lookup limit currently set on your key.
null
means the limit is currently disabled.
Number of lookups performed today which count towards your daily limit.
individual_limit objectrequired
number
or null
Limit set on the number of lookups that can be
performed from a single IP address. null
means the limit is currently
disabled.
A list of allowed URLs. An empty list means that allowed URLs are disabled.
Default value: 28
Number of days to preserve personal data stored in your key usage history. Set to 0 to prevent personal data storage
notifications objectrequired
A list of email addresses designated by you to receive notifications about this key.
Indicates whether email notifications are enabled.
datasets objectrequired
Indicates which datasets are available and added by default to the address responses
UK Main Address File (Postcode Address File)
UK Property Alias dataset
UK Welsh Language Dataset
UK Multiple Residence Dataset
UK Not Yet Built Dataset
UK AddressBase dataset
Northern Ireland Pointer Dataset
US Address Dataset
IE Address File. Eircode Address Database
IE Base Address File. Eircode Address File
Australia Geocoded National Address File
Asia Pacific Address File
Hong Kong Address File
India Address File
Macau Address File
Middle East and Africa Address File
Middle East and Africa Standalone Intermediate Maps Address File
North America Address File
Oceania Address File
South America Address File
Taiwan Address File
Eastern Europe Address File
Western Europe Address File
Phone validation is enabled
Email validation is enabled
automated_topups objectrequired
Automated topup status
Indicates whether automated top-ups are enabled
current_purchases object[]required
Current balance purchases attached to key.
string
or null
The date when this purchase will expire in simplified
extended ISO format (ISO 8601). This is typically 365 days from the time
of first use. This field will be null
if the purchase has not yet been
used.
Number of procured lookups from this purchase.
Number of consumed lookups off this purchase.
Default value: false
Accept IP addresses forwarded in the IDPC-Source-IP
header
Possible values: [2000
]
Possible values: [Success
]
{
"result": {
"lookups_remaining": 19889,
"daily_limit": {
"limit": 1000,
"consumed": 288
},
"individual_limit": {
"limit": 30
},
"allowed_urls": [
"string"
],
"redact_days": 28,
"notifications": {
"emails": [
"person@example.com"
],
"enabled": true
},
"datasets": {
"paf": true,
"pafa": false,
"pafw": false,
"mr": true,
"nyb": false,
"ab": false,
"nip": false,
"usps": true,
"ecad": false,
"ecaf": false,
"gnaf": true,
"hereap": true,
"herehk": true,
"herei": true,
"herem": true,
"heremea": true,
"heremeas": true,
"herena": true,
"hereo": true,
"heresa": true,
"heret": true,
"hereee": true,
"herewe": true,
"phone": true,
"email": true
},
"automated_topups": {
"enabled": true
},
"current_purchases": [
{
"expires": "2022-01-06T11:41:27.092Z",
"purchased": 20000,
"consumed": 121
}
],
"ip_forwarding": false
},
"code": 2000,
"message": "Success"
}
Unauthorised
- application/json
- Schema
- Example (from schema)
Schema
API Response Code. Non 2xxx
code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
Human readable error message supplied with every error response.
{
"code": 0,
"message": "string"
}
Resource not found
- application/json
- Schema
- Example (from schema)
Schema
API Response Code. Non 2xxx
code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
Human readable error message supplied with every error response.
{
"code": 0,
"message": "string"
}