KuikCodeDocs
APIReferenceImages

Search stock photos

GET
/stock/photos

Free Pexels photos (commercial use, no attribution needed). An empty query returns a curated selection. Import one with POST /stock/photos/{id}/import before using it on a page.

AuthorizationBearer <token>

An API key from Settings, Developers: Authorization: Bearer kc_live_...

In: header

Query Parameters

q?string
Lengthlength <= 80
Default""
page?integer
Range1 <= value <= 50
Default1
perPage?integer
Range1 <= value <= 30
Default12

Response Body

application/json

curl -X GET "https://example.com/stock/photos"
{  "data": [    {      "id": 0,      "thumb": "string",      "photographer": "string",      "alt": "string",      "width": 0,      "height": 0    }  ]}