---
title: "Resolve Search Query"
method: GET
path: "/api/search/{query}"
tags: ["Search"]
---

# Resolve Search Query

`GET /api/search/{query}`

Resolve a search query to the best-matching entity and redirect to its API URL, preserving query parameters such as locale, include, and version. Useful for quick lookups where you know the exact name.

## Path parameters

- `query` string, required

## Query parameters

- `version` string

## Other responses

- `302` — Redirect to the matched entity's API URL.
- `404` — No matching entity found.

## Changes

- **2026-05-21** `af03a6ba771d` — 1 info
  - endpoint added
- **2026-03-29** `8ff40d443bb4` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api/changes/api/search/:query/get.md)

---

[API](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api.md) · [All operations](https://skmtc.dev/starcitizenwiki/apis/star-citizen-wiki-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/starcitizenwiki/star-citizen-wiki-api/revisions/8b259bb9a44c/schema)
