IPTOOL TR My IP

HTTP API

Query DNS and IP over HTTP

Create a key under Account → API. GET uses the query string; POST sends JSON. No session cookie; the key stays on your server, not in a browser.

Create a key

Auth

Authorization: Bearer iptool_… or X-Api-Key. A bad key returns 401; it does not fall through to the guest quota.

Quota

Same pool as the site: guest 40, member 200, Pro 2000 / day (Turkey time). Hash and calculators do not count.

$1 / month · $10 / year

GET

GET /api/:slug requires an API key. Pass domain, host or ip in the query string.

POST

POST JSON uses the same body. Browser calls still need CSRF; key-authenticated calls skip CSRF.

No browser CORS; call it server to server.

Example

curl -sS -H "Authorization: Bearer iptool_…" \
  "https://iptool.tr/api/dns-lookup?domain=example.com"

curl -sS -H "Authorization: Bearer iptool_…" \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}' \
  https://iptool.tr/api/dns-lookup

Tools