New York Magazine API endpoint
Returns a New York Magazine author profile from a required `url` in the form `https://nymag.com/author/<slug>/`. The response has `name`, `job_title` (empty for some contributors), `bio` and recent articles with title, URL, `excerpt` and a `section` label. Each article's `published_at` is the page's date text, such as `Sept. 20, 2026`, not a timestamp.
/nymag/authorQuery parameters:
url (required): a canonical https://nymag.com/author/<slug>/ URL.job_title reflects whatever masthead credit the author page shows (for example "Tech Columnist, Intelligencer") and can be empty for contributors without one. Each article's section is the vertical/column label shown on its card (for example "screen time"); published_at is the page's own rendered date text (for example Sept. 20, 2026), since no machine-readable timestamp is present in the markup.
Example response (truncated):
{"code":200,"data":{"url":"https://nymag.com/author/john-herrman/","name":"John Herrman","job_title":"Tech Columnist, Intelligencer","bio":"John Herrman is a tech columnist at Intelligencer. Formerly, he was a reporter and critic at the New York Times.","articles":[{"title":"The Chatbots Are Pivoting to Video","url":"https://nymag.com/intelligencer/article/ai-chatbots-are-pivoting-to-video.html","section":"screen time","excerpt":"AI companies have a new favorite source material.","published_at":"Sept. 20, 2026"}]}}
| Field | Filled in, of 50 checked | Values in the sample |
|---|---|---|
| title | 50 | median 46 characters |
| url | 50 | nymag.com |
| section | 50 | |
| excerpt | 50 | median 83 characters |
| published_at | 50 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical New York Magazine author URL | https://nymag.com/author/john-herrman/ | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/nymag/author?url=https%3A%2F%2Fnymag.com%2Fauthor%2Fjohn-herrman%2F" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"url": "https://nymag.com/author/john-herrman/",
"name": "John Herrman",
"job_title": "Tech Columnist, Intelligencer",
"bio": "John Herrman is a tech columnist at Intelligencer. Formerly, he was a reporter and critic at the New York Times.",
"articles": [
{
"title": "The Chatbots Are Pivoting to Video",
"url": "https://nymag.com/intelligencer/article/ai-chatbots-are-pivoting-to-video.html",
"section": "screen time",
"excerpt": "AI companies have a new favorite source material.",
"published_at": "Sept. 20, 2026"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.nymagAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | nymag.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].excerpt | string | No | ||||
| data.articles[].published_at | string | No | ||||
| data.articles[].section | string | 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.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/nymag/author?url=https%3A%2F%2Fnymag.com%2Fauthor%2Fjohn-herrman%2F" \
-H "x-api-key: $CRAWLORA_API_KEY"