NPR Sponsorship Service
Sponsorship for non-NPR One client applications
Media & content#openapi#entertainment
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Sponsorship for non-NPR One client applications
Endpoints 2
sponsorship
- GETRequest VAST sponsorship units
/v2/ads?forceResult=true&adCount=1Not for use by NPR One clients (for whom sponsorship is already integrated into the Listening Service), this endpoint is designed to be used by our other… - POSTRecord tracking data for VAST sponsorship units
/v2/adsNot for use by NPR One clients (for whom sponsorship is already integrated into the Listening Service), this endpoint is designed to be used by our other…
API details
- Base URL
https://sponsorship.api.npr.org- Authentication
- OAuth 2.0 (authorization code flow) with 5 scopes
- Operations
- 2 operations on 1 pathGET 1POST 1
- Main resources
- sponsorship 2
- Response formats
application/xml- Description format
- Swagger 2.0, API version
2 - Links
- Documentation · OpenAPI document · Terms of service · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the NPR Sponsorship Service in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the NPR Sponsorship Service collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 5 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Request VAST sponsorship units” (GET /v2/ads?forceResult=true&adCount=1), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the NPR Sponsorship Service?
Sponsorship for non-NPR One client applications It is listed under Media & content and has 2 endpoints.
Who publishes the NPR Sponsorship Service?
It is listed from Npr's public API description (an OpenAPI document), not published by Npr on Swastik Codes. Anyone who controls npr.org can claim the profile by adding a DNS TXT record.
What is the base URL of the NPR Sponsorship Service?
Requests go to https://sponsorship.api.npr.org. Endpoint paths are added to this base URL.
How do I authenticate with the NPR Sponsorship Service?
With OAuth 2.0 (authorization code flow) with 5 scopes.
How many endpoints does the NPR Sponsorship Service have?
2 operations on 1 path (1 GET, 1 POST). The largest groups are sponsorship.
Is forking the NPR Sponsorship Service free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.