mainnav_head
title_homepage
clippings
Donating

image*after API
AccessAfter is an API that allow you to incorporate our image collection into your application or web service.
Although the images and textures themselves are free to be used in commercial or non-commercial projects this service gives you an affordable way to directly access to the whole collection without the need to manually select and download the images to incorporate into your project.

For commercial or large volume users of this API is available for an affordable rate as stated below. This service is free of charge for non commercial low volume users. However for non commercial use a link to imageafter.com is and needs to be visible below each image.


You API usage can be monitored in our APIUser section. Just log in with your username and API key.

Please contact us for your API key to get started at tothecoolguys@imageafter.com. Please Also let use how you are planning to use the API.
UseData Transfer Requests
Commercial€1 per 0.5GB€0.01 per 1000 requests
Non CommercialFree (with link to imageafter)Free (with link to imageafter)
Terms
This API can be used for commercial and non commercial projects that do not directly compete with imageafter.com. Contact us at tothecoolguys@imageafter.com when in doubt.
Using the ImageAfter API

The Imageafter API can be called using a GET request on the url http://www.imageafter.com/api.php. Results can be displayed in XML or Json notation

Currently there are two result types: a list of images based on a search query, or an image itself (binary data)

1. Search for images

Parameters:

Name Value Default
search one or more keywords to search for (empty = show all images)
start offset to show results from 0
limit number of results to show 50
sort sorting of results [name asc|name desc|hits asc|hits desc|size asc|size desc]
random whether or not to show random images (0 or 1)
(n.b. this overrides the value of 'sort' if set)
0
user your API username
key your API key
json set to '1' to show results as Json notation (empty = show results in XML)

Example: http://www.imageafter.com/api.php?search=cat&start=10&user=username&key=key

Result:

<xml>
	<query>cat</query>
	<start>0</start>
	<total>129</total>
	<images>
		<image>
			<small>http://www.imageafter.com/api.php?image=442&type=small&user=username&key=key</small>
			<medium>http://www.imageafter.com/api.php?image=442&type=medium&user=username&key=key</medium>
			<large>http://www.imageafter.com/api.php?image=442&user=username&key=key</large>
			<width>1776</width>
			<height>1180</height>
			<size_kb>363141</size_kb>
		</image>
		<image>
			<small>http://www.imageafter.com/api.php?image=2575&type=small&user=username&key=key</small>
			<medium>http://www.imageafter.com/api.php?image=2575&type=medium&user=username&key=key</medium>
			<large>http://www.imageafter.com/api.php?image=2575&user=username&key=key</large>
			<width>1600</width>
			<height>862</height>
			<size_kb>184997</size_kb>
		</image>
	</images>
</xml>
				

2. Display an image (binary data)

Parameters:

Name Value Default
image ID of image
type either small, medium or not set (=large) (not set = large)
user your API username
key your API key

Example: http://www.imageafter.com/api.php?image=2575&type=small&user=username&key=key

Result: Binary data displaying small thumbnail of image

clippings
Donating
mainnav_head
Terms of Use. Contact us. Free images and Free textures AddThis Social Bookmark Button
Suggestions?