PeumeAPI

Places & travel

Find places that match intents near a location

Find places for an intent near a location

$0.0005 per callUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/find-places-that-match-intents-near-a-location \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "categories": [
      "Cappuccino"
    ],
    "area_id": "New York",
    "radius_km": 5,
    "limit": 3
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: find-places-that-match-intents-near-a-location.

Parameters

categoriesRequiredarray

1-5 category names or ids from.places.categories, most important first. A name must be exact; a near miss is refused with the close matches. Every result matches all of them; if none does, trailing ones are dropped (never the first) and dropped_categories names them.

Example: ["Cappuccino"]

area_idstring

Up to 120 characters. An area id from.places.areas, or a city name such as "Austin" or "Boise, ID". Give this or lat and lon, not both.

Example: New York

latnumber

With lon (and optionally radius_km) instead of area_id.

lonnumber
radius_kmnumber

Search radius around lat/lon in km, held to 0.2-50.

Example: 5

limitinteger

Places to return.

Example: 3

place_typearray

Words matched as whole words against each place's Google place types, e.g. ["restaurant"]. Google's types are literal: for cafes pass ["cafe", "coffee"]. Use it for a kind of venue, not a dish or a feature.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.