Transform, cache, and route API requests with powerful mutations. Built on Cloudflare Workers for global edge performance.
Transform headers, query parameters, and body with 4 strategies: JSON mapping, JSONPath, templates, or custom JavaScript functions.
Cache responses with flexible vary-by configuration (path, method, headers, query params, body). Automatic TTL expiration.
Store API keys, base URLs, and secrets at the gateway level. Reference them in routes with template syntax.
Define dynamic routes with parameters (/users/:id) and wildcards (/api/*). Extract values for use in mutations.
Apply mutations based on conditions: header values, query params, request path, HTTP method, or response status.
Detailed logs with execution breakdown, timing analysis, cache hit/miss tracking, and mutation counts.
Inject API keys or tokens from gateway variables into proxied requests
{
"type": "add",
"key": "Authorization",
"value": "Bearer ${variables.API_KEY}"
}Rename fields for legacy API compatibility using JSON mapping
{
"type": "json-map",
"jsonMap": {
"firstName": "user.first_name",
"email": "user.email_address"
}
}Extract specific fields from response using JSONPath
{
"type": "json-path",
"jsonPath": {
"expression": "$.data.users[*].name",
"target": "userNames"
}
}