ccapi
🇺🇸English
  • 🇨🇳简体中文
  • 🇺🇸English
Home
Home
🇺🇸English
  • 🇨🇳简体中文
  • 🇺🇸English
🇺🇸English
  • 🇨🇳简体中文
  • 🇺🇸English
  1. Suno
  • OpenClaw + CCAPI LLM Integration Guide
  • claude code integration
  • codex cli integration
  • gemini cli integration
  • Chat
    • OpenAI
      • Create Chat Completion
      • Create Response
    • Google
      • Generate Content
      • Stream Generate Content
    • Anthropic
      • Create Message
    • DeepSeek
      • Create Chat Completion
    • MiniMax
      • Create Chat Completion
  • Image
    • nano banana
      • Generate Image
    • z-image-turbo
      • integration docs
    • seedream
      • integration doc
  • Video
    • seedance
    • vidu
  • Audio
    • Producer
      • Generate Music
      • Generate Lyrics
      • Extend Music
      • Create Cover
      • Create Variation
      • Replace Segment
      • Vocals Swap
      • Instrumentals Swap
      • Stem Separation
      • Download Audio
      • Upload Audio
      • Generate Video
      • Fetch Task Status
      • Batch Fetch Tasks
    • Suno
      • Generate Music
        POST
      • Fetch Task Status
        GET
      • Generate Lyrics
        POST
      • Extend Music
        POST
      • Create Cover
        POST
      • Extract Stems
        POST
      • Extract All Stems
        POST
      • Add Vocals
        POST
      • Add Instrumental
        POST
      • Replace Section
        POST
      • Remaster Song
        POST
      • Mashup
        POST
      • Sample Section
        POST
      • Generate Sounds
        POST
      • Generate MIDI
        POST
      • Upload Audio
        POST
      • Concatenate Music
        POST
      • Get Aligned Lyrics
        POST
      • Generate Music Video
        POST
      • Export as WAV
        POST
      • Create Voice Persona(unavailable)
        POST
      • Detect BPM
        POST
      • Extract Vocals
        POST
      • Upsample Tags
        POST
      • Batch Fetch Tasks
        POST
  1. Suno

Batch Fetch Tasks

POST
https://api.ccapi.ai//suno/fetch
Batch query persisted CCAPI suno task records by public task IDs.

Request#

Send a JSON body like {"ids":["task_xxx","task_yyy"]}.

Notes#

Only tasks that belong to the current token owner are returned
The response keeps the same persisted task shape as single-task fetch
This endpoint is useful for dashboard polling or retries

请求参数

Authorization
or
Body 参数application/json必填

示例
{
    "ids": [
        "task_7f11c4b772f44710ac0fae0d5b3dc4c1",
        "task_922f8fc9f24a4277ae858eb18ca2d0ef"
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ccapi.ai//suno/fetch' \
--header 'Content-Type: application/json' \
--data-raw '{
    "ids": [
        "task_7f11c4b772f44710ac0fae0d5b3dc4c1",
        "task_922f8fc9f24a4277ae858eb18ca2d0ef"
    ]
}'

返回响应

🟢200成功
application/json
Task list
Body

示例
{
    "code": "success",
    "message": "",
    "data": [
        {
            "id": 4,
            "created_at": 1773385996,
            "updated_at": 1773386004,
            "task_id": "task_xoHpRiNr8KXFmmXLWkKczlSJwycIkD1X",
            "platform": "suno",
            "user_id": 3,
            "group": "suno-A",
            "channel_id": 27,
            "quota": 40000,
            "action": "MUSIC",
            "status": "IN_PROGRESS",
            "fail_reason": "",
            "submit_time": 1773385996,
            "start_time": 1773386004,
            "finish_time": 0,
            "progress": "20%",
            "properties": {
                "input": "",
                "upstream_model_name": "suno_music",
                "origin_model_name": "suno_music"
            },
            "data": {
                "progress": "20%",
                "status": "IN_PROGRESS",
                "task_id": "abf7366c-e769-4cdd-be0f-256d10399f33"
            }
        },
        {
            "id": 4,
            "created_at": 1773385996,
            "updated_at": 1773386080,
            "task_id": "task_xoHpRiNr8KXFmmXLWkKczlSJwycIkD1X",
            "platform": "suno",
            "user_id": 3,
            "group": "suno-A",
            "channel_id": 27,
            "quota": 40000,
            "action": "MUSIC",
            "status": "SUCCESS",
            "fail_reason": "",
            "result_url": "https://cdn1.suno.ai/07c958f3-8293-4a11-96d3-240dd62bbb31.mp3",
            "submit_time": 1773385996,
            "start_time": 1773386004,
            "finish_time": 1773386080,
            "progress": "100%",
            "properties": {
                "input": "",
                "upstream_model_name": "suno_music",
                "origin_model_name": "suno_music"
            },
            "data": {
                "clips": [
                    {
                        "clip_id": "07c958f3-8293-4a11-96d3-240dd62bbb31",
                        "state": "completed",
                        "title": "Soft Steps in the Sun",
                        "tags": "pop, light, clean, indie pop, vocal",
                        "lyrics": "[Verse 1] Quiet street...",
                        "image_url": "https://cdn2.suno.ai/image_07c958f3-8293-4a11-96d3-240dd62bbb31.jpeg",
                        "audio_url": "https://cdn1.suno.ai/07c958f3-8293-4a11-96d3-240dd62bbb31.mp3",
                        "video_url": null,
                        "created_at": "2026-03-13T07:13:16.900Z",
                        "duration": 199.96,
                        "negative_tags": null,
                        "style_weight": null,
                        "weirdness_constraint": null,
                        "audio_weight": null
                    }
                ]
            }
        }
    ]
}
🟠400请求有误
🟠401未认证
修改于 2026-03-27 07:49:06
上一页
Upsample Tags
Built with