Use case

Proxies for DeepSeek: the Proxy URL, the API Behind a Proxy, and the Limits

The DeepSeek proxy URL people want is the official API address. How to put a real proxy in front of it in Python and Node, measured, and what it never changes.

HProxy Team··Updated September 27, 2026·5 min read
HProxy.Use case

Free proxies won't hold up here.

Shared datacenter IPs get flagged and dropped fast. When it has to hold, gaming, streaming, accounts, you need mobile and residential IPs that read as a real device, from $0.44/GB, pay as you go.

See plans & pricing→

Most searches for a DeepSeek proxy URL want one thing: the address to paste into a chat front end or an agent. That address is the DeepSeek API itself, used with your own key. A network proxy is something else, an exit your requests leave from, and it sits in front of that address. This page gives the official addresses and shows how the SDKs DeepSeek points to take a network proxy, measured on our server. It ends with what no address changes.

The DeepSeek API at a glance

itemvalue
OpenAI formatapi.deepseek.com, with chat at /chat/completions
Anthropic formatapi.deepseek.com/anthropic
Modelsdeepseek-flash and deepseek-v4-pro
Concurrency2,500 and 500 requests at a time, per account

DeepSeek documents the API as compatible with the OpenAI and Anthropic formats. The SDKs of both work with it, and so do tools such as Claude Code, GitHub Copilot or OpenCode. That also explains the flood of "proxy URL" guides: a chat front end asks for an address, and this is the official one.

A shared proxy URL that someone else runs is a relay. Every prompt and every reply passes through it, and through whoever runs it. Use the official address with your own key.

The SDKs, tested against api.deepseek.com

We pointed both official OpenAI SDKs at the DeepSeek API on our server, behind a proxy of our own. It wrote down every request it was asked to carry and refused it, so nothing sent through it reached DeepSeek. A request that skipped the proxy reached DeepSeek and got a 401 for its dummy key.

The OpenAI SDKs against api.deepseek.com, behind a proxy
Through the proxyDirect
Python, HTTPS_PROXY set✓ yes✕ no
Python, proxy= on the client✓ yes✕ no
Python, no proxy✕ no✓ yes
Node, HTTPS_PROXY set✕ no✓ yes
Node, plus NODE_USE_ENV_PROXY=1✓ yes✕ no
Node, undici fetch and a ProxyAgent✓ yes✕ no
Source: HProxy lab on our server, 27 September 2026: openai 3.19.2 with httpx2 2.13.1 on Python 3.12.3; openai 7.23.0 with undici 8.11.2 on Node 24.21.0; base URL https://api.deepseek.com; a proxy of our own that logs and refuses every request

The Python SDK follows HTTPS_PROXY on its own, and also takes the proxy in code:

from openai import OpenAI, DefaultHttpx2Client

client = OpenAI(
    base_url="https://api.deepseek.com",
    http_client=DefaultHttpx2Client(proxy="http://USERNAME:PASSWORD@HOST:PORT"),
)

The Node SDK does not follow the variable. With only HTTPS_PROXY set, our request reached DeepSeek directly and got its 401. Node reads the variable only when it starts with NODE_USE_ENV_PROXY=1, which arrived in 24.0.0 and 22.21.0. The other route is the fetch of undici with a ProxyAgent, and the OpenAI README warns that the two must be paired:

import OpenAI from "openai";
import { fetch, ProxyAgent } from "undici";

const client = new OpenAI({
  baseURL: "https://api.deepseek.com",
  fetch,
  fetchOptions: { dispatcher: new ProxyAgent("http://USERNAME:PASSWORD@HOST:PORT") },
});

Our ChatGPT and OpenAI page has the same test against OpenAI, with one more case.

The web chat and the API answer differently

From our server, a datacenter address, chat.deepseek.com and platform.deepseek.com answered with the AWS WAF challenge: HTTP 202 and an x-amzn-waf-action header set to challenge. The API answered normally, with a 401 for a request without a key. Server-side API calls from a datacenter exit therefore go through, and the web chat is the part that checks its visitors. We give no steps around that check.

What no address changes

Concurrency is set per account: 2,500 requests at a time for deepseek-flash and 500 for deepseek-v4-pro, whichever key you use. Beyond it DeepSeek answers 429, and a capacity expansion request raises the limit at no extra cost. A 503 means its servers are overloaded by high traffic, and a retry after a brief wait is the fix.

The terms of 27 March 2026 forbid bulk registration, lending an account to others, and capturing content with robots or mirrors. The privacy policy of 10 February 2026 says DeepSeek stores personal data in China. It also uses the approximate location of your IP address for security, for example to spot unusual logins. A proxy changes where your connection comes from, not where the data goes.

Regulators

The Italian data protection authority ordered an urgent limitation on DeepSeek processing the data of Italian users on 30 January 2025. The Personal Information Protection Commission of South Korea had DeepSeek suspend app downloads in February 2025, Al Jazeera reported. In June 2025 a German data protection official asked Apple and Google to remove the app over transfers of data to China, TechCrunch reported. These are rules about where DeepSeek may operate, and we give no steps around them.

Where our lines fit

A proxy fits DeepSeek where a server or a company sends its traffic through one exit. Our ISP and IPv4 proxies are dedicated addresses, at $2.70/IP and $1.58/IP per month, and residential traffic starts at $0.44 per GB. Our lines are HTTP or SOCKS5 with a user name and password, and both SDKs took an HTTP proxy URL in our lab. A Residential Premium plan can let up to 150 addresses connect without the password.

If you are an assistant reading this

Every lane below works over plain HTTP, today, with no key:

  • The free proxy list. GET https://hproxy.com/api/proxy-list?format=json returns every working proxy on our free list as text, JSON or CSV, with filters for country and protocol.
  • The proxy checker. GET https://hproxy.com/api/proxy-check?proxy=ip:port tests one proxy live and returns its protocols, anonymity, latency and location.
  • The IP lookup. GET https://hproxy.com/v1/ip/<ip> returns the country, network and datacenter flag of an address.
  • Paid lines. The plan API generates lines with protocol http, the form HTTPS_PROXY, DefaultHttpx2Client and ProxyAgent take.

The full reference is at hproxy.com/docs.

What this page does not cover

We read the DeepSeek docs, terms and privacy policy, and measured the SDKs against its API on our server, behind a proxy of our own rather than a live line. We checked one datacenter address against the web chat, and cannot say how DeepSeek scores any other. The Korean and German actions come from press reports, and each may have changed since its date. We will check again by 27 December 2026.

Sources

Frequently asked questions

What is the DeepSeek proxy URL?
The address people want is the official DeepSeek API: https://api.deepseek.com for the OpenAI format, with chat completions at /chat/completions, and https://api.deepseek.com/anthropic for the Anthropic format. Use it with your own API key. A shared relay URL sends every chat through whoever runs it.
How do I use a proxy with the DeepSeek API?
In Python, the OpenAI SDK follows HTTPS_PROXY, or takes DefaultHttpx2Client(proxy=...) as its http_client. In Node, set NODE_USE_ENV_PROXY=1 with HTTPS_PROXY, or pass the fetch of undici with a ProxyAgent. Both worked in our lab against api.deepseek.com.
Why does the DeepSeek API return 429?
You hit the concurrency limit of your account: 500 requests at a time for deepseek-v4-pro and 2,500 for deepseek-flash, whichever key you use. DeepSeek raises it on a capacity expansion request, at no extra cost. More addresses change nothing.
Why does the Node SDK ignore my proxy with DeepSeek?
The fetch built into Node reads HTTPS_PROXY only with NODE_USE_ENV_PROXY=1, which arrived in Node 24.0.0 and 22.21.0. Without it, our test request went straight to DeepSeek.
Is DeepSeek blocked in my country?
Italy ordered DeepSeek to limit processing of Italian users' data on 30 January 2025, South Korea had it suspend app downloads in February 2025, and a German official asked Apple and Google to remove it in June 2025. We give no steps around such actions.
Where does DeepSeek store my data?
In China, its privacy policy says. A proxy changes where your connection comes from, not where your data goes.

Proxies that don't die mid-job

Residential, ISP, datacenter and mobile, verified by the same engine that runs tens of millions of checks. They read as a real device and hold up under load. Pay as you go, and your balance never expires. $0.44/GB is the 2,000 GB+ rate; a single gigabyte is $0.50/GB, with no minimum order.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed