Discover/whosampled.com API
live

whosampled.com APIwhosampled.com

Access WhoSampled data via API: search tracks and artists, retrieve sample connections, artist profiles, track details, and trending Hot Samples chart.

Endpoints
5
Updated
3mo ago
Try it
Search keyword (artist or track name)
api.parse.bot/scraper/ce66773d-6622-4c56-a9ae-64dc0a37df1f/<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/ce66773d-6622-4c56-a9ae-64dc0a37df1f/search?query=amen+break' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 5 totalclick to expand

Search for artists and tracks by name. Returns top hit, matching artists, and matching tracks from WhoSampled.

Input
ParamTypeDescription
queryrequiredstringSearch keyword (artist or track name)
Response
{
  "type": "object",
  "fields": {
    "tracks": "array of matching tracks, each with name and url",
    "artists": "array of matching artists, each with name and url",
    "top_hit": "object or null containing name and url of the top search result"
  },
  "sample": {
    "data": {
      "tracks": [
        {
          "url": "https://www.whosampled.com/Mandidextrous/That-Amen-Break/",
          "name": "That Amen Break"
        }
      ],
      "artists": [
        {
          "url": "https://www.whosampled.com/Kanye-West/",
          "name": "Kanye West"
        }
      ],
      "top_hit": {
        "url": "https://www.whosampled.com/Kanye-West/",
        "name": "Kanye West"
      }
    },
    "status": "success"
  }
}

About the whosampled.com API

The WhoSampled API exposes 5 endpoints covering music sample connections, artist profiles, track metadata, and trending charts. The get_track_detail endpoint returns a full connections_summary array with sample, cover, and remix relationships — including the sampled track's name, artist, year, and tag. Use get_trending_samples to pull the current 24-hour Hot Samples chart without any input parameters.

Search and Artist Profiles

The search endpoint accepts a query string and returns three distinct result sets: a top_hit object (or null), an artists array, and a tracks array — each entry containing a name and url. The get_artist endpoint takes an artist_slug (e.g. 'Daft-Punk') and returns the artist's real_name, aliases, groups, and a stats_summary string summarizing their sample, cover, and remix counts on WhoSampled.

Track Details and Sample Connections

get_track_detail requires both an artist_slug and a track_slug that exactly matches the URL path on WhoSampled, including comma-encoded punctuation (e.g. 'Harder,-Better,-Faster,-Stronger'). It returns title, artist, album, year, and a connections_summary array. Each connection object carries section, name, artist, year, tag, and url fields — giving a complete picture of what a track sampled, what sampled it, and any cover or remix relationships.

Samples Used and Trending Charts

get_artist_samples_used returns a paginated list of tracks by an artist that incorporate samples. Each result includes a connections array with action, name, url, artist, year, and tag. An optional tag parameter filters connections by tag text, and a page parameter handles pagination. The get_trending_samples endpoint takes no inputs and returns the current Hot Samples chart as an array of objects with name and url fields reflecting the most-viewed sample connections in the last 24 hours.

Slug Format and Redirect Behavior

Both get_artist and get_track_detail depend on slugs that mirror WhoSampled's URL structure exactly. If a track_slug is malformed or incorrect, the source redirects to the artist page rather than a track page, which the API surfaces as an input_not_found-style error. Use the search endpoint first to retrieve correct url values, then extract slugs from those URLs to ensure accuracy.

Common use cases
  • Build a music discovery tool that traces the sample lineage of any track using connections_summary fields
  • Populate an artist database with real name, aliases, group memberships, and sample stats from get_artist
  • Monitor daily trending sample connections via get_trending_samples for a music news or chart feed
  • Filter an artist's sampled works by genre or type using the tag parameter in get_artist_samples_used
  • Construct a knowledge graph of producer influences by linking connections across multiple artist slugs
  • Validate or enrich a music metadata catalog with album name and release year from get_track_detail
  • Power a 'Did you know this song sampled...' widget on a streaming or music blog platform
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 WhoSampled have an official developer API?+
WhoSampled does not offer a publicly documented developer API. There is no official API portal or listed API credentials program on whosampled.com as of this writing.
What does `get_track_detail` return, and how is the `track_slug` formatted?+
It returns the track's title, artist, album, year, and a connections_summary array. Each connection includes section (e.g. 'Contains Samples Of'), name, artist, year, tag, and url. The track_slug must exactly replicate the URL path on WhoSampled, with punctuation preserved as commas — for example, 'Harder,-Better,-Faster,-Stronger'. An incorrect slug causes a redirect to the artist page rather than returning track data.
Can I filter `get_artist_samples_used` by sample type?+
Yes. The optional tag parameter filters the returned connections array by matching against tag text (e.g. filtering to only drum breaks or vocal samples). The page parameter handles pagination for artists with large catalogs.
Does the API return full lyrics or audio previews for sampled tracks?+
No. The API covers sample connection metadata (track names, artists, years, tags, URLs), artist profile fields, and chart data. Lyrics and audio content are not part of any endpoint's response. You can fork this API on Parse and revise it to add an endpoint targeting lyric or audio data from a compatible source.
Does `get_trending_samples` return historical chart data, or only the current 24-hour window?+
It returns only the current Hot Samples chart reflecting the most-viewed connections in the last 24 hours. Historical trending data across past dates is not exposed by any endpoint. You can fork this API on Parse and revise it to add date-parameterized historical chart retrieval if WhoSampled exposes that data in its archive pages.
Page content last updated . Spec covers 5 endpoints from whosampled.com.
Related APIs in MusicSee all →
juno.co.uk API
Search and browse Juno Records' catalog to find music across genres, discover new releases and bestsellers, and get detailed product information with autocomplete suggestions. Perfect for exploring vinyl, CDs, and digital music with real-time access to charts and recommendations.
elements.envato.com API
Search and browse millions of creative assets from Envato Elements, including stock photos, videos, music, fonts, and templates across all categories. Get detailed information about specific items, pricing plans, and discover new content through keyword search and category browsing.
stubhub.com API
Search and discover tickets across StubHub's marketplace by looking up events, performers, and categories to find exactly what you want to attend. Browse event details, performer schedules, and curated category collections to compare available tickets and make informed purchasing decisions.
rateyourmusic.com API
Search for albums, artists, and genres to retrieve detailed information including release dates, ratings, and chart rankings from Rate Your Music. Browse music charts and explore genre-specific data to discover trends across the catalog.
allmusic.com API
Search for music, browse artist biographies and discographies, and retrieve detailed album and song information all in one place. Discover new releases and access comprehensive metadata about artists and tracks.
viagogo.com API
Search for events and browse tickets across Viagogo's catalog, discovering performer schedules, ticket listings, and categories all in one place. Get detailed information about available tickets and events to find exactly what you're looking for.
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.
bandcamp.com API
Access Bandcamp's music catalog, artist profiles, album details, fan profiles, and live sales feed. Supports discovery with tag and location filters, full-text search across artists, albums, and tracks, and detailed metadata retrieval.
WhoSampled API – Music Samples, Artists & Charts · Parse