Skip to main content
GET
/
suno
/
fetch
/
{id}
Suno fetch
curl --request GET \
  --url https://openp.ai/suno/fetch/{id}
import requests

url = "https://openp.ai/suno/fetch/{id}"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://openp.ai/suno/fetch/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://openp.ai/suno/fetch/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://openp.ai/suno/fetch/{id}"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://openp.ai/suno/fetch/{id}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://openp.ai/suno/fetch/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
Get the current status and result of a Suno music-generation task.

Request

curl https://openp.ai/suno/fetch/task_01... \
  -H "Authorization: Bearer $OPENPAI_API_KEY"

Response

{
  "code": "success",
  "data": {
    "task_id": "task_01...",
    "status": "SUCCESS",
    "progress": 100,
    "clips": [
      {
        "id": "clip_a",
        "title": "Rainy Night",
        "audio_url": "https://...mp3",
        "video_url": "https://...mp4",
        "image_url": "https://...png",
        "duration": 180,
        "lyric": "...",
        "tags": "lofi, hiphop",
        "model_name": "chirp-v4"
      },
      {
        "id": "clip_b",
        "title": "Rainy Night",
        "audio_url": "https://...mp3",
        "duration": 175
      }
    ]
  }
}

status

ValueMeaning
PENDINGIn the queue
TEXT_GENERATINGGenerating lyrics
FIRST_SUCCESSThe first segment is ready (streamable)
STREAMINGStreaming generation in progress
SUCCESSAll complete
FAILUREFailed

Batch query

curl -X POST https://openp.ai/suno/fetch \
  -H "Authorization: Bearer $OPENPAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ids":["task_01","task_02"]}'

Notes

  • Links like audio_url / video_url are usually accessible for only 24-48 hours — download them to your own storage promptly.
  • A task usually completes in 1-3 minutes; long tracks (continuations) may take longer.
  • For failed tasks, check failure_reason first; common causes: upstream overload, upstream rejection, lyrics too long.