Data
Image search on Wikimedia Commons API
Search Wikimedia Commons (keyless) for freely-licensed images and return full + thumbnail URLs, dimensions, mime type, license, and attribution. Answers 'find an image of X', 'Commons photo of X', 'free/CC image of X', 'public domain picture of X'.
Price$0.01per request
MethodPOST
Route/v1/data/kb-image
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
datacommonswikimediaimagephotomediasearchcreative-commons
API URL
Integration docshttps://x402.hexl.dev/v1/data/kb-imageExample request
{
"query": "red panda",
"limit": 3,
"thumbWidth": 320
}Example response
{
"query": "red panda",
"count": 1,
"images": [
{
"title": "Red Panda (24986761703).jpg",
"url": "https://upload.wikimedia.org/wikipedia/commons/x/Red_Panda.jpg",
"thumbnailUrl": "https://upload.wikimedia.org/wikipedia/commons/thumb/x/Red_Panda.jpg/320px-Red_Panda.jpg",
"descriptionUrl": "https://commons.wikimedia.org/wiki/File:Red_Panda.jpg",
"width": 4000,
"height": 3000,
"mimeType": "image/jpeg",
"license": "CC BY-SA 2.0",
"artist": "Mathias Appel"
}
]
}Input schema
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"examples": [
"red panda"
]
},
"limit": {
"type": "number",
"default": 10
},
"thumbWidth": {
"type": "number",
"default": 320
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}