API Restful - Description - Address - funneladdress - Response

Support DQE
Support DQE
  • Updated

Success funnel address answer

The JSON response is a dictionary (object) containing two main keys:

  • "Found": an integer indicating the number of addresses found (e.g., 0 or 1),
  • "Addresses": a list containing one or more address objects.

Each address object is itself a dictionary containing the following keys:

FieldMeaningAlways in JSON?Type / Format
PostalCodePostal / ZIP codeYesSTRING(10–20)
CityCity / ward nameYesSTRING(50)
HamletHamlet / dependent localityYesSTRING(50) (can be empty)
SpecialDistributionSpecial distribution flagYesSTRING(1) (can be empty)
CountryISO country codeYesSTRING(3)
StateCodeState / prefecture codeYesSTRING(10)
StateLabelState / prefecture labelYesSTRING(50)
AdministrativeAreaAdministrative area (e.g. ward)YesSTRING(50)
SubLocalitySub-locality informationYesSTRING(50) (can be empty)
SuburbSuburb / districtYesSTRING(255) (can be empty)
CityIdUnique city identifierYesSTRING(20)
InputUser input valueYesSTRING(50)
LabelFormatted display labelYesSTRING(255)
StreetStreet nameYesSTRING(255) (can be empty)
StreetIdStreet identifierYesSTRING(20) (can be empty)
StreetTypeStreet typeYesSTRING(50) (can be empty)
StreetNumberStreet / house numberYesSTRING(20) (can be empty)
StreetNumberOnlyNumeric part of street numberYesSTRING(20) (can be empty)
StreetNumberListList of valid street numbersYesSTRING(1024) (can be empty)
StreetNumberListCountNumber of items in StreetNumberListYesINTEGER
IsValidStreetNumberIndicates if street number is valid (1 = valid, 0 = invalid)YesINTEGER
AdditionalAddressAdditional address lineYesSTRING(255) (can be empty)
CompanyCompany nameYesSTRING(255) (can be empty)
LatitudeLatitudeYesDECIMAL(18) (empty string possible)
LongitudeLongitudeYesDECIMAL(18) (empty string possible)

 

Example:

{
  "Found": 1,
  "Addresses": [
    {
      "PostalCode": "108-6390",
      "City": "ミナトク",
      "Hamlet": "",
      "SpecialDistribution": "",
      "Country": "JPN",
      "StateCode": "13",
      "SubLocality": "",
      "CityId": "402574",
      "Input": "108-6390",
      "Label": "〒108-6390 トウキヨウトミナトクミタ",
      "AdditionalAddress": "",
      "StreetNumber": "",
      "StreetType": "",
      "Street": "ミタ",
      "StreetId": "558204",
      "IsValidStreetNumber": 1,
      "StreetNumberListCount": 0,
      "StreetNumberList": "",
      "StreetNumberOnly": "",
      "StateLabel": "トウキヨウト",
      "AdministrativeArea": "ミナトク",
      "Suburb": "",
      "Company": "",
      "Latitude": "",
      "Longitude": ""
    }
  ]
}

 

Error

Error typeResponse type
Missing mandatory parameter{ "status": 400, "message": "Missing parameters", "details": "PostalCode", "error": "bad request" }
Country value is not ISO3{"status": 400, "message": "Country doesn't exist", "details": "JPNde", "error": "bad request"}
Wrong license value{"status": 401, "message": "Your licence is not allowed to cover this functionnality", "details": "WRONG LICENSE", "error": "unauthorized_client"}

Related to

Was this article helpful?

0 out of 0 found this helpful