AI agent instructions
AI agent instructions
Overview
The proxy gateway atproxy.notte.cc gives you Notte’s residential proxies outside a browser session. Use it from curl, an HTTP client, a scraper, or your own proxy, such as a secret proxy that should exit from the same IP as your session.
You mint a short-lived credential with your API key, then use it as a standard proxy URL. For quick tests, you can also use your API key directly. Browser sessions do not need this: their built-in proxies are on by default.
Mint a credential
CallPOST /proxies/gateway/credentials with your API key. The SDKs have no method for this endpoint, so call it over HTTP.
Send requests through the gateway
Both proxy URLs work forhttps:// sites, through a CONNECT tunnel, and for plain http:// URLs. With curl:
proxyEnv agent option needs Node.js 24.5 or later and applies to https.request and https.get, not to fetch.
Share an exit IP with a session
Mint the credential with asticky_session, then start a browser session with the same sticky_session, and the same country or city, on its notte proxy. Connections made with the credential and the session’s own traffic then exit from the same IP. The secret proxy guide shows the full setup.
A sticky exit is a residential IP, so it does not last forever. It holds while the device behind it stays online and can change without notice. New connections with the same sticky_session then share a new IP, while a connection still open on the old one can fail and has to be retried. Plan for the IP to change during a longer task.
Lifetime and renewal
A credential is valid for your plan’s maximum session duration, up to 24 hours. You cannot choose a different lifetime. Reuse one credential for every request until it expires, then mint a new one beforeexpires_at. An expired credential is rejected with 407.
Use your API key directly
The gateway also accepts your API key as the proxy password, so you can skip minting:notte on its own, or join options with _, such as country-gb_sticky-checkout-42.
An unknown option, country or city returns
400 with X-Notte-Proxy-Error: invalid_username. As with a minted credential, a browser session with the same sticky_session, and the same country or city, on its notte proxy exits from the same IP.
The API key only works over TLS on port 443. On port 3128 the gateway refuses it with 407 and X-Notte-Proxy-Error: api_key_requires_tls, so your client must support HTTPS proxies.
This is the simplest option for quick tests and your own scripts. But your API key gives full access to your workspace and does not expire. For a proxy you run in production, such as a secret proxy, prefer a minted credential: it only works for proxy traffic and expires.