Classic API — CheckAddress

Support DQE
Support DQE
  • Updated

Use the /RNVP/ endpoint to verify and normalise an existing address. The API checks whether the address is valid, corrects formatting, and returns a quality score. Unlike the autocomplete endpoints, /RNVP/ takes a complete address as input and returns the normalised result.

GET request

Endpoint

https://{SERVER_ADDRESS}/RNVP/?Adresse={INPUT}&Instance={VALUE}&Taille={LENGTH}&Pays={COUNTRY_CODE}&Proposition={PROP}&Modification=O&Version={VERSION}&Licence={LICENCE_CODE}&Segmentation={Segmentation}

The Adresse parameter must follow this pipe-separated format:

additional address|address|dependent locality or state|zip code|city

All pipes are mandatory even when a section is empty. Examples:

  • ||75008|Paris
  • |12 rue de la Paix||75001|Paris

Replace the values in braces with your own information.

ParameterValueDescriptionMandatory/Optional
SERVER_ADDRESS{SERVER_ADDRESS}Address of the DQE server that will process the data.Mandatory
Licence{LICENCE_CODE}Licence code assigned to your account or token generated by oauth2.Mandatory
Adresse{INPUT}Address to verify. Pipe-separated format: additional address|address|dependent locality or state|zip code|city.Mandatory
Pays{COUNTRY_CODE}ISO 3-letter country code.Mandatory
Taille{LENGTH}Character limit for the address. Works only on Latin addresses.Optional. Default: 38. Recommended minimum: 32.
Instance{VALUE}Allows you to pass a value during the call, returned in the response.Optional
Proposition{PROP}France only. O: returns multiple address options (keys 1 to n). S: returns state and suggestions.Optional
ModificationOWhen set to O, indicates which address fields were adjusted in the response.Optional
Version{VERSION}1.1: returns geocoding nature for France (populates LibelleQualiteGeo and CodeQualiteGeo). 2: adds ListeComplement field.Optional
Segmentation{Segmentation}When set to O, adds Sprofil, Sportrait, and Ssegment fields to the response. Default: N.Optional

POST request

Endpoint

https://{SERVER_ADDRESS}/RNVP/

Add the parameters below in the request body using x-www-form-urlencoded. The Adresse parameter must use the same pipe-separated format as the GET request.

ParameterValueDescriptionMandatory/Optional
Licence{LICENCE_CODE}Licence code assigned to your account or token generated by oauth2.Mandatory
Adresse{INPUT}Address to verify. Pipe-separated format: additional address|address|dependent locality or state|zip code|city.Mandatory
Pays{COUNTRY_CODE}ISO 3-letter country code.Mandatory
Taille{LENGTH}Character limit for the address.Optional. Default: 38. Recommended minimum: 32.
Instance{VALUE}Allows you to pass a value during the call.Optional
Proposition{PROP}France only. O: multiple options. S: state + suggestions.Optional
ModificationOWhen set to O, indicates which fields were adjusted.Optional
Version{VERSION}1.1: geocoding nature. 2: adds ListeComplement.Optional
Segmentation{Segmentation}O: adds Sprofil, Sportrait, Ssegment. Default: N.Optional

Response

Success response

The JSON response is a dictionary whose keys are numbered from "1" to "n". When Proposition is not set, only key "1" is returned. When Proposition=O, multiple address suggestions are returned.

{
  "1": {
    "Adresse": "STRADA BARDONEY",
    "DQECompte": "",
    "Instance": "",
    "CodePostal": "11028",
    "Status_IrisIlot": "",
    "Latitude": "",
    "Localite": "VALTOURNENCHE",
    "Province": "AO",
    "NbNumero": "",
    "Complement": "",
    "Voie": "BARDONEY",
    "Roudis": "",
    "ListeNumero": "",
    "Numero": "",
    "Cedex": "",
    "IDHexaposte": "",
    "IDCle": "",
    "LieuDit": "",
    "ilot": "",
    "TypeVoie": "STRADA",
    "Longitude": "",
    "CompNum": "",
    "iris": "",
    "IDLocalite": "16237",
    "DQECodeErreur": "",
    "IDVoie": "",
    "NumSeul": "",
    "DQEPourcentErreur": "",
    "Region1": "VALLE D'AOSTA",
    "Region2": "VALLE D AOSTA",
    "Region3": "",
    "Region4": "",
    "Ligne2": "",
    "Pays": "ITA",
    "DQELibErreur": "Small city, street name not found",
    "DQECodeDetail": "30"
  }
}
KeyValueFranceInternational
RoudisRoudis Code (France only)STRING(5)Not available
CodePostalCity Zip CodeSTRING(5)STRING(10)
LocaliteCity nameSTRING(38)STRING(50)
ProvinceRegion where the city is located. Type will depend on the country where the search is performed. For the USA, the state's 2-letter code is returned here.Not availableSTRING(50)
IDLocaliteUnique code for each city (INSEE code for France)STRING(20)STRING(20)
PaysISO country codeSTRING(3)STRING(3)
NumeroNumber in the street with the number complement (bis, ter, etc.)STRING(4)STRING(4)
NumSeulNumber in the streetSTRING(4)STRING(4)
ListeNumeroList of available numbers in the street. This key is available when the number entered is invalid or when no number has been entered.STRING(1024)STRING(1024)
NbNumero or NbnumeroNumber of numbers in the streetSTRING(4)STRING(4)
CompNumNumber complement (bis, ter, etc.)STRING(38)STRING(50)
TypeVoieStreet type (street, avenue, etc.)STRING(20)STRING(20)
VoieStreet name, without number or typeSTRING(38)STRING(50)
AdresseStreet including street number and typeSTRING(38)STRING(50)
CedexCedex from the address enteredSTRING(5)STRING(10)
Ligne2Contains additional information from line 2 of the addressSTRING(38)STRING(38)
LieuDitDependent locality if applicableSTRING(38)STRING(50)
IDVoie or CodeVoieUnique number to designate the streetSTRING(20)STRING(20)
ComplementAdditional address informationSTRING(1024)STRING(150)
InstanceNumber passed as a parameter during the call and returned in the responseSTRING(1)STRING(1)
LatitudeLatitude code of the centre of the localityDECIMAL(18)DECIMAL(18)
LongitudeLongitude code of the centre of the localityDECIMAL(18)DECIMAL(18)
Status_IrisIlotOrigin of IRIS and Ilot codesSTRING(5)Not available
irisIRIS codeSTRING(9)Not available
ilotIlot code  
IDHexaposteHexaposte IDSTRING(6)Not available
IDCleHexaclé IDSTRING(10)Not available
DQECodeDetailReturn code detailed belowSTRING(2)STRING(2)
DQELibErreurOK or KOSTRING(38)STRING(38)
DQECompteOld response - kept for compatibility reasons on old integrationsSTRINGNot available
DQECodeErreurOld response - kept for compatibility reasons on old integrationsSTRINGNot available
DQEPourcentErreurOld response - kept for compatibility reasons on old integrationsSTRINGNot available
Region1RegionNot availableSTRING
Region2CountyNot availableSTRING
Region3CountyNot availableSTRING
Region4CountyNot availableSTRING
ThoroughfareDependant streetNot availableUK Only
EntrepriseCompany nameSTRING(38)UK Only
SprofilIf Segmentation=O, profile of the addressSTRING(10)Not available
SportraitIf Segmentation=O, portrait of the addressSTRING(10)Not available
SsegmentIf Segmentation=O, segment of the addressSTRING(10)Not available

DQECodeDetail schema

DQECodeDetail schema

The DQECodeDetail field returns one of the following quality codes:

CodeDescriptionInternal DescriptionUI Display
10Correct addressValid addressValid address
20Correct address (street not recognized, but it is a CEDEX or P.O. box)Valid addressValid address
21Small town, street number out of rangePlease confirm the address with the client (street number does not exist)Please check your postal address
22Small town, street number missing (the rest of the address is correct)Please confirm the address with the client (street number missing)Please check your postal address
23Large city, street number out of rangePlease confirm the address with the client (street number does not exist)Please check your postal address
24Large city, street number missing (the rest of the address is correct)Please confirm the address with the client (street number missing)Please check your postal address
25CEDEX address unknown to CEDEXA (if CEDEXA is active)Valid addressValid address
30Small town, street not recognizedPlease confirm the address with the client (street name not found)Please check your postal address
31Small town, street not recognizedPlease confirm the address with the client (street name not found)Please check your postal address
40Small town, street missing (district information recognized, but not enough to deduce the street)Please confirm the address with the client (street name not found)Please check your postal address
41Small town, street missingPlease confirm the address with the client (street name missing)Please check your postal address
50Large city, street not recognizedPlease confirm the address with the client (street name not found)Please check your postal address
51 (France only)Large city, street not recognized (district information recognized, but not enough to deduce the street)Please confirm the address with the client (street name not found)Please check your postal address
60Large city, street missing (district information recognized, but not enough to deduce the street)Please confirm the address with the client (street name not found)Please check your postal address
61Large city, street missingPlease confirm the address with the client (street name missing)Please check your postal address
70Postal code/City not correctable (street present)Address is incorrect. The postal code/city do not match.Please check your postal address
71Postal code/City not correctable (street missing)Address is incorrect. The postal code/city do not match.Please check your postal address
80Input “address” block emptyAddress not filled inPlease check your postal address
81Input “address” block emptyAddress not filled inPlease check your postal address
90International address detectedValid addressValid address
95Missing or incorrect country codeMissing or incorrect country codePlease check your postal address

CodeModification (when Modification=O)

The CodeModification field is a 5-character string where each position corresponds to an address component. 0 means not modified; 1 means modified.

PositionAddress component
1Additional address
2Address (street)
3Dependent locality or state
4Zip code
5City

LibelleQualiteGeo / CodeQualiteGeo (when Version=1.1)

These fields describe the geocoding precision level.

CodeQualiteGeoLibelleQualiteGeoDescription
1ENTREEMain access point to an open or closed enclosure, a group of buildings, or a piece of land.
2BATIMENTBuilding or part of a building.
3ESCALIERSStairwell, normally inside a building.
4LOGEMENTHousing or room inside a building.
5PARCELLE CADASTRALECadastral parcel.
6SEGMENT DE VOIEPosition derived from the connecting street segment.
7POINT D ACCESS TECHNIQUETechnical access point.
8POINT DELIVRANCE POSTALEPostal delivery point, such as a mailbox.
9ZONE D ADRESSAGEPoint placed in the dependent locality.
10CENTRE VILLECity center.
00CENTRE DE LA VOIEPoint in the center of the street.
90A CONTROLERTo check.
99NON PRESENTENot available.

Error response

Error typeRequestResponse type
Missing Licence parameterhttps://{SERVER_ADDRESS}/RNVP/?Pays=FRA&Adresse=%7C5%20rue%20des%20Pyrenees%7C%7C75020%7CPARIS&Taille=38Empty response
Empty Licence parameterhttps://{SERVER_ADDRESS}/RNVP/?Pays=FRA&Adresse=%7C5%20rue%20des%20Pyrenees%7C%7C75020%7CPARIS&Taille=38&Licence=Empty response
Incorrect licence numberhttps://{SERVER_ADDRESS}/RNVP/?Pays=FRA&Adresse=%7C5%20rue%20des%20Pyrenees%7C%7C75020%7CPARIS&Taille=38&Licence={INCORRECT_LICENCE_CODE}Empty response
Missing Adresse parameterhttps://{SERVER_ADDRESS}/RNVP/?Pays=FRA&Taille=38&Licence={LICENCE_CODE}400 Bad Request Error
Missing Pays parameterhttps://{SERVER_ADDRESS}/RNVP/?Adresse=%7C5%20rue%20des%20Pyrenees%7C%7C75020%7CPARIS&Taille=38&Licence={LICENCE_CODE}400 Bad Request Error
Error on a parameterhttps://{SERVER_ADDRESS}/RNVP/?Adrese=%7C5%20rue%20des%20Pyrenees%7C%7C75020%7CPARIS&Pays=FRA&Taille=38&Licence={LICENCE_CODE}400 Bad Request Error

Related to

Was this article helpful?

0 out of 0 found this helpful