Field Filtering
Use the get query parameter to limit the response to specific fields. This helps you reduce payload size and return only the data your application actually needs.
Field filtering is currently supported on the GET /ip/{ip}?apiKey=sk.xxx endpoint.
Endpoint
Section titled “Endpoint”Method: GET
URL:
GET https://api.ipwho.org/ip/{ip}?apiKey=sk.xxxQuery Parameter
Section titled “Query Parameter”| Name | Type | Required | Description |
|---|---|---|---|
get | string | No | Comma-separated list of fields to include in data. |
- Only the listed fields (and their nested objects) are included.
Example: Single IP Filter by country, city, and currency
Section titled “Example: Single IP Filter by country, city, and currency”Request
Section titled “Request”GET https://api.ipwho.org/ip/76.102.11.203?apiKey=sk.xxx&get=country,city,currencyResponse
Section titled “Response”{ "success": true, "data": { "country": "United States", "city": "Mountain View", "currency": { "code": "USD", "symbol": "$", "name": "US Dollar", "name_plural": "US dollars" } }}