Zip API US documentation

The easiest way to perform city/state lookup!

AUTHENTICATION

You are required to provide your API key in your requests. You will be provided an API key when you register for a free account. Your API key have the same privileges as your user account, so be sure to keep them safe.

You authenticate to ZIP API US with HTTP Basic Auth. Provide your email address as the basic auth username and password as the basic auth password.

All API requests must be made over HTTPS.

ENDPOINTS

Find the city and state of a given zip code.

Sample Request: https://service.zipapi.us/zipcode/90210/?X-API-KEY=[your_key]

Method: GET

Optional: Use "fields" parameter and provide any of the following values to receive additional zip code information: geolocation,county,population,median_age

                
//PHP Example
$url = 'https://service.zipapi.us/zipcode/90210?X-API-KEY=your_api_key&fields=geolocation,population';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                
            

Sample Response:

    
{"status":true,"data":{"city":"Beverly Hills","state":"CA","state_fullname": "California","latitude":"34.103131","longitude":"-118.416253","population":"21741"}}
    
                       
curl -X GET 'https://service.zipapi.us/zipcode/90210?X-API-KEY=your_api_key&fields=geolocation,population'
                       
                   

Sample Response:

    
{"status":true,"data":{"city":"Beverly Hills","state":"CA","state_fullname": "California","latitude":"34.103131","longitude":"-118.416253","population":"21741"}}
    
                       

import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/zipcode/90210?X-API-KEY=your_api_key&fields=geolocation,population",
    auth=HTTPBasicAuth("your email", "your password"))

                       
                   

Sample Response:

    
{"status":true,"data":{"city":"Beverly Hills","state":"CA","state_fullname": "California","latitude":"34.103131","longitude":"-118.416253","population":"21741"}}
    
                        
    var zipcode = 90210;
    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/zipcode/" + zipcode + "?X-API-KEY=" + clientKey + "&fields=geolocation,population";


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    

Sample Response:

                          
{"status":true,"data":{"city":"Beverly Hills","state":"CA","state_fullname": "California","latitude":"34.103131","longitude":"-118.416253","population":"21741"}}
    
                    

Find the county or counties of a given zip code.

Sample Request: https://service.zipapi.us/zipcode/county/47858/?X-API-KEY=[your_key]

Method: GET

                
//PHP Example
$url = 'https://service.zipapi.us/zipcode/county/47858?X-API-KEY=your_api_key';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                
            

Sample Response:

    
{"status":true,"data":{"zipcode":47858,"county":["Clay","Sullivan","Vigo"]}}
    
                                    
curl -X GET 'https://service.zipapi.us/zipcode/county/47858?X-API-KEY=your_api_key'
                                    
                                

Sample Response:

    
{"status":true,"data":{"zipcode":47858,"county":["Clay","Sullivan","Vigo"]}}
    
                                    
import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/zipcode/county/47858?X-API-KEY=your_api_key",
    auth=HTTPBasicAuth("your email", "your password"))
                                    
                                

Sample Response:

    
{"status":true,"data":{"zipcode":47858,"county":["Clay","Sullivan","Vigo"]}}
    
                        

    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/zipcode/county/47858?X-API-KEY=" + clientKey;


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    

Sample Response:

   
{"status":true,"data":{"zipcode":47858,"county":["Clay","Sullivan","Vigo"]}}
   
                    

Find all zip codes within given city and state.

Sample Request:

https://service.zipapi.us/zipcode/zips?X-API-KEY=[your_key]&city=Beverly Hills&state=CA

Method: GET

                
//PHP Example
$url = 'https://service.zipapi.us/zipcode/zips?X-API-KEY=your_api_key&city=Beverly Hills&state=CA';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                
            

Sample Response:

    
{"status":true,"data":["90209","90210","90211","90212","90213"]}
    
                                    
curl -X GET 'https://service.zipapi.us/zipcode/zips?X-API-KEY=your_api_key&city=Beverly Hills&state=CA'
                                    
                                

Sample Response:

    
{"status":true,"data":["90209","90210","90211","90212","90213"]}
    
                                    
import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/zipcode/zips?X-API-KEY=your_api_key&city=Beverly Hills&state=CA",
    auth=HTTPBasicAuth("your email", "your password"))
                                    
                                

Sample Response:

    
{"status":true,"data":["90209","90210","90211","90212","90213"]}
    
                        

    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/zipcode/zips?X-API-KEY=" + clientKey + "&city=Beverly Hills&state=CA";


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    

Sample Response:

    
{"status":true,"data":["90209","90210","90211","90212","90213"]}
    

Find the distance between 2 zip codes. Response is defaulted to miles. You may receive response in km by providing unit as an optional parameter.

Sample Request:

https://service.zipapi.us/zipcode/distance?X-API-KEY=[your_key]&zip1=46220&zip2=90210

Method: GET

Optional: You may provide an optional parameter 'unit' with a value of 'km' for kilometer or 'mi' for miles.

                
//PHP Example
$url = 'https://service.zipapi.us/zipcode/distance?X-API-KEY=your_api_key&zip1=46220&zip2=90210';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                
            

Sample Response:

    
{"status":true,"data":{"distance":1816.8075364700221,"unit":"mi"}}
    
                                    
curl -X GET 'https://service.zipapi.us/zipcode/distance?X-API-KEY=your_api_key&zip1=46220&zip2=90210'
                                    
                                

Sample Response:

    
{"status":true,"data":{"distance":1816.8075364700221,"unit":"mi"}}
    
                                    
import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/zipcode/distance?X-API-KEY=your_api_key&zip1=46220&zip2=90210",
    auth=HTTPBasicAuth("your email", "your password"))
                                    
                                

Sample Response:

    
{"status":true,"data":{"distance":1816.8075364700221,"unit":"mi"}}
    
                        

    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/zipcode/distance?X-API-KEY=" + clientKey + "&zip1=46220&zip2=90210";


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    
   
{"status":true,"data":{"distance":1816.8075364700221,"unit":"mi"}}
    
                    

Find the zip codes within radius. Response is defaulted to miles.

Sample Request:

https://service.zipapi.us/zipcode/radius/90210?X-API-KEY=[your_key]&radius=5

Method: GET

Required: Use parameter 'radius' to provide a distance value between 10 - 200 miles.

                
//PHP Example
$url = 'https://service.zipapi.us/zipcode/radius/90210?X-API-KEY=your_api_key&radius=5';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                
            

Sample Response:

    
{
    "status": true,
    "data": [
        {
            "ZipCode": "90210",
            "distance": "0"
        },
        {
            "ZipCode": "90077",
            "distance": "2.0723805210278052"
        },
        {
            "ZipCode": "90069",
            "distance": "2.1146886594328533"
        },
        {
            "ZipCode": "90209",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90213",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90095",
            "distance": "2.7017962523312495"
        },
        {
            "ZipCode": "90046",
            "distance": "2.724682415256888"
        },
        {
            "ZipCode": "90024",
            "distance": "2.781801455858396"
        },
        {
            "ZipCode": "91604",
            "distance": "2.861208782218938"
        },
        {
            "ZipCode": "90212",
            "distance": "3.0181212235615384"
        },
        {
            "ZipCode": "91423",
            "distance": "3.1159349318911445"
        },
        {
            "ZipCode": "90067",
            "distance": "3.1386642126299464"
        },
        {
            "ZipCode": "90048",
            "distance": "3.1920119219937284"
        },
        {
            "ZipCode": "90211",
            "distance": "3.3281790774731768"
        },
        {
            "ZipCode": "90084",
            "distance": "3.372157317031148"
        },
        {
            "ZipCode": "90073",
            "distance": "3.6396304145950467"
        },
        {
            "ZipCode": "91413",
            "distance": "3.792957922366101"
        },
        {
            "ZipCode": "90035",
            "distance": "3.946173959980035"
        },
        {
            "ZipCode": "91403",
            "distance": "4.094573905639882"
        },
        {
            "ZipCode": "91495",
            "distance": "4.107419133211345"
        },
        {
            "ZipCode": "90049",
            "distance": "4.280099064539145"
        },
        {
            "ZipCode": "90025",
            "distance": "4.287044000579212"
        },
        {
            "ZipCode": "91602",
            "distance": "4.300583583141856"
        },
        {
            "ZipCode": "91608",
            "distance": "4.330233950495441"
        },
        {
            "ZipCode": "91607",
            "distance": "4.356872763300985"
        },
        {
            "ZipCode": "90036",
            "distance": "4.389288883363444"
        },
        {
            "ZipCode": "90064",
            "distance": "4.611786008311598"
        },
        {
            "ZipCode": "90068",
            "distance": "4.976911006233663"
        }
    ]
}
    
                                    
curl -X GET 'https://service.zipapi.us/zipcode/radius/90210?X-API-KEY=your_api_key&radius=5'
                                    
                                

Sample Response:

    
{
    "status": true,
    "data": [
        {
            "ZipCode": "90210",
            "distance": "0"
        },
        {
            "ZipCode": "90077",
            "distance": "2.0723805210278052"
        },
        {
            "ZipCode": "90069",
            "distance": "2.1146886594328533"
        },
        {
            "ZipCode": "90209",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90213",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90095",
            "distance": "2.7017962523312495"
        },
        {
            "ZipCode": "90046",
            "distance": "2.724682415256888"
        },
        {
            "ZipCode": "90024",
            "distance": "2.781801455858396"
        },
        {
            "ZipCode": "91604",
            "distance": "2.861208782218938"
        },
        {
            "ZipCode": "90212",
            "distance": "3.0181212235615384"
        },
        {
            "ZipCode": "91423",
            "distance": "3.1159349318911445"
        },
        {
            "ZipCode": "90067",
            "distance": "3.1386642126299464"
        },
        {
            "ZipCode": "90048",
            "distance": "3.1920119219937284"
        },
        {
            "ZipCode": "90211",
            "distance": "3.3281790774731768"
        },
        {
            "ZipCode": "90084",
            "distance": "3.372157317031148"
        },
        {
            "ZipCode": "90073",
            "distance": "3.6396304145950467"
        },
        {
            "ZipCode": "91413",
            "distance": "3.792957922366101"
        },
        {
            "ZipCode": "90035",
            "distance": "3.946173959980035"
        },
        {
            "ZipCode": "91403",
            "distance": "4.094573905639882"
        },
        {
            "ZipCode": "91495",
            "distance": "4.107419133211345"
        },
        {
            "ZipCode": "90049",
            "distance": "4.280099064539145"
        },
        {
            "ZipCode": "90025",
            "distance": "4.287044000579212"
        },
        {
            "ZipCode": "91602",
            "distance": "4.300583583141856"
        },
        {
            "ZipCode": "91608",
            "distance": "4.330233950495441"
        },
        {
            "ZipCode": "91607",
            "distance": "4.356872763300985"
        },
        {
            "ZipCode": "90036",
            "distance": "4.389288883363444"
        },
        {
            "ZipCode": "90064",
            "distance": "4.611786008311598"
        },
        {
            "ZipCode": "90068",
            "distance": "4.976911006233663"
        }
    ]
}
    
                                    
import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/zipcode/radius/90210?X-API-KEY=your_api_key&radius=50",
    auth=HTTPBasicAuth("your email", "your password"))
                                    
                                

Sample Response:

    
{
    "status": true,
    "data": [
        {
            "ZipCode": "90210",
            "distance": "0"
        },
        {
            "ZipCode": "90077",
            "distance": "2.0723805210278052"
        },
        {
            "ZipCode": "90069",
            "distance": "2.1146886594328533"
        },
        {
            "ZipCode": "90209",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90213",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90095",
            "distance": "2.7017962523312495"
        },
        {
            "ZipCode": "90046",
            "distance": "2.724682415256888"
        },
        {
            "ZipCode": "90024",
            "distance": "2.781801455858396"
        },
        {
            "ZipCode": "91604",
            "distance": "2.861208782218938"
        },
        {
            "ZipCode": "90212",
            "distance": "3.0181212235615384"
        },
        {
            "ZipCode": "91423",
            "distance": "3.1159349318911445"
        },
        {
            "ZipCode": "90067",
            "distance": "3.1386642126299464"
        },
        {
            "ZipCode": "90048",
            "distance": "3.1920119219937284"
        },
        {
            "ZipCode": "90211",
            "distance": "3.3281790774731768"
        },
        {
            "ZipCode": "90084",
            "distance": "3.372157317031148"
        },
        {
            "ZipCode": "90073",
            "distance": "3.6396304145950467"
        },
        {
            "ZipCode": "91413",
            "distance": "3.792957922366101"
        },
        {
            "ZipCode": "90035",
            "distance": "3.946173959980035"
        },
        {
            "ZipCode": "91403",
            "distance": "4.094573905639882"
        },
        {
            "ZipCode": "91495",
            "distance": "4.107419133211345"
        },
        {
            "ZipCode": "90049",
            "distance": "4.280099064539145"
        },
        {
            "ZipCode": "90025",
            "distance": "4.287044000579212"
        },
        {
            "ZipCode": "91602",
            "distance": "4.300583583141856"
        },
        {
            "ZipCode": "91608",
            "distance": "4.330233950495441"
        },
        {
            "ZipCode": "91607",
            "distance": "4.356872763300985"
        },
        {
            "ZipCode": "90036",
            "distance": "4.389288883363444"
        },
        {
            "ZipCode": "90064",
            "distance": "4.611786008311598"
        },
        {
            "ZipCode": "90068",
            "distance": "4.976911006233663"
        }
    ]
}
    
                        

    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/zipcode/radius/90210?X-API-KEY=" + clientKey + "&radius=5";


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    

Sample Response:

    
{
    "status": true,
    "data": [
        {
            "ZipCode": "90210",
            "distance": "0"
        },
        {
            "ZipCode": "90077",
            "distance": "2.0723805210278052"
        },
        {
            "ZipCode": "90069",
            "distance": "2.1146886594328533"
        },
        {
            "ZipCode": "90209",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90213",
            "distance": "2.2443215484549315"
        },
        {
            "ZipCode": "90095",
            "distance": "2.7017962523312495"
        },
        {
            "ZipCode": "90046",
            "distance": "2.724682415256888"
        },
        {
            "ZipCode": "90024",
            "distance": "2.781801455858396"
        },
        {
            "ZipCode": "91604",
            "distance": "2.861208782218938"
        },
        {
            "ZipCode": "90212",
            "distance": "3.0181212235615384"
        },
        {
            "ZipCode": "91423",
            "distance": "3.1159349318911445"
        },
        {
            "ZipCode": "90067",
            "distance": "3.1386642126299464"
        },
        {
            "ZipCode": "90048",
            "distance": "3.1920119219937284"
        },
        {
            "ZipCode": "90211",
            "distance": "3.3281790774731768"
        },
        {
            "ZipCode": "90084",
            "distance": "3.372157317031148"
        },
        {
            "ZipCode": "90073",
            "distance": "3.6396304145950467"
        },
        {
            "ZipCode": "91413",
            "distance": "3.792957922366101"
        },
        {
            "ZipCode": "90035",
            "distance": "3.946173959980035"
        },
        {
            "ZipCode": "91403",
            "distance": "4.094573905639882"
        },
        {
            "ZipCode": "91495",
            "distance": "4.107419133211345"
        },
        {
            "ZipCode": "90049",
            "distance": "4.280099064539145"
        },
        {
            "ZipCode": "90025",
            "distance": "4.287044000579212"
        },
        {
            "ZipCode": "91602",
            "distance": "4.300583583141856"
        },
        {
            "ZipCode": "91608",
            "distance": "4.330233950495441"
        },
        {
            "ZipCode": "91607",
            "distance": "4.356872763300985"
        },
        {
            "ZipCode": "90036",
            "distance": "4.389288883363444"
        },
        {
            "ZipCode": "90064",
            "distance": "4.611786008311598"
        },
        {
            "ZipCode": "90068",
            "distance": "4.976911006233663"
        }
    ]
}
    

Find out the population of a given zipcode. Total population will be provided as the default response for the given zip code. *Population data is based on the 2010 Census

Sample Request: https://service.zipapi.us/population/zipcode/90210/?X-API-KEY=[your_key]

Method: GET

Optional: You may include an additional parameter "fields" and specify any of the following values: male_population, female_population

                        
//PHP Example
$url = 'https://service.zipapi.us/population/zipcode/90210?X-API-KEY=your_api_key&fields=male_population,female_population';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                        
                    

Sample Response:

                        
{"status":true,"data":{"population":"21741","male_population":"10292","female_population":"11449"}}
                        
                    
                                    
curl -X GET 'https://service.zipapi.us/population/zipcode/90210?X-API-KEY=your_api_key&fields=male_population,female_population'
                                    
                                

Sample Response:

                        
{"status":true,"data":{"population":"21741","male_population":"10292","female_population":"11449"}}
                        
                    
                                    
import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/population/zipcode/90210?X-API-KEY=your_api_key&fields=male_population,female_population",
    auth=HTTPBasicAuth("your email", "your password"))
                                    
                                

Sample Response:

                        
{"status":true,"data":{"population":"21741","male_population":"10292","female_population":"11449"}}
                        
                    
                        

    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/population/zipcode/90210?X-API-KEY=" + clientKey + "&fields=male_population,female_population";


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    

Sample Response:

   
{"status":true,"data":{"population":"21741","male_population":"10292","female_population":"11449"}}
    
                    

Find the average age based on a given zip code. *Age data is based on the 2010 Census.

Sample Request: https://service.zipapi.us/age/zipcode/90210/?X-API-KEY=[your_key]&fields=male_age,female_age

Method: GET

                
//PHP Example
$url = 'https://service.zipapi.us/age/zipcode/90210?X-API-KEY=your_api_key&fields=male_age,female_age';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                
            

Sample Response:

    
{"status":true,"data":{"median_age":"47.5","male_age":"47.9","female_age":"47.1"}}
    
                                    
curl -X GET 'https://service.zipapi.us/age/zipcode/90210?X-API-KEY=your_api_key&fields=male_age,female_age'
                                    
                                

Sample Response:

    
{"status":true,"data":{"median_age":"47.5","male_age":"47.9","female_age":"47.1"}}
    
                                    
import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/age/zipcode/90210?X-API-KEY=your_api_key&fields=male_age,female_age",
    auth=HTTPBasicAuth("your email", "your password"))
                                    
                                

Sample Response:

    
{"status":true,"data":{"median_age":"47.5","male_age":"47.9","female_age":"47.1"}}
    
                        

    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/age/zipcode/90210?X-API-KEY=" + clientKey + "&fields=male_age,female_age";


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    

Sample Response:

   
{"status":true,"data":{"median_age":"47.5","male_age":"47.9","female_age":"47.1"}}
   
                    

Find hospitals within radius. Response is defaulted to miles.

Sample Request:

https://service.zipapi.us/hospital/radius/90210?X-API-KEY=[your_key]&radius=5

Method: GET

Required: Use parameter 'radius' to provide a distance value between 10 - 200 miles.

                
//PHP Example
$url = 'https://service.zipapi.us/hospital/radius/90210?X-API-KEY=your_api_key&radius=5';

$curl = curl_init();

// OPTIONS:
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERPWD, 'youremail' . ":" . 'yourpassword');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);


// EXECUTE:
$result = curl_exec($curl);
if(!$result){
    die("Connection Failure");
}
curl_close($curl);
                
            

Sample Response:

    
{
  "status": true,
  "data": [
    {
      "Zip": "90048",
      "Name": "CEDARS SINAI MEDICAL CENTER",
      "Address": "8700 BEVERLY BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.076294454",
      "longitude": "-118.380712116",
      "website": "http://www.cedars-sinai.edu",
      "beds": "886",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "886",
      "county": "LOS ANGELES",
      "distance": "2.752078868404862"
    },
    {
      "Zip": "90067",
      "Name": "CALIFORNIA REHABILITATION INSTITUTE, LLC",
      "Address": "2070 CENTURY PARK EAST",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(424) 522-7100",
      "latitude": "34.059102925",
      "longitude": "-118.41186805",
      "website": "https://www.californiarehabinstitute.com/",
      "beds": "138",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "176",
      "county": "LOS ANGELES",
      "distance": "3.052377438781716"
    },
    {
      "Zip": "90095",
      "Name": "RONALD REAGAN UCLA MEDICAL CENTER",
      "Address": "757 WESTWOOD PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 825-9111",
      "latitude": "34.066554382",
      "longitude": "-118.446625067",
      "website": "http://www.uclahealth.org",
      "beds": "466",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "466",
      "county": "LOS ANGELES",
      "distance": "3.067146197949377"
    },
    {
      "Zip": "90095",
      "Name": "RESNICK NEUROPSYCHIATRIC HOSPITAL AT UCLA",
      "Address": "150 MEDICAL PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.065403857",
      "longitude": "-118.446587693",
      "website": "http://www.semel.ucla.edu/resnick",
      "beds": "74",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "Y",
      "population": "74",
      "county": "LOS ANGELES",
      "distance": "3.131790025349627"
    },
    {
      "Zip": "90073",
      "Name": "WEST LOS ANGELES MEDICAL CENTER",
      "Address": "11301 WILSHIRE BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 478-3711",
      "latitude": "34.0527212710001",
      "longitude": "-118.452752239",
      "website": "http://www.losangeles.va.gov/",
      "beds": "-999",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "-999",
      "county": "LOS ANGELES",
      "distance": "4.061300592249407"
    },
    {
      "Zip": "91403",
      "Name": "SHERMAN OAKS HOSPITAL",
      "Address": "4929 VAN NUYS BOULEVARD",
      "City": "SHERMAN OAKS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.160194958",
      "longitude": "-118.449414012",
      "website": "http://www.shermanoakshospital.com",
      "beds": "153",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "153",
      "county": "LOS ANGELES",
      "distance": "4.375164315146461"
    },
    {
      "Zip": "90036",
      "Name": "MIRACLE MILE MEDICAL CENTER",
      "Address": "6000 SAN VICENTE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0573663500001",
      "longitude": "-118.362458577",
      "website": "http://www.miraclemilemedicalcenter.com",
      "beds": "17",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "17",
      "county": "LOS ANGELES",
      "distance": "4.413104107785873"
    },
    {
      "Zip": "90036",
      "Name": "OLYMPIA MEDICAL CENTER",
      "Address": "5900 WEST OLYMPIA BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0572922740001",
      "longitude": "-118.360527347",
      "website": "http://www.olympiamc.com",
      "beds": "204",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "204",
      "county": "LOS ANGELES",
      "distance": "4.49450334315006"
    },
    {
      "Zip": "90034",
      "Name": "KAISER PERMANENTE WEST LOS ANGELES MEDICAL CENTER",
      "Address": "6041 CADILLAC AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0384966780001",
      "longitude": "-118.374696375",
      "website": "http://www.kaiserpermanente.org",
      "beds": "288",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "288",
      "county": "LOS ANGELES",
      "distance": "5.059666668409764"
    },
    {
      "Zip": "90028",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT HOLLYWOOD",
      "Address": "6245 DE LONGPRE AVENUE",
      "City": "HOLLYWOOD",
      "State": "CA",
      "telephone": "(323) 462-2271",
      "latitude": "34.0963913570001",
      "longitude": "-118.325234871",
      "website": "http://sch-hollywood.com/",
      "beds": "100",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "100",
      "county": "LOS ANGELES",
      "distance": "5.228252666526445"
    },
    {
      "Zip": "91401",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT VAN NUYS D/P APH",
      "Address": "14433 EMELITA STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "(818) 787-1511",
      "latitude": "34.176900695",
      "longitude": "-118.447490834",
      "website": "http://sch-vannuys.com/",
      "beds": "59",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "59",
      "county": "LOS ANGELES",
      "distance": "5.400969940900315"
    },
    {
      "Zip": "91436",
      "Name": "ENCINO HOSPITAL MEDICAL CENTER",
      "Address": "16237 VENTURA BOULEVARD",
      "City": "ENCINO",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.157227103",
      "longitude": "-118.48702421",
      "website": "http://www.encinomed.com",
      "beds": "148",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "148",
      "county": "LOS ANGELES",
      "distance": "5.5093973207216775"
    },
    {
      "Zip": "90232",
      "Name": "EXODUS RECOVERY PHF",
      "Address": "9808 VENICE BLVD",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "(310) 237-0454",
      "latitude": "34.0234136560001",
      "longitude": "-118.397947171",
      "website": "http://www.exodusrecoveryinc.com/PHF.html",
      "beds": "16",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "16",
      "county": "LOS ANGELES",
      "distance": "5.606712034332235"
    },
    {
      "Zip": "90231",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT CULVER CITY",
      "Address": "3828 DELMAS TERRACE",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0231795170001",
      "longitude": "-118.396989428",
      "website": "http://www.sch-culvercity.com/home.htm",
      "beds": "420",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "420",
      "county": "LOS ANGELES",
      "distance": "5.633078883164935"
    },
    {
      "Zip": "90404",
      "Name": "PROVIDENCE ST. JOHN'S HEALTH CENTER",
      "Address": "2121 SANTA MONICA BLVD",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0308259510001",
      "longitude": "-118.47945038",
      "website": "http://california.providence.org/",
      "beds": "266",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "266",
      "county": "LOS ANGELES",
      "distance": "6.1677979489112955"
    },
    {
      "Zip": "91505",
      "Name": "PROVIDENCE SAINT JOSEPH MEDICAL CENTER",
      "Address": "501 SO. BUENA VISTA",
      "City": "BURBANK",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1570435290001",
      "longitude": "-118.328869108",
      "website": "http://www.providence.org",
      "beds": "446",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "446",
      "county": "LOS ANGELES",
      "distance": "6.233227559265403"
    },
    {
      "Zip": "90404",
      "Name": "SANTA MONICA - UCLA MEDICAL CENTER & ORTHOPAEDIC HOSPITAL",
      "Address": "1250 16TH STREET",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.027708681",
      "longitude": "-118.486892397",
      "website": "https://www.uclahealth.org/Santa-Monica/Pages/default.aspx",
      "beds": "265",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "265",
      "county": "LOS ANGELES",
      "distance": "6.595726813943176"
    },
    {
      "Zip": "91405",
      "Name": "VALLEY PRESBYTERIAN HOSPITAL",
      "Address": "15107 VAN OWEN STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.194989499",
      "longitude": "-118.463021294",
      "website": "http://www.valleypres.org",
      "beds": "350",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "350",
      "county": "LOS ANGELES",
      "distance": "6.887193058819905"
    },
    {
      "Zip": "90027",
      "Name": "KAISER PERMANENTE LOS ANGELES MEDICAL CENTER",
      "Address": "4867 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0985736490001",
      "longitude": "-118.294175331",
      "website": "http://www.kaiserpermanente.org",
      "beds": "460",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "460",
      "county": "LOS ANGELES",
      "distance": "6.99150564823049"
    },
    {
      "Zip": "90027",
      "Name": "CHILDREN'S HOSPITAL OF LOS ANGELES",
      "Address": "4650 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0976301380001",
      "longitude": "-118.291037592",
      "website": "http://www.chla.org",
      "beds": "495",
      "naics_desc": "CHILDREN'S HOSPITALS, GENERAL",
      "helipad": "Y",
      "population": "495",
      "county": "LOS ANGELES",
      "distance": "7.174045118286"
    },
    {
      "Zip": "90027",
      "Name": "HOLLYWOOD PRESBYTERIAN MEDICAL CENTER",
      "Address": "1300 NORTH VERMONT AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0964510210001",
      "longitude": "-118.290470453",
      "website": "http://www.hollywoodpresbyterian.com",
      "beds": "434",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "434",
      "county": "LOS ANGELES",
      "distance": "7.21125326875415"
    },
    {
      "Zip": "90018",
      "Name": "LOS ANGELES METROPOLITAN MEDICAL CENTER",
      "Address": "2231 SOUTH WESTERN AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0351433110001",
      "longitude": "-118.309357038",
      "website": "http://www.lammc.com/",
      "beds": "149",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "149",
      "county": "LOS ANGELES",
      "distance": "7.713479079741884"
    },
    {
      "Zip": "90004",
      "Name": "TEMPLE COMMUNITY HOSPITAL",
      "Address": "235 NORTH HOOVER STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.075653951",
      "longitude": "-118.284034358",
      "website": "http://tuh.templehealth.org/content/default.htm",
      "beds": "730",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "730",
      "county": "LOS ANGELES",
      "distance": "7.80019054750599"
    },
    {
      "Zip": "90020",
      "Name": "SHRINERS HOSPITAL FOR CHILDREN - L.A.",
      "Address": "3160 GENEVA STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.067204777",
      "longitude": "-118.286392079",
      "website": "http://www.shrinershospitalsforchildren.org/Hospitals/Locations/Losa ngeles.aspx",
      "beds": "60",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "7.8347123008955615"
    },
    {
      "Zip": "91402",
      "Name": "KAISER PERMANENTE PANORAMA CITY",
      "Address": "13652 CANTARA STREET",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2185641940001",
      "longitude": "-118.430219294",
      "website": "http://www.kaiserpermanente.org",
      "beds": "218",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "218",
      "county": "LOS ANGELES",
      "distance": "8.01553185989023"
    },
    {
      "Zip": "91356",
      "Name": "PROVIDENCE TARZANA MEDICAL CENTER",
      "Address": "18321 CLARK STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.170393216",
      "longitude": "-118.531904059",
      "website": "http://california.providence.org/",
      "beds": "249",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "249",
      "county": "LOS ANGELES",
      "distance": "8.08343565555711"
    },
    {
      "Zip": "90056",
      "Name": "KINDRED HOSPITAL - LOS ANGELES",
      "Address": "5525 WEST SLAUSON AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.9901305930001",
      "longitude": "-118.378451111",
      "website": "http://www.kindredhospitalla.com/",
      "beds": "81",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "81",
      "county": "LOS ANGELES",
      "distance": "8.101954938579604"
    },
    {
      "Zip": "91402",
      "Name": "MISSION COMMUNITY HOSPITAL - PANORAMA CAMPUS",
      "Address": "14850 ROSCOE BOULEVARD",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2204145640001",
      "longitude": "-118.45666936",
      "website": "http://www.mchonline.org",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.426509044544499"
    },
    {
      "Zip": "90291",
      "Name": "MARINA DEL REY HOSPITAL",
      "Address": "4650 LINCOLN BOULEVARD",
      "City": "MARINA DEL REY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.982161622",
      "longitude": "-118.43923224",
      "website": "http://www.marinahospital.com",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.461082375865114"
    },
    {
      "Zip": "90057",
      "Name": "ST. VINCENT MEDICAL CENTER",
      "Address": "2131 WEST 3RD STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0638715590001",
      "longitude": "-118.27361447",
      "website": "http://www.stvincentmedicalcenter.com",
      "beds": "366",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "366",
      "county": "LOS ANGELES",
      "distance": "8.601351912528449"
    },
    {
      "Zip": "91356",
      "Name": "TARZANA TREATMENT CENTER",
      "Address": "18646 OXNARD STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1794458260001",
      "longitude": "-118.539856202",
      "website": "http://www.providence.org/tarzana.com",
      "beds": "60",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "8.818382900722874"
    },
    {
      "Zip": "90026",
      "Name": "SILVER LAKE MEDICAL CENTER-DOWNTOWN CAMPUS",
      "Address": "1711 WEST TEMPLE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.069669445",
      "longitude": "-118.263525847",
      "website": "http://www.silverlakemc.com",
      "beds": "116",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "116",
      "county": "LOS ANGELES",
      "distance": "9.040084978091905"
    },
    {
      "Zip": "90026",
      "Name": "GATEWAYS HOSPITAL AND MENTAL HEALTH CENTER",
      "Address": "1891 EFFIE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.085241404",
      "longitude": "-118.25658079",
      "website": "http://www.gatewayshospital.org",
      "beds": "55",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "55",
      "county": "LOS ANGELES",
      "distance": "9.21925729317851"
    },
    {
      "Zip": "90017",
      "Name": "GOOD SAMARITAN HOSPITAL-LOS ANGELES",
      "Address": "1225 WILSHIRE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0546744050001",
      "longitude": "-118.26515847",
      "website": "http://www.goodsam.org",
      "beds": "408",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "408",
      "county": "LOS ANGELES",
      "distance": "9.272337655961483"
    },
    {
      "Zip": "91204",
      "Name": "GLENDALE MEMORIAL HOSPITAL AND HEALTH CENTER",
      "Address": "1420 SOUTH CENTRAL AVENUE",
      "City": "GLENDALE",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.128165628",
      "longitude": "-118.256643169",
      "website": "http://www.glendalememorial.com",
      "beds": "334",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "334",
      "county": "LOS ANGELES",
      "distance": "9.292541436777391"
    },
    {
      "Zip": "91352",
      "Name": "PACIFICA HOSPITAL OF THE VALLEY",
      "Address": "9449 SAN FERNANDO ROAD",
      "City": "SUN VALLEY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.240098335",
      "longitude": "-118.396362905",
      "website": "http://www.pacificahospital.com",
      "beds": "231",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "231",
      "county": "LOS ANGELES",
      "distance": "9.53158629640528"
    },
    {
      "Zip": "90015",
      "Name": "CALIFORNIA HOSPITAL MEDICAL CENTER - LOS ANGELES",
      "Address": "1401 SOUTH GRAND AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0373537720001",
      "longitude": "-118.265976066",
      "website": "http://www.chmcla.org",
      "beds": "318",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "318",
      "county": "LOS ANGELES",
      "distance": "9.727796219710664"
    },
    {
      "Zip": "90026",
      "Name": "BARLOW RESPIRATORY HOSPITAL",
      "Address": "2000 STADIUM WAY",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0760965750001",
      "longitude": "-118.248361257",
      "website": "http://www.barlow2000.org",
      "beds": "105",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "105",
      "county": "LOS ANGELES",
      "distance": "9.786746745057041"
    }
  ]
}
    
                                    
curl -X GET 'https://service.zipapi.us/hospital/radius/90210?X-API-KEY=your_api_key&radius=5'
                                    
                                

Sample Response:

    
{
  "status": true,
  "data": [
    {
      "Zip": "90048",
      "Name": "CEDARS SINAI MEDICAL CENTER",
      "Address": "8700 BEVERLY BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.076294454",
      "longitude": "-118.380712116",
      "website": "http://www.cedars-sinai.edu",
      "beds": "886",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "886",
      "county": "LOS ANGELES",
      "distance": "2.752078868404862"
    },
    {
      "Zip": "90067",
      "Name": "CALIFORNIA REHABILITATION INSTITUTE, LLC",
      "Address": "2070 CENTURY PARK EAST",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(424) 522-7100",
      "latitude": "34.059102925",
      "longitude": "-118.41186805",
      "website": "https://www.californiarehabinstitute.com/",
      "beds": "138",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "176",
      "county": "LOS ANGELES",
      "distance": "3.052377438781716"
    },
    {
      "Zip": "90095",
      "Name": "RONALD REAGAN UCLA MEDICAL CENTER",
      "Address": "757 WESTWOOD PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 825-9111",
      "latitude": "34.066554382",
      "longitude": "-118.446625067",
      "website": "http://www.uclahealth.org",
      "beds": "466",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "466",
      "county": "LOS ANGELES",
      "distance": "3.067146197949377"
    },
    {
      "Zip": "90095",
      "Name": "RESNICK NEUROPSYCHIATRIC HOSPITAL AT UCLA",
      "Address": "150 MEDICAL PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.065403857",
      "longitude": "-118.446587693",
      "website": "http://www.semel.ucla.edu/resnick",
      "beds": "74",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "Y",
      "population": "74",
      "county": "LOS ANGELES",
      "distance": "3.131790025349627"
    },
    {
      "Zip": "90073",
      "Name": "WEST LOS ANGELES MEDICAL CENTER",
      "Address": "11301 WILSHIRE BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 478-3711",
      "latitude": "34.0527212710001",
      "longitude": "-118.452752239",
      "website": "http://www.losangeles.va.gov/",
      "beds": "-999",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "-999",
      "county": "LOS ANGELES",
      "distance": "4.061300592249407"
    },
    {
      "Zip": "91403",
      "Name": "SHERMAN OAKS HOSPITAL",
      "Address": "4929 VAN NUYS BOULEVARD",
      "City": "SHERMAN OAKS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.160194958",
      "longitude": "-118.449414012",
      "website": "http://www.shermanoakshospital.com",
      "beds": "153",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "153",
      "county": "LOS ANGELES",
      "distance": "4.375164315146461"
    },
    {
      "Zip": "90036",
      "Name": "MIRACLE MILE MEDICAL CENTER",
      "Address": "6000 SAN VICENTE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0573663500001",
      "longitude": "-118.362458577",
      "website": "http://www.miraclemilemedicalcenter.com",
      "beds": "17",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "17",
      "county": "LOS ANGELES",
      "distance": "4.413104107785873"
    },
    {
      "Zip": "90036",
      "Name": "OLYMPIA MEDICAL CENTER",
      "Address": "5900 WEST OLYMPIA BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0572922740001",
      "longitude": "-118.360527347",
      "website": "http://www.olympiamc.com",
      "beds": "204",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "204",
      "county": "LOS ANGELES",
      "distance": "4.49450334315006"
    },
    {
      "Zip": "90034",
      "Name": "KAISER PERMANENTE WEST LOS ANGELES MEDICAL CENTER",
      "Address": "6041 CADILLAC AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0384966780001",
      "longitude": "-118.374696375",
      "website": "http://www.kaiserpermanente.org",
      "beds": "288",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "288",
      "county": "LOS ANGELES",
      "distance": "5.059666668409764"
    },
    {
      "Zip": "90028",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT HOLLYWOOD",
      "Address": "6245 DE LONGPRE AVENUE",
      "City": "HOLLYWOOD",
      "State": "CA",
      "telephone": "(323) 462-2271",
      "latitude": "34.0963913570001",
      "longitude": "-118.325234871",
      "website": "http://sch-hollywood.com/",
      "beds": "100",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "100",
      "county": "LOS ANGELES",
      "distance": "5.228252666526445"
    },
    {
      "Zip": "91401",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT VAN NUYS D/P APH",
      "Address": "14433 EMELITA STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "(818) 787-1511",
      "latitude": "34.176900695",
      "longitude": "-118.447490834",
      "website": "http://sch-vannuys.com/",
      "beds": "59",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "59",
      "county": "LOS ANGELES",
      "distance": "5.400969940900315"
    },
    {
      "Zip": "91436",
      "Name": "ENCINO HOSPITAL MEDICAL CENTER",
      "Address": "16237 VENTURA BOULEVARD",
      "City": "ENCINO",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.157227103",
      "longitude": "-118.48702421",
      "website": "http://www.encinomed.com",
      "beds": "148",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "148",
      "county": "LOS ANGELES",
      "distance": "5.5093973207216775"
    },
    {
      "Zip": "90232",
      "Name": "EXODUS RECOVERY PHF",
      "Address": "9808 VENICE BLVD",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "(310) 237-0454",
      "latitude": "34.0234136560001",
      "longitude": "-118.397947171",
      "website": "http://www.exodusrecoveryinc.com/PHF.html",
      "beds": "16",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "16",
      "county": "LOS ANGELES",
      "distance": "5.606712034332235"
    },
    {
      "Zip": "90231",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT CULVER CITY",
      "Address": "3828 DELMAS TERRACE",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0231795170001",
      "longitude": "-118.396989428",
      "website": "http://www.sch-culvercity.com/home.htm",
      "beds": "420",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "420",
      "county": "LOS ANGELES",
      "distance": "5.633078883164935"
    },
    {
      "Zip": "90404",
      "Name": "PROVIDENCE ST. JOHN'S HEALTH CENTER",
      "Address": "2121 SANTA MONICA BLVD",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0308259510001",
      "longitude": "-118.47945038",
      "website": "http://california.providence.org/",
      "beds": "266",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "266",
      "county": "LOS ANGELES",
      "distance": "6.1677979489112955"
    },
    {
      "Zip": "91505",
      "Name": "PROVIDENCE SAINT JOSEPH MEDICAL CENTER",
      "Address": "501 SO. BUENA VISTA",
      "City": "BURBANK",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1570435290001",
      "longitude": "-118.328869108",
      "website": "http://www.providence.org",
      "beds": "446",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "446",
      "county": "LOS ANGELES",
      "distance": "6.233227559265403"
    },
    {
      "Zip": "90404",
      "Name": "SANTA MONICA - UCLA MEDICAL CENTER & ORTHOPAEDIC HOSPITAL",
      "Address": "1250 16TH STREET",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.027708681",
      "longitude": "-118.486892397",
      "website": "https://www.uclahealth.org/Santa-Monica/Pages/default.aspx",
      "beds": "265",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "265",
      "county": "LOS ANGELES",
      "distance": "6.595726813943176"
    },
    {
      "Zip": "91405",
      "Name": "VALLEY PRESBYTERIAN HOSPITAL",
      "Address": "15107 VAN OWEN STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.194989499",
      "longitude": "-118.463021294",
      "website": "http://www.valleypres.org",
      "beds": "350",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "350",
      "county": "LOS ANGELES",
      "distance": "6.887193058819905"
    },
    {
      "Zip": "90027",
      "Name": "KAISER PERMANENTE LOS ANGELES MEDICAL CENTER",
      "Address": "4867 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0985736490001",
      "longitude": "-118.294175331",
      "website": "http://www.kaiserpermanente.org",
      "beds": "460",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "460",
      "county": "LOS ANGELES",
      "distance": "6.99150564823049"
    },
    {
      "Zip": "90027",
      "Name": "CHILDREN'S HOSPITAL OF LOS ANGELES",
      "Address": "4650 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0976301380001",
      "longitude": "-118.291037592",
      "website": "http://www.chla.org",
      "beds": "495",
      "naics_desc": "CHILDREN'S HOSPITALS, GENERAL",
      "helipad": "Y",
      "population": "495",
      "county": "LOS ANGELES",
      "distance": "7.174045118286"
    },
    {
      "Zip": "90027",
      "Name": "HOLLYWOOD PRESBYTERIAN MEDICAL CENTER",
      "Address": "1300 NORTH VERMONT AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0964510210001",
      "longitude": "-118.290470453",
      "website": "http://www.hollywoodpresbyterian.com",
      "beds": "434",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "434",
      "county": "LOS ANGELES",
      "distance": "7.21125326875415"
    },
    {
      "Zip": "90018",
      "Name": "LOS ANGELES METROPOLITAN MEDICAL CENTER",
      "Address": "2231 SOUTH WESTERN AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0351433110001",
      "longitude": "-118.309357038",
      "website": "http://www.lammc.com/",
      "beds": "149",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "149",
      "county": "LOS ANGELES",
      "distance": "7.713479079741884"
    },
    {
      "Zip": "90004",
      "Name": "TEMPLE COMMUNITY HOSPITAL",
      "Address": "235 NORTH HOOVER STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.075653951",
      "longitude": "-118.284034358",
      "website": "http://tuh.templehealth.org/content/default.htm",
      "beds": "730",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "730",
      "county": "LOS ANGELES",
      "distance": "7.80019054750599"
    },
    {
      "Zip": "90020",
      "Name": "SHRINERS HOSPITAL FOR CHILDREN - L.A.",
      "Address": "3160 GENEVA STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.067204777",
      "longitude": "-118.286392079",
      "website": "http://www.shrinershospitalsforchildren.org/Hospitals/Locations/Losa ngeles.aspx",
      "beds": "60",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "7.8347123008955615"
    },
    {
      "Zip": "91402",
      "Name": "KAISER PERMANENTE PANORAMA CITY",
      "Address": "13652 CANTARA STREET",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2185641940001",
      "longitude": "-118.430219294",
      "website": "http://www.kaiserpermanente.org",
      "beds": "218",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "218",
      "county": "LOS ANGELES",
      "distance": "8.01553185989023"
    },
    {
      "Zip": "91356",
      "Name": "PROVIDENCE TARZANA MEDICAL CENTER",
      "Address": "18321 CLARK STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.170393216",
      "longitude": "-118.531904059",
      "website": "http://california.providence.org/",
      "beds": "249",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "249",
      "county": "LOS ANGELES",
      "distance": "8.08343565555711"
    },
    {
      "Zip": "90056",
      "Name": "KINDRED HOSPITAL - LOS ANGELES",
      "Address": "5525 WEST SLAUSON AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.9901305930001",
      "longitude": "-118.378451111",
      "website": "http://www.kindredhospitalla.com/",
      "beds": "81",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "81",
      "county": "LOS ANGELES",
      "distance": "8.101954938579604"
    },
    {
      "Zip": "91402",
      "Name": "MISSION COMMUNITY HOSPITAL - PANORAMA CAMPUS",
      "Address": "14850 ROSCOE BOULEVARD",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2204145640001",
      "longitude": "-118.45666936",
      "website": "http://www.mchonline.org",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.426509044544499"
    },
    {
      "Zip": "90291",
      "Name": "MARINA DEL REY HOSPITAL",
      "Address": "4650 LINCOLN BOULEVARD",
      "City": "MARINA DEL REY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.982161622",
      "longitude": "-118.43923224",
      "website": "http://www.marinahospital.com",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.461082375865114"
    },
    {
      "Zip": "90057",
      "Name": "ST. VINCENT MEDICAL CENTER",
      "Address": "2131 WEST 3RD STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0638715590001",
      "longitude": "-118.27361447",
      "website": "http://www.stvincentmedicalcenter.com",
      "beds": "366",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "366",
      "county": "LOS ANGELES",
      "distance": "8.601351912528449"
    },
    {
      "Zip": "91356",
      "Name": "TARZANA TREATMENT CENTER",
      "Address": "18646 OXNARD STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1794458260001",
      "longitude": "-118.539856202",
      "website": "http://www.providence.org/tarzana.com",
      "beds": "60",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "8.818382900722874"
    },
    {
      "Zip": "90026",
      "Name": "SILVER LAKE MEDICAL CENTER-DOWNTOWN CAMPUS",
      "Address": "1711 WEST TEMPLE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.069669445",
      "longitude": "-118.263525847",
      "website": "http://www.silverlakemc.com",
      "beds": "116",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "116",
      "county": "LOS ANGELES",
      "distance": "9.040084978091905"
    },
    {
      "Zip": "90026",
      "Name": "GATEWAYS HOSPITAL AND MENTAL HEALTH CENTER",
      "Address": "1891 EFFIE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.085241404",
      "longitude": "-118.25658079",
      "website": "http://www.gatewayshospital.org",
      "beds": "55",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "55",
      "county": "LOS ANGELES",
      "distance": "9.21925729317851"
    },
    {
      "Zip": "90017",
      "Name": "GOOD SAMARITAN HOSPITAL-LOS ANGELES",
      "Address": "1225 WILSHIRE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0546744050001",
      "longitude": "-118.26515847",
      "website": "http://www.goodsam.org",
      "beds": "408",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "408",
      "county": "LOS ANGELES",
      "distance": "9.272337655961483"
    },
    {
      "Zip": "91204",
      "Name": "GLENDALE MEMORIAL HOSPITAL AND HEALTH CENTER",
      "Address": "1420 SOUTH CENTRAL AVENUE",
      "City": "GLENDALE",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.128165628",
      "longitude": "-118.256643169",
      "website": "http://www.glendalememorial.com",
      "beds": "334",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "334",
      "county": "LOS ANGELES",
      "distance": "9.292541436777391"
    },
    {
      "Zip": "91352",
      "Name": "PACIFICA HOSPITAL OF THE VALLEY",
      "Address": "9449 SAN FERNANDO ROAD",
      "City": "SUN VALLEY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.240098335",
      "longitude": "-118.396362905",
      "website": "http://www.pacificahospital.com",
      "beds": "231",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "231",
      "county": "LOS ANGELES",
      "distance": "9.53158629640528"
    },
    {
      "Zip": "90015",
      "Name": "CALIFORNIA HOSPITAL MEDICAL CENTER - LOS ANGELES",
      "Address": "1401 SOUTH GRAND AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0373537720001",
      "longitude": "-118.265976066",
      "website": "http://www.chmcla.org",
      "beds": "318",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "318",
      "county": "LOS ANGELES",
      "distance": "9.727796219710664"
    },
    {
      "Zip": "90026",
      "Name": "BARLOW RESPIRATORY HOSPITAL",
      "Address": "2000 STADIUM WAY",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0760965750001",
      "longitude": "-118.248361257",
      "website": "http://www.barlow2000.org",
      "beds": "105",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "105",
      "county": "LOS ANGELES",
      "distance": "9.786746745057041"
    }
  ]
}
    
                                    
import requests
from requests.auth import HTTPBasicAuth
r = requests.get("https://service.zipapi.us/hospital/radius/90210?X-API-KEY=your_api_key&radius=50",
    auth=HTTPBasicAuth("your email", "your password"))
                                    
                                

Sample Response:

    
{
  "status": true,
  "data": [
    {
      "Zip": "90048",
      "Name": "CEDARS SINAI MEDICAL CENTER",
      "Address": "8700 BEVERLY BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.076294454",
      "longitude": "-118.380712116",
      "website": "http://www.cedars-sinai.edu",
      "beds": "886",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "886",
      "county": "LOS ANGELES",
      "distance": "2.752078868404862"
    },
    {
      "Zip": "90067",
      "Name": "CALIFORNIA REHABILITATION INSTITUTE, LLC",
      "Address": "2070 CENTURY PARK EAST",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(424) 522-7100",
      "latitude": "34.059102925",
      "longitude": "-118.41186805",
      "website": "https://www.californiarehabinstitute.com/",
      "beds": "138",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "176",
      "county": "LOS ANGELES",
      "distance": "3.052377438781716"
    },
    {
      "Zip": "90095",
      "Name": "RONALD REAGAN UCLA MEDICAL CENTER",
      "Address": "757 WESTWOOD PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 825-9111",
      "latitude": "34.066554382",
      "longitude": "-118.446625067",
      "website": "http://www.uclahealth.org",
      "beds": "466",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "466",
      "county": "LOS ANGELES",
      "distance": "3.067146197949377"
    },
    {
      "Zip": "90095",
      "Name": "RESNICK NEUROPSYCHIATRIC HOSPITAL AT UCLA",
      "Address": "150 MEDICAL PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.065403857",
      "longitude": "-118.446587693",
      "website": "http://www.semel.ucla.edu/resnick",
      "beds": "74",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "Y",
      "population": "74",
      "county": "LOS ANGELES",
      "distance": "3.131790025349627"
    },
    {
      "Zip": "90073",
      "Name": "WEST LOS ANGELES MEDICAL CENTER",
      "Address": "11301 WILSHIRE BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 478-3711",
      "latitude": "34.0527212710001",
      "longitude": "-118.452752239",
      "website": "http://www.losangeles.va.gov/",
      "beds": "-999",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "-999",
      "county": "LOS ANGELES",
      "distance": "4.061300592249407"
    },
    {
      "Zip": "91403",
      "Name": "SHERMAN OAKS HOSPITAL",
      "Address": "4929 VAN NUYS BOULEVARD",
      "City": "SHERMAN OAKS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.160194958",
      "longitude": "-118.449414012",
      "website": "http://www.shermanoakshospital.com",
      "beds": "153",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "153",
      "county": "LOS ANGELES",
      "distance": "4.375164315146461"
    },
    {
      "Zip": "90036",
      "Name": "MIRACLE MILE MEDICAL CENTER",
      "Address": "6000 SAN VICENTE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0573663500001",
      "longitude": "-118.362458577",
      "website": "http://www.miraclemilemedicalcenter.com",
      "beds": "17",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "17",
      "county": "LOS ANGELES",
      "distance": "4.413104107785873"
    },
    {
      "Zip": "90036",
      "Name": "OLYMPIA MEDICAL CENTER",
      "Address": "5900 WEST OLYMPIA BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0572922740001",
      "longitude": "-118.360527347",
      "website": "http://www.olympiamc.com",
      "beds": "204",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "204",
      "county": "LOS ANGELES",
      "distance": "4.49450334315006"
    },
    {
      "Zip": "90034",
      "Name": "KAISER PERMANENTE WEST LOS ANGELES MEDICAL CENTER",
      "Address": "6041 CADILLAC AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0384966780001",
      "longitude": "-118.374696375",
      "website": "http://www.kaiserpermanente.org",
      "beds": "288",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "288",
      "county": "LOS ANGELES",
      "distance": "5.059666668409764"
    },
    {
      "Zip": "90028",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT HOLLYWOOD",
      "Address": "6245 DE LONGPRE AVENUE",
      "City": "HOLLYWOOD",
      "State": "CA",
      "telephone": "(323) 462-2271",
      "latitude": "34.0963913570001",
      "longitude": "-118.325234871",
      "website": "http://sch-hollywood.com/",
      "beds": "100",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "100",
      "county": "LOS ANGELES",
      "distance": "5.228252666526445"
    },
    {
      "Zip": "91401",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT VAN NUYS D/P APH",
      "Address": "14433 EMELITA STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "(818) 787-1511",
      "latitude": "34.176900695",
      "longitude": "-118.447490834",
      "website": "http://sch-vannuys.com/",
      "beds": "59",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "59",
      "county": "LOS ANGELES",
      "distance": "5.400969940900315"
    },
    {
      "Zip": "91436",
      "Name": "ENCINO HOSPITAL MEDICAL CENTER",
      "Address": "16237 VENTURA BOULEVARD",
      "City": "ENCINO",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.157227103",
      "longitude": "-118.48702421",
      "website": "http://www.encinomed.com",
      "beds": "148",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "148",
      "county": "LOS ANGELES",
      "distance": "5.5093973207216775"
    },
    {
      "Zip": "90232",
      "Name": "EXODUS RECOVERY PHF",
      "Address": "9808 VENICE BLVD",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "(310) 237-0454",
      "latitude": "34.0234136560001",
      "longitude": "-118.397947171",
      "website": "http://www.exodusrecoveryinc.com/PHF.html",
      "beds": "16",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "16",
      "county": "LOS ANGELES",
      "distance": "5.606712034332235"
    },
    {
      "Zip": "90231",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT CULVER CITY",
      "Address": "3828 DELMAS TERRACE",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0231795170001",
      "longitude": "-118.396989428",
      "website": "http://www.sch-culvercity.com/home.htm",
      "beds": "420",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "420",
      "county": "LOS ANGELES",
      "distance": "5.633078883164935"
    },
    {
      "Zip": "90404",
      "Name": "PROVIDENCE ST. JOHN'S HEALTH CENTER",
      "Address": "2121 SANTA MONICA BLVD",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0308259510001",
      "longitude": "-118.47945038",
      "website": "http://california.providence.org/",
      "beds": "266",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "266",
      "county": "LOS ANGELES",
      "distance": "6.1677979489112955"
    },
    {
      "Zip": "91505",
      "Name": "PROVIDENCE SAINT JOSEPH MEDICAL CENTER",
      "Address": "501 SO. BUENA VISTA",
      "City": "BURBANK",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1570435290001",
      "longitude": "-118.328869108",
      "website": "http://www.providence.org",
      "beds": "446",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "446",
      "county": "LOS ANGELES",
      "distance": "6.233227559265403"
    },
    {
      "Zip": "90404",
      "Name": "SANTA MONICA - UCLA MEDICAL CENTER & ORTHOPAEDIC HOSPITAL",
      "Address": "1250 16TH STREET",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.027708681",
      "longitude": "-118.486892397",
      "website": "https://www.uclahealth.org/Santa-Monica/Pages/default.aspx",
      "beds": "265",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "265",
      "county": "LOS ANGELES",
      "distance": "6.595726813943176"
    },
    {
      "Zip": "91405",
      "Name": "VALLEY PRESBYTERIAN HOSPITAL",
      "Address": "15107 VAN OWEN STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.194989499",
      "longitude": "-118.463021294",
      "website": "http://www.valleypres.org",
      "beds": "350",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "350",
      "county": "LOS ANGELES",
      "distance": "6.887193058819905"
    },
    {
      "Zip": "90027",
      "Name": "KAISER PERMANENTE LOS ANGELES MEDICAL CENTER",
      "Address": "4867 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0985736490001",
      "longitude": "-118.294175331",
      "website": "http://www.kaiserpermanente.org",
      "beds": "460",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "460",
      "county": "LOS ANGELES",
      "distance": "6.99150564823049"
    },
    {
      "Zip": "90027",
      "Name": "CHILDREN'S HOSPITAL OF LOS ANGELES",
      "Address": "4650 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0976301380001",
      "longitude": "-118.291037592",
      "website": "http://www.chla.org",
      "beds": "495",
      "naics_desc": "CHILDREN'S HOSPITALS, GENERAL",
      "helipad": "Y",
      "population": "495",
      "county": "LOS ANGELES",
      "distance": "7.174045118286"
    },
    {
      "Zip": "90027",
      "Name": "HOLLYWOOD PRESBYTERIAN MEDICAL CENTER",
      "Address": "1300 NORTH VERMONT AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0964510210001",
      "longitude": "-118.290470453",
      "website": "http://www.hollywoodpresbyterian.com",
      "beds": "434",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "434",
      "county": "LOS ANGELES",
      "distance": "7.21125326875415"
    },
    {
      "Zip": "90018",
      "Name": "LOS ANGELES METROPOLITAN MEDICAL CENTER",
      "Address": "2231 SOUTH WESTERN AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0351433110001",
      "longitude": "-118.309357038",
      "website": "http://www.lammc.com/",
      "beds": "149",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "149",
      "county": "LOS ANGELES",
      "distance": "7.713479079741884"
    },
    {
      "Zip": "90004",
      "Name": "TEMPLE COMMUNITY HOSPITAL",
      "Address": "235 NORTH HOOVER STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.075653951",
      "longitude": "-118.284034358",
      "website": "http://tuh.templehealth.org/content/default.htm",
      "beds": "730",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "730",
      "county": "LOS ANGELES",
      "distance": "7.80019054750599"
    },
    {
      "Zip": "90020",
      "Name": "SHRINERS HOSPITAL FOR CHILDREN - L.A.",
      "Address": "3160 GENEVA STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.067204777",
      "longitude": "-118.286392079",
      "website": "http://www.shrinershospitalsforchildren.org/Hospitals/Locations/Losa ngeles.aspx",
      "beds": "60",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "7.8347123008955615"
    },
    {
      "Zip": "91402",
      "Name": "KAISER PERMANENTE PANORAMA CITY",
      "Address": "13652 CANTARA STREET",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2185641940001",
      "longitude": "-118.430219294",
      "website": "http://www.kaiserpermanente.org",
      "beds": "218",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "218",
      "county": "LOS ANGELES",
      "distance": "8.01553185989023"
    },
    {
      "Zip": "91356",
      "Name": "PROVIDENCE TARZANA MEDICAL CENTER",
      "Address": "18321 CLARK STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.170393216",
      "longitude": "-118.531904059",
      "website": "http://california.providence.org/",
      "beds": "249",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "249",
      "county": "LOS ANGELES",
      "distance": "8.08343565555711"
    },
    {
      "Zip": "90056",
      "Name": "KINDRED HOSPITAL - LOS ANGELES",
      "Address": "5525 WEST SLAUSON AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.9901305930001",
      "longitude": "-118.378451111",
      "website": "http://www.kindredhospitalla.com/",
      "beds": "81",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "81",
      "county": "LOS ANGELES",
      "distance": "8.101954938579604"
    },
    {
      "Zip": "91402",
      "Name": "MISSION COMMUNITY HOSPITAL - PANORAMA CAMPUS",
      "Address": "14850 ROSCOE BOULEVARD",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2204145640001",
      "longitude": "-118.45666936",
      "website": "http://www.mchonline.org",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.426509044544499"
    },
    {
      "Zip": "90291",
      "Name": "MARINA DEL REY HOSPITAL",
      "Address": "4650 LINCOLN BOULEVARD",
      "City": "MARINA DEL REY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.982161622",
      "longitude": "-118.43923224",
      "website": "http://www.marinahospital.com",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.461082375865114"
    },
    {
      "Zip": "90057",
      "Name": "ST. VINCENT MEDICAL CENTER",
      "Address": "2131 WEST 3RD STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0638715590001",
      "longitude": "-118.27361447",
      "website": "http://www.stvincentmedicalcenter.com",
      "beds": "366",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "366",
      "county": "LOS ANGELES",
      "distance": "8.601351912528449"
    },
    {
      "Zip": "91356",
      "Name": "TARZANA TREATMENT CENTER",
      "Address": "18646 OXNARD STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1794458260001",
      "longitude": "-118.539856202",
      "website": "http://www.providence.org/tarzana.com",
      "beds": "60",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "8.818382900722874"
    },
    {
      "Zip": "90026",
      "Name": "SILVER LAKE MEDICAL CENTER-DOWNTOWN CAMPUS",
      "Address": "1711 WEST TEMPLE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.069669445",
      "longitude": "-118.263525847",
      "website": "http://www.silverlakemc.com",
      "beds": "116",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "116",
      "county": "LOS ANGELES",
      "distance": "9.040084978091905"
    },
    {
      "Zip": "90026",
      "Name": "GATEWAYS HOSPITAL AND MENTAL HEALTH CENTER",
      "Address": "1891 EFFIE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.085241404",
      "longitude": "-118.25658079",
      "website": "http://www.gatewayshospital.org",
      "beds": "55",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "55",
      "county": "LOS ANGELES",
      "distance": "9.21925729317851"
    },
    {
      "Zip": "90017",
      "Name": "GOOD SAMARITAN HOSPITAL-LOS ANGELES",
      "Address": "1225 WILSHIRE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0546744050001",
      "longitude": "-118.26515847",
      "website": "http://www.goodsam.org",
      "beds": "408",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "408",
      "county": "LOS ANGELES",
      "distance": "9.272337655961483"
    },
    {
      "Zip": "91204",
      "Name": "GLENDALE MEMORIAL HOSPITAL AND HEALTH CENTER",
      "Address": "1420 SOUTH CENTRAL AVENUE",
      "City": "GLENDALE",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.128165628",
      "longitude": "-118.256643169",
      "website": "http://www.glendalememorial.com",
      "beds": "334",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "334",
      "county": "LOS ANGELES",
      "distance": "9.292541436777391"
    },
    {
      "Zip": "91352",
      "Name": "PACIFICA HOSPITAL OF THE VALLEY",
      "Address": "9449 SAN FERNANDO ROAD",
      "City": "SUN VALLEY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.240098335",
      "longitude": "-118.396362905",
      "website": "http://www.pacificahospital.com",
      "beds": "231",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "231",
      "county": "LOS ANGELES",
      "distance": "9.53158629640528"
    },
    {
      "Zip": "90015",
      "Name": "CALIFORNIA HOSPITAL MEDICAL CENTER - LOS ANGELES",
      "Address": "1401 SOUTH GRAND AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0373537720001",
      "longitude": "-118.265976066",
      "website": "http://www.chmcla.org",
      "beds": "318",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "318",
      "county": "LOS ANGELES",
      "distance": "9.727796219710664"
    },
    {
      "Zip": "90026",
      "Name": "BARLOW RESPIRATORY HOSPITAL",
      "Address": "2000 STADIUM WAY",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0760965750001",
      "longitude": "-118.248361257",
      "website": "http://www.barlow2000.org",
      "beds": "105",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "105",
      "county": "LOS ANGELES",
      "distance": "9.786746745057041"
    }
  ]
}
    
                        

    var clientKey = 'Your js key';
    var url = "https://service.zipapi.us/hospital/radius/90210?X-API-KEY=" + clientKey + "&radius=5";


    var xhttp = new XMLHttpRequest();


    xhttp.onreadystatechange = function() {

        if (this.readyState == 4) {

            document.getElementById("demo").innerHTML = this.responseText;
        }


    };

    xhttp.open("GET", url, true);
    xhttp.send();
                        
                    

Sample Response:

    
{
  "status": true,
  "data": [
    {
      "Zip": "90048",
      "Name": "CEDARS SINAI MEDICAL CENTER",
      "Address": "8700 BEVERLY BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.076294454",
      "longitude": "-118.380712116",
      "website": "http://www.cedars-sinai.edu",
      "beds": "886",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "886",
      "county": "LOS ANGELES",
      "distance": "2.752078868404862"
    },
    {
      "Zip": "90067",
      "Name": "CALIFORNIA REHABILITATION INSTITUTE, LLC",
      "Address": "2070 CENTURY PARK EAST",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(424) 522-7100",
      "latitude": "34.059102925",
      "longitude": "-118.41186805",
      "website": "https://www.californiarehabinstitute.com/",
      "beds": "138",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "176",
      "county": "LOS ANGELES",
      "distance": "3.052377438781716"
    },
    {
      "Zip": "90095",
      "Name": "RONALD REAGAN UCLA MEDICAL CENTER",
      "Address": "757 WESTWOOD PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 825-9111",
      "latitude": "34.066554382",
      "longitude": "-118.446625067",
      "website": "http://www.uclahealth.org",
      "beds": "466",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "466",
      "county": "LOS ANGELES",
      "distance": "3.067146197949377"
    },
    {
      "Zip": "90095",
      "Name": "RESNICK NEUROPSYCHIATRIC HOSPITAL AT UCLA",
      "Address": "150 MEDICAL PLAZA",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.065403857",
      "longitude": "-118.446587693",
      "website": "http://www.semel.ucla.edu/resnick",
      "beds": "74",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "Y",
      "population": "74",
      "county": "LOS ANGELES",
      "distance": "3.131790025349627"
    },
    {
      "Zip": "90073",
      "Name": "WEST LOS ANGELES MEDICAL CENTER",
      "Address": "11301 WILSHIRE BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "(310) 478-3711",
      "latitude": "34.0527212710001",
      "longitude": "-118.452752239",
      "website": "http://www.losangeles.va.gov/",
      "beds": "-999",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "-999",
      "county": "LOS ANGELES",
      "distance": "4.061300592249407"
    },
    {
      "Zip": "91403",
      "Name": "SHERMAN OAKS HOSPITAL",
      "Address": "4929 VAN NUYS BOULEVARD",
      "City": "SHERMAN OAKS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.160194958",
      "longitude": "-118.449414012",
      "website": "http://www.shermanoakshospital.com",
      "beds": "153",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "153",
      "county": "LOS ANGELES",
      "distance": "4.375164315146461"
    },
    {
      "Zip": "90036",
      "Name": "MIRACLE MILE MEDICAL CENTER",
      "Address": "6000 SAN VICENTE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0573663500001",
      "longitude": "-118.362458577",
      "website": "http://www.miraclemilemedicalcenter.com",
      "beds": "17",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "17",
      "county": "LOS ANGELES",
      "distance": "4.413104107785873"
    },
    {
      "Zip": "90036",
      "Name": "OLYMPIA MEDICAL CENTER",
      "Address": "5900 WEST OLYMPIA BLVD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0572922740001",
      "longitude": "-118.360527347",
      "website": "http://www.olympiamc.com",
      "beds": "204",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "204",
      "county": "LOS ANGELES",
      "distance": "4.49450334315006"
    },
    {
      "Zip": "90034",
      "Name": "KAISER PERMANENTE WEST LOS ANGELES MEDICAL CENTER",
      "Address": "6041 CADILLAC AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0384966780001",
      "longitude": "-118.374696375",
      "website": "http://www.kaiserpermanente.org",
      "beds": "288",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "288",
      "county": "LOS ANGELES",
      "distance": "5.059666668409764"
    },
    {
      "Zip": "90028",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT HOLLYWOOD",
      "Address": "6245 DE LONGPRE AVENUE",
      "City": "HOLLYWOOD",
      "State": "CA",
      "telephone": "(323) 462-2271",
      "latitude": "34.0963913570001",
      "longitude": "-118.325234871",
      "website": "http://sch-hollywood.com/",
      "beds": "100",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "100",
      "county": "LOS ANGELES",
      "distance": "5.228252666526445"
    },
    {
      "Zip": "91401",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT VAN NUYS D/P APH",
      "Address": "14433 EMELITA STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "(818) 787-1511",
      "latitude": "34.176900695",
      "longitude": "-118.447490834",
      "website": "http://sch-vannuys.com/",
      "beds": "59",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "59",
      "county": "LOS ANGELES",
      "distance": "5.400969940900315"
    },
    {
      "Zip": "91436",
      "Name": "ENCINO HOSPITAL MEDICAL CENTER",
      "Address": "16237 VENTURA BOULEVARD",
      "City": "ENCINO",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.157227103",
      "longitude": "-118.48702421",
      "website": "http://www.encinomed.com",
      "beds": "148",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "148",
      "county": "LOS ANGELES",
      "distance": "5.5093973207216775"
    },
    {
      "Zip": "90232",
      "Name": "EXODUS RECOVERY PHF",
      "Address": "9808 VENICE BLVD",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "(310) 237-0454",
      "latitude": "34.0234136560001",
      "longitude": "-118.397947171",
      "website": "http://www.exodusrecoveryinc.com/PHF.html",
      "beds": "16",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "16",
      "county": "LOS ANGELES",
      "distance": "5.606712034332235"
    },
    {
      "Zip": "90231",
      "Name": "SOUTHERN CALIFORNIA HOSPITAL AT CULVER CITY",
      "Address": "3828 DELMAS TERRACE",
      "City": "CULVER CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0231795170001",
      "longitude": "-118.396989428",
      "website": "http://www.sch-culvercity.com/home.htm",
      "beds": "420",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "420",
      "county": "LOS ANGELES",
      "distance": "5.633078883164935"
    },
    {
      "Zip": "90404",
      "Name": "PROVIDENCE ST. JOHN'S HEALTH CENTER",
      "Address": "2121 SANTA MONICA BLVD",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0308259510001",
      "longitude": "-118.47945038",
      "website": "http://california.providence.org/",
      "beds": "266",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "266",
      "county": "LOS ANGELES",
      "distance": "6.1677979489112955"
    },
    {
      "Zip": "91505",
      "Name": "PROVIDENCE SAINT JOSEPH MEDICAL CENTER",
      "Address": "501 SO. BUENA VISTA",
      "City": "BURBANK",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1570435290001",
      "longitude": "-118.328869108",
      "website": "http://www.providence.org",
      "beds": "446",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "446",
      "county": "LOS ANGELES",
      "distance": "6.233227559265403"
    },
    {
      "Zip": "90404",
      "Name": "SANTA MONICA - UCLA MEDICAL CENTER & ORTHOPAEDIC HOSPITAL",
      "Address": "1250 16TH STREET",
      "City": "SANTA MONICA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.027708681",
      "longitude": "-118.486892397",
      "website": "https://www.uclahealth.org/Santa-Monica/Pages/default.aspx",
      "beds": "265",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "265",
      "county": "LOS ANGELES",
      "distance": "6.595726813943176"
    },
    {
      "Zip": "91405",
      "Name": "VALLEY PRESBYTERIAN HOSPITAL",
      "Address": "15107 VAN OWEN STREET",
      "City": "VAN NUYS",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.194989499",
      "longitude": "-118.463021294",
      "website": "http://www.valleypres.org",
      "beds": "350",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "350",
      "county": "LOS ANGELES",
      "distance": "6.887193058819905"
    },
    {
      "Zip": "90027",
      "Name": "KAISER PERMANENTE LOS ANGELES MEDICAL CENTER",
      "Address": "4867 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0985736490001",
      "longitude": "-118.294175331",
      "website": "http://www.kaiserpermanente.org",
      "beds": "460",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "460",
      "county": "LOS ANGELES",
      "distance": "6.99150564823049"
    },
    {
      "Zip": "90027",
      "Name": "CHILDREN'S HOSPITAL OF LOS ANGELES",
      "Address": "4650 SUNSET BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0976301380001",
      "longitude": "-118.291037592",
      "website": "http://www.chla.org",
      "beds": "495",
      "naics_desc": "CHILDREN'S HOSPITALS, GENERAL",
      "helipad": "Y",
      "population": "495",
      "county": "LOS ANGELES",
      "distance": "7.174045118286"
    },
    {
      "Zip": "90027",
      "Name": "HOLLYWOOD PRESBYTERIAN MEDICAL CENTER",
      "Address": "1300 NORTH VERMONT AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0964510210001",
      "longitude": "-118.290470453",
      "website": "http://www.hollywoodpresbyterian.com",
      "beds": "434",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "434",
      "county": "LOS ANGELES",
      "distance": "7.21125326875415"
    },
    {
      "Zip": "90018",
      "Name": "LOS ANGELES METROPOLITAN MEDICAL CENTER",
      "Address": "2231 SOUTH WESTERN AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0351433110001",
      "longitude": "-118.309357038",
      "website": "http://www.lammc.com/",
      "beds": "149",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "149",
      "county": "LOS ANGELES",
      "distance": "7.713479079741884"
    },
    {
      "Zip": "90004",
      "Name": "TEMPLE COMMUNITY HOSPITAL",
      "Address": "235 NORTH HOOVER STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.075653951",
      "longitude": "-118.284034358",
      "website": "http://tuh.templehealth.org/content/default.htm",
      "beds": "730",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "730",
      "county": "LOS ANGELES",
      "distance": "7.80019054750599"
    },
    {
      "Zip": "90020",
      "Name": "SHRINERS HOSPITAL FOR CHILDREN - L.A.",
      "Address": "3160 GENEVA STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.067204777",
      "longitude": "-118.286392079",
      "website": "http://www.shrinershospitalsforchildren.org/Hospitals/Locations/Losa ngeles.aspx",
      "beds": "60",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "7.8347123008955615"
    },
    {
      "Zip": "91402",
      "Name": "KAISER PERMANENTE PANORAMA CITY",
      "Address": "13652 CANTARA STREET",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2185641940001",
      "longitude": "-118.430219294",
      "website": "http://www.kaiserpermanente.org",
      "beds": "218",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "218",
      "county": "LOS ANGELES",
      "distance": "8.01553185989023"
    },
    {
      "Zip": "91356",
      "Name": "PROVIDENCE TARZANA MEDICAL CENTER",
      "Address": "18321 CLARK STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.170393216",
      "longitude": "-118.531904059",
      "website": "http://california.providence.org/",
      "beds": "249",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "249",
      "county": "LOS ANGELES",
      "distance": "8.08343565555711"
    },
    {
      "Zip": "90056",
      "Name": "KINDRED HOSPITAL - LOS ANGELES",
      "Address": "5525 WEST SLAUSON AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.9901305930001",
      "longitude": "-118.378451111",
      "website": "http://www.kindredhospitalla.com/",
      "beds": "81",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "81",
      "county": "LOS ANGELES",
      "distance": "8.101954938579604"
    },
    {
      "Zip": "91402",
      "Name": "MISSION COMMUNITY HOSPITAL - PANORAMA CAMPUS",
      "Address": "14850 ROSCOE BOULEVARD",
      "City": "PANORAMA CITY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.2204145640001",
      "longitude": "-118.45666936",
      "website": "http://www.mchonline.org",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.426509044544499"
    },
    {
      "Zip": "90291",
      "Name": "MARINA DEL REY HOSPITAL",
      "Address": "4650 LINCOLN BOULEVARD",
      "City": "MARINA DEL REY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "33.982161622",
      "longitude": "-118.43923224",
      "website": "http://www.marinahospital.com",
      "beds": "145",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "145",
      "county": "LOS ANGELES",
      "distance": "8.461082375865114"
    },
    {
      "Zip": "90057",
      "Name": "ST. VINCENT MEDICAL CENTER",
      "Address": "2131 WEST 3RD STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0638715590001",
      "longitude": "-118.27361447",
      "website": "http://www.stvincentmedicalcenter.com",
      "beds": "366",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "366",
      "county": "LOS ANGELES",
      "distance": "8.601351912528449"
    },
    {
      "Zip": "91356",
      "Name": "TARZANA TREATMENT CENTER",
      "Address": "18646 OXNARD STREET",
      "City": "TARZANA",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.1794458260001",
      "longitude": "-118.539856202",
      "website": "http://www.providence.org/tarzana.com",
      "beds": "60",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "60",
      "county": "LOS ANGELES",
      "distance": "8.818382900722874"
    },
    {
      "Zip": "90026",
      "Name": "SILVER LAKE MEDICAL CENTER-DOWNTOWN CAMPUS",
      "Address": "1711 WEST TEMPLE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.069669445",
      "longitude": "-118.263525847",
      "website": "http://www.silverlakemc.com",
      "beds": "116",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "116",
      "county": "LOS ANGELES",
      "distance": "9.040084978091905"
    },
    {
      "Zip": "90026",
      "Name": "GATEWAYS HOSPITAL AND MENTAL HEALTH CENTER",
      "Address": "1891 EFFIE STREET",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.085241404",
      "longitude": "-118.25658079",
      "website": "http://www.gatewayshospital.org",
      "beds": "55",
      "naics_desc": "PSYCHIATRIC AND SUBSTANCE ABUSE HOSPITALS",
      "helipad": "N",
      "population": "55",
      "county": "LOS ANGELES",
      "distance": "9.21925729317851"
    },
    {
      "Zip": "90017",
      "Name": "GOOD SAMARITAN HOSPITAL-LOS ANGELES",
      "Address": "1225 WILSHIRE BOULEVARD",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0546744050001",
      "longitude": "-118.26515847",
      "website": "http://www.goodsam.org",
      "beds": "408",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "408",
      "county": "LOS ANGELES",
      "distance": "9.272337655961483"
    },
    {
      "Zip": "91204",
      "Name": "GLENDALE MEMORIAL HOSPITAL AND HEALTH CENTER",
      "Address": "1420 SOUTH CENTRAL AVENUE",
      "City": "GLENDALE",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.128165628",
      "longitude": "-118.256643169",
      "website": "http://www.glendalememorial.com",
      "beds": "334",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "334",
      "county": "LOS ANGELES",
      "distance": "9.292541436777391"
    },
    {
      "Zip": "91352",
      "Name": "PACIFICA HOSPITAL OF THE VALLEY",
      "Address": "9449 SAN FERNANDO ROAD",
      "City": "SUN VALLEY",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.240098335",
      "longitude": "-118.396362905",
      "website": "http://www.pacificahospital.com",
      "beds": "231",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "231",
      "county": "LOS ANGELES",
      "distance": "9.53158629640528"
    },
    {
      "Zip": "90015",
      "Name": "CALIFORNIA HOSPITAL MEDICAL CENTER - LOS ANGELES",
      "Address": "1401 SOUTH GRAND AVENUE",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0373537720001",
      "longitude": "-118.265976066",
      "website": "http://www.chmcla.org",
      "beds": "318",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "Y",
      "population": "318",
      "county": "LOS ANGELES",
      "distance": "9.727796219710664"
    },
    {
      "Zip": "90026",
      "Name": "BARLOW RESPIRATORY HOSPITAL",
      "Address": "2000 STADIUM WAY",
      "City": "LOS ANGELES",
      "State": "CA",
      "telephone": "NOT AVAILABLE",
      "latitude": "34.0760965750001",
      "longitude": "-118.248361257",
      "website": "http://www.barlow2000.org",
      "beds": "105",
      "naics_desc": "GENERAL MEDICAL AND SURGICAL HOSPITALS",
      "helipad": "N",
      "population": "105",
      "county": "LOS ANGELES",
      "distance": "9.786746745057041"
    }
  ]
}
    

Error Codes

The error codes are returned via HTTP response code .

Sample Failed Response

                
{"status": false,"message": "Zip could not be found"}