---
title: "Find and get script data"
method: GET
path: "/nice/{region}/script/search"
tags: ["nice"]
---

# Find and get script data

`GET /nice/{region}/script/search`

Search and return the list of matching scripts.

- **query**: search query https://groonga.org/docs/reference/grn_expr/query_syntax.html.
(Queries starting with `column:` are not supported).
- **scriptFileName**: The script name should contain this string.
- **rawScript**: Search raw script instead of only dialogue
- **warId**: War ID of the quest that with the script.
For example: 30001 string for LB1 scripts or 9401 for interlude scripts.

## Path parameters

- `region` 'JP' | 'NA' | 'CN' | 'KR' | 'TW', required — Region Enum

## Query parameters

- `query` string, required
- `scriptFileName` string, nullable
- `rawScript` boolean, nullable
- `warId` integer[]
- `limit` integer, nullable

## Response `200`

Script Search Result

- NiceScriptSearchResult[]
  - `scriptId` string, required
  - `script` string, uri, required
  - `score` number, required
  - `snippets` string[], required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/atlasacademy/apis/fgo-game-data-api.md) · [All operations](https://skmtc.dev/atlasacademy/apis/fgo-game-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/atlasacademy/fgo-game-data-api/revisions/04f74540589e/schema)
