Skip to main content
The Freepik Music API gives you programmatic access to the Freepik Music catalog. Search music by keyword, filter by genre and mood, and download audio files for use in your applications.

What you can do

  • Search music with full-text queries across titles and tags
  • Filter by genre, mood, premium status, and creation date
  • Sort results by relevance, popularity, creation date, duration, or tempo
  • Get detailed music metadata including artist biography, download stats, and playlist count
  • Download music audio files via CDN-hosted URLs

Authentication

All requests require an API key via the x-freepik-api-key header. See the Quickstart and Authentication.

Endpoints

Parameters overview

The search endpoint supports the following filters:
ParameterTypeDescription
qstringFull-text search across titles and tags
genrestringFilter by genre name, comma-separated (e.g., "Electronic,Ambient")
moodstringFilter by mood tag, comma-separated (e.g., "Happy,Energetic")
include-premiumbooleanInclude premium content (default: false)
time_rangestringFilter by creation date: "7d", "30d", or "90d"
order_bystringSort order: "relevance", "popularity", "-popularity", "created_at", "-created_at", "title", "-title", "seconds", "-seconds", "bpm", "-bpm". Defaults to "relevance" when q is provided, "-popularity" otherwise
limitintegerResults per page: 1-1000 (default: 10)
offsetintegerPagination offset (default: 0)

Use cases

  • Build a music browser or audio picker into your app or CMS
  • Search music by genre and mood for video or podcast background music
  • Programmatically download royalty-free music during content production pipelines
  • Create curated playlists filtered by popularity, tempo, or release date

FAQ

Is there a rate limit?

Yes. See Rate limits.

What license applies to the music?

Refer to the License agreement.

What audio format is the music available in?

Music is delivered as audio files via CDN-hosted download URLs.

Can I filter for only free music?

Yes. Set include-premium to false (the default) to return only free music.