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.

From $29/mo · we set up your IPs with you · 7-day money-back guarantee

  • 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();}
Example. Only calls that use the proxy leave from your IPs. Source: docs.replit.com (Secrets)(opens in a new tab) · undici ProxyAgent docs(opens in a new tab) · requests.readthedocs.io (Proxies)(opens in a new tab) · checked Nov 14, 2026
Pricing from
$29 / month
Runs on
Replit
Requests
No count limit
Guarantee
7-day money-back

01 · Step by step

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 AIExample
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

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

03 · Pricing

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.

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 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 have the details.

Questions before you start?

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.

From $29/mo · we set up your IPs with you · 7-day money-back guarantee