Developer Function: Server Script: items.GetSiteByTitle
## Overview
This is the "GetSiteByTitle method" of the "[Items Object](/en/manual/server-script-items)". It gets site information based on the specified title.
## Syntax
```
items.GetSiteByTitle(title)
```
## Parameters
|Parameter|Type|Required|Description|
|:----------|:----------|:---:|:---------------------------|
|title|object|Yes|Specify the site title|
## Return Value
Return an array of "apiModel" for the corresponding site.
## Usage Example
The following example gets site information with the title "Division Master" and outputs it to the log.
```
const sites = Array.from(items.GetSiteByTitle('Division Master'));
if (sites.length) {
sites.forEach(site => {
context.Log(site.SiteId);
context.Log(site.Title);
context.Log(site.ReferenceType);
})
}
```
## Related Information
・[Manage Table: Server Script](/manual/table-management-server-script)
・[Execution Timing for Each Object](/manual/server-script-conditions)
・[Items Object](/manual/server-script-items)