Hazex API
398 subscribers
4 links
🎉 Welcome to the Hazex API!

🌐 Discover a world of free APIs with no keys required, Join us now!

💬 Support Chat: @HazexApiChat

🧑🏻‍💻 Coded and Owned by @MrHazex
Download Telegram
📔 API Name: YouTube Video Search

🔗 API URL:
https://yt-search.hazex.workers.dev/

Action: Search YouTube Video and Get Results in List With All Details (Title, Description, etc...)

🔻 Request Method: GET (JSON)

🔮 Parameters:
q: query (required)
sort: Order by Type (Default: r)
r: Relevance
p: Views Count
v: Ratings
d: Date Uploaded
t: Title

💠 Example:
https://yt-search.hazex.workers.dev/?q=Mr+beast&sort=p

©️ Copy Claims By:
@HazexAPI

⚠️ Views Is Not Real Time
3🔥2
📔 API Name: YouTube Video and Audio Downloader

🔗 API URL:
https://yt-vid.hazex.workers.dev/

Action: Get YouTube Video Download URL with Audio, Video Only, Audio and Multiple Quality Options

🔻 Request Method: GET (JSON)

🔮 Parameters:
url: YouTube Video URL (required)

💠 Example:
https://yt-vid.hazex.workers.dev/?url=https://youtube.com/watch?v=xyz

©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
👍4🔥3
💡Give New API Ideas
📔 API Name: Chat GPT API

🔗 API URL:
https://chat-gpt.hazex.workers.dev/

Action: Chat GPT API Which Can Response According to Previous Message

🔻 Request Method: POST (JSON)

🔮 JSON Body Parameters:
gpt: All GPT's responses in array
user: User's only new message (required)

💠 Parameter Example:
{
"gpt": ["Hello! How can I assist you today?", "2 + 2 equals 4."],
"user": "Add 5 more"
}


©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
👍62
🤖 Chat GPT TPY Code

🚀 Command: *

🛠 Code:
url = "https://chat-gpt.hazex.workers.dev/" 
lastResponse = User.getData("GptMsg")
if lastResponse is None:
lastResponse = []

data = {
"gpt": lastResponse,
"user": str(message.text)
}

response = HTTP.post(url, json=data)

if response.status_code == 200:
get = bunchify(response.json())
ans = get.answer
bot.replyText(chat_id=u, text=ans, parse_mode="markdown")
lastResponse.append(str(ans))
if len(lastResponse) > 8:
lastResponse.pop(0)
User.saveData("GptMsg", lastResponse)
else:
bot.replyText(u, response.json())


🧑🏻‍💻 Developer: @MrHazex
‼️ Error & Support:
@HaxexApiChat
👍51
📔 API Name: Gemini API

🔗 API URL:
https://gemini.hazex.workers.dev/

Action: Get Response From Gemini AI in Markdown

🔻 Request Method: GET (JSON)

🔮 Parameters:
ques: Question to ask Gemini (required)

💠 Example:
https://gemini.hazex.workers.dev/?ques=hi

©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
👍5🔥1
📔 API Name: TikTok Video Downloader

🔗 API URL:
https://tiktok-dl.hazex.workers.dev/

Action: Get TikTok Video Download URL Without Watermark, Audio, Thumbnail, Title etc...

🔻 Request Method: GET (JSON)

🔮 Parameters:
url: TikTok Video URL (required)

💠 Example:
https://tiktok-dl.hazex.workers.dev/?url=https://vt.tiktok.com/ABC

🔰 Response:
└ result
├ title: Video Title
├ download_url:
├ without_watermark: Video URL Without Watermark
└ with_watermark: Video URL With Watermark
├ audio: Video's Audio URL (mp3)
├ thumbnail: Thumbnail URL
├ profile_name: Uploader Name
├ username: Uploader Username
├ profile_image: Uploader Profile Image
└ profile_image_hd: Uploader Profile Image in HD


©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
6🔥2
📔 API Name: Instagram Reels and Medias Downloader

🔗 API URL:
https://insta-dl.hazex.workers.dev/

Alternate:
https://social-dl.hazex.workers.dev/?url=

Action: Get Instagram Video and Media Download URL, Duration, Size etc...

🔻 Request Method: GET (JSON)

🔮 Parameters:
url: Instagram Reel or Media URL (required)

💠 Example:
https://insta-dl.hazex.workers.dev/?url=https://instagram.com/reel/ABC

🔰 Response:
└ result
├ duration: Video Duration in Standardized Way
├ quality: Video or Media Quality
├ extension: Video or Media Extension
├ size: Video or Media Size in Bytes
├ formattedSize: Video or Media Formatted Size
└ url: Video or Media Download URL


©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
🔥63
📔 API Name: DaFont API

🔗 API URL:
https://da-font.hazex.workers.dev/

Action: Search and download fonts from dafont

🔻 Request Method: GET (JSON)

🔮 Parameters:
q: Search Query (required)
page: Page Number (Default: 1)
previewText: Custom Text For Preview Image (optional)

💠 Example:
https://da-font.hazex.workers.dev/?q=serif&previewText=Hazex&page=2

🔰 Response:
└ result:
├ fontName: Name of the font
├ downloadUrl: Download URL of Font File (ZIP)
├ previewImg: Font Preview Image (PNG)
├ totalDownloads: Total Downloads of Font
├ yesterdayDownloads: Yesterday Downloads of Font
└ license: Font is copyrighted or not


©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
👍51🥰1
📔 API Name: Chat GPT 4 API

🔗 API URL:
https://gpt.hazex.workers.dev/

Action: Get Response From GPT in Markdown (Data Upto OCT 2023)

🔻 Request Method: GET (JSON)

🔮 Parameters:
ques: Question to ask GPT *

💠 Example:
https://gpt.hazex.workers.dev/?ques=hi

©️ Copy Claims By:
@HazexAPI

💬 Support Chat:
@HazexApiChat
🔥6😘31
📔 API Name: AI Image Generator (Direct Image)

🔗 API URL:
https://img.hazex.workers.dev/

Action: Generate direct image with text, high quality, dimension, improve feature

🔻 Request Method: GET (JSON)

🔮 Parameters:
prompt: Prompt To Generate Image *
improve: Improve Image (Df: false)
random: Random String To Prevent From Cache
format: Dimension (Default: square)
wide = 1024×576 [ 16:9 ]
tall = 576×1024 [ 9:16 ]
square = 768×768 [ 1:1 ]

💠 Example:
https://img.hazex.workers.dev/?prompt=car&improve=true&format=wide&random=Hj6Fq19j

☑️ Success Status Code: 200

©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
🔥3👍2
📔 API Name: AI Image Generator

🔗 API URL:
https://img-gen.hazex.workers.dev/

Action: Generate direct image with text, high quality, dimension, improve feature

🔻 Request Method: GET (JSON)

🔮 Parameters:
prompt: Prompt To Generate Image *
improve: Improve Image (Df: false)
format: Dimension (Default: square)
wide = 1024×576 [ 16:9 ]
tall = 576×1024 [ 9:16 ]
square = 768×768 [ 1:1 ]

💠 Example:
https://img-gen.hazex.workers.dev/?prompt=car&improve=true&format=wide

🚀 Added New Features
1. Time Taken in Sec
2. Image URL in Two Quality
3. Image Size Added
4. Faster Than Previous
5. NSFW Supported

©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
🔥10👍52🥰2👏1
📔 API Name: Face Swap

🔗 API URL:
https://face-swap.hazex.workers.dev/

Action: Swap face of Image with other face, smoothly

🔻 Request Method: GET (JSON)

🔮 Parameters:
function: Function To Create and Check Task *
create_task: Create Task With Image URLs
check_task: Check Task By TaskID

───────────────────────
🔸IF
create_task:
target_img: Target/Main Image URL*
face_img: Face Image URL To Add in Target*

• Example:
https://face-swap.hazex.workers.dev/?function=create_task&face_img=face_image_url&target_img=target_image_url
───────────────────────
🔸IF
check_task:
task_id: Task ID To Get Result Image*

• Example:
https://face-swap.hazex.workers.dev/?function=check_task&task_id=task_id_from_first_api
───────────────────────

⚠️ Important Info:
Always use valid image URL
After getting successful result image from task id, then task id will expires
Tasks can take 2 seconds to swap image successfully

©️ Copy Claims By:
@HazexAPI

💬 Support Chat: @HazexApiChat
Please open Telegram to view this post
VIEW IN TELEGRAM
7👍33🤩2
🎉 Hazex is back!

Can you spot which API is currently down? Let us know, and tell us what the next API will be!
Please open Telegram to view this post
VIEW IN TELEGRAM
9👍3
📔 API Name: YouTube Video Downloader 4k Quality

🔗 API URL: https://yt-dl.hazex.workers.dev/

Action: Download YouTube Video With Every Quality Option (Video With Audio)

🔻 Request Method: GET (JSON)

🔮 Parameters:
function: Function To Create and Check Task *
get_task: Get YouTube Video Details and Hash
create_task: Create Task To Start Converting
check_task: Check Task Status By Task Id

───────────────────────
🔸IF
get_task:
url: YouTube Video URL*

• Example:
https://yt-dl.hazex.workers.dev/?function=get_task&url=YT_VID_URL

───────────────────────
🔸IF
create_task:
hash: Hash To Create Task*

• Example:
https://yt-dl.hazex.workers.dev/?function=create_task&hash=HASH

───────────────────────
🔸IF
check_task:
task_id: Task ID To Check Status and Get Download URL*

• Example:
https://yt-dl.hazex.workers.dev/?function=check_task&task_id=TASK_ID

───────────────────────

⚠️ Important Info:
Always use valid URL
Hash Will Expire in 2 Hours After Creation
Tasks can take more time for Higher quality
Get hash From get_task function and task_id from create_task function

©️ Copy Claims By: @HazexAPI

💬 Support Chat: @HazexApiChat
Please open Telegram to view this post
VIEW IN TELEGRAM
👍765👏2
📔 API Name: Chat GPT 4 API

🔗 API URL:
https://chatgpt-4-hazex.vercel.app/api

Action: Get Response From GPT in Markdown (Acccurate Data Upto OCT 2023 and Also of 2024)

🔻 Request Method: GET (JSON)

🔮 Parameters:
ques: Question to ask GPT *

🔻 Example:
https://chatgpt-4-hazex.vercel.app/api?ques=TEXT

©️ Copy Claims By:
@HazexAPI

💬 Support Chat:
@HazexApiChat
3119👍6🥰21