httpbin

Returns Origin IP.

get

Response

200 application/json

OK

originstringrequired

The IP address, or a comma-separated list of IP addresses. For example, “10.100.10.10, 10.100.20.254, 52.91.14.13”’

Example:10.100.10.10

get/ip
 
200 application/json

Returns the user agent.

get

Response

200 application/json

OK

user-agentstringrequired

Example:curl/7.37.0

get/user-agent
 
200 application/json

Returns the request headers.

get

Response

200 application/json

OK

headersobjectrequired
get/headers
 
200 application/json

Delays responding for min(n, 10) seconds.

get

Path Parameters

nintegerrequired

Response delay, in seconds.

>= 0<= 10

Response

200 application/json

OK

get/delay/{n}
 
200 application/json

Returns some XML.

get

Response

200 application/xml

OK

get/xml
 
200 application/xml