Skip to content

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 ​

  1. Upload files via the API or dashboard — HTML, CSS, JS, images, etc.
  2. Files are stored in your isolated S3 prefix (sites/{userId}/)
  3. Served via CloudFront at https://site.universalapi.co/{your-alias}/
  4. 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 status

Via Dashboard ​

Navigate to Site in the left sidebar to manage your files through the web UI.

Storage Quotas ​

TierStorage Limit
Free50 MB
Starter1 GB
Professional10 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 ​

URLDescription
https://site.universalapi.co/snowtimber/Homepage (serves index.html)
https://site.universalapi.co/snowtimber/about.htmlAbout page
https://site.universalapi.co/snowtimber/css/style.cssStylesheet
https://site.universalapi.co/snowtimber/images/logo.pngImage

Default Documents ​

  • Requests to directories (e.g., /snowtimber/blog/) automatically serve index.html
  • Requests without file extensions (e.g., /snowtimber/about) try about/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

Universal API - The agentic entry point to the universe of APIs