Skip to content
Goat

Goat Music Open Data

Free JSON APIs backed by real community ratings. CORS-open, no API key, no registration.

Built for music journalists, bloggers, and researchers. Every response includes a link back to the full Goat Music page.

GET/api/public/top-albums

Returns the top 100 albums ranked by community score within a rolling time window. Only albums with at least 2 ratings are included.

Query Parameters

ParamValuesDefault
period30 | 90 | 36530

Example Request

curl "https://www.goatmusic.me/api/public/top-albums?period=30"

Example Response

{
  "period": 30,
  "generatedAt": "2026-05-28T00:00:00.000Z",
  "count": 100,
  "albums": [
    {
      "rank": 1,
      "upc": "075679666130",
      "title": "Back to Black",
      "artist": "Amy Winehouse",
      "coverUrl": "https://...",
      "primaryGenre": "Soul",
      "score": 9.2,
      "ratingCount": 847,
      "url": "https://www.goatmusic.me/album/075679666130"
    }
  ]
}
GET/api/public/album/{upc}

Returns metadata, community score, rating count, and the top 3 review snippets for a single album identified by UPC.

Example Request

curl "https://www.goatmusic.me/api/public/album/075679666130"

Example Response

{
  "upc": "075679666130",
  "title": "Back to Black",
  "artist": "Amy Winehouse",
  "coverUrl": "https://...",
  "primaryGenre": "Soul",
  "releaseDate": "2006-10-27",
  "score": 9.2,
  "ratingCount": 847,
  "topReviews": [
    {
      "rating": 9.8,
      "snippet": "One of the defining albums of the 2000s...",
      "reviewer": "musiclover42",
      "reviewedAt": "2026-05-01T12:00:00.000Z"
    }
  ],
  "url": "https://www.goatmusic.me/album/075679666130"
}
HTML/api/embed/rating/{upc}

Returns a self-contained HTML page suitable for embedding as an iframe. Displays album cover, title, artist, community score, and a "Powered by Goat Music" backlink. Cached 1 hour.

See the embed documentation for copy-paste iframe code.

Notes

  • All endpoints return Access-Control-Allow-Origin: * -- safe to call from any browser or server.
  • Scores are on a 0.0 -- 10.0 scale (community ratings stored 1-100 internally).
  • Responses are cached for 1 hour at the CDN edge. Stale data is served for up to 2 hours while a fresh fetch runs in the background.
  • No API key, no rate limit, no registration. Attribution appreciated but not required.
  • Album UPCs can be found in any Goat Music album URL: goatmusic.me/album/{UPC}

Attribution

If you publish data sourced from these APIs, a link to goatmusic.me is appreciated. Every embed widget includes an automatic backlink.