Transactions

places.search

Search for a place or an address by name: pass query (up to 120 characters) and optionally near, the point the results should lean toward, as {lat, lon} or "lat,lon". Returns up to five results from OpenStreetMap, each with a label, an address, lat and lon; a person then saves one with entries.place.set. Run it only when a person submits a search, never while they type. Each person gets 30 new lookups an hour, and only the words searched leave Oatmilk.

GETPOST/api/v1/accounting/places.search

Permissions

accounting:read

Who can call it

admin, finance, contributor

Retries

Safe to retry: it only reads

MCP

accounting_places_search

Reaches outside Oatmilk

It emails people or calls another service.

Fields

  • querystringRequired

    Text to search for.

    1–120 characters

  • nearobject or string

Example

curl -G https://app.getoatmilk.com/api/v1/accounting/places.search \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'query=office supplies'
Response
{
  "data": { … }
}

Try it

Try it

Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.

GET/api/v1/accounting/places.search
curl -G https://app.getoatmilk.com/api/v1/accounting/places.search \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  --data-urlencode 'query=office supplies'

More in Transactions.