ISRC to artwork
If your catalogue already keys on ISRC, you can skip the search step entirely and hit /cover directly.
The single call
cURL
curl 'https://api.synkradio.co.uk/cover?isrc=GBUM71505078' \
-H 'User-Agent: [email protected]' \
-o cover.jpgThe response is the raw image. Pipe it into a file, your CDN or an in-memory buffer.
When you do not have an ISRC yet
Call /track/info once, store the ISRC against your internal track ID, and from then on every artwork or lyrics request becomes a single call with no lookup overhead.
JavaScript
const { isrc } = await fetch(
`https://api.synkradio.co.uk/track/info?artist=${a}&title=${t}`,
{ headers: { 'User-Agent': '[email protected]' } }
).then((r) => r.json());
await db.tracks.update({ id: track.id }, { isrc });ISRCs are stable, so this is safe to cache forever. The API itself caches /cover responses on the edge for 24 hours.