Enterprise API Documentation
Integrate Glashaus IPFS pinning into your applications.
RESTful API with OAuth2, scoped permissions, audit logging, and rate limiting for enterprises.
Quick Start
API Endpoints
API Key Management
List your API keys (requires session)
Create a new API key (requires session)
Revoke an API key (requires session)
Web Management
Check storage quota and usage
Download or view IPFS content
Upload files (TUS resumable protocol)
IPFS CLI Proxy
Use standard IPFS CLI commands directly with Glashaus. All operations are authenticated and quota-enforced.
Upload files with automatic pinning
Pin content by CID
Unpin content
List your pins
Authentication
Use Basic Auth with your API key (set NEXT_PUBLIC_URL from .env):
# Configure with your environment
export API_URL="https://glashaus.xyz"
export API_KEY="sk_your_api_key"
# Configure IPFS
ipfs config Addresses.API "$API_URL"
# Use standard IPFS commands with authentication
ipfs --api-auth basic:$API_KEY: add myfile.txt
ipfs --api-auth basic:$API_KEY: pin add bafybeig5...
ipfs --api-auth basic:$API_KEY: pin lsDocumentation
Full API Reference
Complete endpoint documentation with request/response examples.
IPFS CLI Integration
Use standard IPFS commands with Glashaus. Configure your CLI to use our proxy.
Authentication
Learn about API keys, Basic Auth, and session-based authentication.
Rate Limiting & Quotas
Understand quota enforcement and best practices for your application.
Manage Your API Keys
Create, view, and revoke API keys from your developer dashboard. All keys are securely hashed and you can set scoped permissions.
Go to API KeysNeed Help?
Can't find what you're looking for? Our support team is here to help.