🌐

IP Information Portal

πŸ”Œ

Public API Documentation

Our simple API offers various output formats for quick, scriptable IP data retrieval.

https://ip.io.gen.tr

🌐 API Access Methods

Clean URL (Recommended):

https://ip.io.gen.tr/{format}

Example: https://ip.io.gen.tr/json

Query Parameter (Legacy):

https://ip.io.gen.tr/index.php?format={format}

Example: https://ip.io.gen.tr/index.php?format=ip

πŸ€– Auto-Detection & Scripting

Requests made with common command-line User Agents automatically default to the "ip" format (raw IP string).

Auto-Detected User Agents:
curl, wget, httpie, python-requests

This allows simple calls like: `curl https://ip.io.gen.tr`

πŸ“¦ Available Output Formats

raw, ip
Raw IP Address
json
JSON Object
xml
Complete IP data structured as an XML document.
csv
Comma Separated Values
yaml
IP data structured in YAML format.
toml
IP data structured in TOML format.
markdown
IP details formatted as a Markdown table/list.
pretty
Human-readable, plain text output with labels.
default, full
The standard output used by the main web page (full HTML response).
help
Prints a simple list of all available formats and a usage guide.