Discover/tunebat.com API
live

tunebat.com APItunebat.com

Retrieve BPM, musical key, Camelot notation, energy, danceability, and 9 audio features per track from Tunebat via a simple REST API.

Endpoints
2
Updated
14d ago
Try it
Search keyword (e.g., 'Shape of You', 'coldplay', 'ed sheeran')
api.parse.bot/scraper/6d01197e-814d-4b41-9a7c-406491e35d34/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/6d01197e-814d-4b41-9a7c-406491e35d34/search_tracks?query=coldplay' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

Search for music tracks on Tunebat by keyword (song name, artist, etc.). Returns a list of matching tracks with their IDs and URLs. The search query is case-insensitive.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (e.g., 'Shape of You', 'coldplay', 'ed sheeran')
Response
{
  "type": "object",
  "fields": {
    "count": "integer — number of results returned in this response",
    "query": "string — the original search query",
    "results": "array of objects with name, artist, track_id, url",
    "total_available": "integer — total number of matching tracks available"
  },
  "sample": {
    "data": {
      "count": 50,
      "query": "coldplay",
      "results": [
        {
          "url": "https://tunebat.com/Info/1mea3bSkSGXuIRvnydlB5b",
          "name": "Viva La Vida",
          "artist": "Coldplay",
          "track_id": "1mea3bSkSGXuIRvnydlB5b"
        }
      ],
      "total_available": 72
    },
    "status": "success"
  }
}

About the tunebat.com API

The Tunebat API exposes 2 endpoints that together cover music discovery and detailed audio analysis: use search_tracks to find songs by keyword and retrieve their Tunebat IDs, then call get_track_details to pull 9 quantified audio features — including energy, danceability, acousticness, and happiness — alongside BPM, musical key, Camelot notation, duration, album, and release date for any track.

Search and Identify Tracks

The search_tracks endpoint accepts a query string — song title, artist name, or any keyword — and returns a ranked list of matching tracks. Each result includes the track name, artist, track_id (which maps to the Spotify track ID), and a direct Tunebat url. The response also exposes total_available so you can gauge how many results exist beyond the current page.

Detailed Audio Features

Once you have a track_id or a full Tunebat URL, pass it to get_track_details. This endpoint returns the track's bpm, key (e.g. C♯ minor), camelot notation (e.g. 12A), and duration in mm:ss format. The features object contains nine normalized scores: energy, danceability, happiness, acousticness, instrumentalness, liveness, speechiness, loudness, and popularity. The additional_info object adds album name and release_date.

Camelot and Key for DJ and Production Workflows

The Camelot wheel value returned in camelot is particularly useful for harmonic mixing — it tells you which keys are compatible when building transitions. Combined with bpm, this makes the API directly applicable to setlist planning, DJ software integrations, or any workflow that needs both tempo and harmonic context without a separate key-detection step.

Common use cases
  • Build a harmonic mixing tool using the camelot and bpm fields to suggest compatible track transitions.
  • Enrich a music library database by batch-fetching key, bpm, and release_date for existing track IDs.
  • Power a playlist curator that filters by energy and danceability scores from get_track_details.
  • Analyze mood across a catalog using happiness and acousticness features to group tracks by emotional tone.
  • Integrate track audio features into a recommendation engine that clusters songs by instrumentalness and liveness.
  • Support music production research by comparing loudness and speechiness trends across release years.
  • Enable key-matching search in a songwriting app by combining search_tracks results with their key and camelot data.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Tunebat have an official developer API?+
Tunebat does not publish an official public developer API or documented developer program as of mid-2025.
What exactly does `get_track_details` return beyond BPM and key?+
It returns a features object with nine scores — energy, danceability, happiness, acousticness, instrumentalness, liveness, speechiness, loudness, and popularity — plus camelot notation, duration in mm:ss, and an additional_info object containing album and release_date. The track_id field maps to the corresponding Spotify track ID.
Can I retrieve chart rankings or streaming counts through this API?+
Not currently. The API covers audio features, key, BPM, Camelot, and basic metadata like album and release date. Streaming counts and chart positions are not part of the response. You can fork this API on Parse and revise it to add an endpoint targeting that data if Tunebat surfaces it on the track page.
Can `search_tracks` return more results with pagination?+
The response includes a total_available integer showing how many matching tracks exist, but the current endpoint does not expose a pagination parameter to fetch additional pages beyond the initial result set. You can fork the API on Parse and revise it to add offset or page parameters if deeper result sets are needed.
Are the audio feature scores (energy, danceability, etc.) normalized values or raw numbers?+
The features values reflect the scores as displayed on Tunebat, which are sourced from Spotify's audio analysis data and are normalized on a 0–1 scale (or percentage basis depending on field). The loudness field is typically expressed in decibels (dB) rather than a normalized score.
Page content last updated . Spec covers 2 endpoints from tunebat.com.
Related APIs in MusicSee all →
djmag.com API
Access the latest DJ and electronic music news, discover rankings of the world's top 100 DJs and clubs, view detailed club profiles, and search through DJ Mag's extensive article archive. Stay updated on the electronic music scene with curated features, news updates, and industry insights all in one place.
glastonburyfestivals.co.uk API
Discover historical and current Glastonbury Festival line-ups, find artist set times and stage locations, and search for specific performers across all festival years. Stay updated with the latest festival news and explore detailed information about festival areas and stages.
puntoticket.com API
Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.
aoni.co.jp API
Browse and search voice actors, actresses, and junior talents from Aoni Production with detailed profiles including audio samples and work history. Access company information, news updates, and booking details to discover Japanese voice acting talent.
merchbar.com API
Search and discover music merchandise across vinyls, CDs, apparel, and accessories, then track product details, new arrivals, and sales by artist. Find exactly what you're looking for with real-time product information and pricing updates.
amoeba.com API
Search and browse Amoeba Music's catalog of vinyl records and CDs, including used listings, to find product details and discover new releases. Check store information to plan your visits to Amoeba's physical locations.
boletia.com API
Browse and search events on Boletia.com to discover concerts, shows, and performances across different venues and organizers, then view detailed event information and available ticket options. Filter events by category, venue, organizer, or explore trending music events in Mexico City.
axs.com API
Search for events, performers, and venues across AXS.com to find tickets, pricing, and availability information in your area or by category. Browse featured events, explore venues by city, and access detailed event information all in one place.