Start free
Free tool

API endpoint normalizer

Raw paths like /v1/orders/123 and /v1/orders/456?expand=items are the same endpoint. Paste one method + path per line (or an OpenAPI paths JSON object, or YAML path lines) to see the endpoint key API Meter groups them under. It runs entirely in your browser: nothing is sent or stored.

MethodPathEndpoint key

The rules

OpenAPI templates like {id} are not special-cased; they stay as written, which is fine because real traffic never contains braces.

Send a request through the proxy


Everything after /p/<slug> is forwarded to your origin, query string included. The normalized key is only what gets counted.

Tag the customer and plan at your origin

Set two response headers; the proxy reads and strips them. Full guide: Express, FastAPI and Hono.

// Express
res.set("X-MSA-Customer-Id", acct.customerId);
res.set("X-MSA-Plan", acct.plan);

# FastAPI middleware
response.headers["X-MSA-Customer-Id"] = acct.customer_id
response.headers["X-MSA-Plan"] = acct.plan

// Hono on a Cloudflare Worker
c.header("X-MSA-Customer-Id", acct.customerId);
c.header("X-MSA-Plan", acct.plan);

What the stats look like (example)

Example only. These numbers are made up from the paths above. Real numbers come from /api/stats for your slug, shown in the dashboard. Fields shown are a subset.


Start free, no SDK Read the docs

Related: Integrations · API pricing calculator · Plan limit & overage calculator · Cloudflare API analytics without an SDK