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
  • Model API with Latitude & Longitude
  • Model API with Address

Was this helpful?

  1. Reference
  2. API Reference India
  3. Latest

Model API

Use the Model API to access the custom model scores built specifically on your data using GeoIQ NoCode ML platform.

Model API with Latitude & Longitude

POST https://ml.geoiq.io/model/v1.0/{model_id}

Request Body

Name
Type
Description

key*

String

Authorised GeoIQ data api key with available credits

lat*

Float

Latitude should be between -90 to 90

lng*

Float

Longitude should be between -180 to 180

date

String

Comma separated list of variables to be fetched. Maximum 50 variables can be fetched in a single call.

custom_variables

Object

Variables provided by client which were used in the model

{
  "score": float,
  "status": integer
}

Sample Request

{
    "key": "Authentication Key",
    "lat": 13.058650,
    "lng": 77.592247,
    "custom_variables": 
    {
        "var1" : 124,
        "var2" : "abc"
    }
}

Sample Response

{
  "score": 0.73217
  "status": 200
}

Model API with Address

POST https://ml.geoiq.io/model/v1.0/{model_id}

Request Body

Name
Type
Description

key*

String

Authorised GeoIQ data api key with available credits

address*

String

Address for which model has to be scored

date

String

Date for which model has to be scored if not passed current date is assumed

custom_variables

Object

Variables provided by client which were used in the model

{
  "score": float,
  "status": integer
}

Sample Request

{
    "key": "Authentication Key",
    "address": "447, 17th Cross Road 17th Main HSR Layout Sector 4 Bangalore, 560102",
    "custom_variables": 
    {
        "var1" : 124, 
        "var2" : "abc" 
    }
}

Sample Response

{
  "score": 0.73217
  "status": 200
}
PreviousBulk Data API

Last updated 1 year ago

Was this helpful?

🇮🇳
⚡
🤖