Song Of Today — API Documentation

Public GET endpoints. No API key required for the listed endpoints.

GET /v2/today

Query parameters: filter, genre

Parameters

  • filter — none, url, title, artist, thumbnail, redirect, lyrics
  • genre — global, pop, rock, electro, kpop, hardstyle, metal, german
fetch('https://api.songof.today/v2/today')
  .then(res => res.json())
  .then(console.log);

GET /v2/date/DATE

Date format: DD-MM-YYYY

Parameters

  • filter — none, url, title, artist, thumbnail, redirect, lyrics
  • genre — global, pop, rock, electro, kpop, hardstyle, metal, german
fetch('https://api.songof.today/v2/date/11-03-2023')
  .then(res => res.json())
  .then(console.log);

GET /v2/range/START_DATE/END_DATE

Date format: DD-MM-YYYY

fetch('https://api.songof.today/v2/range/01-03-2023/03-03-2023')
  .then(res => res.json())
  .then(console.log);

GET /v2/all

Supports pagination: page, limit

fetch('https://api.songof.today/v2/all')
  .then(res => res.json())
  .then(console.log);

GET /v2/lyrics/DATE

Date format: DD-MM-YYYY

fetch('https://api.songof.today/v2/lyrics/11-03-2023')
  .then(res => res.json())
  .then(console.log);