Skip to content

Search stock photos

GET
/api/v1/stock-photos/search

Search Pexels for stock photos matching a query.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Parameters

Query Parameters

q*

Search query

Type
string
Required
Min Length
1
page
Type
integer
Minimum
1
Default
1
per_page
Type
integer
Maximum
80
Minimum
1
Default
20
orientation

Responses

Successful Response

application/json
JSON
{
"total_results": 0,
"page": 0,
"per_page": 0,
"photos": [
{
"id": 0,
"width": 0,
"height": 0,
"url": "string",
"photographer": "string",
"photographer_url": "string",
"avg_color": "string",
"alt": "string",
"src": {
}
}
]
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

XC AI Content Automation