# Article & Web Page to Markdown

Turn any URLs into clean, Markdown, text or JSON. It strips menus, ads, cookie banners and boilerplate, and keeps headings, lists, tables and links, plus title, author, date and language. Ideal for RAG pipelines, summarisation and dataset building.

$0.80 per 1,000 page converteds

[Get an API key](https://pushbuild.com/apis/app/signup?api=article-to-markdown)

Example request

```
POST /article-to-markdown/run
{
  "urls": [
    "https://en.wikipedia.org/wiki/Web_scraping"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /article-to-markdown/run{"maxItems": 5, "urls": ["https://en.wikipedia.org/wiki/…

```
{"count": 1, "items": [{ "author": null, "content": "# Web scraping\n\n**Web scraping**, **web harvesting**,… "date": "2005-09-17", "description": null, "error": null, "finalUrl": "https://en.wikipedia.org/wiki/Web_scraping", "format": "markdown", "language": null, "siteName": "Wikimedia Foundation, Inc.", "title": "Web scraping - Wikipedia", … ]}
```

| author | content | date | description | error | finalUrl |
| --- | --- | --- | --- | --- | --- |
|  | # Web scraping **Web scraping**, **web harves… | 2005-09-17 |  |  | https://en.wikipedia.org/wiki/Web_scraping |

Real rows returned by this API on 2026-11-09 for the request shown.

## What it returns

Turn any URLs into clean, Markdown, text or JSON. It strips menus, ads, cookie banners and boilerplate, and keeps headings, lists, tables and links, plus title, author, date and language. Ideal for RAG pipelines, summarisation and dataset building.

## Request

`POST https://api.pushbuild.com/article-to-markdown/run` with a JSON body. Send your key in the `X-API-Key` header.

| Field | Type | Description |
| --- | --- | --- |
| `urls`**required** | list of strings | Pages to convert. |
| `format` | string: markdown, txt, json, xml | Content format. Default: `"markdown"`. |
| `includeLinks` | boolean | Keep hyperlinks in the content. Default: `true`. |
| `includeImages` | boolean | Keep image references. Default: `false`. |
| `concurrency` | integer | Pages fetched at once. Default: `10`. |
| `maxItems` | integer | Maximum items to return (1-500). Default: `100`. |

### Example

```
curl -X POST https://api.pushbuild.com/article-to-markdown/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://en.wikipedia.org/wiki/Web_scraping"], "maxItems": 20}'
```

### Response

```
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
```

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

## Pricing

Pay only for results returned: $0.80 per 1,000 page converteds. No charge for errors or empty searches.

| Page converteds | Cost |
| --- | --- |
| 1,000 | $0.80 |
| 10,000 | $8.00 |
| 100,000 | $80.00 |
| 1,000,000 | $800.00 |
| 1,250 a month | Free ($1 monthly credit) |

## Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: `https://api.pushbuild.com/mcp/article-to-markdown`. Add it to any assistant that supports remote MCP servers, with your key in the `X-API-Key` header. Same prices. [Setup for each app](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [Bulk SEO Audit & PageSpeed / Core Web Vitals Checker API](https://pushbuild.com/apis/seo-pagespeed-audit.html): Audit any list of URLs: Lighthouse performance, SEO, accessibility and best-practice scores, real-user Core Web Vitals (LCP, INP, CLS), speed opportunities, and on-page SEO checks (title, meta description, H1, canonical, alt text, sitemap, robots, schema)..
- [Document Text Extractor: PDF, Word, Excel API](https://pushbuild.com/apis/document-text-extractor.html): Extract clean text from PDF, Word (.docx), Excel (.xlsx) and web page links: one row per PDF page or spreadsheet sheet, with title, author and page count.
- [Distributor Price List Cleaner API](https://pushbuild.com/apis/distributor-price-list-cleaner.html): Turn a supplier's messy Excel, CSV or PDF price list into clean rows: check-digit-validated UPC/EAN, item number, brand, description, case pack, unit and case cost, MSRP and margin.
- [Bitcoin Fees API](https://pushbuild.com/apis/bitcoin-mempool-fees.html): Bitcoin network data from mempool.space: recommended fee rates (sat/vB), projected next blocks, mempool size, recent blocks with fees, reward and mining pool, difficulty adjustment estimate, hashrate and difficulty history, and mining pool share..
- [Art Institute of Chicago API](https://pushbuild.com/apis/art-institute-chicago.html): Artworks from the Art Institute of Chicago collection: title, artist, date, medium, dimensions, place of origin, department, type, classification, style, public-domain and on-view flags, gallery, credit line, subject terms and a IIIF image URL.
- [Bitstamp API](https://pushbuild.com/apis/bitstamp-market-data.html): Bitstamp exchange public market data: 24h ticker for every pair (last, bid, ask, open, high, low, VWAP, volume in base and quote, change) and OHLC candles from 1 minute to 3 days, up to 1,000 per pair..

## Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

[hello@pushbuild.com](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/article-to-markdown.html
