# Licenses

> What each source's files may be used for.


## What the files of each source may be used for

<a id="licenses"></a>`licenses`

`GET /licenses`

No key needed

### Responses

- `200` One summary per source. Items flagged varies_per_item carry their own license on their card. ([`List`](https://imgsearch.com/developers/reference/schemas.md#List))
- `default` Error envelope ([`Error`](https://imgsearch.com/developers/reference/schemas.md#Error))

### Examples

**curl**

```bash
# What the files of each source may be used for.
curl -sS \
  "${IMGSEARCH_API_BASE:-https://imgsearch.com/api/v2}/licenses"
```

**Python**

```python
# What the files of each source may be used for.
import json
import os

import httpx

base = os.environ.get("IMGSEARCH_API_BASE", "https://imgsearch.com/api/v2")

r = httpx.get(f"{base}/licenses", timeout=60)
print(r.status_code)
print(json.dumps(r.json(), indent=2))
```

**JavaScript**

```js
// What the files of each source may be used for.
const base = process.env.IMGSEARCH_API_BASE ?? "https://imgsearch.com/api/v2";

const r = await fetch(`${base}/licenses`);
console.log(r.status);
console.log(JSON.stringify(await r.json(), null, 2));
```

**Response 200**

```json
{
    "object": "list",
    "data": [
        {
            "object": "license",
            "source": "photo",
            "name": "ImgSearch content license",
            "license_url": "https://imgsearch.com/legal",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": false,
            "allowed": [
                "Personal and commercial use",
                "Changes and edits"
            ],
            "not_allowed": [
                "Files not obtained through a download",
                "Showing identifiable people in a negative or offensive way",
                "Suggesting endorsement by people or brands shown",
                "Redistributing or selling the files on other stock-content or wallpaper platforms"
            ],
            "key": "imgsearch_content",
            "variants": []
        },
        {
            "object": "license",
            "source": "video",
            "name": "ImgSearch content license",
            "license_url": "https://imgsearch.com/legal",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": false,
            "allowed": [
                "Personal and commercial use",
                "Changes and edits"
            ],
            "not_allowed": [
                "Files not obtained through a download",
                "Showing identifiable people in a negative or offensive way",
                "Suggesting endorsement by people or brands shown",
                "Redistributing or selling the files on other stock-content or wallpaper platforms"
            ],
            "key": "imgsearch_content",
            "variants": []
        },
        {
            "object": "license",
            "source": "svg",
            "name": "ImgSearch content license",
            "license_url": "https://imgsearch.com/legal",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": false,
            "allowed": [
                "Personal and commercial use",
                "Changes and edits"
            ],
            "not_allowed": [
                "Files not obtained through a download",
                "Showing identifiable people in a negative or offensive way",
                "Suggesting endorsement by people or brands shown",
                "Redistributing or selling the files on other stock-content or wallpaper platforms"
            ],
            "key": "imgsearch_content",
            "variants": []
        },
        {
            "object": "license",
            "source": "svg_pack",
            "name": "ImgSearch content license",
            "license_url": "https://imgsearch.com/legal",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": true,
            "allowed": [
                "Personal and commercial use",
                "Changes and edits"
            ],
            "not_allowed": [
                "Files not obtained through a download",
                "Showing identifiable people in a negative or offensive way",
                "Suggesting endorsement by people or brands shown",
                "Redistributing or selling the files on other stock-content or wallpaper platforms"
            ],
            "key": "imgsearch_content",
            "variants": [
                {
                    "key": "game_asset",
                    "name": "ImgSearch Game Asset License",
                    "license_url": "https://imgsearch.com/game-assets/license",
                    "terms_url": "https://imgsearch.com/legal/terms",
                    "attribution": "optional",
                    "allowed": [
                        "Use in any number of games and other interactive projects, commercial or not",
                        "Changing, recoloring, cutting and combining them",
                        "Shipping them in builds, trailers, store pages and marketing"
                    ],
                    "not_allowed": [
                        "Selling, sharing or giving the assets away on their own or as a pack, template or starter kit",
                        "Training or improving AI models",
                        "Removing provenance metadata or watermarks",
                        "Registering them as a trademark or logo"
                    ]
                }
            ]
        },
        {
            "object": "license",
            "source": "brand",
            "name": "Per asset: the artwork license, attribution and trademark conditions on each asset page and in its ZIP",
            "license_url": "https://imgsearch.com/legal",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "as the asset states",
            "varies_per_item": true,
            "allowed": [
                "What the asset's own license allows"
            ],
            "not_allowed": [
                "Removing the license and source notices in the ZIP",
                "Suggesting endorsement by the brand"
            ],
            "key": "brand",
            "variants": []
        },
        {
            "object": "license",
            "source": "sound_effect",
            "name": "ImgSearch content license",
            "license_url": "https://imgsearch.com/legal",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": true,
            "allowed": [
                "Personal and commercial use",
                "Changes and edits"
            ],
            "not_allowed": [
                "Files not obtained through a download",
                "Showing identifiable people in a negative or offensive way",
                "Suggesting endorsement by people or brands shown",
                "Redistributing or selling the files on other stock-content or wallpaper platforms"
            ],
            "key": "imgsearch_content",
            "variants": [
                {
                    "key": "mit",
                    "name": "MIT License",
                    "license_url": null,
                    "terms_url": "https://imgsearch.com/legal/terms",
                    "attribution": "required",
                    "allowed": [
                        "Any use, commercial or not, including changing and sharing the files"
                    ],
                    "not_allowed": [
                        "Removing the MIT notice from copies"
                    ]
                }
            ]
        },
        {
            "object": "license",
            "source": "sfx_pack",
            "name": "ImgSearch Game Asset License",
            "license_url": "https://imgsearch.com/game-assets/license",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": false,
            "allowed": [
                "Use in any number of games and other interactive projects, commercial or not",
                "Changing, recoloring, cutting and combining them",
                "Shipping them in builds, trailers, store pages and marketing"
            ],
            "not_allowed": [
                "Selling, sharing or giving the assets away on their own or as a pack, template or starter kit",
                "Training or improving AI models",
                "Removing provenance metadata or watermarks",
                "Registering them as a trademark or logo"
            ],
            "key": "game_asset",
            "variants": []
        },
        {
            "object": "license",
            "source": "3d_model",
            "name": "ImgSearch Game Asset License",
            "license_url": "https://imgsearch.com/game-assets/license",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": true,
            "allowed": [
                "Use in any number of games and other interactive projects, commercial or not",
                "Changing, recoloring, cutting and combining them",
                "Shipping them in builds, trailers, store pages and marketing"
            ],
            "not_allowed": [
                "Selling, sharing or giving the assets away on their own or as a pack, template or starter kit",
                "Training or improving AI models",
                "Removing provenance metadata or watermarks",
                "Registering them as a trademark or logo"
            ],
            "key": "game_asset",
            "variants": [
                {
                    "key": "mit",
                    "name": "MIT License",
                    "license_url": null,
                    "terms_url": "https://imgsearch.com/legal/terms",
                    "attribution": "required",
                    "allowed": [
                        "Any use, commercial or not, including changing and sharing the files"
                    ],
                    "not_allowed": [
                        "Removing the MIT notice from copies"
                    ]
                }
            ]
        },
        {
            "object": "license",
            "source": "3d_kit",
            "name": "ImgSearch Game Asset License",
            "license_url": "https://imgsearch.com/game-assets/license",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "optional",
            "varies_per_item": true,
            "allowed": [
                "Use in any number of games and other interactive projects, commercial or not",
                "Changing, recoloring, cutting and combining them",
                "Shipping them in builds, trailers, store pages and marketing"
            ],
            "not_allowed": [
                "Selling, sharing or giving the assets away on their own or as a pack, template or starter kit",
                "Training or improving AI models",
                "Removing provenance metadata or watermarks",
                "Registering them as a trademark or logo"
            ],
            "key": "game_asset",
            "variants": [
                {
                    "key": "mit",
                    "name": "MIT License",
                    "license_url": null,
                    "terms_url": "https://imgsearch.com/legal/terms",
                    "attribution": "required",
                    "allowed": [
                        "Any use, commercial or not, including changing and sharing the files"
                    ],
                    "not_allowed": [
                        "Removing the MIT notice from copies"
                    ]
                }
            ]
        },
        {
            "object": "license",
            "source": "generation",
            "name": "Terms of Use Art. 8 and the model's terms",
            "license_url": "https://imgsearch.com/legal/terms",
            "terms_url": "https://imgsearch.com/legal/terms",
            "attribution": "not required",
            "varies_per_item": true,
            "allowed": [
                "Commercial use in line with the model's terms (each model's rights_note in /v2/models/{id})"
            ],
            "not_allowed": [
                "Removing the AI label",
                "Training AI models",
                "Presenting results as made by a person or as real"
            ],
            "key": "own_generation",
            "variants": []
        }
    ],
    "has_more": false,
    "next_cursor": null
}
```
