# TPS RGeo JSON API response

Source: [https://docs.qualcomm.com/doc/80-42218-1/topic/4_RGeo_JSON_API_response.html](https://docs.qualcomm.com/doc/80-42218-1/topic/4_RGeo_JSON_API_response.html)

## Description

Returns civic and address information.

## Syntax

    {
      "distanceToPoint": 28.27771331,
      "streetNumber": 64,
      "addressLine": "Farnsworth St",
      "city": "Boston",
      "postalCode": 02210,
      "county": "Suffolk",
      "stateCode": "MA",
      "stateName": "Massachusetts".
      "countryCode": "US",
      "countryName": "United States"
    }
    Copy to clipboard

## Parameters

| Parameter | Description |
| --- | --- |
| `distanceToPoint` | Distance from the location of the returned address. |
| `streetNumber` | Street number of the returned address. `streetAddressLookupType`<br>                should be set to full in the request. |
| `addressLine` | Contains street name and other details of the returned address such as<br>                apartment number, if applicable. `streetAddressLookupType` should be<br>                set to full in the request. |
| `city` | City of the returned address. |
| `postalCode` | Postal code associated with the address. |
| `country` | Name of the country in which the returned address is located. |
| `stateCode` | State code associated with the address. |
| `stateName` | Name of the state in which the returned address is located. |
| `countryCode` | Country code associated with the address. |
| `countryName` | Name of the country in which the returned address is located. |

## Error responses

In case of an error, the response is sent in the following
        format:

    {
      "error":"Unauthorized"
      “error”:"Unable to locate an address"
    }
    Copy to clipboard

**Parent Topic:** [TPS RGeo JSON API implementation](https://docs.qualcomm.com/doc/80-42218-1/topic/2_RGeo_JSON_API_implementation.html)

Last Published: Mar 17, 2026

[Previous Topic
TPS RGeo JSON API request](https://docs.qualcomm.com/bundle/publicresource/80-42218-1/topics/3_RGeo_JSON_API_request.md) [Next Topic
Test sample TPS RGeo JSON API](https://docs.qualcomm.com/bundle/publicresource/80-42218-1/topics/5_Sample_RGeo_JSON_API_for_testing.md)