Taxonomy namespace
Reference for category, skill, and place resolution.
A
JUse board.taxonomy to list and resolve the categories, skills, and places used by published jobs, and to load the board’s location directory. Keyword typeahead lives on board.search.suggest. These reads are public.
Shared behavior
Every method returns the Board API wire body unchanged and throws BoardApiError for a non-2xx response. The final FetchOptions argument passes abort signals, headers, and framework cache directives through to fetch.
The three resolve methods share this result:
sourceSlug is the immutable English taxonomy key. canonicalSlug and displayName reflect the board language. Emit a 308 to redirectTo when it is non-null. geo is null for categories and skills; place resolutions can include latitude/longitude, country/region codes, region, city, locality, and place type.
board.taxonomy.categories.resolve
Resolve a board-language or English category slug.
An unknown category or unavailable board returns categories_not_found with status 404.
Related methods: board.jobs.list and board.companies.salaries.category.
board.taxonomy.skills.resolve
Resolve a board-language or English skill slug.
An unknown skill or unavailable board returns skills_not_found with status 404.
Related method: board.jobs.list.
board.taxonomy.categories.list
List the board’s active job categories with localized names, canonical slugs, parent IDs, and live published-job counts. A category is active while it or any of its subcategories has a published job.
CategoryListQuery accepts the shared list fields below plus topLevel, and its sort also takes totalJobCount:
| Field | Type | Behavior |
|---|---|---|
topLevel | boolean | true returns only top-level categories (those with no parent). Combines with q and sort, and is bound into the cursor. Omit it, or pass false, to list every category. |
Top-level categories
Each category carries parentId, the id of its parent category, or null for a top-level category. Pass topLevel: true to list only the top-level categories, for example on a homepage:
To group child categories under their parents, list every category and match each child’s parentId to a parent’s id. A parent category is listed while it or any subcategory has published jobs, even when none are tagged with the parent itself.
Category counts
Each category carries two counts:
| Field | Counts |
|---|---|
jobCount | Published jobs tagged with the category itself. A parent whose jobs all sit in subcategories has 0. |
totalJobCount | Published jobs on the category or any of its subcategories, each job once. Equal to jobCount for a category with no subcategories. This is the count a parent category page shows, since that page lists its subcategories' jobs too. |
Show totalJobCount next to a category link, and sort by it for "browse by category" tiles. With sort: 'jobCount' and no q or topLevel, a parent with no jobs of its own is left out of the list; sort: 'totalJobCount' includes it, ranked by everything under it. Skills have no totalJobCount.
board.taxonomy.skills.list
List the board’s active job skills with localized names and canonical slugs. Category and skill lists accept the same query fields:
| Field | Type | Behavior |
|---|---|---|
q | string | Case- and accent-insensitive substring match against the display name, source slug, or canonical slug. The match can start mid-word, so script matches TypeScript. An empty value returns no terms. |
cursor | string | Opaque cursor from nextCursor. It is bound to the original q, limit, and sort. |
limit | number | Page size from 1 to 100; defaults to 20. |
sort | 'name' | 'jobCount' | name (default) is locale-aware display-name order. jobCount is live published-job count, highest first, with name as the tie-break. Categories also take totalJobCount, which counts subcategory jobs too. |
Each PublicTaxonomyTerm contains object, id, type, parentId, sourceSlug, canonicalSlug, displayName, and jobCount, and categories also carry totalJobCount. jobCount is the board-wide published-job total tagged with that term, not a tally of the current list page. Only terms backed by published jobs are returned, where a parent category counts its subcategories' jobs. parentId is the parent category’s id, or null for a top-level category and for every skill. Canonical-slug collisions are de-duplicated. A missing or private board returns 404.
board.taxonomy.places.resolve
Resolve a board-language or English place slug and return its geo metadata.
radius is in kilometres and only widens a place whose geo.placeType is city or locality and that has geo.lat and geo.lng. Use geo.countryCode with distanceUnitForCountry from @cavuno/board/format to choose miles or kilometres for a distance menu.
An unknown place or unavailable board returns places_not_found with status 404. Do not fabricate coordinates when geo or individual geo fields are null.
A slug from board.taxonomy.places.suggest resolves to that place with its coordinates in geo. If the place cannot be looked up right now, the call returns locations_unavailable with status 503; treat it as a temporary error, not a missing page.
Related methods: board.taxonomy.places.list and board.jobs.list.
board.taxonomy.places.list
Without q, return every place used by a published job, with live job counts. With q, return location-autocomplete matches.
| Field | Type | Behavior |
|---|---|---|
q | string | At least two characters returns ranked matches. Fewer than two returns an empty list. Omit it for directory mode. |
limit | number | Autocomplete result cap from 1 to 50; defaults to 10. Ignored in directory mode. |
Autocomplete matching is case- and accent-insensitive. A place matches when q appears anywhere in its name, including mid-word (ndon matches London), or when its slug starts with q. Places whose name or slug starts with q rank first, then places with more published jobs. On a board in another language, q also matches the place's name and slug in that language.
Each PublicPlace contains id, parentId, slug, canonicalSlug, name, displayName, placeType, countryCode, regionCode, and jobCount. In directory mode, use id and parentId to rebuild the place hierarchy. slug and name are always English. displayName is in the board's language, falling back to English for a place with no translation. canonicalSlug is in the board's language where that language has unique place slugs; otherwise, and for a place with no translation, it is the English slug. Show displayName, and link with canonicalSlug: it works as the jobs location filter, in board.taxonomy.places.resolve, and as the location page slug, while the location page at the English slug can redirect on a translated board. slug and canonicalSlug can be null, so do not create a public link for an unslugged row.
The directory is bounded and unpaginated; hasMore is false and nextCursor is null for the complete result. A short autocomplete query returning an empty data array is successful. A missing/private board returns 404.
Related methods: board.taxonomy.places.resolve, board.taxonomy.places.suggest, and board.jobs.list.
board.taxonomy.places.suggest
Suggest any city, town, suburb, or village for a location search, not only the places the board's jobs use.
| Field | Type | Behavior |
|---|---|---|
q | string | Required. At least two characters returns ranked suggestions. Fewer than two returns an empty list. |
near | { lat: number; lng: number } | Optional. The searcher's approximate location, such as the city their IP address locates them in. Nearer places rank higher. Never send a precise device position. |
limit | number | Result cap from 1 to 10; defaults to 5. |
Suggestions come from OpenStreetMap, in the board's language, ranked by size, by how well the name matches, and by distance from near. Each PublicPlace has jobCount 0, parentId and regionCode null, and a placeType of city or locality. displayName adds the place's region and country (Marrickville, Sydney, New South Wales, Australia); name is the place alone. Show these after the board's own matches from board.taxonomy.places.list({ q }), and skip any that repeat a board place.
Link with canonicalSlug. It works as the jobs location filter, which returns jobs within radius kilometres of the place, by default a distance that suits its size. It also works in board.taxonomy.places.resolve, which returns the place's coordinates in geo, and as the location page slug. A suggested place's id is not a locationId for job posting or profiles; use its slug for job search.
The method returns an empty list when features.placeSuggestions on board.context() is false, so check that flag before calling it. Responses are cacheable per URL. Too many requests from one visitor return rate_limited with status 429.
Related methods: board.taxonomy.places.list and board.taxonomy.places.resolve.
board.taxonomy.remotePermits.list
List the canonical remote-permit option set — the {type, value, label} entries the API accepts wherever a job states where remote candidates must hold work authorization (remotePermits on v1 job writes, remoteWorkingPermits on public job postings).
Each entry's type is one of worldwide, world_region, continent, region, subregion, custom (blocs such as EU), country (ISO 3166-1 alpha-2), or subdivision (ISO 3166-2). The data is platform reference — identical for every board — and served board-scoped so this client can reach it; responses are cacheable for six hours on public boards. The list is complete and unpaginated (hasMore is always false).
Submitting a {type, value} pair outside this set is rejected (jobs_invalid_permit), so build permit pickers from this list rather than a hardcoded one. For a countries-only picker with localized display names, COUNTRY_CODES and countryOptions from @cavuno/board/format mirror the country slice of this taxonomy without a network call.
Canonical route pattern
Resolve the inbound slug before loading the programmatic page. This keeps localized and English aliases on one URL:
Resolve and redirect before emitting canonical metadata. A taxonomy 404 should produce the route’s real not-found response.