Retrieve US population by zipcode - api

I am trying to use Census Bureau API to retrieve the United States population by zipcode.
I have a valid key and followed this link but I wasn't able to retrieve population result, it kept fails with 404.
Could anyone please help me to draft correct API URL to GET population response via zipcode input?
to retrieve population result via zipcode

Related

API to List of all Suburbs in a City or country

Is there an API i can use to fetch all cities in a Country or country state using its name
e.g https://api.domain/?q=suburbs&country=US.
I need results shown like these except that their documentation API only shows limited results as compared to the actual data returned here

How do I figure out hotelId for any hotel?

I am trying to get hotel specific details using the following api:
/shopping/hotel-offers/by-hotel
how do I figure out the hotelId parameter? For example I want to use the aforementioned api, to get information about Pendry San Diego hotel, what would be the hotelId for this hotel.
Appreciate any help.
The Hotel Search API comes with 3 different endpoints:
Get the list of hotels for a specific location.
Get the hotel and rooms information for a specific hotel (by its hotel id).
Confirm the price and availability before booking.
To get the hotel id, you need to use the first endpoint to find the list of hotels for a given location, then you can use this hotel id with the second endpoint.
As of today, you cannot directly search by a hotel name to get a hotel id. We have this in our backlog but not a specific delivery date yet.
FYI, I searched for hotels in San Diego and retrieved the hotel with the name Pendry San Diego:
"hotelId": "MNSANPSH",
"name": "Pendry San Diego LVX"

Foursquare API Limiting to the city

I am working with Foursquare api. Trying to find grocery stores/Supermarkets in the city of Norfolk, VA. When I do the search on foursquare.com, I get 30 in the city. When I use the API, it gives me 11, and a bunch of stores in surrounding cities.
I think the stores in the nearby cities eat into my limit of 50.
I've tried using both the "near" tag and the "ll" tag.
Is there a way to limit the search to just the specific city?

Amadeus api List of airport by country

Good day everyone,
Am using amadeus self-service for the first time, i wanted to know if it was possible to get list of airports by their country.
Thanks for the assist.
We do not have a specific API that retrieves airports in given countries. However, you could use our Airport Nearest Relevant API.
This API allows you to find all the airports around specific coordinates (latitude & longitude). You can query the API with the coordinates of the specific country (like the center) and play with the radius parameter (note that the maximum value is 500 kms). This will give you all the airports in this search radius. You can then filter the response by countryName to only retrieve airports in the given country. Of course depending on the size of the country you may need to do this process with multiple geocoordinates.

MaxMind Geolite2-City doesn't show city and region information

I am using Geolite2-City Database for Geolocation. In some cases not possible to get city, region except the country. For the IP - 205.145.64.6, the database provides the below details only (city, region details are missing).
Which Maxmind database have to use to get all the information including city, region details?
Not all IP addresses will resolve to city level. In this case, there is no city information for 205.145.64.6