KYC API v2: decommission of 4 system endpoints
Summary
- countries: https://api.kompany.com/api/v2/system/countries
- priceList: https://api.kompany.com/api/v2/system/priceList
- health: https://api.kompany.com/api/v2/system/health
- catalog: https://api.kompany.com/api/v2/system/catalog
In short, this is the simplified JSON structure response of the new endpoint.
[
{
"countryCode": "string",
"countryName": "string",
"continent": "string",
"countryConnectionType": "string",
"updateFrequency": "string",
"status": "string",
"sources": [...],
"datasets": [...],
"searches": [...],
"products": [...],
"otherServices": [...],
"conciergeProducts": [...]
}
]
For a detailed comparison of the data provided by each of the original endpoints with that of the new system/coverage endpoint please see below for more details. This consolidation is part of our ongoing efforts to enhance data accessibility and streamline our API offering.
Comparison
countries vs coverage
The system/countries endpoint retrieves a list of all currently enabled countries.
Request
curl --location 'https://api.kompany.com/api/v2/system/countries' --header 'user_key: {secret}'
Response
[
{
"countryCode": "AT",
"countryName": "Austria"
}
]
This country specific information is also present in the system/coverage endpoint, and you may include the optional query parameter countryCode in your request to retrieve all the data for each jurisdiction.
Request
curl --location 'https://api.kompany.com/api/v2/system/coverage?countryCode=AT' \
--header 'user_key: {secret}'
Response
[
{
"countryCode": "AT",
"countryName": "Austria",
"continent": "Europe",
"countryConnectionType": "LIVE",
"updateFrequency": null,
"status": "LIVE",
"sources": [...],
"datasets": [...],
"searches": [...],
"products": [...],
"otherServices": [],
"conciergeProducts": []
}
]
priceList vs coverage
The system/priceList endpoint retrieves all the price information that you can expect to be charged for the corresponding products.
Request
curl --location 'https://api.kompany.com/api/v2/system/priceList' --header 'user_key: {secret}'
Response
[
{
"productName": "Refresh Dataset AT (Tier: C)",
"productType": "REFRESHED_DATA_AT",
"productCategory": "Dataset government fee",
"productDescription": "Refresh dataset in Austria",
"countryCode": "AT",
"estimatedDeliverySeconds": 0,
"price": 1.5,
"priceCurrency": "EUR",
"monthlyTierMinimun": 0,
"monthlyTierMaximun": null,
"relatedProductType": null
}
]
In the system/coverage endpoint, the same information is also showed under one of six primary objects included in the response depending on the category of the metric.
Request
curl --location 'https://api.kompany.com/api/v2/system/coverage?countryCode=AT' \
--header 'user_key: {secret}'
Response
[
{
"countryCode": "AT",
"countryName": "Austria",
"continent": "Europe",
"countryConnectionType": "LIVE",
"updateFrequency": null,
"status": "LIVE",
"sources": [...],
"datasets": [
{
"productName": "Refresh Dataset AT",
"productType": "REFRESHED_DATA_AT",
"productCategory": "Dataset government fee",
"productDescription": "Refresh dataset in Austria",
"countryCode": "AT",
"estimatedDeliverySeconds": 0,
"price": "1.500",
"priceTier": "C",
"priceCurrency": "EUR",
"relatedProductType": [
"REFRESHED_DATA"
],
"sourceId": "35f4a8d465e6e1edc05f3d8ab658c551"
}
],
"searches": [...],
"products": [...],
"otherServices": [],
"conciergeProducts": []
}
health vs coverage
The system/health endpoint retrieves the health information for the official sources based on usage.
Request
curl --location 'https://api.kompany.com/api/v2/system/health' --header 'user_key: {secret}'
Response
[
{
"countryCode": "AT",
"status": "GREEN"
}
]
In the system/coverage endpoint, the status field now provides updated information on the health of a specific connection to a jurisdiction on a source level.
Request
curl --location 'https://api.kompany.com/api/v2/system/coverage?countryCode=AT' \
--header 'user_key: {secret}'
Response
[
{
"countryCode": "AT",
"countryName": "Austria",
"continent": "Europe",
"countryConnectionType": "LIVE",
"updateFrequency": null,
"status": "LIVE",
"sources": [...],
"datasets": [...],
"searches": [...],
"products": [...],
"otherServices": [],
"conciergeProducts": []
}
]
catalog vs coverage
The system/catalog takes the countryCode parameter on the request and returns a list of documents with some information.
Request
curl --location 'https://api.kompany.com/api/v2/system/catalog/AT' --header 'user_key: {secret}'
Response
[
{
"productName": "Register Report (Tier: E)",
"productType": "REPOFHFAT",
"productCategory": "Document government fee",
"productDescription": "Official register extract retrieved in real time from the primary source",
"countryCode": "AT",
"estimatedDeliverySeconds": 53,
"price": 9,
"priceCurrency": "EUR",
"monthlyTierMinimun": 0,
"monthlyTierMaximun": null,
"relatedProductType": null
}
]
In the system/coverage endpoint, the same information is also showed under the products object included in the response.
Request
curl --location 'https://api.kompany.com/api/v2/system/coverage?countryCode=AT' \
--header 'user_key: {secret}'
Response
[
{
"countryCode": "AT",
"countryName": "Austria",
"continent": "Europe",
"countryConnectionType": "LIVE",
"updateFrequency": null,
"status": "LIVE",
"sources": [...],
"datasets": [...],
"searches": [...],
"products": [
{
"productName": "Register Report",
"productType": "REPOFHFAT",
"productCategory": "Document government fee",
"productDescription": "Official register extract retrieved in real time from the primary source",
"countryCode": "AT",
"estimatedDeliverySeconds": 53,
"price": "9.000",
"priceTier": "E",
"priceCurrency": "EUR",
"relatedProductType": [
"PRODMARKU"
],
"sourceId": "35f4a8d465e6e1edc05f3d8ab658c551"
}
],
"otherServices": [],
"conciergeProducts": []
}
]