
Website Content Crawler
scrape.ly/store/querystone/website-content-crawlerAIDeveloper tools
1 monthly user

Get Wikipedia articles in any language by title, URL, search, category (with subcategories), random or featured lists. Clean Markdown or plain text for RAG and AI agents, with sections, infobox key-values, summary, categories, links, images, Wikidata ID and last edit. Official API, no login.
Turn Wikipedia into clean, structured data for RAG pipelines, AI agents and research. Fetch articles in any of Wikipedia's 300+ languages by title, URL, search, category (with subcategories), or random and featured lists, and get clean Markdown or plain text with sections, infobox key-values, summary, categories, links, images, Wikidata ID and last edit. It uses Wikipedia's official API, needs no login, and costs $1 per 1,000 articles.
| Field | What it does |
|---|---|
articles | Titles or Wikipedia URLs (any language; redirects are followed) |
searchQueries, maxResultsPerSearch | Keyword search in relevance order |
categories, categoryDepth, maxArticlesPerCategory | Category members, optionally with subcategories up to 5 levels |
randomArticles | Number of random articles |
featuredArticle, mostReadArticles, featuredDate | The day's featured article and most-read articles |
language | Wikipedia language code (en, de, fr, es, ja, zh, ...) |
maxResults | Overall cap for the run |
contentFormat | markdown, text, both or none |
includeSections, includeInfobox, includeCategories, includeLinks, includeImages, includeExternalLinks, includeLanguageLinks, includeReferences | Extras to include |
{
"articles": ["Ada Lovelace", "https://en.wikipedia.org/wiki/Large_language_model"],
"searchQueries": ["retrieval augmented generation"],
"maxResultsPerSearch": 10,
"language": "en",
"contentFormat": "markdown"
}
One row per article. Articles found through several inputs are saved once.
| Field | Description |
|---|---|
pageId, title, language, url | Which article |
description, summary | Short description and the lead section as plain text |
markdown / text | The full article |
sections | Title, level, path, Markdown and word count per section |
infobox | Infobox as key-value pairs |
categories, links, linkCount, externalLinks | Categories and links |
images, thumbnail, imageUrl | Full-resolution image URLs with captions, and the page image |
wikidataId, isDisambiguation, languageLinks | Identifiers and language versions |
wordCount, sizeBytes, lastEdited, lastEditor, revisionId | Size and freshness |
source, input, searchQuery, searchRank, category, categoryDepth, requestedTitle, redirectedFrom, mostReadRank, mostReadViews | Where the article came from |
Example (trimmed):
{
"pageId": 974,
"title": "Ada Lovelace",
"language": "en",
"url": "https://en.wikipedia.org/wiki/Ada_Lovelace",
"description": "English mathematician (1815–1852)",
"wikidataId": "Q7259",
"isDisambiguation": false,
"summary": "Augusta Ada King, Countess of Lovelace (née Byron; 10 December 1815 – 27 November 1852), also known as Ada Lovelace, was an English mathematician and writer chiefly known for work on Charles Babbage's...",
"markdown": "**Augusta Ada King, Countess of Lovelace** (née **Byron**; 10 December 1815 – 27 November 1852), also known as **Ada Lovelace**, was an English mathematician and writer chiefly known for work on Charles Babbage's proposed mechanical general-purpose computer, the analytical engine. She was the first ...",
"wordCount": 6480,
"contentTruncated": false,
"sections": [
{
"title": "Childhood",
"level": 3,
"path": "Biography > Childhood",
"markdown": "Lord Byron expected his child to be a \"glorious boy\" and was disappointed when Lady Byron gave birth to a girl. The chil...",
"words": 664
},
{
"title": "Adult years",
"level": 3,
"path": "Biography > Adult years",
"markdown": "Lovelace became close friends with her tutor Mary Somerville, who introduced her to Charles Babbage in 1833. She had a s...",
"words": 675
}
],
"infobox": {
"name": "The Right Honourable The Countess of Lovelace",
"Born": "Augusta Ada Byron; 10 December 1815; London, England",
"Died": "27 November 1852 (aged 36); Marylebone, London, England",
"Resting place": "Church of St Mary Magdalene, Hucknall, Nottingham, England"
},
"images": [
{
"url": "https://upload.wikimedia.org/wikipedia/commons/e/e7/Miniature_of_Ada_Byron.jpg",
"caption": "Ada Byron, aged four",
"infobox": false
},
{
"url": "https://upload.wikimedia.org/wikipedia/commons/d/de/Ada_Lovelace_child_portrait_Somerville_College.jpg",
"caption": "Ada Byron, aged seven, by Alfred d'Orsay, 1822, Somerville College, Oxford",
"infobox": false
}
],
"categories": [
"Ada Lovelace",
"1815 births",
"1852 deaths",
"19th-century British women mathematicians"
],
"linkCount": 419,
"links": [
"Ada Lovelace (microarchitecture)",
"Note G",
"A. E. Chalon",
"AMC (TV channel)",
"A Prince of Lovers"
],
"thumbnail": "https://upload.wikimedia.org/wikipedia/commons/4/4c/Ada_Lovelace_daguerreotype_by_Antoine_Claudet_1843_-_cropped.png?utm_source=en.wikipedia.org&utm_campaign=api&utm_content=thumbnail_unscaled",
"imageUrl": "https://upload.wikimedia.org/wikipedia/commons/4/4c/Ada_Lovelace_daguerreotype_by_Antoine_Claudet_1843_-_cropped.png?utm_source=en.wikipedia.org&utm_campaign=api&utm_content=original",
"lastEdited": "2026-10-15T19:38:07Z",
"lastEditor": "Izzardus",
"revisionId": 1380448378,
"sizeBytes": 98137,
"source": "article",
"input": "Ada Lovelace",
"scrapedAt": "2026-10-16T00:17:08Z"
}
You pay $1 per 1,000 articles ($0.001 per article), full content and all extras included, plus a small amount of platform usage. 100 articles cost about $0.10. Missing titles and invalid inputs are never charged.
Is it legal? Wikipedia's text is available under the Creative Commons Attribution-ShareAlike licence. Keep the article URL with the text and follow the licence when you republish.
Do I need a login or an API key? No. The actor uses Wikipedia's public API.
How many articles can I get? Search returns up to 10,000 articles per query; categories and random lists as many as you ask for.
Why are some infoboxes empty? Some articles have no infobox, and some languages (German, for example) keep person data in a different box.
Can I schedule it or use the API? Yes. Schedule runs in the console or start them through the API, for example to pull the most-read list every day.
Every field below can be set in the run form, passed through the API, or saved as a task. Unset fields fall back to the defaults shown.
articlesarrayOptionalArticles (titles or URLs)
Article titles (e.g. Ada Lovelace) or Wikipedia URLs in any language (https://de.wikipedia.org/wiki/Albert_Einstein). Redirects are followed. Category URLs are treated as categories.
searchQueriesarrayOptionalSearch queries
Keywords to search on Wikipedia. Each query returns articles in Wikipedia's relevance order.
maxResultsPerSearchintegerOptionaldefault 10Max articles per search
How many articles to take from each search query. Wikipedia search returns at most 10,000 results per query.
languagestringOptionaldefault "en"Language
Wikipedia language code for titles, searches, categories, random and featured articles (en, de, fr, es, ja, zh, ...). URLs keep their own language.
Collect whole categories, random articles or the day's featured and most-read articles.
categoriesarrayOptionalCategories
Category names (Machine learning or Category:Machine learning) or category URLs.
categoryDepthintegerOptionaldefault 0Subcategory depth
0 = only the category's own articles; 1 = also its subcategories; up to 5 levels.
maxArticlesPerCategoryintegerOptionaldefault 100Max articles per category
Stop each category (including its subcategories) after this many articles.
randomArticlesintegerOptionaldefault 0Random articles
Number of random articles to add.
featuredArticlebooleanOptionaldefault falseToday's featured article
Add the featured article of the day (on languages that have one).
mostReadArticlesintegerOptionaldefault 0Most-read articles
Add the day's most-read articles, with their page views. Wikipedia's daily most-read list holds at most about 50 articles.
featuredDatestringOptionalFeatured date
Day for the featured and most-read articles (YYYY-MM-DD). Empty = today.
maxResultsintegerOptionaldefault 0Max articles in total
Overall cap for the run. 0 = no cap.
Choose what each article row contains.
contentFormatenumOptionaldefault "markdown"Article content
Full article body as clean Markdown (headings, lists, tables, LaTeX math), plain text, both, or none (metadata and summary only).
includeSectionsbooleanOptionaldefault trueSections
Split the article into sections (title, level, path, text, words), ready for chunking.
includeInfoboxbooleanOptionaldefault trueInfobox
Infobox as key-value pairs.
includeCategoriesbooleanOptionaldefault trueCategories
The article's visible categories.
includeHiddenCategoriesbooleanOptionaldefault falseHidden maintenance categories
Also list hidden maintenance categories.
includeLinksbooleanOptionaldefault trueInternal links
Titles of the articles this article links to.
maxLinksintegerOptionaldefault 500Max internal links
Cap on listed internal links per article (the total is always in linkCount). 0 = all.
includeExternalLinksbooleanOptionaldefault falseExternal links
URLs of external links and cited sources.
includeImagesbooleanOptionaldefault trueImages
Full-resolution image URLs with captions.
includeLanguageLinksbooleanOptionaldefault falseOther language versions
Titles and URLs of the same article in other languages.
includeReferencesbooleanOptionaldefault falseReferences section
Keep the reference list in the content (off keeps the text clean for RAG).
keepMarkdownLinksbooleanOptionaldefault falseLinks inside Markdown
Keep hyperlinks in the Markdown. Off gives plain link text, which is shorter for LLMs.
maxContentCharsintegerOptionaldefault 0Max content characters
Truncate the Markdown and text to this many characters. 0 = full article.
proxyConfigurationobjectOptionaldefault {"useScrapelyProxy":true,"scrapelyProxyGroups":["DATACENTER…Proxy configuration
Datacenter proxies work well for Wikipedia's public API.
Every run writes its results to a dataset. Preview it in the dashboard, then export it or read it through the API.
| Field | Type | Description |
|---|---|---|
| title | any | Title |
| url | any | Article |
| language | any | Lang |
| description | any | Description |
| summary | any | Summary |
| wordCount | any | Words |
| wikidataId | any | Wikidata |
| lastEdited | any | Last edited |
| source | any | Source |
| input | any | Input |
| thumbnail | any | Image |
You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices.
| Event | Charged when | Price |
|---|---|---|
| Article | Charged for each Wikipedia article saved, with its content and all selected extras. Missing titles and invalid inputs are free. | $0.001 |
Run this actor from your own code. Swap in your API token and the examples work as-is.
import { ScrapelyClient } from 'scrapely-client'
const client = new ScrapelyClient({ token: process.env.SCRAPELY_TOKEN })
// Start the actor and wait for the run to finish.
const run = await client.actor('querystone/wikipedia-scraper').call({
"articles": [
"Ada Lovelace",
"https://en.wikipedia.org/wiki/Large_language_model"
],
"searchQueries": [
"retrieval augmented generation"
],
"maxResultsPerSearch": 10,
"language": "en",
"proxyConfiguration": {
"useScrapelyProxy": true,
"scrapelyProxyGroups": [
"DATACENTER"
]
}
})
// Read the dataset the run produced.
const { items } = await client.dataset(run.defaultDatasetId).listItems()
console.log(items)Tokens live in your account settings. Keep them server-side: a token carries the full permissions of your account.
Connect the Scrape.ly MCP server once and your agent can run this actor as a tool. Pick your tool:
Fetch scrape.ly/agents.md and run querystone/wikipedia-scraperPaste into Claude Code, Codex, Cursor or any AI agent. It signs you in once in the browser.
{
"mcpServers": {
"scrapely": {
"url": "https://api.scrape.ly/mcp?tools=actors,runs,storage,docs&actors=querystone/wikipedia-scraper"
}
}
}No key in the file: your client opens the browser to sign you in the first time it connects.
Inputs the developer prepared for common jobs. Open one to see its input, then copy it to your account to run it as-is or adjust it.
Articles from a category and its subcategories.
Today's featured article and the most-read list.
Article text with links, language links and references.
German and French articles as markdown.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.