# Serve the IndexNow key file

**Publié le** : 2026-05-12
**Catégorie** : Storefront API

## `GET /:key`

**Serve the IndexNow key file**

IndexNow verification endpoint. The `:key` path segment is a
32-character hex IndexNow key suffixed with `.txt`. Returns the
key value as plain text so the IndexNow API can verify the site
owner controls the corresponding API key. Used by search engines
that support the IndexNow protocol.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `key` | path | string | Yes |  |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `404` | Not found |


> **Notes:** Content type: `text/plain`. Cache: `Cache-Control: public, max-age=300`.
> Rate-limit bucket: general. The route matches only `:key` values
> that look like an IndexNow key (32 hex chars + `.txt`); other
> path shapes route to the markdown catch-all instead.

### Examples

```curl
curl "https://api.lynkow.com/public/{siteId}/0123456789abcdef0123456789abcdef.txt"
```

### Response Example

```json
"0123456789abcdef0123456789abcdef\n"
```

---