> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

# Get Website By Id

GET https://fai.buildwithfern.com/sources/website/{domain}/{website_id}

Get a single indexed website page by ID.

Reference: https://fern.docs.buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/website/get-website-by-id

## Authentication

- `Authorization` header (bearer token, required)

## Servers

- `https://fai.buildwithfern.com` (Production, default)
- `https://fai-dev.buildwithfern.com` (Development)
- `http://localhost:8080` (Local)

## Request

### Path parameters

- `domain` (string, required)
- `website_id` (string, required)

## Response

### 200

Successful Response

- `website` (object, required) — The requested website
  - `website_id` (string, required)
  - `domain` (string, required)
  - `base_url` (string, required)
  - `page_url` (string, required)
  - `chunk` (string, required)
  - `document` (string, required)
  - `created_at` (datetime, required)
  - `updated_at` (datetime, required)
  - `title` (string, optional, nullable)
  - `version` (string, optional, nullable)
  - `product` (string, optional, nullable)
  - `keywords` (list of string, optional, nullable)
  - `authed` (boolean, optional, nullable)

## Examples

**Response**

```json
{
  "website": {
    "website_id": "string",
    "domain": "string",
    "base_url": "string",
    "page_url": "string",
    "chunk": "string",
    "document": "string",
    "created_at": "2024-01-15T09:30:00Z",
    "updated_at": "2024-01-15T09:30:00Z",
    "title": "string",
    "version": "string",
    "product": "string",
    "keywords": [
      "string"
    ],
    "authed": true
  }
}
```