Distribution API
Search Release
This endpoint searches for a release by UPC or ISRC code. Only releases that are published and approved are returned. Draft or unapproved releases will return a 404 Not Found response.
HTTP Request
- Production:
GET https://api.even.biz/api/v1/distribution/releases/search - Stage:
GET https://api-staging.even.biz/api/v1/distribution/releases/search
Query Parameters
| Parameter | Description | Required |
|---|---|---|
| upc | The UPC code of the album to search for | No* |
| isrc | The ISRC code of the track to search for | No* |
*At least one of upc or isrc must be provided. If neither is provided, the endpoint returns 404 Not Found.
Example Request
require 'net/http'
require 'json'
# Search by UPC
upc = "123456789012"
endpoint = "/api/v1/distribution/releases/search?upc=#{upc}"
uri = URI("https://api-staging.even.biz#{endpoint}")
# Prepare HTTP request
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new("#{uri.path}?#{uri.query}", 'Content-Type' => 'application/json')
# Generate required headers
date = Time.now.utc.httpdate
signed_auth_header = sign_headers(method: :get, endpoint: endpoint, date: date)
# Set custom headers
request['Authorization'] = signed_auth_header
request['Date'] = date
# Send request
response = http.request(request)
# Handle response
if response.is_a?(Net::HTTPSuccess)
puts "Success: #{response.body}"
else
puts "Error: #{response.code} #{response.message}"
endThe above command returns JSON structured like this:
{
"data": {
"id": "14652",
"type": "release",
"attributes": {
"id": 14652,
"name": "Spontaneous",
"slug": "spontaneous-b57975ca-0d4f-4b66-bebd-e37c11d0d566",
"released_at": "2025-09-29T06:00:00.000Z",
"created_at": "2025-09-11T23:51:34.185Z",
"updated_at": "2025-09-30T01:36:27.976Z",
"release_type": "album",
"status": "on-sale",
"url": "https://even.biz//r/spontaneous-b57975ca-0d4f-4b66-bebd-e37c11d0d566"
},
"relationships": {
"artists": {
"data": [
{
"id": "12503",
"type": "artist"
}
]
},
"albums": {
"data": [
{
"id": "14594",
"type": "album"
}
]
}
}
},
"included": [
{
"id": "12503",
"type": "artist",
"attributes": {
"id": 12503,
"name": "Shamaya Lane",
"slug": "shamaya-lane"
},
"relationships": {}
},
{
"id": "64218",
"type": "track",
"attributes": {
"id": 64218,
"title": "Track 1",
"number": 1,
"isrc": "",
"album_id": 14594
},
"relationships": {}
},
{
"id": "64219",
"type": "track",
"attributes": {
"id": 64219,
"title": "Track 2",
"number": 2,
"isrc": "",
"album_id": 14594
},
"relationships": {}
},
{
"id": "14594",
"type": "album",
"attributes": {
"id": 14594,
"name": "Spontaneous",
"slug": "spontaneous-4eca16a2-680b-4923-9a80-83f9ce501d82",
"upc": "123456789012",
"release_id": 14652
},
"relationships": {}
}
]
}