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 cause 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 along with the API’s output format being set to json.

Was this article helpful to you? Yes No

How can we help?