# Crawl Stripe API Documentation for Coding Assistants

**Use case:** 

Crawl Stripe’s public API documentation for a coding assistant knowledge base. Get clean Markdown pages with titles, descriptions, canonical URLs, links, and heading-aware chunks for retrieval and embeddings. Change startUrls or includeUrlGlobs to target another documentation section.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://docs.stripe.com/api"
    }
  ],
  "maxCrawlDepth": 1,
  "maxCrawlPages": 20,
  "useSitemaps": false,
  "useLlmsTxt": false,
  "respectRobotsTxtFile": true,
  "crawlOnlyPagesChangedSince": "",
  "includeUrlGlobs": [
    "https://docs.stripe.com/api/*"
  ],
  "excludeUrlGlobs": [],
  "includeUrlRegexps": [],
  "excludeUrlRegexps": [],
  "keepUrlFragments": false,
  "ignoreCanonicalUrl": false,
  "outputFormat": "markdown",
  "htmlTransformer": "auto",
  "includeImages": false,
  "chunkMarkdown": true,
  "chunkMaxChars": 2000,
  "chunkOverlapChars": 200,
  "keepElementsCssSelector": "",
  "removeElementsCssSelector": "",
  "parsePdfText": true,
  "clickElementsCssSelector": "",
  "takeScreenshots": false,
  "customHttpHeaders": [],
  "storeSkippedUrls": false
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "depth": {
    "label": "Depth",
    "format": "number"
  },
  "wordCount": {
    "label": "Words",
    "format": "number"
  },
  "httpStatusCode": {
    "label": "Status",
    "format": "number"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Domain-Scoped Site Crawler for Markdown Datasets Actor is ready to run with the inputs already set for "Crawl Stripe API Documentation for Coding Assistants". [Sign up or log in](https://console.apify.com/create-task-from-example/fK8hl3VcgbUAtBDEl) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Crawl Stripe API Documentation for Coding Assistants" task

The Domain-Scoped Site Crawler for Markdown Datasets Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max crawl depth, and more, to match your specific use case.

### 3. Receive the "Crawl Stripe API Documentation for Coding Assistants" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, title, depth, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Crawl Stripe API Documentation for Coding Assistants" task via API](https://apify.com/vexaloom-labs/domain-scoped-site-crawler-for-markdown-datasets.md).

## FAQ

### How do I crawl Stripe API documentation for an AI coding assistant knowledge base?

The Stripe API docs task starts at the API reference and returns clean Markdown with page titles, links, and heading-aware chunks for retrieval. Change the URL scope to target another documentation section.

### What data does a crawl of Stripe API documentation include?

Each page in the Stripe API docs task can include its URL, title, canonical URL, links, Markdown, word count, status code, and crawl depth. With chunking enabled, records also include heading-aware chunks.

### How many Stripe API documentation pages can one run return?

The Stripe API docs task is configured to store up to 20 pages, with a crawl depth of 1. The page limit caps how many pages and files the crawler stores.

### Can I export the crawled Stripe API documentation to CSV or Excel?

After the Stripe API docs task runs, download its dataset as JSON, CSV, Excel, XML, RSS, or an HTML table, or read it through the Apify API.

### How much does it cost to crawl Stripe API documentation?

The Stripe API docs task costs $0.10 per start event and $0.99 per 1,000 results on Free; lower result prices apply on paid plans. Apify platform compute usage is charged on top.

### Can I run a Stripe API documentation crawl on a schedule or through an API?

Run the Stripe API docs task on an Apify schedule, through the Apify API, or from integrations such as Zapier, Make, and n8n.

### How do I crawl a different section of Stripe API documentation?

In the Stripe API docs task, change the starting URL and URL matching pattern to the section you want. The crawler follows matching discovered links within the starting domain.

## About this Actor

This example demonstrates how to use [Domain-Scoped Site Crawler for Markdown Datasets](https://apify.com/vexaloom-labs/domain-scoped-site-crawler-for-markdown-datasets.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vexaloom-labs/domain-scoped-site-crawler-for-markdown-datasets.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/vexaloom-labs/domain-scoped-site-crawler-for-markdown-datasets.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
