# Commons

4 endpoints on Commons. Every one returns the same response shape and has a flat, published price in credits.

Category: [Entertainment, art & culture](https://onekey.dev/docs/categories/entertainment.md) · [Overview page](https://onekey.dev/platforms/commons)

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`category_files`](https://onekey.dev/docs/api/commons/category_files.md) | Files in a Wikimedia Commons category (first 50). | 5 credits | stable |
| [`file_info`](https://onekey.dev/docs/api/commons/file_info.md) | Wikimedia Commons file: URL, size, license and description. | 1 credit | stable |
| [`random_files`](https://onekey.dev/docs/api/commons/random_files.md) | Random Wikimedia Commons files. | 5 credits | stable |
| [`search`](https://onekey.dev/docs/api/commons/search.md) | Search Wikimedia Commons files. | 5 credits | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
