What's My IP Address: caller's public IP, ASN, geo, timezone, user-agent, headers, TLS info.
Full LLM thinking from the 4-phase benchmark pipeline.
{
"service_type": "rest_api",
"base_url": "https://ip.app",
"auth_method": "none",
"auth_config": {},
"endpoints": [
{
"path": "/",
"method": "GET",
"purpose": "Returns the public IP address (public IPv4 or IPv6) of the requesting client. Also returns HTML docs or Markdown README via content negotiation.",
"params": {
"json": {"type": "boolean", "required": false},
"format": {"type": "string", "required": false}
},
"response_format": "text",
"is_primary": true
},
{
"path": "/asn",
"method": "GET",
"purpose": "Returns the Autonomous System Number (ASN) and organization name associated with the caller's IP.",
"params": {
"json": {"type": "boolean", "required": false},
"format": {"type": "string", "required": false}
},
"response_format": "text",
"is_primary": false
},
{
"path": "/headers",
"method": "GET",
"purpose": "Echoes back the HTTP request headers sent by the client.",
"params": {},
"response_format": "text",
"is_primary": false
},
{
"path": "/loc",
"method": "GET",
"purpose": "Returns IP-based geolocation: city, region, country, coordinates, and EU flag.",
"params": {},
"response_format": "text",
"is_primary": false
},
{
"path": "/sec",
"method": "GET",
"purpose": "Returns connection security details: TLS version/cipher, HTTP protocol, TCP RTT, and bot detection.",
"params": {},
"response_format": "text",
"is_primary": false
},
{
"path": "/tz",
"method": "GET",
"purpose": "Returns the IANA timezone of the caller.",
"params": {},
"response_format": "text",
"is_primary": false
},
{
"path": "/ua",
"method": "GET",
"purpose": "Returns the User-Agent string of the caller.",
"params": {},
"response_format": "text",
"is_primary": false
},
{
"path": "/whereami",
"method": "GET",
"purpose": "Returns geolocation coordinates in a Mozilla Location Service-compatible format.",
"params": {},
"response_format": "text",
"is_primary": false
}
],
"pricing_model": {
"type": "free_tier",
"details": {},
"free_tier": {
"requests": null,
"period": null
},
"paid_tiers": []
},
"rate_limits": {
"rpm": null,
"tpm": null,
"daily": null,
"concurrent": null
},
"capabilities": [
"ip_lookup",
"asn_lookup",
"geolocation",
"timezone_lookup",
"user_agent_parsing",
"header_inspection",
"tls_info",
"bot_detection",
"mcp_server"
],
"agent_readiness": {
"supports_x402": false,
"supports_streaming": false,
"has_sandbox": false,
"sdks": [],
"agent_auth_methods": [
"public"
]
}
}{
"tests": [
{
"name": "get_ip_plain",
"endpoint": "/",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns the public IP address as text/plain, with x-ipapp-ip header",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"header": "x-ipapp-ip", "type": "string", "pattern": "^(\\d{1,3}\\.){3}\\d{1,3}$|^[0-9a-fA-F:]+$|^Unknown$"}
},
{
"name": "get_ip_json",
"endpoint": "/?json=1",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns JSON object with ip and ip_version fields",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "ip", "type": "string"},
"additional_validation": {"field": "ip_version", "type": "string", "allowed": ["4", "6", ""]}
},
{
"name": "get_asn_json",
"endpoint": "/asn?json=1",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns JSON with asn and organization fields (may be empty)",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "asn", "type": "string", "optional": true}
},
{
"name": "get_headers_json",
"endpoint": "/headers?json=1",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns JSON map of request headers, filtering Cloudflare headers",
"metrics": ["latency", "status_code"],
"validation": {"type": "object", "min_properties": 1}
},
{
"name": "get_loc_json",
"endpoint": "/loc?json=1",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns location JSON with city, country, coordinates, EU flag",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "country", "type": "string"}
},
{
"name": "get_sec_json",
"endpoint": "/sec?json=1",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns security JSON with TLS version, cipher, HTTP protocol, bot detection",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "tls_version", "type": "string"}
},
{
"name": "get_tz_json",
"endpoint": "/tz?json=1",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns JSON with IANA timezone field tz",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "tz", "type": "string"}
},
{
"name": "get_ua_json",
"endpoint": "/ua?json=1",
"method": "GET",
"headers": {"Accept": "application/json", "User-Agent": "ProwlBenchmark/1.0"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns JSON with ua field matching the sent User-Agent",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "ua", "type": "string", "expected_value": "ProwlBenchmark/1.0"}
},
{
"name": "get_whereami_json",
"endpoint": "/whereami?json=1",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns MLS-compatible JSON with location.lat/lng and accuracy",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "location", "type": "object", "required_subfields": ["lat", "lng"]},
"additional_validation": {"field": "accuracy", "type": "integer", "allowed": [50000, 500000]}
},
{
"name": "invalid_format_param",
"endpoint": "/?format=xml",
"method": "GET",
"headers": {"Accept": "application/json"},
"payload": null,
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Unsupported format value should be rejected with 400 and structured error body",
"metrics": ["status_code", "latency"],
"validation": {"status_code": 400}
},
{
"name": "method_not_allowed",
"endpoint": "/",
"method": "PUT",
"headers": {},
"payload": null,
"expected_status": 405,
"intent": "validation",
"expected_behavior": "PUT on / should be rejected with 405 and11/12 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| get_ip_plain | GET / | 200 | 76ms |
| get_ip_json | GET /?json=1 | 200 | 28ms |
| get_asn_json | GET /asn?json=1 | 200 | 48ms |
| get_headers_json | GET /headers?json=1 | 200 | 23ms |
| get_loc_json | GET /loc?json=1 | 200 | 24ms |
| get_sec_json | GET /sec?json=1 | 200 | 26ms |
| get_tz_json | GET /tz?json=1 | 200 | 25ms |
| get_ua_json | GET /ua?json=1 | 200 | 60ms |
| get_whereami_json | GET /whereami?json=1 | 200 | 56ms |
| invalid_format_param | GET /?format=xml | 200 | 24ms |
{"model": "claude", "data": {"overall": 88, "dimensions": {"token_efficiency": 9.5, "first_try_success": 9.2, "response_parseability": 10.0, "error_clarity": 7.0, "doc_quality": 8.0, "auth_simplicity": 10.0, "latency": 10.0, "consistency": 10.0}, "pricing_normalized": {"cost_per_1k_requests": 0.0, "cost_per_1m_input_tokens": null, "cost_per_1m_output_tokens": null, "free_tier_requests": "unlimited", "estimated_monthly_cost_light": 0.0, "estimated_monthly_cost_heavy": 0.0}, "issues": [{"severity": "medium", "detail": "Invalid format parameter accepted without validation - sent '?format=xml' but got 200 with JSON instead of 400 error", "endpoint": "/?format=xml"}, {"severity": "low", "detail": "Error responses use plain text instead of JSON format, breaking parseability consistency", "endpoint": "/ (PUT method)"}], "recommendations": ["Add input validation for format parameter - reject unsupported values with 400 and structured error", "Return error responses in JSON format to maintain consistency: {\"error\": \"Method not allowed\", \"allowed_methods\": [\"GET\", \"POST\", \"HEAD\"]}", "Consider adding rate limit headers (X-RateLimit-*) even if unlimited, to help agents understand capacity", "Add OpenAPI/Swagger spec endpoint (e.g., /openapi.json) for complete machine-readable documentation", "Consider adding a /status or /health endpoint for monitoring"]}}Show your live agent-readiness score on your own site. Free, no auth — it updates as your score changes.
<a href="https://prowl.world/service/ip-address-api">
<img src="https://prowl.world/badge/ip-address-api.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard