# NPR Identity Service API

> NPR Identity Service API on Apizie: 5 endpoints (Update the following status of the logged-in user for a particular aggregation, Update the logged-in user's favorite station(s), Get the latest state information about the logged-in user, Delete the user's account, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/entertainment:npr-identity/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `entertainment:npr-identity`
- Category: Entertainment
- Status: byok
- Source: https://dev.npr.org
- Page: https://www.apizie.tech/api/entertainment/npr-identity
- OpenAPI: https://www.apizie.tech/api/entertainment/npr-identity/openapi.json

The entry point to user-specific information

## Endpoints

### Update the following status of the logged-in user for a particular aggregation
`POST https://www.apizie.tech/v1/entertainment:npr-identity/post-following` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Update the logged-in user's favorite station(s)
`POST https://www.apizie.tech/v1/entertainment:npr-identity/update-stations` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | no | JSON request body |

### Get the latest state information about the logged-in user
`GET https://www.apizie.tech/v1/entertainment:npr-identity/get-user` (byok)

### Delete the user's account
`POST https://www.apizie.tech/v1/entertainment:npr-identity/delete-user` (byok)

### Copy listening data from a temporary user account to the logged-in user's account
`POST https://www.apizie.tech/v1/entertainment:npr-identity/inherit-from-temp-user` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| temp_user | integer | yes | The temporary user's ID before the user registered or logged in |

## Example
```
curl "https://www.apizie.tech/v1/entertainment:npr-identity/post-following" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the NPR Identity Service API?
Create a free Apizie key, then send POST https://www.apizie.tech/v1/entertainment:npr-identity/post-following with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the NPR Identity Service API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. NPR Identity Service itself also needs your own key from npr.org.

### Can AI agents use the NPR Identity Service API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key entertainment:npr-identity.

### What is the status of the NPR Identity Service API?
Needs your own provider key (bring your own key)
