Check out the new version of Pond5! You're invited to take the new site for a spin and let us know what you think START USING NOW

The World's Stock Media Marketplace

Forgot your password?

API example communication using XML

Note: They are authenticated for our test database and does not work to test with.

Misc notes

{ "array" : [{...}, {...}] }

...would be...

Booleans will use the strings true and false in XML but be of boolean datatype in JSON.

The request

Note that commands_json is called commands_xml but that it otherwise looks the same. Commands_hash is the checksum for commands_xml (before it's escaped).

<?xml version="1.0" encoding="utf-16"?>
    <commands_xml>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;commands&gt;&lt;item&gt;&lt;command&gt;search&lt;/command&gt;&lt;bm&gt;63&lt;/bm&gt;&lt;p&gt;0&lt;/p&gt;&lt;query&gt;dog&lt;/query&gt;&lt;col&gt;7&lt;/col&gt;&lt;/item&gt;&lt;/commands&gt;</commands_xml>

How the commands_xml string looked before escaped + pretty printed
<?xml version="1.0" encoding="UTF-8"?>

The response

<?xml  version="1.0" encoding="utf-16"?>
                    <kw>cool, dark cheerful/happy, snorkrÄka banan1, banan2, banan3, banan4, banan5, banan6, banan7, banan8, banan9, banan10, banan11, banan12, banan13, banan14, banan15, banan16, banan17, banan18, banan19, banan20, banan21, banan22, banan23</kw>

Your Cart is Currently Empty

Add items to your cart by using
theexample orexample icons.
Media Bin 

Your Media Bin is Currently Empty

Add items to your media bin by using the example or example icons.