```json
{
"service_type": "platform",
"base_url": "https://country.is",
"auth_method": "none",
"auth_config": {},
"endpoints": [
{
"method": "GET",
"path": "/",
"description": "Returns the country code for the requesting IP"
},
{
"method": "GET",
"path": "/{ip}",
"description": "Returns the country code for a specific IP address"
},
{
"method": "POST",
"path": "/",
"description": "Batch lookup for multiple IPs"
},
{
"method": "GET",
"path": "/info",
"description": "Returns API metadata including version, data sources, last updated time"
}
],
"pricing_model": {
"type": "free",
"details": {
"commercial use allowed": true,
"rate limiting": "10 requests per second per IP"
}
},
"rate_limits": {
"per_ip": "10 requests per second"
},
"capabilities": [
"IP geolocation",
"ISO 3166-1 alpha-2 country code lookup",
"Batch IP lookup",
"Additional data fields like city, continent, etc.",
"Metadata retrieval"
],
"raw_analysis": "Country is a free IP geolocation API available at https://api.country.is, which provides the ISO 3166-1 alpha-2 country code for a given IP address. It supports additional optional data fields like city and ASN. It is designed for both individual and commercial use without the need for authentication or API keys. The API relies on data from MaxMind GeoLite2 and Cloudflare, which are updated daily. The API provides several endpoints for single IP lookup, batch lookup, and metadata retrieval. There are also provisions for self-hosting via Docker or accessing the source code on GitHub. The platform features a rate limit of 10 requests per second per IP address."
}
```