---
title: "Get an NPR author profile"
method: GET
path: "/npr/author"
tags: ["NPR"]
---

# Get an NPR author profile

`GET /npr/author`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/npr/author`
- Auth: API key in header `x-api-key`

Returns an NPR author profile from a required `url` in the form `https://www.npr.org/people/<id>/<slug>`. The response has `name`, `job_title`, `bio` and the recent stories listed under Stories By, each with title, URL, summary, publication date and a lead image where the card has one. Other hosts or paths return a bad-request error.

## Query parameters

- `url` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- NprAuthorResponseDoc
  - `code` integer
  - `data` NprAuthorResponse
    - `articles` NprAuthorArticle[]
      - `image_url` string
      - `published_at` string
      - `summary` string
      - `title` string
      - `url` string
    - `bio` string
    - `job_title` string
    - `name` string
    - `url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
