# Pixabay on Onekey > 1 endpoint for Pixabay (0 stable, 1 beta), 5 credits each. Category: Entertainment, art & culture. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Page: https://onekey.dev/platforms/pixabay Reference (Markdown): https://onekey.dev/docs/api/pixabay.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 1 mapped Pixabay endpoints return each: - `author.avatarUrl` (URL): 1 - `author.id` (string): 1 - `author.username` (string): 1 - `content.id` (string): 1 - `content.title` (string): 1 - `content.url` (URL): 1 - `engagement.comments` (integer): 1 - `engagement.likes` (integer): 1 - `engagement.views` (integer): 1 - `entity.stats.downloads` (integer): 1 - `entity.type` (string): 1 - `media.thumbnailUrl` (URL): 1 - `media.url` (URL): 1 ## Endpoints ### pixabay.search Search Pixabay images. - Price: 5 credits per fresh call. Status: beta. Returns: a list. - Request: `GET https://api.onekey.dev/v1/pixabay/search?q=flower` with header `x-api-key: YOUR_API_KEY` - Parameters: - `q` (string, required): Search text - Fields returned: `content.id`, `content.url`, `content.title`, `media.url`, `media.thumbnailUrl`, `engagement.views`, `engagement.likes`, `engagement.comments`, `entity.stats.downloads`, `author.id`, `author.username`, `author.avatarUrl`, `entity.type` - Reference: https://onekey.dev/docs/api/pixabay/search.md ## Sample request ```bash curl "https://api.onekey.dev/v1/pixabay/search?q=flower" \ -H "x-api-key: YOUR_API_KEY" ```