RecipesDocs
Coverage MatrixDocumentationChange LogLog InContact Us
Docs

Provides a download of the action shot image given a specified asset id taken from the manifest.

Note: Your image will not render in the Response section

Golf Action Shots

Golf action shots include:

  • The full PGA Tour (including all 4 Majors & Ryder Cup)
  • Select coverage of LPGA, Nationwide, and Senior Tour events


Image Retrieval Example

To find an image from the 2022 NBA Finals:

1: Reference the Coverage document for the proper provider. In this case, NBA action shots are provided by Getty.

2: Ensure you have the correct API key to retrieve this image. Trial keys will require a t in the access_level parameter; production keys will use a p.

3: Call the Action Shot Manifest for the desired date (e.g. 2022/06/17), using your Getty NBA Actionshot API key, and with getty in the provider parameter.

https://api.sportradar.us/nba-images-t3/getty/actionshots/events/2022/06/17/manifest.xml?api_key=**your_api_key**

4: Locate the asset id and/or link for an action shot. You can reference the description element for a description of each image.

<asset id="4a5feef0-2cfd-4455-a17f-b09ab6a7eb66" created="2022-06-17T02:02:21+00:00" updated="2022-06-17T02:02:28+00:00">
        <title>
            <![CDATA[2022 NBA Finals - Golden State Warriors v Boston Celtics]]>
    
        </title>
        <description>
            <![CDATA[BOSTON, MA - JUNE 16: Stephen Curry #30 of the Golden State Warriors and Jordan Poole #3 of the Golden State Warriors high five against the Boston Celtics during Game Six of the 2022 NBA Finals on June 16, 2022 at TD Garden in Boston, Massachusetts. NOTE TO USER: User expressly acknowledges and agrees that, by downloading and or using this photograph, user is consenting to the terms and conditions of Getty Images License Agreement. Mandatory Copyright Notice: Copyright 2022 NBAE (Photo by Garrett Ellwood/NBAE via Getty Images)]]>
    
        </description>
        <copyright>Getty</copyright>
        <links>
            <link width="2289" height="3434" href="/actionshots/events/2022/6/17/4a5feef0-2cfd-4455-a17f-b09ab6a7eb66/original.jpg"/>
            <link width="667" height="1000" href="/actionshots/events/2022/6/17/4a5feef0-2cfd-4455-a17f-b09ab6a7eb66/h1000-max-resize.jpg"/>
            <link width="333" height="500" href="/actionshots/events/2022/6/17/4a5feef0-2cfd-4455-a17f-b09ab6a7eb66/h500-max-resize.jpg"/>
            <link width="167" height="250" href="/actionshots/events/2022/6/17/4a5feef0-2cfd-4455-a17f-b09ab6a7eb66/h250-max-resize.jpg"/>
        </links>
        <refs>
            <ref name="Boston Celtics" type="organization" sport="nba" sportradar_id="583eccfa-fb46-11e1-82cb-f4ce4684ea4c">
                <entity_id origin="SR" id="sr:competitor:3422" sport="nba"/>
                <entity_id origin="SD" id="583eccfa-fb46-11e1-82cb-f4ce4684ea4c" sport="nba"/>
                <entity_id origin="NBA" id="1610612738" sport="nba"/>
            </ref>
            <ref name="Curry, Stephen" type="profile" sport="nba" sportradar_id="8ec91366-faea-4196-bbfd-b8fab7434795">
                <entity_id origin="SR" id="sr:player:608110" sport="nba"/>
                <entity_id origin="SD" id="8ec91366-faea-4196-bbfd-b8fab7434795" sport="nba"/>
                <entity_id origin="NBA" id="201939" sport="nba"/>
            </ref>
            <ref name="GSW at BOS (NBA - Game 6 - 6/16/2022)" type="event" sport="nba" sportradar_id="b568a1fa-f5d4-4543-bdf4-5160c75c27f0">
                <entity_id origin="SR" id="sr:match:33294127" sport="nba"/>
                <entity_id origin="SD" id="b568a1fa-f5d4-4543-bdf4-5160c75c27f0" sport="nba"/>
                <entity_id origin="NBA" id="0042100406" sport="nba"/>
            </ref>
            <ref name="Golden State Warriors" type="organization" sport="nba" sportradar_id="583ec825-fb46-11e1-82cb-f4ce4684ea4c">
                <entity_id origin="SR" id="sr:competitor:3428" sport="nba"/>
                <entity_id origin="SD" id="583ec825-fb46-11e1-82cb-f4ce4684ea4c" sport="nba"/>
                <entity_id origin="NBA" id="1610612744" sport="nba"/>
            </ref>
            <ref name="Poole, Jordan" type="profile" sport="nba" sportradar_id="2ed2f76f-5a2f-4d79-ab7c-e84a8a42dc21">
                <entity_id origin="SR" id="sr:player:1316820" sport="nba"/>
                <entity_id origin="SD" id="2ed2f76f-5a2f-4d79-ab7c-e84a8a42dc21" sport="nba"/>
                <entity_id origin="NBA" id="1629673" sport="nba"/>
            </ref>
        </refs>
        <provider name="getty">
            <provider_item_id>1241353971</provider_item_id>
            <original_publish>2022-06-16T00:00:00+00:00</original_publish>
        </provider>
    </asset>

5: Select the size of the image desired within the link attribute and use this href file_name in your next call to the Action Shot Image endpoint.

https://api.sportradar.us/nba-images-t3/getty/actionshots/events/2022/6/17/452f18ee-ec9f-4491-b2bf-b454e50f1333/h1000-max-resize.jpg?api_key=**your_api_key**

The 2022 NBA Finals action shot is downloaded.

For pre-built requests for all of our Images collections, feel free to browse and fork our Postman workspace:

Language
Credentials
Query
Click Try It! to start a request and see the response here!