Openclipart for developers

Developers

Below are some simple ways of communicating with Openclipart. If we are not providing what you need, please talk with us directly: love@openclipart.org

Upload Clipart
E-mail
upload2openclipart
Upload Clipart
Multipart POST
/upload-2016.php
Users can find the API key on their profile page.
Example:
curl -F user_name=user -F key=api-key-from-profile-page -F title="some title" -F tags="tag1, tag2" -F description="some description" -F nsfw=0 -F svg=@./some_file.svg https://openclipart.org/upload-2016.php
Search Clipart
JSONP

Recommended API for new development.
/search/json/?query=play
Returns a maximum of 10 matches.
 /search/json/?query=play&amount=20
Maximum amount is 200 right now.
 /search/json/?query=play&amount=20&page=2
Returns matches 21-40.
 /search/json/?query=play&callback=parseResponse
Wrap response.
 /search/json/?query=play&sort=downloads
Shows most downloaded first. Supported sort modes are: date, downloads, favorites.
 /search/json/?byids=217395,217396
Queries by id or comma separated list of ids.
Cross-origin resource sharing (CORS)
Openclipart delivers all .svg, .png and .pdf files with a CORS header.
Access-Control-Allow-Origin: *
RSS (XML)
The RSS/XML interfaces are not recommended for new development, but will continue to be supported.
/api/search/?query=water&page=4
Clipart Search
/media/feed/rss/strawberry
Latest Uploads by Tag
/media/feed/rss/
Latest uploads

Do you have suggestions to improve this page for you? We have love@openclipart.org for you.