Introduction
OpenEdge is a commercial API service platform built on Cloudflare. It gives users one control plane for API keys, service instances, billing, rate limits, usage logs, and third-party connections.
The platform is already deployed at:
API base URL: https://api.open4x.com
Console: https://console.open4x.comWhat OpenEdge Provides
OpenEdge is not just a reverse proxy. It is a SaaS layer around a group of services:
| Area | What it does |
|---|---|
| Authentication | JWT for console sessions and hashed API keys for service calls. |
| Service instances | Users can create aliases such as ai/default, webhook-push/ops, or tron/mainnet. |
| Billing | Paid service calls check balance, create transactions, and refund failed work. |
| Connected Accounts | Third-party provider keys are encrypted once and reused across services. |
| Observability | Usage logs, analytics, request IDs, and operational status checks. |
Available Services
| Service | Status | API prefix |
|---|---|---|
| File Service | Available | /v1/apps/file |
| Bot Service | Available | /v1/apps/bot |
| Webhook Push | Available | /v1/apps/webhook-push |
| TRON Energy Lease | Available | /v1/apps/tron |
| AI Model Gateway | MVP available | /v1/apps/ai |
| SocialOps | Console MVP available | /v1/apps/socialops |
| Connected Accounts | Available in console | /console/connections |
Quick Start
- Open the Console.
- Create or sign in to an account.
- Create a service instance from the Service Marketplace.
- Generate an API key with the scopes required by that service.
- Call an endpoint under
https://api.open4x.com/v1/apps.
Example request:
curl -X POST https://api.open4x.com/v1/apps/webhook-push/default/send \
-H "X-API-Key: sk_xxx" \
-H "Content-Type: application/json" \
-d '{
"title": "Order Paid",
"text": "Order 10001 has been paid"
}'Authentication Model
Use API keys for server-side integrations:
X-API-Key: sk_xxxUse JWT only for console-authenticated workflows:
Authorization: Bearer <token>API keys are shown once. OpenEdge stores key hashes, not raw API keys.
Billing Model
OpenEdge uses prepaid balance as the first commercial model. Paid services check balance before execution. Services with uncertain final cost, such as AI and TRON energy leasing, use estimated charges, final settlement, and refunds when needed.
Read Pricing and Billing before exposing paid APIs to customers.