Skip to main content
The Nango Proxy lets you make authenticated requests to any external API without managing tokens, API keys, or OAuth refresh logic in your application. You send the request to Nango with a connection ID, and Nango injects the right credentials, forwards the request, and returns the response.

When to use the proxy

Use the proxy when:
  • You need a quick, one-off API call without deploying a function
  • Your integration logic lives in your application code rather than Nango
  • You want centralized logging and retries for ad-hoc API calls
Use functions when:
  • You need to run complex multi-step logic
  • You want to cache or transform data before it reaches your app
  • You need incremental data fetching with checkpoints

How it works

Instead of calling an external API directly, you call Nango’s proxy endpoint with the same HTTP method, path, and body. Nango:
  1. Looks up the connection by providerConfigKey and connectionId
  2. Retrieves and refreshes credentials as needed
  3. Injects the credentials into the request (as a Bearer token, API key header, etc.)
  4. Forwards the request to the external API
  5. Returns the response to your application
All proxy calls are logged in the Nango dashboard.

Making proxy requests

HTTP method shortcuts

The Node SDK provides convenience methods for all standard HTTP methods:
All methods also accept a method field via the generic nango.proxy() call.

ProxyConfiguration parameters

Response format

The proxy returns a standard Axios response object:
Non-2xx responses throw an Axios error. Handle them with try/catch:

Retries

Pass retries: N to retry failed requests with exponential backoff. Rate-limit responses (429) are automatically retried regardless of this setting.

Proxy inside functions

The nango object available inside syncs and actions exposes the same proxy methods. You don’t need to provide providerConfigKey or connectionId — they are inferred from the function’s execution context:

Proxy via REST API

You can also call the proxy directly via HTTP from any language:
The path after /proxy/ is forwarded to the external API’s base URL.