Skip to content

Find listings

Around an address

Everything near an address or point, grouped and ranked, with an activity summary.

Three endpoints answer "what is near here?". Pick by what you have and what you want back.

EndpointGive itGet back
undefinedAn address, or lat/lngEverything nearby in five ranked groups, an activity summary, facets and a coverage note
undefinedlat/lngOne flat list, nearest first, with the distance on every row
undefinedAn address, or lat/lngOne comparable 0 to 100 activity score, its components, and the listings nearby

Search around an address

curl -G -H "X-API-Key: $TAILEND_API_KEY" \
  --data-urlencode "address=1500 Market St, Philadelphia, PA" \
  --data "radius_m=1600" \
  https://api.tailend.dev/v1/philadelphia/around

One response carries:

  • location: the resolved address, so you can see which reading of an ambiguous address was used.
  • activity: a header with the score, percentile, one sentence and its components.
  • results: five ranked groups. Every item has distance_m and walk_minutes.
  • facets: counts by type, age band, free or paid, and distance ring over the whole circle.
  • coverage: how many nearby listings cannot be shown because they have no coordinates.

The five groups

GroupHolds
happening_soonDated events in the window
recurring_programsWeekly or monthly series and drop-in classes
classes_enrollingTerm classes
campsCamps
placesPlaces with no date of their own

happening_soon and recurring_programs overlap by design; each item's also_in names the other groups it appears in.

limit is per group. Each group returns its own next_cursor; pass it as cursor to page that one group.

Read coverage before you say "nothing"

An empty group with coverage.hidden_nearby above 0 means some nearby listings are not visible to this endpoint, not that the area has nothing happening. Say so rather than reporting an empty area.

Window and filters

from and to are local calendar dates in the metro's timezone. from defaults to today and to to from plus 30 days. Narrow with ages, free, types and min_confidence; see the reference for every parameter.

Address or coordinates

Send lat/lng when you already have coordinates. Address lookups have their own usage limits and can return 429 when that capacity is unavailable; the coordinate form keeps working.