Narrow API wraps third-party APIs in scoped, safe proxy endpoints. Your agent gets a single URL and token—your credentials never leave the server.
{ "name": "Send welcome email", "method": "POST", "target_url": "https://api.resend.com/emails", "auth_type": "bearer", "auth_value": "re_abc...secret", // Agent can only set "to" — from, subject, and body are protected "input_schema": [ { "name": "to", "type": "string", "required": true } ] }
Pre-built templates for the APIs your agents actually use. Define once, share a scoped endpoint.
Agent can send emails but can't change the sender, access the API key, or hit any other Resend endpoint.
Agent can issue refunds for specific charges but can't access balances, customers, or any other Stripe resource.
Pick the API, lock credentials server-side, and declare which input fields the agent can fill in.
Generate a token that grants access to just the actions you choose. Revoke it any time with one click.
Your agent calls POST /x/:id with the token. Narrow API validates, proxies, and logs every call.
Constrain parameters. Prevent surprises. Every feature exists to give you control over what your agents can do—and visibility into what they actually did.
Every proxy call is logged with request body, response status, duration, and IP. Filter by status, time window, and paginate through history.
Revoke any token or deactivate any action immediately. Access stops within milliseconds—no waiting, no stale caches.
Each token grants access to specific actions only. An agent with a send-email token can't trigger a refund—even if it knows the endpoint.
Set per-minute and per-hour limits on every action. If an agent enters a loop, rate limiting stops it before real damage happens.
Define required fields, types, and schemas. Invalid payloads are rejected at the proxy before they ever reach the downstream API.
API keys and auth headers are AES-256-GCM encrypted. They exist only on the server—never in agent prompts, logs, or network traffic.
Narrow API exposes a full management API with OpenAPI spec and llms.txt discovery. Your coding agent can create actions, issue tokens, and set up everything it needs—programmatically.
/.well-known/openapi.json
Create your first scoped action in under a minute. Free to start, no credit card required.
Get started freeAlready have an account? Sign in