[Agent Tools](https://tools.openkrill.app/) / [Blog](https://tools.openkrill.app/blog)

# Apify Website Content Crawler from the API: 5 pages to Markdown in 16 seconds, for 0.12 cents

We ran Apify's Website Content Crawler on our own blog with 2 API calls from a script: one starts the crawl and waits for it, one reads the results. It fetched 5 pages, returned clean Markdown for each one, and finished in 16 seconds. The run cost 0.0012 US dollars, taken from the 5 US dollars of free usage the free plan gives each month.

By OpenKrill. Published 2026-11-01. The run is our own, made on 2026-10-28 on the OpenKrill Apify account on the free plan. Run time, cost and usage come from the run record Apify returned.

This post has one link to Apify that may become an affiliate link. It earns us nothing today. If Apify activates our affiliate account, a sign-up through it may earn us a commission. The link is marked where it appears, and every step below works the same if you go to apify.com yourself.

## The short answer

One POST request starts the crawler and, with `waitForFinish`, waits for it to end, so a script gets the finished run in a single step. Our 5-page run took 17.9 seconds from the call to the answer. The crawl itself ran 15.9 seconds and used 0.0044 compute units.

| What we measured | Result |
| --- | --- |
| Pages asked for, pages returned | 5 and 5, 0 failed |
| Crawl time in Apify's run record | 15.9 seconds |
| Time from our API call to the finished run | 17.9 seconds |
| Cost of the run | 0.0012 US dollars (0.0044 compute units at 1 GB memory) |
| Markdown per page | 3,130 to 6,586 characters |

## How we ran it

The Apify link below goes to apify.com through our own address, so we can count clicks. It earns us nothing today: we applied to the Apify affiliate program, and if Apify accepts us, a sign-up through it may earn us a commission.

We used an [Apify](https://tools.openkrill.app/go/apify) account on the free plan and an API token from its settings page. The token goes in an `Authorization: Bearer` header.

Skip our link if you like. The direct address, with no tracking, is [https://apify.com](https://apify.com/).

1. First, write the input. We gave the crawler our blog index as the start page, a limit of 5 pages, a depth of 1 and a pattern that keeps it on our blog. The fast HTML crawler is enough for a site that needs no JavaScript to show its text.
2. Then start the run and wait. That's one request with the input as the body.
3. Last, read the results. Each run writes to its own dataset, and one GET request returns every page as JSON, with the URL, the title, the text and the Markdown.

```
{
  "startUrls": [{ "url": "https://tools.openkrill.app/blog/" }],
  "maxCrawlPages": 5,
  "maxCrawlDepth": 1,
  "crawlerType": "cheerio",
  "saveMarkdown": true,
  "includeUrlGlobs": [{ "glob": "https://tools.openkrill.app/blog/**" }]
}
```

```
curl -X POST \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "content-type: application/json" \
  -d @input.json \
  "https://api.apify.com/v2/acts/apify~website-content-crawler/runs?waitForFinish=240&memory=1024"

curl -H "Authorization: Bearer $APIFY_TOKEN" \
  "https://api.apify.com/v2/datasets/DATASET_ID/items?clean=1&format=json"
```

The first answer holds the run status, the cost and the `defaultDatasetId` you put in the second call. Ours came back with the status SUCCEEDED, and the dataset held 5 items.

## What buyers worry about, and what we found

### "How far does the free plan go?"

The free plan gives 5 US dollars of usage a month. At 0.0012 US dollars, a run like ours fits about 4,000 times. Bigger pages, more pages, a browser crawler or proxies all cost more, so treat that number as the top end for small static sites.

### "Do I have to poll for the result?"

No. With `waitForFinish` set, the start request stays open until the run ends, up to the number of seconds you give, and a short run like ours comes back finished. For long crawls, leave it out and read the run later.

### "How long are results kept?"

The console says runs and their data are deleted after 7 days on our plan. Copy the dataset to your own storage if you need it later.

## What this test does not show

- One small static site, 5 pages, one run. We did not test sites that need a browser, logins or proxies.
- Costs change with the page size and the memory you pick. Ours used 1 GB.

## Frequently asked questions

### How much does one Apify Website Content Crawler run cost?

Our 5-page run on a static blog cost 0.0012 US dollars (0.0044 compute units at 1 GB memory), from the free plan's 5 US dollars of monthly usage.

### Can I start an Apify actor and get the result in one call?

Yes. Add `waitForFinish` to the start request and it returns when the run ends. Ours came back finished after 17.9 seconds. One more GET then reads the dataset.

### Does the crawler return Markdown?

Yes, with `saveMarkdown` on. Each of our 5 pages came back with 3,130 to 6,586 characters of Markdown, plus the plain text and the title.

## Sources

- [Website Content Crawler](https://apify.com/apify/website-content-crawler) on Apify Store: the input fields we used.
- [Apify API reference](https://docs.apify.com/api/v2): the run and dataset endpoints and `waitForFinish`.
