Skip to main content

Convert IP to location.

POST 

/convert/iptogeo

Convert IP to location.

Request

Header Parameters

    ipaas string

Bodyrequired

    ipstringrequired

    The IP address.

    Example: 87.155.190.147

Responses

Success

Schema
    statusstringrequired

    Whether the operation succeeded.

    Possible values: [success]

    Example: success
    countrystringrequired

    The name of the country.

    Example: Germany
    countryCodestringrequired

    The country code.

    Example: De
    regionstringrequired

    The region code.

    Example: RP
    regionNamestringrequired

    The name of the region.

    Example: Rheinland-Pfalz
    citystringrequired

    The city the IP address comes from.

    Example: Waldfischbach-Burgalben
    zipstringrequired

    The zip code the IP address comes from.

    Example: 67714
    latnumberrequired

    The latitude of the location.

    Example: 49.2794
    lonnumberrequired

    The longitude of the location.

    Example: 7.6671
    timezonestringrequired

    The timezone the IP address is in.

    Example: Europe/Berlin
    ispstringrequired

    The internet service provider.

    Example: Deutsche Telekom AG
    orgstringrequired

    The organization.

    Example: Deutsche Telekom AG
    asstringrequired

    The AS code.

    Example: AS3320 Deutsche Telekom AG
    querystringrequired

    The IP address that was queried.

    Example: 87.155.190.147