Arul's Public APIs

This section contains a list of publicly available FREE web services that you can use. There is currently no usage restriction, but please be reasonable in making curl calls, jQuery, Postman, Ajax or other API calls. Thank you.

List of web services:

  1. Get IP Address in text format
  2. Get IP Address in JSON format

1. Get IP Address in text format

This web service returns your IP address in text format.

URL: https://api.aruljohn.com/ip

PARAMETERS: none

RETURN TYPE: text

EXAMPLE:

curl https://api.aruljohn.com/ip

OUTPUT:

199.199.199.199

2. Get IP Address in JSON format

This web service returns your IP address in JSON format.

URL: https://api.aruljohn.com/ip/json

PARAMETERS: none

RETURN TYPE: JSON

EXAMPLE:

curl https://api.aruljohn.com/ip/json

OUTPUT:

{"ip":"199.199.199.199"}

What happened to the Costco API and other APIs?

Since a few of the other APIs were not being used actively and others were being abused, we removed them.