Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orangeslice.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

1 credit per call

Method

services.scrape.sitemap(params);

Input

domain
string
required
Domain to search
keywords
string[]
required
Keywords to match against sitemap URLs

Output

Returns an array of matching pages, ranked by keyword relevance:
url
string
Page URL
title
string
Page title
description
string
Page description

Example

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

return pages[0]?.url;