Filtering Responses
You can filter the API response down to specific fields or objects by adding the field or object name to the URL. In the case of a field you'll get it returned in plaintext, and an object will get returned as JSON.
# Get json the org field as plaintext $ curl api.ip.cc/8.8.8.8/org?token=$TOKEN AS15169 Google Inc. # Get just the city as plaintext $ curl api.ip.cc/8.8.8.8/city?token=$TOKEN Mountain View # Get country ISO code as plaintext $ curl api.ip.cc/8.8.8.8/country?token=$TOKEN US