Update Key Details
/v1/keys/{key}/detailsUpdates a key's settings and returns its private details. Only the fields you send change. A key on an unlimited plan ignores changes to datasets, daily_limit and monthly_limit.
Path parameters
keystringAPI Key
The API Key to retrieve. Begins
ak_.
Query parameters
user_tokenstring optionalPrivate 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 begins
uk_...
Request body
The request body accepts the following editable fields:
bodyApiKeyDetailsEditablenamestring optionalA name for the key
daily_limitobject optionallimitinteger optionalnumberornull. The daily lookup limit currently set on your key.nullmeans the limit is currently disabled.
monthly_limitobject optionallimitinteger optionalnumberornull. The monthly lookup limit currently set on your key.nullmeans the limit is currently disabled.
individual_limitobject optionallimitinteger optionalnumberornullLimit set on the number of lookups that can be performed from a single IP address.nullmeans the limit is currently disabled.
allowed_urlsstring[] optionalA list of allowed URLs. An empty list means that allowed URLs are disabled. Up to 10 allowed.
redact_daysinteger optionalNumber of days to preserve personal data stored in your key usage history. Set to 0 to prevent personal data storage
notificationsobject optionalemailsstring[] optionalA list of email addresses designated by you to receive notifications about this key. Up to 5 allowed.
enabledboolean optionalIndicates whether email notifications are enabled.
balance_thresholdinteger optionalBalance threshold that triggers a reminder email. null to disable.
no_balanceboolean optionalSend notice when balance hits zero.
limit_reachedboolean optionalSend notice when rate limit is reached.
ip_forwardingboolean optionalAccept IP addresses forwarded in the
AZ-Source-IPheaderdatasetsobject optionalIndicates which datasets are available and added by default to the address responses
pafaboolean optionalUK Property Alias dataset
pafwboolean optionalUK Welsh Language Dataset
uspsboolean optionalUS Address Dataset
hereapboolean optionalAsia Pacific Address File
herehkboolean optionalHong Kong Address File
hereiboolean optionalIndia Address File
heremboolean optionalMacau Address File
heremeaboolean optionalMiddle East and Africa Address File
heremeasboolean optionalMiddle East and Africa Extended File
herenaboolean optionalNorth America Address File
hereoboolean optionalOceania Address File
heresaboolean optionalSouth America Address File
heretboolean optionalTaiwan Address File
hereeeboolean optionalEastern Europe Address File
hereweboolean optionalWestern Europe Address File
phoneboolean optionalPhone validation is enabled
emailboolean optionalEmail validation is enabled
gnafboolean optionalAustralia: Geoscape Geocoded National Address File
kadasterboolean optionalNetherlands: Kadaster BAG 2.0 Address File
kartverketboolean optionalNorway: Kartverket Address File
sdfiboolean optionalDenmark: SDFI Address File
cannarboolean optionalCanada: Statistics Canada National Address Register
fodbosaboolean optionalBelgium: FOD BOSA Address File
moisboolean optionalSouth Korea: MOIS Address File
upujpboolean optionalJapan: UPU Address File
bevboolean optionalAustria: BEV Address File
banboolean optionalFrance: BAN (Base Adresse Nationale)
swtboolean optionalSwitzerland and Liechtenstein: Swisstopo Address File
abboolean optionalUK AddressBase dataset
abpboolean optionalUK AddressBase Premium dataset
nipboolean optionalNorthern Ireland Pointer Dataset
gbrcleanseboolean optionalUK GBR Cleanse
uspscleanseboolean optionalUS CASS Cleanse
Response
Returns the full key details object after applying the update.
resultApiKeyDetailsnamestringA name for the key
contextsobject[]A list of available contexts for a key
iso_3string3 letter ISO code
iso_2string2 letter ISO code
descriptionstringCountry descriptor to show in Address Finder
emojistringEmoji text icon
rgeobooleanIndicates availability of reverse geolocation search
lookups_remainingintegerdaily_limitApiKeyDailyLimitlimitintegernumberornull. The daily lookup limit currently set on your key.nullmeans the limit is currently disabled.consumedintegerNumber of lookups performed today which count towards your daily limit.
monthly_limitApiKeyMonthlyLimitlimitintegernumberornull. The monthly lookup limit currently set on your key.nullmeans the limit is currently disabled.consumedintegerNumber of lookups performed this month which count towards your monthly limit.
individual_limitApiKeyIndividualLimitlimitintegernumberornullLimit set on the number of lookups that can be performed from a single IP address.nullmeans the limit is currently disabled.
allowed_urlsstring[]A list of allowed URLs. An empty list means that allowed URLs are disabled.
redact_daysintegerNumber of days to preserve personal data stored in your key usage history. Set to 0 to prevent personal data storage
notificationsApiKeyNotificationsemailsstring[]A list of email addresses designated by you to receive notifications about this key.
enabledbooleanIndicates whether email notifications are enabled.
balance_thresholdintegerBalance threshold that triggers a reminder email. null means disabled.
no_balancebooleanSend notice when balance hits zero.
limit_reachedbooleanSend notice when rate limit is reached.
datasetsApiKeyDatasetsIndicates which datasets are available and added by default to the address responses
pafbooleanUK Main Address File (Postcode Address File)
pafabooleanUK Property Alias dataset
pafwbooleanUK Welsh Language Dataset
mrbooleanUK Multiple Residence Dataset
nybbooleanUK Not Yet Built Dataset
abbooleanUK AddressBase dataset
abpboolean optionalUK AddressBase Premium dataset
nipbooleanNorthern Ireland Pointer Dataset
uspsbooleanUS Address Dataset
ecadbooleanRepublic of Ireland: Eircode Address Database
ecafbooleanRepublic of Ireland: Eircode Address File
gnafbooleanAustralia: Geocoded National Address File
hereapbooleanAsia Pacific Address File
herehkbooleanHong Kong Address File
hereibooleanIndia Address File
herembooleanMacau Address File
heremeabooleanMiddle East and Africa Address File
heremeasbooleanMiddle East and Africa Standalone Intermediate Maps Address File
herenabooleanNorth America Address File
hereobooleanOceania Address File
heresabooleanSouth America Address File
heretbooleanTaiwan Address File
hereeebooleanEastern Europe Address File
herewebooleanWestern Europe Address File
phonebooleanPhone validation is enabled
emailbooleanEmail validation is enabled
kadasterbooleanNetherlands: Kadaster BAG 2.0 Address File
kartverketbooleanNorway: Kartverket Address File
moisbooleanSouth Korea: MOIS Address File
sdfibooleanDenmark: Danmarks Adresseregister (DAR)
cannarbooleanCanada: Statistics Canada National Address Register
fodbosabooleanBelgium: FOD BOSA Address File
upujpbooleanJapan: UPU Address File
bevbooleanAustria: BEV Address File
banbooleanFrance: BAN (Base Adresse Nationale)
swtbooleanSwitzerland and Liechtenstein: Swisstopo Address File
gbrcleansebooleanUK GBR Cleanse
uspscleansebooleanUS CASS Cleanse
automated_topupsApiKeyAutomatedTopupAutomated topup status
enabledbooleanIndicates whether automated top-ups are enabled
current_purchasesobject[]Current balance purchases attached to key.
expiresstringstringornullThe 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 benullif the purchase has not yet been used.purchasedintegerNumber of procured lookups from this purchase.
consumedintegerNumber of consumed lookups off this purchase.
ip_forwardingbooleanAccept IP addresses forwarded in the
AZ-Source-IPheaderpremier_supportbooleanWhether the key is enrolled in the premier support programme and monitored closely by our devops team. Read-only; managed by our team.
The result sits inside the standard { result, code, message } envelope — see
the API reference for the wrapper format.