# NPR Sponsorship Service API

> NPR Sponsorship Service API on Apizie: 2 endpoints (Request VAST sponsorship units, Record tracking data for VAST sponsorship units) 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://apizie.tech/v1/entertainment:npr-sponsorship/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

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

Sponsorship for non-NPR One client applications

## Endpoints

### Request VAST sponsorship units
`GET https://apizie.tech/v1/entertainment:npr-sponsorship/get-ads` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Advertising-ID | string | no | A device-specific advertising identifier, if possible. Apple's IDFA is an example. |
| forceResult | boolean | no | Whether to force a synchronous call to our external sponsorship provider; the default behavior is asynchronous. |
| adCount | integer | no | How many sponsorship units to request in one call; if left unspecified, the default behavior is to return only 1. |

### Record tracking data for VAST sponsorship units
`POST https://apizie.tech/v1/entertainment:npr-sponsorship/receive-ad-tracking` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Advertising-ID | string | no | A device-specific advertising identifier, if possible. Apple's IDFA is an example. |
| body | object | yes | JSON request body |

## Example
```
curl "https://apizie.tech/v1/entertainment:npr-sponsorship/get-ads" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the NPR Sponsorship Service API?
Create a free Apizie key, then send GET https://apizie.tech/v1/entertainment:npr-sponsorship/get-ads with the header x-api-key. Every endpoint returns { project, data, timestamp }.

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

### Can AI agents use the NPR Sponsorship Service API?
Yes. Add the Apizie MCP server (https://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-sponsorship.

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