> Searlo API Docs — Site Search
> Source: https://searlo.tech/docs#search-site
> Full docs: https://searlo.tech/docs/full.md

# Site Search

Restrict a web search to a single site or domain.

### Endpoint

```
GET /search/site
```

**Credits:** 1 per request

### Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `q` | string | Yes | Search query (1–500 chars) |
| `site` | string | Yes | Domain or URL (e.g. `example.com` or `https://example.com`) |
| `limit` | number | No | Results per page (1–10, default: 10) |
| `page` | number | No | Page number (default: 1) |
### Response

The same response as Web Search (results in `organic[]`), scoped to the given site.

## Code Examples

### cURL

```bash
curl "https://api.searlo.tech/api/v1/search/site?q=hooks&site=react.dev&limit=10" \
  -H "x-api-key: sk_your_api_key"
```

### JavaScript

```javascript
const params = new URLSearchParams({ q: "hooks", site: "react.dev", limit: 10 });
const res = await fetch(
  `https://api.searlo.tech/api/v1/search/site?${params}`,
  { headers: { "x-api-key": process.env.SEARLO_API_KEY } }
);
console.log((await res.json()).organic);
```

### Python

```python
import os
import requests

res = requests.get(
    "https://api.searlo.tech/api/v1/search/site",
    params={"q": "hooks", "site": "react.dev", "limit": 10},
    headers={"x-api-key": os.environ["SEARLO_API_KEY"]}
)
print(res.json()["organic"])
```


---
*From https://searlo.tech/docs — see full docs at https://searlo.tech/docs/full.md*