AR Hosting API Documentation
Free, fast and reliable media hosting service with Telegram integration. Upload images and videos directly or via URL with our simple API.
Fast Uploads
Upload and retrieve your media files in seconds with our optimized infrastructure.
Secure Storage
Your files are stored securely using Telegram's cloud storage infrastructure.
Telegram Integration
Upload files directly from Telegram using our dedicated bot for seamless integration.
API Documentation
Last Updated: April 23, 2025
This documentation provides a comprehensive guide on how to use the 𝗔𝘀𝗵𝗹𝘆𝗻𝗻 𝗥𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝘆 𝗔𝗣𝗜 to upload media files to the platform.
Endpoints
- POST
/upload
- Direct file upload via form data. - GET
/?url=[media_url]
- Uploads media from a specified URL.
Base URLs
- POST:
https://ar-hosting.pages.dev/upload
- GET:
https://ar-hosting.pages.dev/hosturl?url=[media_url]
POST Method
Description: Uploads a media file (image, video or any other type of media) directly using multipart/form-data, suitable for client-side form submissions.
Header: Content-Type: multipart/form-data
(Required)
Form Data Parameters
Parameter | Type | Required | Description |
---|---|---|---|
file |
file | Yes | The media file to be uploaded (image, video, or any other type of media) must not exceed 20MB in size. |
Usage Example
curl -X POST https://ar-hosting.pages.dev/upload -H "Content-Type: multipart/form-data" -F "file=@path/to/your/file.jpg"
GET Method
Description: Fetches and uploads media from a provided URL (image or video, up to 20MB).
Usage: GET /?url=[media_url]
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
url |
string | Yes | The media file URL to upload (image or video, max 20MB). |
Usage Example
https://ar-hosting.pages.dev/hosturl?url=https://example.com/path/to/media.jpg
Notes
- POST Method: Best for uploading files from client-side forms.
- GET Method: Suitable for uploading media files hosted online; the server retrieves the file directly from the specified URL.
Telegram Bot Integration
Now you can directly upload media from Telegram to AR Hosting using our dedicated Telegram bot @AR_UrlUploaderBot.
How to Use the Telegram Bot
- Start a chat with @AR_UrlUploaderBot on Telegram
- Send any image, video or Media file directly to the bot
- OR send a URL containing a media file, our bot will automatically upload it directly to your Telegram chat
- The bot will process your request and return the AR Hosting URL
Bot Commands
Command | Description |
---|---|
/start |
Get welcome message and instructions |
/help |
Show help information |
About Us
Welcome to 𝗔𝗥 𝗛𝗼𝘀𝘁𝗶𝗻𝗴 — your trusted platform for free image, video, and media hosting. Designed with an emphasis on 𝘀𝗶𝗺𝗽𝗹𝗶𝗰𝗶𝘁𝘆, 𝘀𝗽𝗲𝗲𝗱, 𝗮𝗻𝗱 𝘀𝗲𝗰𝘂𝗿𝗶𝘁𝘆, AR Hosting offers a seamless and efficient experience for uploading and sharing media content. Developed by 𝗔𝘀𝗵𝗹𝘆𝗻𝗻 𝗥𝗲𝗽𝗼𝘀𝗶𝘁𝗼𝗿𝘆, our service is built on a foundation of robust privacy protections to ensure your data remains safe and secure.
Our platform utilizes Telegram's cloud storage infrastructure to ensure your media remains secure and easily accessible, whenever and wherever you need it.
About Ashlynn Repository: Ashlynn Repository is a Telegram channel managed by Aarabh, known as itz_ashlynn, who specializes in developing advanced Telegram bots, APIs, and web applications. You can explore all the latest tools and projects on their channel on Telegram: Ashlynn Repository.
Disclaimer: AR Hosting is an independent project created solely for educational purposes and is not affiliated with or endorsed by Telegram. Users are solely responsible for the content they upload; AR Hosting does not claim any rights over user-uploaded media. By using our platform, users agree that they retain all responsibility for compliance with copyright laws and regulations.