---
title: "Finds concepts and collections from a vocabulary by query term"
method: GET
path: "/{vocid}/search"
tags: ["Vocabulary-specific methods"]
---

# Finds concepts and collections from a vocabulary by query term

`GET /{vocid}/search`

Returns a list of search results. The search is performed as a case-insensitive pattern, where an asterisk (*) may be used as wildcard. E.g. "cat*" may return results such as "CATCH-22" and "categorization". If decoded into RDF, the result is a vocabulary fragment expressed as SKOS.

## Path parameters

- `vocid` string, required

## Query parameters

- `query` string, required
- `lang` string
- `type` string
- `parent` string
- `group` string
- `maxhits` integer
- `offset` integer
- `fields` string
- `unique` string

## Response `200`

data of the concepts matching the search term

- SearchResults
  - `uri` string, required
  - `results` SearchResult[], required
    - `uri` string, required
    - `type` string[]
    - `prefLabel` string
    - `altLabel` string
    - `hiddenLabel` string
    - `lang` string
    - `vocab` string
    - `exvocab` string
    - `notation` string

---

[API](https://skmtc.net/natlibfi/apis/skosmos-api.md) · [All operations](https://skmtc.net/natlibfi/apis/skosmos-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/natlibfi/skosmos-api/versions/1ad5811c7a3e/schema)
