Search 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.
Authorization
apiKey AuthorizationBearer <token>
An API key from Settings, Developers: Authorization: Bearer kc_live_...
In: header
Query Parameters
q?string
Length
length <= 80Default
""page?integer
Range
1 <= value <= 50Default
1perPage?integer
Range
1 <= value <= 30Default
12Response Body
application/json
curl -X GET "https://example.com/stock/photos"{ "data": [ { "id": 0, "thumb": "string", "photographer": "string", "alt": "string", "width": 0, "height": 0 } ]}