<!-- Static IP for your Replit app’s API calls, from $29/mo | StaticPear -->

Replit · static outbound IPs

# Static outbound IPs for Replit.

Your Replit app calls a bank, payment or partner API that only accepts requests from allowlisted IP addresses. A published Replit app has no fixed IP to give them; StaticPear does.

[Get started](https://app.staticpear.com/sign-up) [See how it works](https://staticpear.com/replit/#steps)

From $29/mo · we set up your IPs with you · [7-day money-back guarantee](https://staticpear.com/terms/#section-5-1)

- Dedicated to your account
- HIPAA-ready on every plan
- by GitView

Replit

Replit app · Example

```
// orders.js: in your Replit app (Node.js)// npm install undiciimport { fetch, ProxyAgent } from "undici"; let agent;const proxy = () => (agent ??= new ProxyAgent(process.env.STATICPEAR_URL)); export async function getOrders() {  const res = await fetch("https://api.partner.example/v1/orders", {    dispatcher: proxy(),  });  return res.json();}
```

```
# orders.py: in your Replit app (Python)import osimport requests def get_orders():    res = requests.get(        "https://api.partner.example/v1/orders",        proxies={"https": os.environ["STATICPEAR_URL"]},        timeout=20,    )    return res.json()
```

Example. Only calls that use the proxy leave from your IPs. Source: [docs.replit.com (Secrets)](https://docs.replit.com/core-concepts/project-editor/app-setup/secrets) · [undici ProxyAgent docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md) · [requests.readthedocs.io (Proxies)](https://requests.readthedocs.io/en/latest/user/advanced/#proxies) · checked Nov 14, 2026

- **Pricing from**: $29 / month
- **Runs on**: Replit
- **Requests**: No count limit
- **Guarantee**: 7-day money-back

01 · Step by step

5 steps · one prompt

## Set it up on Replit.

No networking knowledge needed. You need your proxy URL, a secret, and one message to your builder’s AI.

1. Step 1: Get your proxy URL Sign up, and tell us the exact host your app calls, such as api.partner.example. Your proxy can only reach the hosts you approve, over HTTPS on port 443. We set up your two static IPs and give you a proxy URL.
2. Step 2: Save it as a secret Open the Secrets tool and add STATICPEAR_URL with the proxy URL as its value. Your code reads it as an environment variable, in the workspace and in published apps (not Static Deployments).
3. Step 3: Make the call from the backend A browser can’t send a request through a proxy, so the call to your partner has to run on your app’s backend, not in the page.
4. Step 4: Ask Replit Agent to use it Paste the prompt below into the Agent chat, or add the code yourself. Only the partner call goes through your proxy URL.
5. Step 5: Allowlist your IPs Send your partner your two static IPs. Once they add both to their allowlist, your app’s calls get through.

Prompt for Replit’s AI Example

```
Move the call to https://api.partner.example/v1/orders into your server code. In that function, read the secret STATICPEAR_URL and send only this request through it as an HTTPS proxy: on Deno, create a client with Deno.createHttpClient({ proxy }) using the URL’s username and password as basicAuth, and pass it to fetch as client; on Node.js, pass undici’s ProxyAgent as fetch’s dispatcher. Keep every other request as it is.
```

02 · On Replit

Scope · runtime · proxy URL · sources

## Replit setup, in detail.

- **Where it applies**: The server code that calls your partner. Other traffic leaves the way it does today.
- **Runs on**: your app’s own runtime (Node.js or Python below)
- **Proxy URL**: Kept in Replit Secrets (published apps read them too, except Static Deployments).
- **Proxy**: Works from any app whose HTTP client accepts an HTTPS proxy URL (TLS to the proxy).
- **Approved hosts**: Your proxy can only reach the hosts you approve. Exact host names, HTTPS on port 443. You choose them during setup.
- **Sources**: Secrets reach your code as environment variables, in every deployment type except Static Deployments. [docs.replit.com (Secrets)](https://docs.replit.com/core-concepts/project-editor/app-setup/secrets) Node.js: undici’s ProxyAgent sends HTTPS requests through a proxy with CONNECT. [undici ProxyAgent docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md) Python requests: proxies= sends one call through a proxy. [requests.readthedocs.io (Proxies)](https://requests.readthedocs.io/en/latest/user/advanced/#proxies) Checked Nov 14, 2026.

03 · Pricing

$29 · $49 · Monthly

## Plans start at $29 a month.

Every plan: dedicated static IPs and no limit on the number of requests. Plans differ only by the data they include. 7-day money-back guarantee.

Starter 1 pair · 2 IPs

### $29 / month

- 1 dedicated pair (2 IPs)
- 25 GB a month
- No limit on the number of requests

[Get started with $29](https://app.staticpear.com/sign-up)

[7-day money-back guarantee](https://staticpear.com/terms/#section-5-1)

Pro 1 pair · 2 IPs

### $49 / month

- 1 dedicated pair (2 IPs)
- 100 GB a month
- No limit on the number of requests

[Get started with $49](https://app.staticpear.com/sign-up)

[7-day money-back guarantee](https://staticpear.com/terms/#section-5-1)

### Every plan

- 1 dedicated pair (2 IPs)
- Separate servers, separate AWS availability zones
- No limit on the number of requests
- Approved hosts only, HTTPS on port 443
- HIPAA-ready on every plan
- Prices are monthly
- [7-day money-back guarantee](https://staticpear.com/terms/#section-5-1)

[Pricing details](https://staticpear.com/pricing/)

04 · FAQ

## Common questions about Replit.

### Which hosts can my IPs reach?

Your proxy can only reach the hosts you approve. You list the exact host names your app calls. Today that means HTTPS on port 443. Requests to any other host, to an IP address, to private or internal networks, or to mail ports are refused.

### Why two IPs?

Two dedicated static IPs on separate servers in separate AWS availability zones. Allowlist both IPs. Each IP has its own proxy endpoint: if a connection through one fails, your app retries through the other.

### Do you log my traffic?

Connection metadata only (destination host, bytes, timing), never contents. For each connection the proxy logs the time, the method, the destination host and port, the server IP address it resolved to, the status, bytes in and out, and how long it lasted. Query strings are stripped, and no URL paths, headers or bodies are logged. The [Privacy Policy](https://staticpear.com/privacy/) lists every record we keep and for how long.

### Can I try it first?

Every plan comes with a 7-day money-back guarantee on your first payment. The [Terms](https://staticpear.com/terms/) have the details.

### Questions before you start?

Email [support@staticpair.com](mailto:support@staticpair.com).

05 · Get started

## Get static IPs for Replit.

Static outbound IPs for the server code that calls your partner, from $29 a month. Your partner allowlists them once.

[Get started](https://app.staticpear.com/sign-up) [See how it works](https://staticpear.com/replit/#steps)

From $29/mo · we set up your IPs with you · [7-day money-back guarantee](https://staticpear.com/terms/#section-5-1)

---

Page: https://staticpear.com/replit/
