API.Market
Go to API.market
  • Welcome to API.market
  • What are API Products?
  • How to subscribe to a SaaS API Product?
  • Managing Subscriptions
  • Analytics & Logs
  • How can I cancel my Subscription?
  • How do I add payment details?
  • How does API.market charges me?
  • Error Codes
  • Seller Docs
    • API Seller Console
    • What is an API Product?
    • What is a Pricing Plan
    • Importing an API Source
    • Creating a Product using the Wizard
    • Testing Your APIs & Products
    • Analytics & Logs
    • Custom Usage
    • Overriding Custom Usage on Result Retrieval
  • FUNDAMENTALS
    • Convert Postman Collection to OpenAPI Yaml
    • Create OpenAPI spec using ChatGPT
  • About Us
  • API Product Docs
    • MagicAPI
      • Screenshot API
      • Domain Availability Checker API
      • WhoIS API
      • PDF Conversion API
      • Image Upscale API
      • DNS Checker API
      • Ageify API
      • Image Restoration API
      • Toon Me API
      • Coding Assistant
      • 🎭 FaceSwap API: Instantaneous replaces face with one another
      • 🏞️ Image Upload API
      • Deblurer API
      • Hair Changer API
      • 🤳🏻🤖AI Qr Code Generator API
      • Whisper API
      • Image Colorizer API
      • OpenJourney API
      • Object Remover API
      • Image Captioner API
      • Object Detector API
      • NSFW API
      • Crunchbase API
      • Pipfeed's Extract API Developer Documentation
      • Migrating from Capix FaceSwap API to magicapi/faceswap-capix API
    • BridgeML
      • Meta-Llama-3-8B-Instruct
      • Meta-Llama-3-70B-Instruct
      • Mistral-7B-Instruct-v0.1
      • Mixtral-8x22B-Instruct-v0.1
      • Meta-Llama-2-7b
      • Meta-Llama-2-13b
      • Meta-Llama-2-70b
      • Gemma-7b-it
      • NeuralHermes-2.5-Mistral-7B
      • BAAI/bge-large-en-v1.5
      • CodeLlama-70b-Instruct-hf
      • 🤖🧗Text-to-Image API
      • 📝🎧 Text to Audio API
    • Capix AI
      • FaceSwap Image and Video Face Swap API
      • MakeUp
      • Photolab.me
      • AI Picture Colorizer
      • AI Picture Upscaler
      • AI Background Remover
      • Object Remover
      • TTS Universal
      • Home GPT
      • AI & Plagiarism Checker
      • AI Story Generator
      • AI Essay Generator
      • Book Title Generator
    • Trueway
      • ⛕ 🗺️ Trueway Routing API
      • 🌐📍Trueway Geocoding API: Forward and Reverse Geocoding
      • 🛤️ ⏱️Trueway Matrix API: Travel Distance and Time
      • 🏛️ Trueway Places API
    • AILabTools
      • Cartoon-Yourself
    • SharpAPI
      • 📄 AI-Powered Resume/CV Parsing API
      • 🛩️ Airports Database & Flight Duration API
    • Text to Speech
      • Turn your text into Magical-sounding Audio
Powered by GitBook
On this page
  1. API Product Docs
  2. Trueway

🏛️ Trueway Places API

Get Detailed information for over 180+ million places and points of interest (POI's): categories, names, addresses, phone numbers, geo-coordinates, etc.

Previous🛤️ ⏱️Trueway Matrix API: Travel Distance and TimeNextAILabTools

Last updated 10 months ago

Discover the Power of Trueway Places API

Developer Portal :

The Ultimate Google Maps Alternative for Seamless Place Search

Are you looking for a robust, reliable, and affordable API for searching places? Look no further than Trueway Places API. Our cutting-edge solution offers unparalleled features and capabilities designed to meet all your place-search needs at a fraction of the cost of Google Place Search API.

Why Choose Trueway Places API?

Trueway Places API is your ultimate tool for discovering locations around the world. Whether you need to search by text or proximity, our API provides accurate, detailed, and comprehensive results that make location-based services more efficient and effective.

Key Features

Global Coverage

Access a vast database of places worldwide, ensuring that you can find the locations you need no matter where you are.

Versatile Search Options

  • Text Search: Enter a name or address to find the exact place you're looking for with our FindPlaceByText feature.

  • Nearby Search: Discover places around a specific location within a defined radius with our FindPlacesNearby feature.

Multi-Language Support

Get results in your preferred language with support for multiple languages (ISO 639-1 codes).

How It Works

FindPlaceByText

A simple and efficient way to search for places using text input.

  • Required: text - The name or address of the place you’re searching for.

  • Optional: language, bounds - Specify the language for results and the preferred rectangular area for search results.

FindPlacesNearby

Locate places within a specified radius around a given latitude and longitude.

  • Required: location - The central point for the search.

  • Optional: radius, type, language - Define the search radius, place type, and result language.

Comprehensive Response Data

Each search query returns a list of places with detailed information, including:

  • ID

  • Name

  • Address

  • Location (latitude/longitude)

  • Phone number

  • Website

  • Types

  • Distance (for nearby search)

Extensive Place Types

Search for a wide variety of place types, including:

  • Airports

  • Restaurants

  • Hospitals

  • Schools

  • Museums

  • And many more...

Free and Public API Access

Trueway Places API offers a free API tier and public API access, making it an excellent choice for developers looking for an affordable and reliable maps API solution. Compared to the Google Place Search API, Trueway Places API provides similar functionalities at a much lower cost, ensuring that you get the best value for your money.

Get Started with Trueway Places API Today

Unlock the full potential of location-based services with Trueway Places API. Experience the accuracy, versatility, and global coverage that sets us apart as the leading alternative to Google Maps.

Request and Response

Request

curl -X 'GET' \
  'https://api.magicapi.dev/api/v1/trueway/places/PlacesService/FindPlaceByText?text=Children%27s%20Creativity%20Museum&language=en&bounds=-90.0%2C-180.0%2C90.0%2C180.0' \
  -H 'accept: application/json' \
  -H 'x-magicapi-key: API_KEY'
const fetch = require('node-fetch');

let url = 'https://api.magicapi.dev/api/v1/trueway/places/PlacesService/FindPlaceByText?text=Children's%20Creativity%20Museum&language=en&bounds=-90.0%2C-180.0%2C90.0%2C180.0';

let options = {method: 'GET', headers: {'x-magicapi-key': 'SOME_STRING_VALUE'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));
import http.client

conn = http.client.HTTPSConnection("api.magicapi.dev")

headers = { 'x-magicapi-key': "SOME_STRING_VALUE" }

conn.request("GET", "/api/v1/trueway/places/PlacesService/FindPlaceByText?text=Children's%20Creativity%20Museum&language=en&bounds=-90.0%2C-180.0%2C90.0%2C180.0", headers=headers)

res = conn.getresponse()
data = res.read()

print(data.decode("utf-8"))
OkHttpClient client = new OkHttpClient();

Request request = new Request.Builder()
  .url("https://api.magicapi.dev/api/v1/trueway/places/PlacesService/FindPlaceByText?text=Children's%20Creativity%20Museum&language=en&bounds=-90.0%2C-180.0%2C90.0%2C180.0")
  .get()
  .addHeader("x-magicapi-key", "SOME_STRING_VALUE")
  .build();

Response response = client.newCall(request).execute();

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.783383,
        "lng": -122.402305
      },
      "types": [
        "museum",
        "tourist_attraction"
      ]
    }
  ]
}

About Trueway Places API

Trueway Places API is designed to provide developers with a seamless and efficient way to search for places globally. Whether you need text-based search or proximity-based search, our location API offers a robust solution to meet your needs. Developer Portal :

https://api.market/store/trueway/places
https://api.market/store/trueway/places