A

Azure · Local Search

by Azure

POSTBase

$0.0035

per call · USD Coin on Base

Search Google Maps for local businesses and places. Returns place ID, business name/category, address, phone, website, rating/reviews, coordinates, image and rank. For local discovery, travel and lead-finding agents.

Endpoint

POST https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/local/search

8

Calls / 30d

3

Unique payers / 30d

Sep 6

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/local/search", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "depth": 20,
    "languageCode": "en",
    "locationCode": 2756,
    "query": "coffee shops in Zurich"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/local/search" \
  -H "Content-Type: application/json" \
  -d '{"depth":20,"languageCode":"en","locationCode":2756,"query":"coffee shops in Zurich"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 1,
  "items": [
    {
      "address": "Example Street 1, Zurich",
      "category": "Coffee shop",
      "domain": "example.com",
      "imageUrl": "https://example.com/photo.jpg",
      "latitude": 47.3769,
      "longitude": 8.5417,
      "phone": "+41 44 000 00 00",
      "placeId": "ChIJEXAMPLE",
      "rank": 1,
      "rating": 4.7,
      "reviews": 312,
      "title": "Example Coffee",
      "url": "https://example.com"
    }
  ],
  "machine": "portfolio",
  "query": "coffee shops in Zurich",
  "route": "local.search"
}

Payment details

Pay to0xce339395d7f2ea5a5009022ef1c392fb208a989e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Search & Web and the homepage with a featured placement.

Get featured →

More from Azure & similar services