---
title: "Taxonomy namespace"
label: "Taxonomy"
description: "Reference for category, skill, and place resolution."
publishedAt: 2026-07-10
updatedAt: 2026-11-11
order: 10
status: "published"
---

Use `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`](/docs/sdk/reference/search#boardsearchsuggest). 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:

```ts no-check
type TaxonomyResolution = {
  object: 'taxonomy_resolution';
  type: 'category' | 'skill' | 'place' | 'market';
  sourceSlug: string;
  canonicalSlug: string;
  displayName: string;
  redirectTo: string | null;
  geo: TaxonomyGeo;
};
```

`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.

```ts no-check
board.taxonomy.categories.resolve(
  slug: string,
  options?: FetchOptions,
): Promise<TaxonomyResolution>
```

```ts
const category = await board.taxonomy.categories.resolve('software-engineer');

if (category.redirectTo) {
  console.log('Redirect permanently to:', category.redirectTo);
}

const jobs = await board.jobs.list({ category: category.sourceSlug });
console.log(category.displayName, jobs.count);
```

An unknown category or unavailable board returns `categories_not_found` with status 404.

Related methods: [`board.jobs.list`](/docs/sdk/reference/jobs#boardjobslist) and [`board.companies.salaries.category`](/docs/sdk/reference/companies#boardcompaniessalariescategory).

## `board.taxonomy.skills.resolve`

Resolve a board-language or English skill slug.

```ts no-check
board.taxonomy.skills.resolve(
  slug: string,
  options?: FetchOptions,
): Promise<TaxonomyResolution>
```

```ts
const skill = await board.taxonomy.skills.resolve('typescript');

if (skill.redirectTo) {
  console.log('Redirect permanently to:', skill.redirectTo);
}

const jobs = await board.jobs.list({ skill: skill.sourceSlug });
console.log(skill.displayName, jobs.count);
```

An unknown skill or unavailable board returns `skills_not_found` with status 404.

Related method: [`board.jobs.list`](/docs/sdk/reference/jobs#boardjobslist).

## `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.

```ts no-check
board.taxonomy.categories.list(
  query?: CategoryListQuery,
  options?: FetchOptions,
): Promise<ListEnvelope<PublicTaxonomyTerm>>
```

```ts
const categories = await board.taxonomy.categories.list({ limit: 50 });

for (const category of categories.data) {
  console.log(
    category.displayName,
    category.canonicalSlug,
    category.totalJobCount,
  );
}

const top = await board.taxonomy.categories.list({
  limit: 8,
  sort: 'totalJobCount',
});
```

`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:

```ts
const parents = await board.taxonomy.categories.list({
  topLevel: true,
  sort: 'totalJobCount',
  limit: 12,
});

for (const category of parents.data) {
  console.log(category.displayName, category.totalJobCount);
}
```

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. |

```ts
let page = await board.taxonomy.skills.list({ q: 'script', limit: 20 });

while (page.hasMore && page.nextCursor) {
  page = await board.taxonomy.skills.list({
    q: 'script',
    limit: 20,
    cursor: page.nextCursor,
  });
}
```

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.

```ts no-check
board.taxonomy.places.resolve(
  slug: string,
  options?: FetchOptions,
): Promise<TaxonomyResolution>
```

```ts
const place = await board.taxonomy.places.resolve('london-eng-united-kingdom');

if (place.redirectTo) {
  console.log('Redirect permanently to:', place.redirectTo);
}

console.log(place.displayName, place.geo?.countryCode);

const jobs = await board.jobs.list({
  location: place.sourceSlug,
  radius: 25,
});
```

`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`](#boardtaxonomyplacessuggest) 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`](#boardtaxonomyplaceslist) and [`board.jobs.list`](/docs/sdk/reference/jobs#boardjobslist).

## `board.taxonomy.places.list`

Without `q`, return every place used by a published job, with live job counts. With `q`, return location-autocomplete matches.

```ts no-check
board.taxonomy.places.list(
  query?: PlacesListQuery,
  options?: FetchOptions,
): Promise<ListEnvelope<PublicPlace>>
```

| 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. |

```ts
const controller = new AbortController();
const matches = await board.taxonomy.places.list(
  { q: 'lon', limit: 5 },
  { signal: controller.signal },
);

for (const place of matches.data) {
  console.log(place.name, place.slug, place.jobCount);
}
```

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`](#boardtaxonomyplacesresolve), [`board.taxonomy.places.suggest`](#boardtaxonomyplacessuggest), and [`board.jobs.list`](/docs/sdk/reference/jobs#boardjobslist).

## `board.taxonomy.places.suggest`

Suggest any city, town, suburb, or village for a location search, not only the places the board's jobs use.

```ts no-check
board.taxonomy.places.suggest(
  query: PlaceSuggestQuery,
  options?: FetchOptions,
): Promise<ListEnvelope<PublicPlace>>
```

| 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. |

```ts
const context = await board.context();

if (context.features.placeSuggestions) {
  const suggestions = await board.taxonomy.places.suggest({
    q: 'marr',
    near: { lat: -33.87, lng: 151.21 },
  });

  for (const place of suggestions.data) {
    console.log(place.displayName, place.canonicalSlug);
  }
}
```

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`](#boardtaxonomyplaceslist) and [`board.taxonomy.places.resolve`](#boardtaxonomyplacesresolve).

## `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).

```ts no-check
board.taxonomy.remotePermits.list(
  options?: FetchOptions,
): Promise<ListEnvelope<RemotePermitTaxonomyEntry>>
```

```ts
const permits = await board.taxonomy.remotePermits.list();

const countries = permits.data.filter((entry) => entry.type === 'country');
const blocs = permits.data.filter((entry) => entry.type === 'custom');
```

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:

```ts
const taxonomy = await board.taxonomy.categories.resolve(inboundSlug);

if (taxonomy.redirectTo) {
  return new Response(null, {
    status: 308,
    headers: { location: `/jobs/${taxonomy.redirectTo}` },
  });
}

const jobs = await board.jobs.list({ category: taxonomy.sourceSlug });
```

Resolve and redirect before emitting canonical metadata. A taxonomy 404 should produce the route’s real not-found response.
