📡 Public API
Free API for IP address information
⚡ Try it now
🔗 Base URL
https://ip.brazya.ru/api.php
Free · No registration · CORS enabled · Rate limit 60 req/min
📋 Endpoints
GET /api.php |
Your IP information |
GET /api.php?ip=8.8.8.8 |
Any IP information |
GET /api.php?host=google.com |
Domain lookup |
GET /api.php?type=whois&target=google.com |
Domain WHOIS (RDAP) |
GET /api.php?type=dns&target=google.com |
All DNS records (A, MX, NS, TXT…) |
GET /api.php?type=ping&target=google.com |
Availability and latency check |
GET /api.php?type=headers&target=google.com |
HTTP response headers |
GET /api.php?type=ssl&target=google.com |
SSL certificate and expiry |
GET /api.php?type=bulk&subtype=geo&targets=a,b,c&key=... |
Bulk lookup — up to 20 targets per request. Requires an API key. subtype: geo (default) or dns. Consumes rate limit proportionally to the number of targets. |
📄 Response example
{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"region": "California",
"city": "Mountain View",
"zip": "94043",
"lat": 37.4223,
"lon": -122.085,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"org": "Google LLC",
"as": "AS15169 Google LLC",
"as_name": "GOOGLE",
"reverse_dns": "dns.google",
"mobile": false,
"proxy": false,
"hosting": true,
"source": "ip.brazya.ru",
"docs": "https://ip.brazya.ru/api-docs.php"
}
💻 Code examples
# Ваш IP curl https://ip.brazya.ru/api.php # Конкретный IP curl https://ip.brazya.ru/api.php?ip=8.8.8.8 # По домену curl https://ip.brazya.ru/api.php?host=google.com # Массовый запрос (требует API-ключ) curl "https://ip.brazya.ru/api.php?type=bulk&subtype=geo&targets=8.8.8.8,1.1.1.1,google.com&key=YOUR_KEY"
📊 Response fields
ip | IP address |
country | Country |
country_code | Country code (ISO 3166) |
region | Region |
city | City |
zip | ZIP code |
lat / lon | Coordinates |
timezone | Timezone |
isp | ISP |
org | Organization |
as / as_name | ASN number and name |
reverse_dns | Reverse DNS |
mobile | Mobile network (bool) |
proxy | Proxy/VPN (bool) |
hosting | Hosting/DC (bool) |
🤖 MCP server for AI agents
Connect our Model Context Protocol server to Claude Desktop, Cursor, Continue.dev — your AI agent will be able to call all our tools (IP, DNS, WHOIS, SSL, ping) directly from the chat.
{
"mcpServers": {
"ipbrazya": {
"url": "https://ip.brazya.ru/mcp"
}
}
}
⚡ Limits and terms
- 60 requests per minute per IP
- No registration or API key required
- CORS enabled — usable from browser
- Non-commercial use only
- Data provided by ip-api.com
🧪 Try it live