[RESTful Web-service Documentation]
go top

get-media-info

returns metadata and pricing



All preview URL's contain a watermark. If you need preview URL's without watermark e.g. to brand your own watermark, you need a special agreement. Please contact our sales team.

Parameter

Parameter (*=required)
Possible values
Default value
Description
id_media *
[string]
Sample: "2345" or "2345,55563,87965"


lang
[string, single value]
  • da
  • de
  • en
  • es
  • it
  • pl
  • pt

en
language

see also get-user-content-langs for getting all language values dynamically
show_articles [string, single value]
  • yes
  • no
no
show media sizes and prices
show_top10_keywords
[string, single value]
  • yes
  • no
no show the top 10 keywords calculated by PantherMedia

User-Authentication

optional  (if you call this method without user auth, the method use the deposit from app account by returning with articles)

Endpoint

http://rest.panthermedia.net/get-media-info

Sample Request

POST http://rest.panthermedia.net/get-media-info
Accept-Version: 1.0
Content-Type: application/x-www-form-urlencoded
api_key=a5e7b0dada779347e0fdd4db91ad883d0592aaca031e2c81234f3cb8008fdd1g&access_key=9de82c2a78df66e615274eec2622b53795abb2dd&timestamp=Thu%2C%2002%20Aug%202012%2005%3A54%3A55%20UTC&nonce=123&algo=sha1&id_media=2345&lang=en&show_articles=yes&show_top10_keywords=yes

Sample Answer

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rsp stat="ok">
  <media>
    <id>2345</id>
    <thumb_150_url><![CDATA[http://agency.panthermedia.net/media/previews/0000000000/00002000/00002345_thumb.jpg]]></thumb_150_url>
    <thumb_170_url><![CDATA[http://agency.panthermedia.net/media/previews/0000000000/00002000/00002345_thumb_170.jpg]]></thumb_170_url>
    <preview_url><![CDATA[http://agency.panthermedia.net/media/previews/0000000000/00002000/00002345_preview.jpg]]></preview_url>
    <preview_url_high><![CDATA[http://agency.panthermedia.net/media/previews/0000000000/00002000/00002345_high.jpg]]></preview_url_high>
    <width>3508px</width>
    <height>2339px</height>
    <mime_type>image/jpeg</mime_type>
  </media>
  <metadata>
    <keywords><![CDATA[tree, trees, field, tuscany, hill, fields, toscana, picturesque, hilly, mild, cypresses, unclouded, cloudless, scenery, countryside, nature, italy, clouds, blauer himmel, hügellandschaft]]></keywords>
    <keywords_top10><![CDATA[tree, field, trees, tuscany, nature, tree, field, italy, clouds, scenery]]></keywords_top10>
    <title><![CDATA[toscana]]></title>
    <description><![CDATA[tree in toscana italy]]></description>
    <author_realname><![CDATA[Peter Chr. Ammel]]></author_realname>
    <author_username><![CDATA[petera]]></author_username>
    <model_id/>
    <model_release>no</model_release>
    <property_release>no</property_release>
    <editorial>no</editorial>
  </metadata>
  <options>
    <extended>yes</extended>
    <subscription>yes</subscription>
    <packet>yes</packet>
    <premium>no</premium>
    <adult_content>no</adult_content>
  </options>
  <articles>
    <subscription_list total="1">
      <subscription type="subscription" name="Subscription (XXL) 500/Month" deposit-remaining="6" currency="downloads" valid-until="09/08/2016">
        <article id="image-73821" name="XXL" width="3508px" height="2339px" mimetype="image/jpeg" price="1" currency="downloads"/>
      </subscription>
    </subscription_list>
    <packet_list total="0" info="no deposit"/>
    <singlebuy_list total="2">
      <singlebuy name="credits" deposit-remaining="768" currency="credits" valid-until="unlimited">
        <sizes total="5">
          <article id="credits-56" name="blog" width="400px" height="267px" mimetype="image/jpeg" price="3" currency="credits"/>
          <article id="credits-58" name="web" width="800px" height="533px" mimetype="image/jpeg" price="9" currency="credits"/>
          <article id="credits-60" name="a6" width="1748px" height="1165px" mimetype="image/jpeg" price="18" currency="credits"/>
          <article id="credits-62" name="a5" width="2480px" height="1654px" mimetype="image/jpeg" price="24" currency="credits"/>
          <article id="credits-64" name="a4" width="3508px" height="2339px" mimetype="image/jpeg" price="30" currency="credits"/>
        </sizes>
        <extended_rights total="6">
          <article id="credits-480" name="socialmedia" price="10" currency="credits"/>
          <article id="credits-418" name="press" price="20" currency="credits"/>
          <article id="credits-422" name="corporate" price="30" currency="credits"/>
          <article id="credits-424" name="merchandising" price="40" currency="credits"/>
          <article id="credits-426" name="template" price="50" currency="credits"/>
          <article id="credits-387" name="allext" price="100" currency="credits"/>
        </extended_rights>
      </singlebuy>
      <singlebuy name="eur" deposit-remaining="365.90" currency="eur" valid-until="unlimited">
        <sizes total="5">
          <article id="eur-56" name="blog" width="400px" height="267px" mimetype="image/jpeg" price="3.90" currency="eur"/>
          <article id="eur-58" name="web" width="800px" height="533px" mimetype="image/jpeg" price="9.90" currency="eur"/>
          <article id="eur-60" name="a6" width="1748px" height="1165px" mimetype="image/jpeg" price="39.90" currency="eur"/>
          <article id="eur-62" name="a5" width="2480px" height="1654px" mimetype="image/jpeg" price="59.90" currency="eur"/>
          <article id="eur-64" name="a4" width="3508px" height="2339px" mimetype="image/jpeg" price="79.90" currency="eur"/>
        </sizes>
        <extended_rights total="6">
          <article id="eur-480" name="socialmedia" price="10.00" currency="eur"/>
          <article id="eur-418" name="press" price="20.00" currency="eur"/>
          <article id="eur-422" name="corporate" price="30.00" currency="eur"/>
          <article id="eur-424" name="merchandising" price="40.00" currency="eur"/>
          <article id="eur-426" name="template" price="50.00" currency="eur"/>
          <article id="eur-387" name="allext" price="100.00" currency="eur"/>
        </extended_rights>
      </singlebuy>
    </singlebuy_list>
  </articles>
</rsp>