Next.js GET Proxy Route Generator

GETRate Limitx-api-key

Generates a Next.js route.ts that validates query params, applies rate limiting, calls an upstream GET API with x-api-key, and normalizes the upstream response.

BASE_URLJEF_ONE_API_KEYforce-dynamiccache: no-store
Method
GET
Query
1
Responses
3
Proxy
yes
Setup
Upstream path
The generated route uses:
process.env.BASE_URL
process.env.JEF_ONE_API_KEY
Query Params
Example: { "api_name": "string", "page": "number" }
Responses
Supports primitive type strings and primitive literals like "exists": true.
Generated route.ts
Includes rate limiting, env checks, query param validation, upstream GET fetch,x-api-key, and response normalization.