MarketWatch API endpoint
Returns current MarketWatch headlines for one section. `section` is required and takes `latest-news`, `markets`, `investing`, `personal-finance`, `economy-politics`, `technology`, `retirement` or `real-estate`. Each item has its title, URL, summary, author, publication time and image where available.
/marketwatch/headlinesQuery parameter: section is required and must be one of latest-news, markets, investing, personal-finance, economy-politics, technology, retirement, real-estate.
| Field | Filled in, of 30 checked | Values in the sample |
|---|---|---|
| title | 30 | median 64 characters |
| url | 30 | marketwatch.com |
| published_at | 30 | 2024-06-05 to 2025-07-03 |
| author | 30 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | Yes | MarketWatch section slug Allowed values: latest-news, markets, investing, personal-finance, economy-politics, technology, retirement, real-estate. | latest-news | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/marketwatch/headlines?section=latest-news" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"section": "latest-news",
"items": [
{
"title": "Example headline",
"url": "https://www.marketwatch.com/story/example"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.headlinesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.HeadlinesResponse | No | ||||
| data.items | array | No | HeadlineItem record, 7 fields: author, image_url, published_at, summary, title, type, url. Described under MarketWatch top stories API. | |||
| data.section | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/marketwatch/headlines?section=latest-news" \
-H "x-api-key: $CRAWLORA_API_KEY"