FindRateCenter
FindRateCenter takes an address and returns the rate center for the location. A rate center is a geographic area used by telephone companies for billing and other purposes. This service only works with U.S. locations.
Resource URL
JSON endpoint:
https://OnDemandServer/rest/FindRateCenter/results.json
XML endpoint:
https://OnDemandServer/rest/FindRateCenter/results.xml
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example with JSON Response
The following example requests a JSON response:
https://spectrum.precisely.com/rest/FindRateCenter/results.json?Data.AddressLine1=3001+Summer+St&Data.City=Stamford&Data.StateProvince=CT
The JSON returned by this request would be:
{"Output": [{
"Status": "",
"Status.Code": "",
"Status.Description": "",
"Confidence": "85",
"LocationCode": "AS0",
"MatchCode": "S90",
"AdditionalInputData": "",
"AddressLine1": "3001 Summer St",
"AddressLine2": "",
"City": "Stamford",
"LastLine": "Stamford, CT 06905-4317",
"Latitude": "41.071067",
"Longitude": "-73.549161",
"RateCenterName": "STAMFORD",
"RateCenterAbbr": "STAMFORD",
"RateCenterOCName": "SOUTHERN NEW ENGLAND TELEPHONE CO.",
"RateCenterID": "04897000138800",
"RateCenterStatus": "P",
"HouseNumber": "3001",
"PrefixDirection": "",
"StreetName": "Summer",
"StreetType": "St",
"PostfixDirection": "",
"UnitType": "",
"UnitNumber": "",
"Zip10": "06905-4317",
"County": "Fairfield County",
"RateCenterConfidence": "100",
"State": "CT",
"CountyFIPS": "09001",
"PostalCode": "06905",
"StateProvince": "CT",
"user_fields": []
}]}
Example with XML Response
The following example requests an XML response:
https://spectrum.precisely.com/rest/PsapAhjLookupUS/results.xml?Data.AddressLine1=3001+Summer+St&Data.City=Stamford&Data.StateProvince=CT
The XML returned by this request would be:
<xml.FindRateCenterResponse xmlns="http://www.precisely.com/spectrum/services/FindRateCenter">
<Output>
<Row>
<Status/>
<Status.Code/>
<Status.Description/>
<Confidence>85</Confidence>
<LocationCode>AS0</LocationCode>
<MatchCode>S90</MatchCode>
<AdditionalInputData/>
<AddressLine1>3001 Summer St</AddressLine1>
<AddressLine2/>
<City>Stamford</City>
<LastLine>Stamford, CT 06905-4317</LastLine>
<Latitude>41.071067</Latitude>
<Longitude>-73.549161</Longitude>
<RateCenterName>STAMFORD</RateCenterName>
<RateCenterAbbr>STAMFORD</RateCenterAbbr>
<RateCenterOCName>SOUTHERN NEW ENGLAND TELEPHONE CO.</RateCenterOCName>
<RateCenterID>04897000138800</RateCenterID>
<RateCenterStatus>P</RateCenterStatus>
<HouseNumber>3001</HouseNumber>
<PrefixDirection/>
<StreetName>Summer</StreetName>
<StreetType>St</StreetType>
<PostfixDirection/>
<UnitType/>
<UnitNumber/>
<Zip10>06905-4317</Zip10>
<County>Fairfield County</County>
<RateCenterConfidence>100</RateCenterConfidence>
<State>CT</State>
<CountyFIPS>09001</CountyFIPS>
<PostalCode>06905</PostalCode>
<StateProvince>CT</StateProvince>
<user_fields/>
</Row>
</Output>
</xml.FindRateCenterResponse>