Individual requests to APIs (Proxy)
Overview of how to perform individual requests to an API using the Proxy.
Nango’s Proxy simplifies making authenticated requests to external APIs. It’s a tool designed to save you time and reduce complexity in your interactions with APIs.
Key features
- Automatic credential injection: Automatically adds necessary authentication to your API requests.
- Base URL setup: Automatically determines and sets the correct base URL for your API requests.
- Effortless pagination: Simplifies dealing with API pagination.
- Logs for debugging: Tracks your requests in the Logs tab for easy debugging.
- Rate-limit management: Handles rate limits with smart retries (step-by-step guide).
Nango’s proxy is free, whether you are using Nango Cloud or Self-Hosted. It is also open source.
Use cases
The Proxy is useful to perform any individual request to external APIs, e.g.
- Fetching data: Great for one-time data retrieval, like getting user metadata.
- Writing data: Use it to send data back to an API, such as updating a user profile.
Proxy vs. actions
The Proxy works for individual API requests, while actions handle more complex scenarios that require multiple requests or data transformations.
Getting started with the Proxy
Pre-requisite: configure Nango.
Here is an example of how to query external APIs with the proxy, using the SDK (reference) and API (reference):
Questions, problems, feedback? Please reach out in the Slack community.
Was this page helpful?