> ## Documentation Index
> Fetch the complete documentation index at: https://orangeslice.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Sitemap Search

> Find pages in a domain's sitemap matching keywords

<Info>
  <Icon icon="coins" /> **1 credit** per call
</Info>

## Method

```typescript theme={null}
services.scrape.sitemap(params);
```

## Input

<ParamField path="domain" type="string" required>
  Domain to search
</ParamField>

<ParamField path="keywords" type="string[]" required>
  Keywords to match against sitemap URLs
</ParamField>

## Output

Returns an array of matching pages, ranked by keyword relevance:

<ResponseField name="url" type="string">
  Page URL
</ResponseField>

<ResponseField name="title" type="string" optional>
  Page title
</ResponseField>

<ResponseField name="description" type="string" optional>
  Page description
</ResponseField>

## Example

```typescript theme={null}
const pages = await services.scrape.sitemap({
   domain: "stripe.com",
   keywords: ["pricing", "plans"],
});

return pages[0]?.url;
```
