Teleport public APIs

IPAddress Resource

An IP address with annotated location information

Properties

  • address string - IP address in quad-dotted form

Relations

  • ip:city resource: City - City the IP address belongs to

Example

{
    "_links": {
        "curies": [
            {
                "href": "https://developers.teleport.org/api/resources/Location/#!/relations/{rel}/", 
                "name": "location", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/City/#!/relations/{rel}/", 
                "name": "city", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/UrbanArea/#!/relations/{rel}/", 
                "name": "ua", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/Country/#!/relations/{rel}/", 
                "name": "country", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/Admin1Division/#!/relations/{rel}/", 
                "name": "a1", 
                "templated": true
            }, 
            {
                "href": "https://developers.teleport.org/api/resources/Timezone/#!/relations/{rel}/", 
                "name": "tz", 
                "templated": true
            }
        ], 
        "ip:city": {
            "href": "https://api.teleport.org/api/cities/geonameid:5375480/", 
            "name": "Mountain View"
        }, 
        "self": {
            "href": "https://api.teleport.org/api/ipaddresses/8.8.8.8/"
        }
    }, 
    "address": "8.8.8.8"
}