Skip to content

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:

text
API base URL: https://api.open4x.com
Console:      https://console.open4x.com

What OpenEdge Provides

OpenEdge is not just a reverse proxy. It is a SaaS layer around a group of services:

AreaWhat it does
AuthenticationJWT for console sessions and hashed API keys for service calls.
Service instancesUsers can create aliases such as ai/default, webhook-push/ops, or tron/mainnet.
BillingPaid service calls check balance, create transactions, and refund failed work.
Connected AccountsThird-party provider keys are encrypted once and reused across services.
ObservabilityUsage logs, analytics, request IDs, and operational status checks.

Available Services

ServiceStatusAPI prefix
File ServiceAvailable/v1/apps/file
Bot ServiceAvailable/v1/apps/bot
Webhook PushAvailable/v1/apps/webhook-push
TRON Energy LeaseAvailable/v1/apps/tron
AI Model GatewayMVP available/v1/apps/ai
SocialOpsConsole MVP available/v1/apps/socialops
Connected AccountsAvailable in console/console/connections

Quick Start

  1. Open the Console.
  2. Create or sign in to an account.
  3. Create a service instance from the Service Marketplace.
  4. Generate an API key with the scopes required by that service.
  5. Call an endpoint under https://api.open4x.com/v1/apps.

Example request:

bash
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:

http
X-API-Key: sk_xxx

Use JWT only for console-authenticated workflows:

http
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.