DW API endpoint
Returns one Deutsche Welle correspondent's public profile (name, expertise, biography) and their recent articles from a canonical person-profile URL. Many DW breaking-news items are bylined to the "Deutsche Welle" editorial organization rather than a named person; those articles have no person-profile URL to look up.
/dw/authorQuery parameter: url is a canonical HTTPS www.dw.com/en/<name>/person-<id> URL. Returns the correspondent's public profile (name, expertise, biography) and their recent articles.
Many DW breaking-news items are bylined to the "Deutsche Welle" editorial organization rather than a named person -- those articles have no person-profile URL to look up with this endpoint; /api/v1/dw/article's authors field for such a piece returns ["Deutsche Welle"] instead of a person's name.
| Field | Filled in, of 9 checked | Values in the sample |
|---|---|---|
| title | 9 | median 51 characters |
| url | 9 | dw.com |
| summary | 3 | median 112 characters |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical www.dw.com/en/<name>/person-<id> URL | https://www.dw.com/en/cathrin-schaer/person-55594156 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/dw/author?url=https%3A%2F%2Fwww.dw.com%2Fen%2Fcathrin-schaer%2Fperson-55594156" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"url": "https://www.dw.com/en/cathrin-schaer/person-55594156",
"name": "Cathrin Schaer",
"expertise": "Middle East, Business",
"biography": [
"Example biography paragraph."
],
"articles": [
{
"title": "Example headline",
"url": "https://www.dw.com/en/example-headline/a-12345678"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.dwAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | dw.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].author | string | No | ||||
| data.articles[].image_url | string | No | ||||
| data.articles[].published_at | string | No | ||||
| data.articles[].summary | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].type | string | No | ||||
| data.articles[].url | string | No | ||||
| data.biography | array | No | ||||
| data.expertise | string | No | ||||
| data.name | string | No | ||||
| data.url | 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/dw/author?url=https%3A%2F%2Fwww.dw.com%2Fen%2Fcathrin-schaer%2Fperson-55594156" \
-H "x-api-key: $CRAWLORA_API_KEY"