🤖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

{
  "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

{
  "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
}

Last updated