Precisely APIs Geocode Service API
The Geocode Service API from Precisely APIs — 2 operation(s) for geocode service.
The Geocode Service API from Precisely APIs — 2 operation(s) for geocode service.
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/precisely-apis-geocode-service-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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:
contact:
name: Precisely APIs Support
url: https://support.precisely.com
description: '
Demographics. Audience Enrichment. Add local demographics and lifestyle
segmentation to your audience profiles. The Demographics API returns
household demographics and lifestyle characteristics with the input of an
address, location coordinate, or geographic boundary. This service covers
select countries.'
license:
name: Apache 2.0
url: http://springdoc.org
termsOfService: http://swagger.io/terms/
title: Precisely Geocode Service API
version: 18.1.0
servers:
- url: https://api.precisely.com
security:
- oAuth2Password:
- ''
tags:
- name: Geocode Service
paths:
/geocode/v1/keylookup:
get:
description: This service accepts a PreciselyID and returns the corresponding address associated with that PreciselyID.
operationId: keyLookup
parameters:
- description: PreciselyID which maps to a unique address.
in: query
name: key
required: true
schema:
type: string
- description: Specifies the key type - PreciselyID and GNAF_PID for Aus.
in: query
name: type
required: true
schema:
type: string
- description: 3 letter ISO code of the country to be searched.
in: query
name: country
required: false
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GeocodeServiceResponse'
application/xml:
schema:
$ref: '#/components/schemas/GeocodeServiceResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
application/xml:
schema:
$ref: '#/components/schemas/ErrorInfo'
description: Bad Request
'500':
content:
application/json:
schema:
type: string
application/xml:
schema:
type: string
description: Internal Server Error
security:
- oAuth2Password: []
summary: Get Key Lookup
tags:
- Geocode Service
x-accepts: application/json
post:
description: This service accepts batches of PreciselyID's and returns the corresponding address associated with those PreciselyID's.
operationId: keyLookupBatch
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KeyLookupRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GeocodeServiceResponseList'
application/xml:
schema:
$ref: '#/components/schemas/GeocodeServiceResponseList'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
application/xml:
schema:
$ref: '#/components/schemas/ErrorInfo'
description: Bad Request
'500':
content:
application/json:
schema:
type: string
application/xml:
schema:
type: string
description: Internal Server Error
security:
- oAuth2Password: []
summary: Post Key Lookup
tags:
- Geocode Service
x-contentType: application/json
x-accepts: application/json
/geocode/v1/key/byaddress:
get:
description: This service accepts an address and returns the corresponding PreciselyID
operationId: getPBKey
parameters:
- description: The address to be searched.
in: query
name: address
required: true
schema:
type: string
- description: 3 letter ISO code of the country to be searched.
in: query
name: country
required: false
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PBKeyResponse'
application/xml:
schema:
$ref: '#/components/schemas/PBKeyResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
application/xml:
schema:
$ref: '#/components/schemas/ErrorInfo'
description: Bad Request
'500':
content:
application/json:
schema:
type: string
application/xml:
schema:
type: string
description: Internal Server Error
security:
- oAuth2Password: []
summary: Get PreciselyID By Address
tags:
- Geocode Service
x-accepts: application/json
post:
description: This is a Batch offering for 'PreciselyID By Address' service. It accepts a single address or a list of addresses and returns the corresponding PreciselyID.
operationId: getPBKeys
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PBKeyAddressRequest'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/PBKeyResponseList'
application/xml:
schema:
$ref: '#/components/schemas/PBKeyResponseList'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorInfo'
application/xml:
schema:
$ref: '#/components/schemas/ErrorInfo'
description: Bad Request
'500':
content:
application/json:
schema:
type: string
application/xml:
schema:
type: string
description: Internal Server Error
security:
- oAuth2Password: []
summary: Post PreciselyID By Address
tags:
- Geocode Service
x-contentType: application/json
x-accepts: application/json
components:
schemas:
GeocodePreferences:
example:
clientCoordSysName: clientCoordSysName
squeeze: squeeze
distance: distance
outputRecordType: outputRecordType
latLongFormat: latLongFormat
useGeoTaxAuxiliaryFile: useGeoTaxAuxiliaryFile
returnFieldsDescriptor:
returnStreetAddressFields: true
returnAllCustomFields: true
returnUnitInformation: true
returnMatchDescriptor: true
returnedCustomFieldKeys:
- returnedCustomFieldKeys
- returnedCustomFieldKeys
clientLocale: clientLocale
maxReturnedCandidates: maxReturnedCandidates
preferredDictionaryOrders:
- preferredDictionaryOrders
- preferredDictionaryOrders
streetOffset: streetOffset
matchMode: matchMode
mustMatchFields:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
latLongOffset: latLongOffset
returnCensusFields: returnCensusFields
streetOffsetUnits: streetOffsetUnits
customPreferences:
key: '{}'
defaultBufferWidth: defaultBufferWidth
fallbackToPostal: fallbackToPostal
outputCasing: outputCasing
cornerOffsetUnits: cornerOffsetUnits
returnAllCandidateInfo: true
returnLatLongFields: returnLatLongFields
fallbackToGeographic: fallbackToGeographic
distanceUnits: distanceUnits
cornerOffset: cornerOffset
properties:
returnAllCandidateInfo:
type: boolean
fallbackToGeographic:
type: string
fallbackToPostal:
type: string
maxReturnedCandidates:
type: string
distance:
type: string
streetOffset:
type: string
cornerOffset:
type: string
matchMode:
type: string
clientLocale:
type: string
clientCoordSysName:
type: string
distanceUnits:
type: string
streetOffsetUnits:
type: string
cornerOffsetUnits:
type: string
mustMatchFields:
$ref: '#/components/schemas/FieldsMatching'
returnFieldsDescriptor:
$ref: '#/components/schemas/ReturnFieldsDescriptor'
outputRecordType:
type: string
customPreferences:
additionalProperties:
type: object
type: object
preferredDictionaryOrders:
items:
type: string
type: array
outputCasing:
type: string
latLongOffset:
type: string
squeeze:
type: string
returnLatLongFields:
type: string
useGeoTaxAuxiliaryFile:
type: string
latLongFormat:
type: string
defaultBufferWidth:
type: string
returnCensusFields:
type: string
required:
- cornerOffset
- distance
- fallbackToGeographic
- fallbackToPostal
- maxReturnedCandidates
- returnAllCandidateInfo
- streetOffset
type: object
ErrorInfo:
properties:
errors:
items:
$ref: '#/components/schemas/ErrorCode'
type: array
xml:
name: error
type: object
xml:
name: errors
KeyLookupRequest:
example:
preferences:
clientCoordSysName: clientCoordSysName
squeeze: squeeze
distance: distance
outputRecordType: outputRecordType
latLongFormat: latLongFormat
useGeoTaxAuxiliaryFile: useGeoTaxAuxiliaryFile
returnFieldsDescriptor:
returnStreetAddressFields: true
returnAllCustomFields: true
returnUnitInformation: true
returnMatchDescriptor: true
returnedCustomFieldKeys:
- returnedCustomFieldKeys
- returnedCustomFieldKeys
clientLocale: clientLocale
maxReturnedCandidates: maxReturnedCandidates
preferredDictionaryOrders:
- preferredDictionaryOrders
- preferredDictionaryOrders
streetOffset: streetOffset
matchMode: matchMode
mustMatchFields:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
latLongOffset: latLongOffset
returnCensusFields: returnCensusFields
streetOffsetUnits: streetOffsetUnits
customPreferences:
key: '{}'
defaultBufferWidth: defaultBufferWidth
fallbackToPostal: fallbackToPostal
outputCasing: outputCasing
cornerOffsetUnits: cornerOffsetUnits
returnAllCandidateInfo: true
returnLatLongFields: returnLatLongFields
fallbackToGeographic: fallbackToGeographic
distanceUnits: distanceUnits
cornerOffset: cornerOffset
keys:
- country: country
value: value
objectId: objectId
- country: country
value: value
objectId: objectId
type: type
properties:
type:
type: string
preferences:
$ref: '#/components/schemas/GeocodePreferences'
keys:
items:
$ref: '#/components/schemas/keys'
type: array
type: object
xml:
name: keyLookupRequest
Crs:
example:
type: type
properties:
name: name
properties:
type:
type: string
properties:
$ref: '#/components/schemas/Properties'
required:
- properties
- type
type: object
PBKeyResponse:
example:
key: key
matchedAddress:
country: country
streetSide: streetSide
city: city
displayName: displayName
postalCode: postalCode
latitude: latitude
businessName: businessName
county: county
unitType: unitType
streetName: streetName
formattedAddress: formattedAddress
addressLine1: addressLine1
mainAddressLine: mainAddressLine
addressLine2: addressLine2
addressLine3: addressLine3
objectId: objectId
addressLastLine: addressLastLine
longitude: longitude
unitValue: unitValue
stateProvince: stateProvince
urbanizationName: urbanizationName
areaName1: areaName1
areaName2: areaName2
areaName3: areaName3
areaName4: areaName4
addressNumber: addressNumber
postCode: postCode
postCodeExt: postCodeExt
placeName: placeName
status: status
properties:
key:
type: string
matchedAddress:
$ref: '#/components/schemas/address'
type: object
xml:
name: pbKeyResponse
CandidateRangeUnit:
example:
unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
properties:
placeName:
type: string
unitType:
type: string
highUnitValue:
type: string
lowUnitValue:
type: string
customValues:
additionalProperties:
type: object
type: object
type: object
GeocodeServiceResponseList:
example:
responses:
- candidates:
- identifier: identifier
formattedStreetAddress: formattedStreetAddress
address:
country: country
customFields:
key: '{}'
postCode2: postCode2
unitType: unitType
areaName1: areaName1
postCode1: postCode1
areaName2: areaName2
streetName: streetName
areaName3: areaName3
areaName4: areaName4
addressNumber: addressNumber
mainAddressLine: mainAddressLine
placeName: placeName
objectId: objectId
addressLastLine: addressLastLine
unitValue: unitValue
ranges:
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
precisionCode: precisionCode
sourceDictionary: sourceDictionary
formattedLocationAddress: formattedLocationAddress
geometry:
crs:
type: type
properties:
name: name
coordinates:
- 5.962133916683182
- 5.962133916683182
type: type
precisionLevel: 1
matching:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
- identifier: identifier
formattedStreetAddress: formattedStreetAddress
address:
country: country
customFields:
key: '{}'
postCode2: postCode2
unitType: unitType
areaName1: areaName1
postCode1: postCode1
areaName2: areaName2
streetName: streetName
areaName3: areaName3
areaName4: areaName4
addressNumber: addressNumber
mainAddressLine: mainAddressLine
placeName: placeName
objectId: objectId
addressLastLine: addressLastLine
unitValue: unitValue
ranges:
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
precisionCode: precisionCode
sourceDictionary: sourceDictionary
formattedLocationAddress: formattedLocationAddress
geometry:
crs:
type: type
properties:
name: name
coordinates:
- 5.962133916683182
- 5.962133916683182
type: type
precisionLevel: 1
matching:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
totalPossibleCandidates: 0
totalMatches: 6
objectId: objectId
- candidates:
- identifier: identifier
formattedStreetAddress: formattedStreetAddress
address:
country: country
customFields:
key: '{}'
postCode2: postCode2
unitType: unitType
areaName1: areaName1
postCode1: postCode1
areaName2: areaName2
streetName: streetName
areaName3: areaName3
areaName4: areaName4
addressNumber: addressNumber
mainAddressLine: mainAddressLine
placeName: placeName
objectId: objectId
addressLastLine: addressLastLine
unitValue: unitValue
ranges:
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
precisionCode: precisionCode
sourceDictionary: sourceDictionary
formattedLocationAddress: formattedLocationAddress
geometry:
crs:
type: type
properties:
name: name
coordinates:
- 5.962133916683182
- 5.962133916683182
type: type
precisionLevel: 1
matching:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
- identifier: identifier
formattedStreetAddress: formattedStreetAddress
address:
country: country
customFields:
key: '{}'
postCode2: postCode2
unitType: unitType
areaName1: areaName1
postCode1: postCode1
areaName2: areaName2
streetName: streetName
areaName3: areaName3
areaName4: areaName4
addressNumber: addressNumber
mainAddressLine: mainAddressLine
placeName: placeName
objectId: objectId
addressLastLine: addressLastLine
unitValue: unitValue
ranges:
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
precisionCode: precisionCode
sourceDictionary: sourceDictionary
formattedLocationAddress: formattedLocationAddress
geometry:
crs:
type: type
properties:
name: name
coordinates:
- 5.962133916683182
- 5.962133916683182
type: type
precisionLevel: 1
matching:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
totalPossibleCandidates: 0
totalMatches: 6
objectId: objectId
properties:
responses:
items:
$ref: '#/components/schemas/GeocodeServiceResponse'
type: array
type: object
xml:
name: GeocodeServiceResponseList
Properties:
example:
name: name
properties:
name:
type: string
required:
- name
type: object
Candidate:
example:
identifier: identifier
formattedStreetAddress: formattedStreetAddress
address:
country: country
customFields:
key: '{}'
postCode2: postCode2
unitType: unitType
areaName1: areaName1
postCode1: postCode1
areaName2: areaName2
streetName: streetName
areaName3: areaName3
areaName4: areaName4
addressNumber: addressNumber
mainAddressLine: mainAddressLine
placeName: placeName
objectId: objectId
addressLastLine: addressLastLine
unitValue: unitValue
ranges:
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
- lowHouse: lowHouse
side: UNKNOWN
highHouse: highHouse
oddEvenIndicator: UNKNOWN
units:
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
- unitType: unitType
lowUnitValue: lowUnitValue
placeName: placeName
highUnitValue: highUnitValue
customValues:
key: '{}'
placeName: placeName
customValues:
key: '{}'
precisionCode: precisionCode
sourceDictionary: sourceDictionary
formattedLocationAddress: formattedLocationAddress
geometry:
crs:
type: type
properties:
name: name
coordinates:
- 5.962133916683182
- 5.962133916683182
type: type
precisionLevel: 1
matching:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
properties:
precisionLevel:
format: int32
type: integer
formattedStreetAddress:
type: string
formattedLocationAddress:
type: string
identifier:
type: string
precisionCode:
type: string
sourceDictionary:
type: string
matching:
$ref: '#/components/schemas/FieldsMatching'
geometry:
$ref: '#/components/schemas/GeoPos'
address:
$ref: '#/components/schemas/GeocodeAddress'
ranges:
items:
$ref: '#/components/schemas/CandidateRange'
type: array
type: object
FieldsMatching:
example:
matchOnAreaName1: true
matchOnAreaName3: true
matchOnAreaName2: true
matchOnAreaName4: true
matchOnStreetType: true
matchOnStreetDirectional: true
matchOnAddressNumber: true
matchOnAllStreetFields: true
matchOnPlaceName: true
matchOnInputFields: true
matchOnStreetName: true
matchOnPostCode1: true
matchOnPostCode2: true
properties:
matchOnAddressNumber:
type: boolean
matchOnPostCode1:
type: boolean
matchOnPostCode2:
type: boolean
matchOnAreaName1:
type: boolean
matchOnAreaName2:
type: boolean
matchOnAreaName3:
type: boolean
matchOnAreaName4:
type: boolean
matchOnAllStreetFields:
type: boolean
matchOnStreetName:
type: boolean
matchOnStreetType:
type: boolean
matchOnStreetDirectional:
type: boolean
matchOnPlaceName:
type: boolean
matchOnInputFields:
type: boolean
type: object
PBKeyAddressRequest:
example:
addresses:
- country: country
customFields:
key: '{}'
postCode2: postCode2
unitType: unitType
areaName1: areaName1
postCode1: postCode1
areaName2: areaName2
streetName: streetN
# --- truncated at 32 KB (49 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/precisely-apis/refs/heads/main/openapi/precisely-apis-geocode-service-api-openapi.yml