Appearance
Website Hosting
Publish static websites directly from UniversalAPI. Every user gets a personal site at https://site.universalapi.co/{your-alias}/ — perfect for portfolios, documentation, dashboards, or any static content.
How It Works
- Upload files via the API or dashboard — HTML, CSS, JS, images, etc.
- Files are stored in your isolated S3 prefix (
sites/{userId}/) - Served via CloudFront at
https://site.universalapi.co/{your-alias}/ - Agents can build sites using the MCP tools (
site_upload,site_list, etc.)
Quick Start
Via API (curl)
bash
# Upload an index.html
curl -X POST https://api.universalapi.co/website/upload \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"fileName": "index.html",
"content": "<html><body><h1>Hello World!</h1></body></html>",
"contentType": "text/html"
}'
# View your site
# https://site.universalapi.co/your-alias/Via MCP Server (Agent)
Agents connected to the universalapi-full MCP server can use:
site_upload — Upload files to your site
site_list — List files in your site
site_delete — Delete files from your site
site_info — Get your site URL and statusVia Dashboard
Navigate to Site in the left sidebar to manage your files through the web UI.
Storage Quotas
| Tier | Storage Limit |
|---|---|
| Free | 50 MB |
| Starter | 1 GB |
| Professional | 10 GB |
URL Structure
Your site is served at:
https://site.universalapi.co/{alias}/{path}{alias}— Your UniversalAPI username/alias{path}— File path within your site
Examples
| URL | Description |
|---|---|
https://site.universalapi.co/snowtimber/ | Homepage (serves index.html) |
https://site.universalapi.co/snowtimber/about.html | About page |
https://site.universalapi.co/snowtimber/css/style.css | Stylesheet |
https://site.universalapi.co/snowtimber/images/logo.png | Image |
Default Documents
- Requests to directories (e.g.,
/snowtimber/blog/) automatically serveindex.html - Requests without file extensions (e.g.,
/snowtimber/about) tryabout/index.html
Supported File Types
- Web: HTML, CSS, JavaScript, JSON, XML, Markdown
- Images: PNG, JPEG, GIF, SVG, WebP, AVIF, ICO
- Fonts: WOFF, WOFF2, TTF, OTF
- Documents: PDF
- Media: MP4, WebM, MP3, OGG
- Other: WASM, Web Manifests
Security
- Write isolation: You can only upload to your own site prefix
- Public read: All published sites are publicly accessible (no authentication needed to view)
- No executable code: Sites are static only — no server-side execution
- HTTPS only: All sites served over TLS
Pricing
- Site management (upload, list, delete): Free — no credits charged
- Storage: Included in your subscription tier quota
- Bandwidth: Included — served via CloudFront CDN
Use Cases
- 🌐 Personal portfolios — Showcase your work
- 📚 Documentation sites — Host project docs
- 📊 Dashboards — Publish data visualizations
- 🤖 Agent-generated content — Let AI agents build and publish websites
- 🧪 Prototypes — Quick HTML/CSS/JS experiments
- 📝 Blogs — Simple static blogs