> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt.

# Interface: ApiSearchInterwikiResult

Defined in: [core/query/search.ts:101](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L101)

One interwiki search hit, an element of
[ApiQueryResult.interwikisearch](https://types-mediawiki-response.pages.dev/api/core/ApiQueryResult.md#interwikisearch) / [ApiQueryResult.additionalsearch](https://types-mediawiki-response.pages.dev/api/core/ApiQueryResult.md#additionalsearch).
Fields follow `srprop` exactly like [ApiSearchResult](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md), except `title`
is the bare page name without the namespace, `pageid` is always `0`, and the
interwiki namespace/URL fields below are added.

## Extends

- [`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md)

## Properties

### categorysnippet?

> `optional` **categorysnippet?**: `string`

Defined in: [core/query/search.ts:56](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L56)

Snippet of the matching category. `srprop=categorysnippet`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`categorysnippet`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#categorysnippet)

***

### extensiondata?

> `optional` **extensiondata?**: `unknown`

Defined in: [core/query/search.ts:74](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L74)

Search-backend extension data, keyed by augmentor name. `srprop=extensiondata`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`extensiondata`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#extensiondata)

***

### isfilematch?

> `optional` **isfilematch?**: `boolean`

Defined in: [core/query/search.ts:71](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L71)

Whether the hit matched a file. `srprop=isfilematch`; a real `boolean`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`isfilematch`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#isfilematch)

***

### namespace?

> `optional` **namespace?**: `string`

Defined in: [core/query/search.ts:103](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L103)

Namespace name on the foreign wiki, as text.

***

### ns?

> `optional` **ns?**: `number`

Defined in: [core/query/search.ts:32](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L32)

Namespace index.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`ns`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#ns)

***

### pageid?

> `optional` **pageid?**: `number`

Defined in: [core/query/search.ts:38](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L38)

Page id.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`pageid`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#pageid)

***

### redirectsnippet?

> `optional` **redirectsnippet?**: `string`

Defined in: [core/query/search.ts:68](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L68)

HTML snippet of the redirect target title. `srprop=redirectsnippet`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`redirectsnippet`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#redirectsnippet)

***

### redirecttitle?

> `optional` **redirecttitle?**: `string`

Defined in: [core/query/search.ts:65](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L65)

Title of the redirect target, if this hit redirects. `srprop=redirecttitle`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`redirecttitle`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#redirecttitle)

***

### sectionsnippet?

> `optional` **sectionsnippet?**: `string`

Defined in: [core/query/search.ts:62](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L62)

HTML snippet of the section heading. `srprop=sectionsnippet`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`sectionsnippet`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#sectionsnippet)

***

### sectiontitle?

> `optional` **sectiontitle?**: `string`

Defined in: [core/query/search.ts:59](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L59)

Title of the section the match is in. `srprop=sectiontitle`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`sectiontitle`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#sectiontitle)

***

### size?

> `optional` **size?**: `number`

Defined in: [core/query/search.ts:41](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L41)

Page size in bytes. `srprop=size`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`size`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#size)

***

### snippet?

> `optional` **snippet?**: `string`

Defined in: [core/query/search.ts:50](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L50)

HTML snippet of the match, with highlights. `srprop=snippet`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`snippet`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#snippet)

***

### timestamp?

> `optional` **timestamp?**: `string`

Defined in: [core/query/search.ts:47](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L47)

Last-edit timestamp. `srprop=timestamp`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`timestamp`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#timestamp)

***

### title?

> `optional` **title?**: `string`

Defined in: [core/query/search.ts:35](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L35)

Full page title.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`title`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#title)

***

### titlesnippet?

> `optional` **titlesnippet?**: `string`

Defined in: [core/query/search.ts:53](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L53)

HTML snippet of the title. `srprop=titlesnippet`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`titlesnippet`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#titlesnippet)

***

### url?

> `optional` **url?**: `string`

Defined in: [core/query/search.ts:106](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L106)

Full URL of the hit on the foreign wiki.

***

### wordcount?

> `optional` **wordcount?**: `number`

Defined in: [core/query/search.ts:44](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/search.ts#L44)

Word count. `srprop=wordcount`.

#### Inherited from

[`ApiSearchResult`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md).[`wordcount`](https://types-mediawiki-response.pages.dev/api/core/ApiSearchResult.md#wordcount)
