Skip to main content
StashFyle

What is StashFyle?

StashFyle is a file storage API that wraps Cloudflare R2. No SDKs required, no complex dashboards—just a curl-friendly API with indie pricing. Skip the S3/IAM/CORS dance. One API key, one endpoint, done.

Why StashFyle?

No SDK Required

Works from curl, Python, Go, Ruby, PHP—anything that can make HTTP requests.

Simple Pricing

Flat monthly tiers. No calculator needed, no surprise bills.

Zero Egress Fees

Powered by Cloudflare R2. Download your files as much as you want.

Private Files

Generate signed URLs for private files with custom expiration.

Quick Example

Upload a file in one line:
curl -X POST https://api.stashfyle.com/v1/upload \
  -H "Authorization: Bearer sk_live_xxx" \
  -F "file=@photo.jpg"
Response:
{
  "id": "f_abc123xyz",
  "url": "https://cdn.stashfyle.com/live/user_id/f_abc123xyz/photo.jpg",
  "name": "photo.jpg",
  "size": 248000,
  "type": "image/jpeg",
  "created_at": "2024-01-15T10:30:00Z"
}

Next Steps