Skip to main content

Use this service to check the validity of an AREA-CODE

URL

https://www.callfire.com/cloud/1/utils/getNumberDetails?npanxs=AREA_COD…

HTTP Method

GET

Content Type

text/plain

Parameters

Parameter nameRequiredDescription
apikeyYThis is your account api key
npanxsYThis is the Area Code that you wish to validate

Response

If there are no hits it will return you XML that looks like this:

xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<numberdetailsresponse>
<description>Transaction successful</description>
<successful>true</successful>
<resultcount>0</resultcount>
</numberdetailsresponse>

If there are hits, you'll get something like:

xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<numberdetailsresponse>
<description>Transaction successful</description>
<successful>true</successful>
<areacode>
<city>ANAHEIM</city>
<country>US</country>
<county>ORANGE</county>
<npa>949</npa>
<nxs>200</nxs>
<state>CA</state>
<timezone>-8</timezone>
<zipcode>92802</zipcode>
</areacode>
<areacode>
<city>ANAHEIM</city>
<country>US</country>
<county>ORANGE</county>
<npa>949</npa>
<nxs>200</nxs>
<state>CA</state>
<timezone>-8</timezone>
<zipcode>92806</zipcode>
</areacode>
<resultcount>2</resultcount>
</numberdetailsresponse>

System Errors will show up like this:

xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<numberdetailsresponse>
<description>Bad API key</description>
<successful>false</successful>
<resultcount>-9</resultcount>
</numberdetailsresponse>