🤖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-us.geoiq.io/model/v1.0/{model_id}

Request Body

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

Sample Request

{
    "key": "Authentication Key",
    "lat": 40.0300971,
    "lng": -75.648135,
    "date": "2020-09-26",
    "custom_variables": 
    {
        "var1" : 124,
        "var2" : "abc"
    }
}

Sample Response

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

Model API with Address

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

Request Body

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

Sample Request

{
    "key": "Authentication Key",
    "address": "Manhattan, New York, NY, USA",
    "date": "2020-09-26",
    "custom_variables": 
    {
        "var1" : 124, 
        "var2" : "abc" 
    }
}

Sample Response

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

Last updated