TrueWay Places API

TrueWay Places API

Search for places by text or proximity. Provides detailed information for over 150 million places and points of interest.

API description

The Places API lets you search for places.
You can search for places either by proximity or a text string.

 

Features and capabilities:

  • Global coverage
  • Text Search
  • Nearby Search
  • Multi Language

Search for places by text string (FindPlaceByText)

A FindPlaceByText request takes a text parameter and returns a place.
Required parameters:

  • text - Text input that identifies the search target, such as a name or address.

Optional parameters:

  • language - The two-letter language code in which to return results (ISO 639-1).
  • bounds - Prefer results in a specified rectangular area. Format: south,west,north,east. Coordinates: decimal degrees.

Search for places by proximity (FindPlacesNearby)

A FindPlacesNearby lets you search for places around location within a specified radius.
Required parameters:

  • location - The latitude/longitude around which to retrieve places.

Optional parameters:

  • radius - The distance (in meters) within which to return results. Maximum: 10000 m.
  • type - The type of places that are returned (see the list of allowed types below.).
  • language - The two-letter language code in which to return results (ISO 639-1).

Response

The service returns a list of places along with details information about each place.
A Place contains the following fields:

  • id
  • name
  • address
  • location (latitude/longitude)
  • phone_number
  • website
  • types
  • distance (for nearby search)

Place types:

  • airport
  • amusement_park
  • aquarium
  • art_gallery
  • atm
  • bakery
  • bank
  • bar
  • beauty_salon
  • bicycle_store
  • book_store
  • bowling
  • bus_station
  • cafe
  • campground
  • car_dealer
  • car_rental
  • car_repair
  • car_wash
  • casino
  • cemetery
  • church
  • cinema
  • city_hall
  • clothing_store
  • convenience_store
  • courthouse
  • dentist
  • department_store
  • doctor
  • electrician
  • electronics_store
  • embassy
  • fire_station
  • flowers_store
  • funeral_service
  • furniture_store
  • gas_station
  • government_office
  • grocery_store
  • gym
  • hairdressing_salon
  • hardware_store
  • home_goods_store
  • hospital
  • insurance_agency
  • jewelry_store
  • laundry
  • lawyer
  • library
  • liquor_store
  • locksmith
  • lodging
  • mosque
  • museum
  • night_club
  • park
  • parking
  • pet_store
  • pharmacy
  • plumber
  • police_station
  • post_office
  • primary_school
  • rail_station
  • real_estate_agency
  • restaurant
  • rv_park
  • school
  • secondary_school
  • shoe_store
  • shopping_center
  • spa
  • stadium
  • storage
  • store
  • subway_station
  • supermarket
  • synagogue
  • taxi_stand
  • temple
  • tourist_attraction
  • train_station
  • transit_station
  • travel_agency
  • university
  • veterinarian
  • zoo

API Documentation

Endpoints


Search for places by text string



                                                                            
GET https://zylalabs.com/api/3898/trueway+places+api/4605/findplacebytext
                                                                            
                                                                        

FindPlaceByText - Endpoint Features
Object Description
text [Required] A text string on which to search
language [Optional] The two-letter language code in which to return results (ISO 639-1)
bounds [Optional] Bounding rectangle. Format: south,west,north,east. Coordinates: decimal degrees.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "results": [
    {
      "id": "578A19E791A33F37C5189F95D428ED1E",
      "name": "Children's Creativity Museum",
      "address": "221 4th St, San Francisco, CA 94103, United States",
      "phone_number": "+14158203320",
      "website": "http://www.creativity.org/",
      "location": {
        "lat": 37.783366,
        "lng": -122.402325
      },
      "types": [
        "museum",
        "tourist_attraction"
      ]
    }
  ]
}
                                                                                                                                                                                                                    
                                                                                                    

FindPlaceByText - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3898/trueway+places+api/4605/findplacebytext?text=Children's Creativity Museum&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Search for nearby places



                                                                            
GET https://zylalabs.com/api/3898/trueway+places+api/4606/findplacesnearby
                                                                            
                                                                        

FindPlacesNearby - Endpoint Features
Object Description
location [Required] The latitude/longitude around which to retrieve places
type [Optional] The type of places that are returned
radius [Optional] The distance (in meters) within which to return results
language [Optional] The two-letter language code in which to return results (ISO 639-1)
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "results": [
    {
      "id": "1DE9131FF814DC997C6EEAF351D618EF",
      "name": "Funny Library Coffee Shop",
      "address": "250 4th St, San Francisco, CA 94103, USA",
      "phone_number": "+14155346500",
      "website": "https://virginhotels.com/san-francisco/dine-and-drink/funny-library/",
      "location": {
        "lat": 37.782442,
        "lng": -122.402157
      },
      "types": [
        "cafe",
        "food",
        "store"
      ],
      "distance": 104
    },
    {
      "id": "0BF71988AE26A020BCD7E06E8E42ED22",
      "name": "Joyride Pizza - Yerba Buena Gardens",
      "address": "730 Howard St, San Francisco, CA 94103, USA",
      "phone_number": "+14152952914",
      "website": "http://www.joyridepizza.com/",
      "location": {
        "lat": 37.784506,
        "lng": -122.401944
      },
      "types": [
        "bar",
        "cafe",
        "food",
        "restaurant"
      ],
      "distance": 131
    }
  ]
}
                                                                                                                                                                                                                    
                                                                                                    

FindPlacesNearby - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/3898/trueway+places+api/4606/findplacesnearby?location=37.783366,-122.402325&radius=1000&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the TrueWay Places API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected β€” plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
546ms

Category:


Tags:


Related APIs