Loading...
—
0
requests today
free
API Keys
—
Today
—
This Week
—
All Time
—
Active Keys
Active Key
—
Daily Limit
Resets at midnight
free
0
of 10
0% used
10 remaining
Running low!
Upgrade for more requests →
Quick Actions
Create API Key
Generate a new access key
Request Logs
View full history
Wallet & Plans
Manage subscription
Settings
Account & appearance
Quick Start
First call in under 60 seconds
v1.0
Base URL
Loading...
copy
cURL
Python
JavaScript
Node.js
terminal
copy
# Audio stream URL
$
curl
"https://your-domain.com/api/audio?api_key=YOUR_KEY&video_id=dQw4w9WgXcQ"
# Video stream URL
$
curl
"https://your-domain.com/api/video?api_key=YOUR_KEY&video_id=dQw4w9WgXcQ"
python
copy
import
requests
BASE_URL
=
"https://your-domain.com"
API_KEY
=
"YOUR_KEY"
# Get audio stream
res = requests.
get
(
f"{BASE_URL}/api/audio"
, params={
"api_key"
:
API_KEY
,
"video_id"
:
"dQw4w9WgXcQ"
} ) data = res.
json
()
print
(data[
"url"
])
# direct stream URL
javascript (browser)
copy
const
BASE_URL
=
"https://your-domain.com"
;
const
API_KEY
=
"YOUR_KEY"
;
// Get audio stream URL
const
res =
await
fetch(
`${
BASE_URL
}/api/audio?api_key=${
API_KEY
}&video_id=dQw4w9WgXcQ`
);
const
{ url, title, duration } =
await
res.
json
(); console.
log
(url);
// stream directly
node.js
copy
const
axios =
require
(
"axios"
);
const
BASE_URL
=
"https://your-domain.com"
;
const
API_KEY
=
"YOUR_KEY"
;
async function
getAudioUrl
(videoId) {
const
{ data } =
await
axios.
get
(
`${
BASE_URL
}/api/audio`
, { params: { api_key:
API_KEY
, video_id: videoId } });
return
data.url; }
getAudioUrl
(
"dQw4w9WgXcQ"
).
then
(console.
log
);
200 OK
response · application/json
{
"url"
:
"https://stream.nottyapi.com/file/..."
,
"title"
:
"Never Gonna Give You Up"
,
"duration"
:
213
,
"format"
:
"mp3"
,
"quality"
:
"128kbps"
}
Recent Requests
Last 5 API calls
View All →