API Gateway as a Service

Transform, cache, and route API requests with powerful mutations. Built on Cloudflare Workers for global edge performance.

Powerful Features

🔄

Request/Response Mutations

Transform headers, query parameters, and body with 4 strategies: JSON mapping, JSONPath, templates, or custom JavaScript functions.

Intelligent Caching

Cache responses with flexible vary-by configuration (path, method, headers, query params, body). Automatic TTL expiration.

🔑

Gateway Variables

Store API keys, base URLs, and secrets at the gateway level. Reference them in routes with template syntax.

🛤️

Path Parameters

Define dynamic routes with parameters (/users/:id) and wildcards (/api/*). Extract values for use in mutations.

🎯

Conditional Mutations

Apply mutations based on conditions: header values, query params, request path, HTTP method, or response status.

📊

Full Observability

Detailed logs with execution breakdown, timing analysis, cache hit/miss tracking, and mutation counts.

Common Use Cases

Add Authentication Headers

Inject API keys or tokens from gateway variables into proxied requests

{
  "type": "add",
  "key": "Authorization",
  "value": "Bearer ${variables.API_KEY}"
}

Transform Request Body

Rename fields for legacy API compatibility using JSON mapping

{
  "type": "json-map",
  "jsonMap": {
    "firstName": "user.first_name",
    "email": "user.email_address"
  }
}

Filter Response Data

Extract specific fields from response using JSONPath

{
  "type": "json-path",
  "jsonPath": {
    "expression": "$.data.users[*].name",
    "target": "userNames"
  }
}

Ready to transform your APIs?

Deploy your first gateway in minutes

Get Started Now