# Search

> 注意: 機能とパフォーマンスが向上した [new v2 version of this API](/ja/api-reference/endpoint/search) が利用可能です。

search エンドポイントは、ウェブ検索と Firecrawl のスクレイピング機能を組み合わせ、任意のクエリに対してページ全体のコンテンツを返します。

各検索結果の完全な Markdown コンテンツを取得するには、`scrapeOptions` に `formats: ["markdown"]` を指定してください。指定しない場合は、既定で結果 (url、title、description) のみが返されます。

<div id="supported-query-operators">
  ## サポートされているクエリ演算子
</div>

検索をより適切に絞り込める、さまざまなクエリ演算子をサポートしています。

| Operator | Functionality | Examples |
---|-|-|
| `""` | 文字列を厳密一致させる | `"Firecrawl"`
| `-` | 特定のキーワードを除外する、または他の演算子を否定する | `-bad`, `-site:firecrawl.dev`
| `site:` | 指定したウェブサイトからの結果のみを返す | `site:firecrawl.dev`
| `inurl:` | URL に特定の語を含む結果のみを返す | `inurl:firecrawl`
| `allinurl:` | URL に複数の語を含む結果のみを返す | `allinurl:git firecrawl`
| `intitle:` | ページのタイトルに特定の語を含む結果のみを返す | `intitle:Firecrawl`
| `allintitle:` | ページのタイトルに複数の語を含む結果のみを返す | `allintitle:firecrawl playground`
| `related:` | 特定のドメインに関連する結果のみを返す | `related:firecrawl.dev`

<div id="location-parameter">
  ## Location パラメータ
</div>

`location` パラメータを使うと、地域に最適化された検索結果を取得できます。形式: `"string"`。例: `"Germany"`、`"San Francisco,California,United States"`。

利用可能なすべての国と言語は、[サポート対象ロケーションの一覧](https://firecrawl.dev/search_locations.json)をご覧ください。

<div id="time-based-search">
  ## 時間ベース検索
</div>

`tbs` パラメータを使うと、カスタムの日付範囲を含む期間で結果を絞り込めます。具体例や対応フォーマットは、[検索機能のドキュメント](https://docs.firecrawl.dev/features/search#time-based-search)を参照してください。
