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.

Functions

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>"}}'
    Sign in to run
    Responsereturns AudioDownload
    interface 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>"}}'
    Sign in to run
    Responsereturns VideoDownload
    interface 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>"}}'
    Sign in to run
    Responsereturns AudioDetail
    interface 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>"}}'
    Sign in to run
    Responsereturns ImageDetail
    interface 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>"}}'
    Sign in to run
    Responsereturns UserProfile
    interface 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>"}}'
    Sign in to run
    Responsereturns VideoDetail
    interface 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 '{}'
    Sign in to run
    Responsereturns PopularSearchesResult
    interface 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>"}}'
    Sign in to run
    Responsereturns UserMediaPage
    interface 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"}}'
    Sign in to run
    Responsereturns Model3dSearchResult
    interface 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"}}'
    Sign in to run
    Responsereturns ImageSearchResult
    interface 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"}}'
    Sign in to run
    Responsereturns AudioSearchResult
    interface 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"}}'
    Sign in to run
    Responsereturns AudioSearchResult
    interface 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"}}'
    Sign in to run
    Responsereturns VideoSearchResult
    interface 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;
    }