Calling the API
The API can be called by sending GET-Requests to
The API has 2 ways of outputting data:
Returns a list of assets with their metadata, links to preview images and downloads in json notation.
Returns a list of assets with just their downloads in csv notation.
Downloads: Pretty vs. Raw
When looking at the data returned by the API you will see two kinds of download links: “Pretty” and “Raw”.
Pretty links are short and easy to understand. When accessing a pretty link you will be redirected to the raw link which actually offers the file and your download will be logged for the statistics. In the interest of accurate data I would ask you to use the pretty links whenever possible as they are responsible for counting the downloads. But if the HTTP-Redirects of the pretty links pose a problem for your implementation you are free to use the raw variant instead.
Filters (for all functions)
By default all functions return a full list featuring all assets that CC0 Textures has to offer. The output of all functions can be limited/filtered using the GET-parameters listed below.
All functions support the same syntax as the list page of CC0 Textures (cc0textures.com/list) meaning that all GET-parameters can be copied from the /list page. For Example: Searching for the most popular photoscanned PBR materials using the CC0 Textures website sends you to this URL:
The list of assets can be accessed via the API using this URL: