Pixabay API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Pixabay. No Pixabay API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/pixabay.md and add Bowmark's Pixabay MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-pixabay https://api.bowmark.ai/mcp/site/pixabayPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-pixabay": {
"url": "https://api.bowmark.ai/mcp/site/pixabay"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-pixabay","type":"http","url":"https://api.bowmark.ai/mcp/site/pixabay"}'Run this in a terminal.
codex mcp add bowmark-pixabay --url https://api.bowmark.ai/mcp/site/pixabayIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/pixabayIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/pixabayAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/pixabayFunctions
Open a function to see its parameters and run it with your own API key.
downloadAudioDownloads a music track or sound effect and saves the file.POST /v1/sites/pixabay/downloadAudio
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/downloadAudio \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.downloadAudio({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.downloadAudio({"url": "<url>"}))Responsereturns AudioDownloadinterface AudioDownload { id: string; title: string; downloadUrl: string; // direct CDN file link; fetch it with no sign-in filename: string | null; format: string | null; fileSize: string | null; attributionHtml: string | null; }downloadVideoGets the direct download links for one video in every size the CDN serves (tiny, small, medium, large MP4; no sign-in), with label, dimensions and…POST /v1/sites/pixabay/downloadVideo
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/downloadVideo \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.downloadVideo({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.downloadVideo({"url": "<url>"}))Responsereturns VideoDownloadinterface VideoDownload { id: string; title: string; files: { label: string; dimensions: string; size: string; format: string; fileName: string; downloadUrl: string /* direct CDN file link; fetch it with no sign-in */ }[]; }getAudioReads one music track or sound effect page: title, artist, duration, tags and the stream URL.POST /v1/sites/pixabay/getAudio
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/getAudio \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.getAudio({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.getAudio({"url": "<url>"}))Responsereturns AudioDetailinterface AudioDetail { id: string; kind: string; // music or sound_effect title: string; description: string; url: string; audioUrl: string | null; // the playable mp3 stream downloadUrl: string | null; // the file download link the page uses coverUrl: string | null; durationSeconds: number | null; format: string | null; fileSize: string | null; uploadedAt: string | null; publishedAt: string | null; isAiGenerated: boolean; isEditorsChoice: boolean; likes: number | null; comments: number | null; views: number | null; downloads: number | null; collections: number | null; tags: string[]; genres: string[]; moods: string[]; themes: string[]; attributionHtml: string | null; // the credit line Pixabay suggests creator: { id: string; username: string; profileUrl: string | null } | null; relatedTracks: { id: string; title: string; url: string; audioUrl: string | null }[]; }getImageReads one image page: title, tags, creator, sizes, licence, views, downloads, likes and the related images.POST /v1/sites/pixabay/getImage
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/getImage \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.getImage({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.getImage({"url": "<url>"}))Responsereturns ImageDetailinterface ImageDetail { id: string; mediaType: string; // photo, illustration, vector or gif title: string; description: string; url: string; thumbnailUrl: string | null; largeUrl: string | null; width: number | null; height: number | null; uploadedAt: string | null; publishedAt: string | null; isAiGenerated: boolean; isEditorsChoice: boolean; likes: number | null; comments: number | null; views: number | null; downloads: number | null; collections: number | null; tags: string[]; sizes: { label: string /* Small, Medium, Large or Original */; dimensions: string; size: string; format: string; fileName: string }[]; camera: { name: string | null; lens: string | null; focalLength: string | null; aperture: string | null; exposureTime: string | null; iso: string | null }; creator: { id: string; username: string; profileUrl: string | null } | null; relatedImages: { id: string; url: string; thumbnailUrl: string | null }[]; }getUserReads a creator's profile: name, avatar, bio, follower count and totals.POST /v1/sites/pixabay/getUser
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/getUser \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.getUser({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.getUser({"url": "<url>"}))Responsereturns UserProfileinterface UserProfile { id: string; username: string; profileUrl: string; displayName: string | null; location: string | null; joined: string | null; // e.g. "Joined March 11, 2024" about: string; avatarUrl: string | null; followers: number | null; following: number | null; likes: number | null; views: number | null; downloads: number | null; isAvailableForHire: boolean; isAmbassador: boolean; socialLinks: string[]; mediaCounts: Record<string, number>; // items per type, e.g. music }getVideoReads one video page: title, tags, creator, duration, resolutions and counts.POST /v1/sites/pixabay/getVideo
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/getVideo \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.getVideo({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.getVideo({"url": "<url>"}))Responsereturns VideoDetailinterface VideoDetail { id: string; title: string; description: string; url: string; thumbnailUrl: string | null; previewUrl: string | null; width: number | null; height: number | null; durationSeconds: number | null; uploadedAt: string | null; publishedAt: string | null; isAiGenerated: boolean; isEditorsChoice: boolean; likes: number | null; comments: number | null; views: number | null; downloads: number | null; collections: number | null; tags: string[]; sizes: { label: string /* HD, Full HD, Quad HD, 4K UHD or Original */; dimensions: string; size: string; format: string; fileName: string }[]; creator: { id: string; username: string; profileUrl: string | null } | null; relatedVideos: { id: string; url: string; thumbnailUrl: string | null }[]; }listPopularSearchesLists the searches that are popular on Pixabay right now, each with the query and its image-search URL.POST /v1/sites/pixabay/listPopularSearches
Parameters
No parameters.
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/listPopularSearches \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.listPopularSearches();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.listPopularSearches())Responsereturns PopularSearchesResultinterface PopularSearchesResult { items: PopularSearch[]; total: number; } interface PopularSearch { query: string; url: string; }listUserMediaLists one page (60 items) of a creator's uploads across media types, with paging counts.POST /v1/sites/pixabay/listUserMedia
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/listUserMedia \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"url":"<url>"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.listUserMedia({ url: "<url>" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.listUserMedia({"url": "<url>"}))Responsereturns UserMediaPageinterface UserMediaPage { page: number; pages: number; total: number; items: UserMediaItem[]; } interface UserMediaItem { id: string; mediaType: string; title: string; url: string; thumbnailUrl: string | null; uploadedAt: string | null; likes: number | null; duration: number | null; }search3dModelsSearches Pixabay's free 3D models by keyword.POST /v1/sites/pixabay/search3dModels
Parameters
1-based page of hits.
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/search3dModels \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"robot"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.search3dModels({ query: "robot" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.search3dModels({"query": "robot"}))Responsereturns Model3dSearchResultinterface Model3dHit { id: string; title: string; description: string; url: string; // the model's Pixabay page thumbnailUrl: string | null; previewImageUrls: string[]; // turntable renders, one per angle uploadedAt: string | null; likes: number | null; comments: number | null; tags: string[]; isAiGenerated: boolean; creator: { id: string; username: string; profileUrl: string | null } | null; } interface Model3dSearchResult { query: string; items: Model3dHit[]; page: number; pages: number; total: number; }searchImagesSearches Pixabay's free photos, illustrations, vectors and GIFs by keyword, returning each hit with its creator, tags and posting date, plus the page…POST /v1/sites/pixabay/searchImages
Parameters
1-based page of 100 hits.
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/searchImages \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"cat"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.searchImages({ query: "cat" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.searchImages({"query": "cat"}))Responsereturns ImageSearchResultinterface ImageHit { id: string; mediaType: string; // photo, illustration, vector or gif title: string; description: string; url: string; // the image's Pixabay page thumbnailUrl: string | null; largeUrl: string | null; width: number | null; height: number | null; uploadedAt: string | null; likes: number | null; comments: number | null; views: number | null; downloads: number | null; tags: string[]; isAiGenerated: boolean; creator: { id: string; username: string; profileUrl: string | null } | null; } interface ImageSearchResult { query: string; items: ImageHit[]; page: number; pages: number; total: number; }searchMusicSearches Pixabay's royalty-free music by keyword, genre, mood and length.POST /v1/sites/pixabay/searchMusic
Parameters
1-based page of 20 hits.
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/searchMusic \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"piano"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.searchMusic({ query: "piano" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.searchMusic({"query": "piano"}))Responsereturns AudioSearchResultinterface AudioSearchResult { query: string; items: AudioHit[]; page: number; pages: number; total: number; } interface AudioHit { id: string; kind: string; // music or sound_effect title: string; description: string; url: string; // the track's Pixabay page audioUrl: string | null; // the playable mp3 preview coverUrl: string | null; durationSeconds: number | null; uploadedAt: string | null; likes: number | null; comments: number | null; tags: string[]; isAiGenerated: boolean; creator: { id: string; username: string; profileUrl: string | null } | null; }searchSoundEffectsSearches Pixabay's sound effects by keyword.POST /v1/sites/pixabay/searchSoundEffects
Parameters
1-based page of 20 hits.
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/searchSoundEffects \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"rain"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.searchSoundEffects({ query: "rain" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.searchSoundEffects({"query": "rain"}))Responsereturns AudioSearchResultinterface AudioSearchResult { query: string; items: AudioHit[]; page: number; pages: number; total: number; } interface AudioHit { id: string; kind: string; // music or sound_effect title: string; description: string; url: string; // the track's Pixabay page audioUrl: string | null; // the playable mp3 preview coverUrl: string | null; durationSeconds: number | null; uploadedAt: string | null; likes: number | null; comments: number | null; tags: string[]; isAiGenerated: boolean; creator: { id: string; username: string; profileUrl: string | null } | null; }searchVideosSearches Pixabay's free stock videos by keyword, with each clip's size, length and creator.POST /v1/sites/pixabay/searchVideos
Parameters
1-based page of 100 hits.
curl -X POST https://api.bowmark.ai/v1/sites/pixabay/searchVideos \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"ocean"}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pixabay.searchVideos({ query: "ocean" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pixabay.searchVideos({"query": "ocean"}))Responsereturns VideoSearchResultinterface VideoHit { id: string; title: string; description: string; url: string; // the video's Pixabay page thumbnailUrl: string | null; previewUrl: string | null; // a small mp4 preview width: number | null; height: number | null; durationSeconds: number | null; uploadedAt: string | null; likes: number | null; comments: number | null; tags: string[]; isAiGenerated: boolean; creator: { id: string; username: string; profileUrl: string | null } | null; } interface VideoSearchResult { query: string; items: VideoHit[]; page: number; pages: number; total: number; }