How to Get a Suno API Key — Step-by-Step Guide
Suno AI has no official API. No developer portal, no self-service key, no public endpoints. If you want to generate music programmatically, you need a third-party API key.
Here's how to get one in under two minutes.
Does Suno Have an API?
No. Suno does not offer a public API. There's no developer console on suno.com, no API key page, and no official way to generate music programmatically.
Third-party services like Sunor fill this gap. Sunor provides a REST API wrapper around Suno's music generation models, giving developers standard API access with key-based authentication. It's unofficial — not affiliated with Suno Inc. — but it's the simplest way to get programmatic access to Suno V5.5.
How to Get a Suno API Key
Getting your key takes three steps:
Step 1: Create an account. Go to sunor.cc/login and sign in with Google. No email forms, no waitlist.
Step 2: Go to API Keys. In your dashboard, click API Keys in the sidebar.
Step 3: Create your key. Click Create API Key, give it a name, and copy it immediately. The key (format: sk_live_...) is shown only once. If you lose it, delete and create a new one.
That's it. You now have a working Suno API key.
Your First API Call
Use your key to generate a song:
curl -X POST https://sunor.cc/api/v1/task \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"model": "suno",
"task_type": "music",
"input": {
"gpt_description_prompt": "An upbeat acoustic folk song about road trips",
"make_instrumental": false
}
}'You'll get back a task_id. Poll for the result:
curl https://sunor.cc/api/v1/task/YOUR_TASK_ID \
-H "x-api-key: YOUR_API_KEY"When status is "success", the response includes audio_url with your generated song. Generation typically takes 15–30 seconds.
In Python:
import requests, time
API_KEY = "YOUR_API_KEY"
headers = {"x-api-key": API_KEY, "Content-Type": "application/json"}
# Create task
task = requests.post("https://sunor.cc/api/v1/task", headers=headers, json={
"model": "suno",
"task_type": "music",
"input": {"gpt_description_prompt": "An upbeat acoustic folk song about road trips"}
}).json()
# Poll until done
task_id = task["data"]["task_id"]
while True:
result = requests.get(f"https://sunor.cc/api/v1/task/{task_id}", headers=headers).json()
if result["data"]["status"] in ("success", "failure"):
break
time.sleep(5)
print(result["data"]["output"])Full API reference: docs.sunor.cc
How Much Does a Suno API Key Cost?
Sunor uses pay-as-you-go pricing. No subscription, no monthly fees.
| Task | Credits | Cost |
|---|---|---|
| Music generation | 10 | $0.10 |
| Lyrics generation | 5 | $0.05 |
| Audio upload | 1 | $0.01 |
| Clip concatenation | 5 | $0.05 |
1 credit = $0.01 USD. Minimum top-up is $5 (500 credits). Failed generations are automatically refunded — you only pay for successful output.
Full pricing details: sunor.cc/pricing
Can You Get a Free Suno API Key?
Yes. Every new account gets 25 free credits — enough for 2 full song generations and a lyrics generation. No credit card required.
Sign up, grab your key, and test it immediately. If you want to try Suno's output quality before writing any code, use the Playground — it generates music in your browser, no API key needed.
Get Started
- Get your API key at sunor.cc/dashboard/api-keys
- Try without code in the Playground
- Read the docs at docs.sunor.cc
25 free credits. No subscription. Start generating.
For pricing across third-party Suno API providers, see Suno API Pricing in 2026: What You Actually Pay (And Why It Varies).
Sunor is an unofficial Suno API wrapper — not affiliated with, endorsed by, or officially connected to Suno Inc.
Last updated: 2026-06-04.