MarketWatch API endpoint
Returns a MarketWatch author profile, identified by `slug` (such as `hannah-pedone`) or a canonical `marketwatch.com/author/<slug>` `url`; provide exactly one. The response has the name, job title, bio, `works_for` and one page of recent articles with title and URL. The `?mod=` attribution query is removed from article URLs.
/marketwatch/authorQuery parameters:
slug (optional): an author slug, e.g. hannah-pedone.url (optional): a canonical https://www.marketwatch.com/author/<slug> URL, as an alternative to slug.Exactly one of slug/url is required. The response is a single page of the author's most recent articles as shown on their profile page; there is no further pagination. Article URLs have MarketWatch's own ?mod=<slug> byline-attribution query stripped.
Example response (truncated):
{"code":200,"data":{"name":"Hannah Pedone","slug":"hannah-pedone","url":"https://www.marketwatch.com/author/hannah-pedone","job_title":"Technology reporter","bio":"Hannah Pedone is a New York–based technology reporter for MarketWatch.","works_for":"MarketWatch","articles":[{"title":"Quantum stocks are getting hot again after a brutal summer. Can the rally last?","url":"https://www.marketwatch.com/story/quantum-stocks-are-getting-hot-again-after-a-brutal-summer-can-the-rally-last-a8244a66"}]}}
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| title | 20 | |
| url | 20 | marketwatch.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug | string | No | Author slug, e.g. hannah-pedone | hannah-pedone | |
| url | string | No | Canonical marketwatch.com/author/<slug> URL; alternative to slug | https://www.marketwatch.com/author/hannah-pedone | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/marketwatch/author" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"name": "Hannah Pedone",
"slug": "hannah-pedone",
"url": "https://www.marketwatch.com/author/hannah-pedone",
"job_title": "Technology reporter",
"bio": "Hannah Pedone is a New York–based technology reporter for MarketWatch.",
"works_for": "MarketWatch",
"articles": [
{
"title": "Quantum stocks are getting hot again after a brutal summer. Can the rally last?",
"url": "https://www.marketwatch.com/story/quantum-stocks-are-getting-hot-again-after-a-brutal-summer-can-the-rally-last-a8244a66"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.marketWatchAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | marketwatch.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].url | string | No | ||||
| data.bio | string | No | ||||
| data.job_title | string | No | ||||
| data.name | string | No | ||||
| data.slug | string | No | ||||
| data.url | string | No | ||||
| data.works_for | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/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/author" \
-H "x-api-key: $CRAWLORA_API_KEY"