PsapAhjLookupUS takes either a latitude/longitude or an address and returns the public safety access point (PSAP) that services the location. A PSAP is a call center that provides emergency services. PsapAhjLookupUS also determines the EMS, police and fire fighting authorities having jurisdiction (AHJ) for the location. PsapAhjLookupUS only supports locations in the United States.
Resource URL
JSON endpoint:
https://OnDemandServer/rest/PsapAhjLookupUS/results.json
XML endpoint:
https://OnDemandServer/rest/PsapAhjLookupUS/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/PsapAhjLookupUS/results.json?Data.AddressLine1=4200+Parliament+PL&Data.City=Lanham&Data.StateProvince=MD
The JSON returned by this request would be:
{"Output": [{
"EmsAgency": "Prince George's County Emergency Communications Center",
"EmsStreet": "17321 Melsord Boulevard",
"EmsCity": "Landover",
"EmsState": "MD",
"EmsZip": "20785",
"EmsContactPhone": "",
"EmsAlarmPhone": "301-352-1299",
"EmsComments": "",
"EmsCoverageArea": "Prince George's County",
"EmsCoverageExceptions": "None",
"Confidence": "89",
"ProcessedBy": "KGL",
"StreetDataType": "POINT DATA",
"LocationCode": "AP02",
"AdditionalInputData": "",
"AddressLine1": "4200 Parliament Pl",
"AddressLine2": "",
"City": "Lanham",
"Country": "United States of America",
"FirmName": "",
"LastLine": "Lanham, MD 20706-1852",
"PostalCode": "20706-1852",
"PostalCode.Base": "20706",
"PostalCode.AddOn": "1852",
"RRHC": "",
"StateProvince": "MD",
"USUrbanName": "",
"Latitude": "38.950644",
"Longitude": "-76.837204",
"StreetSide": "L",
"InputKeyValue": "",
"AddressLine3": "",
"AddressLine4": "",
"AddressLine5": "",
"AddressLine6": "",
"PoliceStatus": "",
"PoliceStatus.Code": "",
"PoliceStatus.Description": "",
"PoliceID": 2425.13013521299,
"PoliceState": "MD",
"PoliceZip": "20785",
"PoliceContactPhone": "",
"PoliceAlarmPhone": "301-352-1299",
"PoliceComments": "",
"PoliceCoverageArea": "Prince George's County",
"PoliceCoverageExceptions": "Cities of Greenbelt, Hyattsville, Riverdale Park; University of Maryland Campus",
"FireStatus": "",
"FireStatus.Code": "",
"FireStatus.Description": "",
"FireID": 2425.23013521299,
"FireAgency": "Prince George's County Emergency Communications Center",
"FireStreet": "17321 Melsord Boulevard",
"FireCity": "Landover",
"FireState": "MD",
"FireZip": "20785",
"FireContactPhone": "",
"FireAlarmPhone": "301-352-1299",
"FireComments": "",
"FireCoverageArea": "Prince George's County",
"FireCoverageExceptions": "None",
"PsapStatus": "",
"PsapStatus.Code": "",
"PsapStatus.Description": "",
"PSAPID": 2425,
"PSAPType": "Enhanced",
"PSAPComments": "None",
"PoliceAgency": "Prince George's County Emergency Communications Center",
"PoliceCity": "Landover",
"PsapSiteCity": "Landover",
"PsapSiteFax": "301-336-8006",
"PsapSitePhone": "301-352-1200",
"PsapSiteState": "MD",
"PsapSiteStreet": "17321 Melsord Boulevard",
"PsapSiteZip": "20785",
"PsapMailingCity": "Landover",
"PsapMailingState": "MD",
"PsapMailingStreet": "17321 Melsord Boulevard",
"PsapMailingZip": "20785",
"PsapOperatorPhone": "301-352-1200",
"PsapContactComments": "None",
"PsapContactEmail": "N/A",
"PsapContactFax": "301-352-1482",
"PsapContactFirstName": "Charlynn",
"PsapContactLastName": "Flaherty",
"PsapContactPhone": "301-352-1490",
"PsapContactPrefix": "Ms.",
"PsapContactTitle": "Associate 9-1-1 Director",
"PsapCountyFIPS": "24033",
"PsapCountyName": "Prince George's",
"PsapCoverageArea": "Prince George's County",
"PsapCoverageComments": "None",
"PsapCoverageExceptions": "None",
"PoliceStreet": "17321 Melsord Boulevard",
"PsapAgency": "Prince George's County Emergency Communications Center",
"EmsStatus": "",
"EmsStatus.Code": "",
"EmsStatus.Description": "",
"PsapFccId": 3230,
"EMSID": 2425.33013521299,
"MatchCode": "S90",
"user_fields": []
}]}
Example with XML Response
The following example requests an XML response:
https://spectrum.precisely.com/rest/PsapAhjLookupUS/results.xml?Data.AddressLine1=4200+Parliament+PL&Data.City=Lanham&Data.StateProvince=MD
The XML returned by this request would be:
<xml.PsapAhjLookupUSResponse xmlns="http://www.pb.com/spectrum/services/PsapAhjLookupUS">
<Output>
<Row>
<EmsAgency>Prince George's County Emergency Communications Center</EmsAgency>
<EmsStreet>17321 Melsord Boulevard</EmsStreet>
<EmsCity>Landover</EmsCity>
<EmsState>MD</EmsState>
<EmsZip>20785</EmsZip>
<EmsContactPhone/>
<EmsAlarmPhone>301-352-1299</EmsAlarmPhone>
<EmsComments/>
<EmsCoverageArea>Prince George's County</EmsCoverageArea>
<EmsCoverageExceptions>None</EmsCoverageExceptions>
<Confidence>89</Confidence>
<ProcessedBy>KGL</ProcessedBy>
<StreetDataType>POINT DATA</StreetDataType>
<LocationCode>AP02</LocationCode>
<AdditionalInputData/>
<AddressLine1>4200 Parliament Pl</AddressLine1>
<AddressLine2/>
<City>Lanham</City>
<Country>United States of America</Country>
<FirmName/>
<LastLine>Lanham, MD 20706-1852</LastLine>
<PostalCode>20706-1852</PostalCode>
<PostalCode.Base>20706</PostalCode.Base>
<PostalCode.AddOn>1852</PostalCode.AddOn>
<RRHC/>
<StateProvince>MD</StateProvince>
<USUrbanName/>
<Latitude>38.950644</Latitude>
<Longitude>-76.837204</Longitude>
<StreetSide>L</StreetSide>
<InputKeyValue/>
<AddressLine3/>
<AddressLine4/>
<AddressLine5/>
<AddressLine6/>
<PoliceStatus/>
<PoliceStatus.Code/>
<PoliceStatus.Description/>
<PoliceID>2425.13013521299</PoliceID>
<PoliceState>MD</PoliceState>
<PoliceZip>20785</PoliceZip>
<PoliceContactPhone/>
<PoliceAlarmPhone>301-352-1299</PoliceAlarmPhone>
<PoliceComments/>
<PoliceCoverageArea>Prince George's County</PoliceCoverageArea>
<PoliceCoverageExceptions>Cities of Greenbelt, Hyattsville, Riverdale Park; University of Maryland Campus</PoliceCoverageExceptions>
<FireStatus/>
<FireStatus.Code/>
<FireStatus.Description/>
<FireID>2425.23013521299</FireID>
<FireAgency>Prince George's County Emergency Communications Center</FireAgency>
<FireStreet>17321 Melsord Boulevard</FireStreet>
<FireCity>Landover</FireCity>
<FireState>MD</FireState>
<FireZip>20785</FireZip>
<FireContactPhone/>
<FireAlarmPhone>301-352-1299</FireAlarmPhone>
<FireComments/>
<FireCoverageArea>Prince George's County</FireCoverageArea>
<FireCoverageExceptions>None</FireCoverageExceptions>
<PsapStatus/>
<PsapStatus.Code/>
<PsapStatus.Description/>
<PSAPID>2425</PSAPID>
<PSAPType>Enhanced</PSAPType>
<PSAPComments>None</PSAPComments>
<PoliceAgency>Prince George's County Emergency Communications Center</PoliceAgency>
<PoliceCity>Landover</PoliceCity>
<PsapSiteCity>Landover</PsapSiteCity>
<PsapSiteFax>301-336-8006</PsapSiteFax>
<PsapSitePhone>301-352-1200</PsapSitePhone>
<PsapSiteState>MD</PsapSiteState>
<PsapSiteStreet>17321 Melsord Boulevard</PsapSiteStreet>
<PsapSiteZip>20785</PsapSiteZip>
<PsapMailingCity>Landover</PsapMailingCity>
<PsapMailingState>MD</PsapMailingState>
<PsapMailingStreet>17321 Melsord Boulevard</PsapMailingStreet>
<PsapMailingZip>20785</PsapMailingZip>
<PsapOperatorPhone>301-352-1200</PsapOperatorPhone>
<PsapContactComments>None</PsapContactComments>
<PsapContactEmail>N/A</PsapContactEmail>
<PsapContactFax>301-352-1482</PsapContactFax>
<PsapContactFirstName>Charlynn</PsapContactFirstName>
<PsapContactLastName>Flaherty</PsapContactLastName>
<PsapContactPhone>301-352-1490</PsapContactPhone>
<PsapContactPrefix>Ms.</PsapContactPrefix>
<PsapContactTitle>Associate 9-1-1 Director</PsapContactTitle>
<PsapCountyFIPS>24033</PsapCountyFIPS>
<PsapCountyName>Prince George's</PsapCountyName>
<PsapCoverageArea>Prince George's County</PsapCoverageArea>
<PsapCoverageComments>None</PsapCoverageComments>
<PsapCoverageExceptions>None</PsapCoverageExceptions>
<PoliceStreet>17321 Melsord Boulevard</PoliceStreet>
<PsapAgency>Prince George's County Emergency Communications Center</PsapAgency>
<EmsStatus/>
<EmsStatus.Code/>
<EmsStatus.Description/>
<PsapFccId>3230</PsapFccId>
<EMSID>2425.33013521299</EMSID>
<MatchCode>S90</MatchCode>
<user_fields/>
</Row>
</Output>
</xml.PsapAhjLookupUSResponse>