Input methods
Search
Requires API key (contact us)- type: 'search' (string, required)
- query: yourkeyword (string, required)
- apikey: yourapikey (string, required)
Example
https://stockvault.net/api/json/?type=search&query=dog&apikey=myapikey (json output)
https://stockvault.net/api/xml/?type=search&query=dog&apikey=myapikey (xml output)
All
Allows you to query for the latest photos
Requires API key (contact us)
Example
https://stockvault.net/api/json/?type=all&p=1&perpage=20&apikey=myapikey (json output)
https://stockvault.net/api/xml/?type=all&p=1&perpage=20&apikey=myapikey (xml output)
- type: 'all' (string, required)
- apikey: yourapikey (string, required)
- p: number (integer, defaults to 1)
- perpage: number (integer, defaults to 20)
Example
https://stockvault.net/api/json/?type=all&p=1&perpage=20&apikey=myapikey (json output)
https://stockvault.net/api/xml/?type=all&p=1&perpage=20&apikey=myapikey (xml output)
By photographer
Can be used by photographers to promote their own work, no API key required.
Example
- type: 'byUser' (string, required)
- query: yourUserId (integer, required) (a part of your profile url)
Example
https://stockvault.net/api/json/?type=byUser&query=1130 (json output)
https://stockvault.net/api/xml/?type=byUser&query=1130 (xml output)
https://stockvault.net/api/xml/?type=byUser&query=1130 (xml output)