# Get businesses near you **GET /api/businesses** # Businesses API Use this API to access businesses nearby you, based on latitude and longitude you provide. ## Params ### 1. Lat - Latitude of the location of the user (string value) - Required ### 2. Long - Longitude of the location of the user (string value) - Required ### 3. range - Range of the result - You can specify the range in kilometers - default is the area of radius .5kms to 2kms - optional ### 4. page - This API is paginated. - default page number is 1 - optional ### 5. perPage - per page results - default is 10 - max is 100 - minimum is 10 - optional ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth ## Parameters ### Query parameters - **lat** (string) string value of latitude - **long** (string) string value of longitude - **range** (string) specify range of results - **page** (string) page number - **perPage** (integer) number of results per page ## Responses ### 200 OK #### Body: (object) - **address** (string) - **attributes** (object) - **business_id** (string) - **categories** (string) - **city** (string) - **geoHash** (string) - **hours** (object) - **is_open** (integer) - **latitude** (number) - **longitude** (number) - **name** (string) - **postal_code** (string) - **review_count** (integer) - **stars** (number) - **state** (string) - **userID** (integer) ### 400 Bad Request #### Body: (object) - **message** (string) - **status** (string) - **status_code** (integer) ### 412 Precondition Failed #### Body: (object) - **message** (string) - **status** (string) - **status_code** (integer) ### 500 Internal Server Error #### Body: (object) - **message** (string) - **status** (string) - **status_code** (integer) [Powered by Bump.sh](https://bump.sh)