CBS News API endpoint
Returns one CBS News author's public team-page profile: name, biography, coverage topics, headshot (when the page has one), social links, and their recent articles.
/cbsnews/authorQuery parameter: url (required) is a canonical cbsnews.com/team/<slug> author URL.
| Field | Filled in, of 13 checked | Values in the sample |
|---|---|---|
| title | 13 | median 72 characters |
| url | 13 | cbsnews.com |
| image_url | 13 | assets2.cbsnewsstatic.com and 2 other hosts |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical cbsnews.com/team/<slug> author URL | https://www.cbsnews.com/team/margaret-brennan/ | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/cbsnews/author?url=https%3A%2F%2Fwww.cbsnews.com%2Fteam%2Fmargaret-brennan%2F" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"url": "https://www.cbsnews.com/team/example-author/",
"name": "Example Author",
"biography": [
"Example Author covers example topics for CBS News."
],
"topics": [
"Politics",
"National Security"
],
"image_url": "https://assets1.cbsnewsstatic.com/hub/i/example/headshot.jpg",
"social_links": [
{
"platform": "twitter",
"url": "https://twitter.com/exampleauthor"
}
],
"articles": [
{
"title": "Example headline",
"url": "https://www.cbsnews.com/news/example-article-slug/",
"image_url": "https://assets1.cbsnewsstatic.com/hub/i/example/thumb.jpg"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.cbsNewsAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | cbsnews.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].image_url | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].url | string | No | ||||
| data.biography | array | No | ||||
| data.email | string | No | ||||
| data.image_url | string | No | ||||
| data.name | string | No | ||||
| data.social_links | array | No | ||||
| data.social_links[].platform | string | No | ||||
| data.social_links[].url | string | No | ||||
| data.topics | array | 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/cbsnews/author?url=https%3A%2F%2Fwww.cbsnews.com%2Fteam%2Fmargaret-brennan%2F" \
-H "x-api-key: $CRAWLORA_API_KEY"