Skip to main content
GET
/
api
/
v1
/
media
/
search
Search external media
curl --request GET \
  --url https://quizquail.com/api/v1/media/search \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "url": "<string>",
      "thumbnailUrl": "<string>",
      "title": "<string>",
      "attribution": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix your key with Bearer in the Authorization header.

Keys follow the format qq_... and can be scoped to specific permissions.

Query Parameters

q
string
required

Search query

Minimum string length: 1
source
enum<string>
required

Media source to search

Available options:
pexels_images,
pexels_videos,
freesound,
wikipedia
count
integer
default:12

Number of results (1-30, default 12)

Required range: 1 <= x <= 30

Response

Search results

data
object[]
required