Simplified categories endpoint

Returns the POI type ids you pass to poiTypesIds on /points, grouped by theme. Call it once on startup and cache it.

GET https://{country}.yatmo.com/simplifiedcategories LicenseKey header

Request

Name In Type Description
language required query string ISO 639-1 code. Falls back to EN if unsupported.

Response shape

An object keyed by theme, each value an array of type ids. Real response for Belgium:

{
  "Education":  [10010001000000, 10010002000000, 10010003000000, 10010004000000],
  "Transports": [10020001000001, 10020002000001, 10020003000001, 10020004000000,
                 10020008000000, 10020009000000, 10020006000000, 10020007000000],
  "Motorways":  [10020005000001],
  "Shopping":   [10030001000001],
  "Tourism":    [10070001000000, 10070002000000, 10070003000000, 10070004000000,
                 10070005000000, 10070006000000, 10070007000000, 10070009000000,
                 10070010000000]
}

A type id reads as <category 4><subcategory 4><variant 6>. An id ending in 000001 is a wildcard meaning “every variant of this subcategory”, which is what you want for transit lines and retail brands: there is one variant per line and per brand, and you rarely want to enumerate them.

Filtering points

Pass one id, or several separated by commas. Measured on the same Brussels box:

poiTypesIdsPlaces returnedWhat you get
omitted52every category present in the box
100300010000015supermarkets only
1002000300000126bus stops only
the four Education ids0no school in this box, which is a valid answer
curl -H "LicenseKey: YOUR_LICENSE_KEY" \
  'https://be.yatmo.com/points?bound1=50.8440,4.3482&bound2=50.8494,4.3568&language=EN&poiTypesIds=10030001000001'

Notes

See these categories in a property listing