S

StableEnrich · Nearby Search Full

by StableEnrich

POSTBaseSolana✓ Curated

$0.08

per call · USD Coin on Base

Google Maps Nearby Search (Full). Finds places near a latitude/longitude using Google Places supported type filters. Use google-maps/text-search/full for natural-language searches like "wedding planner" or "event planner".

Endpoint

POST https://stableenrich.dev/api/google-maps/nearby-search/full

13

Calls / 30d

1

Unique payers / 30d

Sep 1

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://stableenrich.dev/api/google-maps/nearby-search/full", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "excludeFields": [
      "photos"
    ],
    "includedTypes": [
      "restaurant"
    ],
    "languageCode": "en",
    "locationRestriction": {
      "circle": {
        "center": {
          "latitude": 47.6062,
          "longitude": -122.3321
        },
        "radius": 15000
      }
    },
    "maxResultCount": 5,
    "rankPreference": "POPULARITY"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://stableenrich.dev/api/google-maps/nearby-search/full" \
  -H "Content-Type: application/json" \
  -d '{"excludeFields":["photos"],"includedTypes":["restaurant"],"languageCode":"en","locationRestriction":{"circle":{"center":{"latitude":47.6062,"longitude":-122.3321},"radius":15000}},"maxResultCount":5,"rankPreference":"POPULARITY"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Payment details

Pay to0x325bdf6f7efab24a2210c48c1b64cab2eae1d430
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from StableEnrich & similar services