Content API powers a variety of different PA Media Products.

This page documents the current list of supported products offered by Content API.

Content Types

Each product supplies different types of content items in order to deliver the content required for that product.

For each content type (which is a combination of type and profile, for example story text) there is a link to a documentation page which gives examples in JSON, ATOM and RSS.

Selecting a product

If your Content API subscription only has access to a single product, then that product will be selected automatically for the responses of your Content API requests.

Customers that have multiple products can use the product query parameter to switch between the different products.

Each product detailed below contains a snippet of a Content API call to show how to supply this parameter for each product.

Ready

Description

A constant stream of high quality, ready-to-publish multimedia content across our nine channels, from News and Sport to Entertainment and Real Life.

API Example

curl \
  -H "Accept: application/json" \
  -H "apikey: <API KEY>" \
  https://content.api.pressassociation.io/v1/item?product=paproduct:ready

Content types

TypeProfileExamples
storycompositeStory - Composite
story-enrichedcompositeStory-enriched - Composite

Create

Description

Our state-of-the-art newswire offers access to all PA Media's assets across seven core categories, including News, Sport, Finance and Entertainment.

API Example

curl \
  -H "Accept: application/json" \
  -H "apikey: <API KEY>" \
  https://content.api.pressassociation.io/v1/item?product=paproduct:create

Content types

TypeProfileExamples
storytextStory - Text
storycomposite (stripped)Story - Composite
alerttextAlert - Text
assettextAsset - Text
assetpictureAsset - Picture
assetgraphicAsset - Graphic
assetsocialAsset - Social
advisorytextAdvisory - Text

Now

Description

Live multimedia updates direct to your newsroom. Now provides all the news as it breaks – in words, pictures, video, graphics and social media.

API Example

curl \
  -H "Accept: application/json" \
  -H "apikey: <API KEY>" \
  https://content.api.pressassociation.io/v1/item?product=paproduct:now

Content types

TypeProfileExamples
alerttextAlert - Text
assettextAsset - Text
assetpictureAsset - Picture
assetgraphicAsset - Graphic
assetsocialAsset - Social
assetvideoAsset - Video
advisorytextAdvisory - Text

RADAR

Description

Reports And Data and Robots (RADAR) harnesses the power of technology to deliver incisive, fact-based news stories to local media across the UK and Ireland. RADAR uses Natural Language Generation (NLG) software to create stories from public data sets, which are then made available to local news organisations around the country.

API Example

curl \
  -H "Accept: application/json" \
  -H "apikey: <API KEY>" \
  https://content.api.pressassociation.io/v1/item?product=paproduct:radar

Content types

TypeProfileExamples
storytextStory - Text