GeoIQ API Docs - India
GeoIQ HomeProducts
  • 🚀GeoIQ APIs for India
  • 🛴Quick Start
  • Reference
    • 🇮🇳API Reference India
      • ⚡Latest
        • 🏘️Address Quality API (India Only)
        • 🏘️Address Insights API (India Only)
        • 📂Data API
        • 🗃️Bulk Data API
        • 🤖Model API
  • 🇺🇸API Reference US
Powered by GitBook
On this page
  • Get Quality Information for an Address
  • Response Structure
  • Response Overview
  • Understanding Address Insights
  • Get your API key

Was this helpful?

  1. Reference
  2. API Reference India
  3. Latest

Address Insights API (India Only)

Get quality scores & components for any address across India and filter out unreachable ones

Get Quality Information for an Address

POST https://app.geoiq.io/addressvalidator/v1.0/validate_address_with_insights

Shows Quality score, address components, missing components, and metadata for an address

Headers

Name
Type
Description

x-api-key*

String

Authentication key

Content-Type*

String

application/json

Request Body

Name
Type
Description

address*

String

Address String with or without commas

use-cases*

List

Use case to be defined in a list

{
    "data": {
        "fraud": "Medium",
        "addressComponents": [
            {
                "componentName": {
                    "languageCode": "en",
                    "text": "591"
                },
                "componentType": "house_no",
                "confirmationLevel": "UNCONFIRMED"
            },
            {
                "componentName": {
                    "languageCode": "en",
                    "text": "15th main road"
                },
                "componentType": "street",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentName": {
                    "languageCode": "en",
                    "text": "sector 3"
                },
                "componentType": "sublocality",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentName": {
                    "languageCode": "en",
                    "text": "hsr layout"
                },
                "componentType": "locality",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentName": {
                    "languageCode": "en",
                    "text": "bangalore"
                },
                "componentType": "city",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentName": {
                    "languageCode": "en",
                    "text": "560102"
                },
                "componentType": "pincode",
                "confirmationLevel": "CONFIRMED"
            }
        ],
        "missing_components": [],
        "verdict": {
            "addressLength": 57,
            "addressScore": 100,
            "addressSyntactical": 1.0,
            "inputGranularity": "house_no",
            "multipleCityCount": 1,
            "redundancyScore": 0.066,
            "validationGranularity": "street"
        }
    },
    "message": "success",
    "status": 200
}
{
    "message": {
        "address": "This field cannot be blank"
    }
}
{
    "message": "Invalid Token!",
    "status": 403
}

Response Structure

200: OK

{
    "data": {
        "fraud": "Medium",
        "addressComponents": [
            {
                "componentType": "house_no",
                "confirmationLevel": "UNCONFIRMED"
            },
            {
                "componentType": "street",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentType": "sublocality",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentType": "locality",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentType": "city",
                "confirmationLevel": "CONFIRMED"
            },
            {
                "componentType": "pincode",
                "confirmationLevel": "CONFIRMED"
            }
        ],
        "missing_components": [],
        "verdict": {
            "addressLength": 57,
            "addressScore": 100,
            "addressSyntactical": 1.0,
            "inputGranularity": "house_no",
            "multipleCityCount": 1,
            "redundancyScore": 0.066,
            "validationGranularity": "street"
        }
    },
    "message": "success",
    "status": 200
}

400: Bad Request

{
    "message": {
        "address": "This field cannot be blank"
    }
}

403: Forbidden

{
    "message": "Invalid Token!",
    "status": 403
}

Response Overview

  1. AddressComponents: Contains an array of address components with a json object containing

{
    "componentType": "city",
    "confirmationLevel": "CONFIRMED"
}

where "componentType" is the name of the component found in the address. where "confirmationLevel" can be confirmed or unconfirmed.

NOTE: Component is Confirmed is when the value of the component found has been confirmed by GeoIQ Component is Unconfirmed is when the value of the component found cannot be confirmed by GeoIQ

  1. Missing Components: Contains an array of string, mentions the components not found. Possible Values are

    • House number

    • Street

    • Locality or Sub-locality or micro-locality

    • Pincode

    NOTE: Locality or Sub-locality or micro-locality is a single category. If any of these is present, we don't consider any missing. If all are missing we should show Locality as missing

  2. Address Score: Score to rate the completeness of the address (Value Range - 0-100).

  3. Address Length: Length of the address after processing.

  4. Redundancy Score: Measure amount of repetitions in the address. Lower the better.

  5. Address Syntactical: Measure to indicate grammatical, syntactical correctness of the address. Higher the better.

  6. Input Granularity: The granularity of the input address. This is the result of parsing the input address and does not give any validation signals.

  7. Validation Granularity: The granularity level that the API can fully validate the address to.

  8. Multiple City Count: Indicates the presence of multiple cities in the address. Ideal is 1. Higher is worse.

Understanding Address Insights

Select the industry from the dropdown.

  1. Banking/Finance

Collection propensity signal provides a signal on how likely the customer address is reachable based on Address Quality, Affluence Index by GeoIQ & Connectivity Index by GeoIQ

Fraud signal provides a signal on possible fraud intent in the customer address based on Address Quality.

Risk signal provides a signal on Customer Risk level based on Address Quality, Affluence Index & Other GeoIQ Indices

Get your API key

All API requests are authenticated using API key. Any request that doesn't include an API key will return an error.

Code Examples

curl --location 'https://services.geoiq.io/addressvalidation' \
--header 'x-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
  "address": "Shades of coffee, HSR Layout,Bangalore",
  "use-cases": ["fraud"]
}'
import requests
import json

url = "https://services.geoiq.io/addressvalidation"

payload = json.dumps({
  "address": "Shades of coffee, HSR Layout,Bangalore",
  "use-cases": ["fraud"]
})
headers = {
  'x-api-key': 'YOUR_API_KEY',
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

PreviousAddress Quality API (India Only)NextData API

Last updated 6 months ago

Was this helpful?

To understand the methodology, you can refer to

To understand the methodology, you can refer to

To understand the methodology, you can refer to

You can get an API key from your dashboard to get started.

🇮🇳
⚡
🏘️
GeoIQ: Collection Propensity Signals
GeoIQ: Fraud Signals
GeoIQ Console
GeoIQ: Risk Signals