Geolocation

Get client geolocation

Changed on

Resolves the approximate location of the requesting client from its IP address, together with the locations where age restricted content is gated or unavailable.

get/ip

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/ip
  • Auth: none required

Response

Success

countryCodestring nullable required

ISO 3166-1 alpha-2 country code resolved for the client, or null when it cannot be resolved

regionCodestring nullable required

ISO 3166-2 subdivision code resolved for the client, or null when it cannot be resolved

latitudestring nullable required

Approximate latitude of the client, or null when it cannot be resolved

longitudestring nullable required

Approximate longitude of the client, or null when it cannot be resolved

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      response property ageBlockedGeos/items/regionCode list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property ageRestrictedGeos/items/regionCode list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property countryCode list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property latitude list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property longitude list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property regionCode list-of-types was narrowed by removing types null from media type application/json of response 200

    • warning

      added the new IP_BAN_DECLINED enum value to the response property for the response status

    • warning

      added the new IP_BAN_DECLINED enum value to the response property for the response status

    • warning

      added the new PHONE_COUNTRY_NOT_SUPPORTED enum value to the response property for the response status

    • warning

      added the new PHONE_COUNTRY_NOT_SUPPORTED enum value to the response property for the response status

    • warning

      added the new PHONE_GATE_ESCAPE_UNAVAILABLE enum value to the response property for the response status

    • warning

      added the new PHONE_GATE_ESCAPE_UNAVAILABLE enum value to the response property for the response status

    • warning

      added the new PHONE_INBOUND_VERIFICATION_REQUIRED enum value to the response property for the response status

    • warning

      added the new PHONE_INBOUND_VERIFICATION_REQUIRED enum value to the response property for the response status

    • warning

      added the new PHONE_LOOKUP_UNAVAILABLE enum value to the response property for the response status

    • warning

      added the new PHONE_LOOKUP_UNAVAILABLE enum value to the response property for the response status

    • warning

      added the new PHONE_NUMBER_NOT_IN_SERVICE enum value to the response property for the response status

    • warning

      added the new PHONE_NUMBER_NOT_IN_SERVICE enum value to the response property for the response status

    • warning

      added the new PHONE_NUMBER_NOT_MOBILE enum value to the response property for the response status

    • warning

      added the new PHONE_NUMBER_NOT_MOBILE enum value to the response property for the response status

    • warning

      added the new PHONE_VERIFICATION_NEEDS_REVIEW enum value to the response property for the response status

    • warning

      added the new PHONE_VERIFICATION_NEEDS_REVIEW enum value to the response property for the response status

    This list may be incomplete.