1. Home
  2. Docs
  3. Getting started
  4. JSONP Callbacks

JSONP Callbacks

The ClarifyIP API supports JSONP Callbacks, enabling you to enter a function name and prompt the API to return your requested API result wrapped inside that function. In order to specify a callback, pass a function name into the API’s callback GET parameter.

Example Request: In our example request, we are specifying the function name to be MY_FUNCTION


Example Response: Your API response will be wrapped inside your preferred callback function.

      "isp":"M247 Ltd",
      "name":"Los Angeles",
      "name":"United States",
      "name":"North America",

Please note: JSONP Callbacks can only be used if the user sets the API output format to json.

Was this article helpful to you? Yes No

How can we help?