Check your IP and timezone
GET
/get-ip
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://dd.antibotapi.com/get-ip"),};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}package main
import ( "fmt" "net/http" "io")
func main() {
url := "https://dd.antibotapi.com/get-ip"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close() body, _ := io.ReadAll(res.Body)
fmt.Println(res) fmt.Println(string(body))
}const url = 'https://dd.antibotapi.com/get-ip';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://dd.antibotapi.com/get-ipReturns the IP the request came from and its timezone. Call it through your proxy to see the IP to send as
ip_address, and to pick a matching Accept-Language. No API key needed; not billed.
Responses
Section titled “Responses”Resolved.
Media typeapplication/json
object
success
required
boolean
ip
required
string
timezone
required
The IANA timezone for the IP.
string
Example
{ "success": true, "ip": "203.0.113.7", "timezone": "Europe/London"}No timezone is known for this IP.
Media typeapplication/json
object
success
required
boolean
error
required
What went wrong.
string
Example
{ "success": false}