GET /v1/
{
"device": "ZB56HTJ4",
"state": "rotating"
}
Rotate a device
One call, keyed by the pairing id shown on the phone. The endpoint stays where it is. Only the address behind it changes.
Integrations
Proxy Farms speaks SOCKS5 and HTTP, so most stacks need a configuration line rather than an integration project. Rotation is a REST call on top of that, and inbound messages come to you as webhooks.
GET /v1/devices/ZB56HTJ4/rotatesms.received, signedEach proxy gives you one host and two ports: SOCKS5 on the base port, HTTP on the next one up. Authentication is a username and a password.
There is no SDK to install, no agent to run beside your workers and no library version to track. If your client accepts a proxy URL, it is already compatible.
# SOCKS5 on the base port curl --proxy socks5h://farm:[email protected]:10482 https://example.com # HTTP on the next port up, same credentials curl --proxy http://farm:[email protected]:10483 https://example.com
import requests proxy = "socks5h://farm:[email protected]:10482" r = requests.get("https://example.com", proxies={"http": proxy, "https": proxy}) print(r.status_code)
import { ProxyAgent, fetch } from 'undici';
const agent = new ProxyAgent('http://farm:[email protected]:10483');
const res = await fetch('https://example.com', { dispatcher: agent });
# Picked up by most tools without a code change export HTTP_PROXY="http://farm:[email protected]:10483" export HTTPS_PROXY="$HTTP_PROXY"
These are not partnerships and none of them need a plugin from us. They are listed because each one can be handed a proxy URL, which is the entire requirement.
REST API
Rotation is the call people automate, so it is the one we opened first. Keys are issued per account, and every response, including every refusal, is JSON.
GET /v1/
{
"device": "ZB56HTJ4",
"state": "rotating"
}
One call, keyed by the pairing id shown on the phone. The endpoint stays where it is. Only the address behind it changes.
GET /v1/
{ "state": "rotating" }Create a key in the dashboard and it is shown once. Revoke it there too, and the next call with it is refused.
GET /v1/
device_offlineShed phone is offline right now…egress_on_wifiShed phone is on WiFi right now, so its exit IP is the WiFi network’s address…plan_requiredRotating from the API needs the Farm Plan…Every failure carries a stable code and a sentence fit to show a person, so your worker never has to read prose to find out what happened.
Webhooks
A text can land at any second, so polling an inbox for one is mostly wasted requests. Register a URL against a device and the message comes to you instead.
your-app.example.com /hooks/proxyfarms, saved
One HTTPS endpoint per device, set on the Messages tab in the dashboard. We will not post to plain http or to a private address.
+1 415 555 0142 Your code is 481902
A text lands on that phone’s SIM: a verification code, a balance reply, anything the carrier delivers.
POST, signed sha256=e0df9690…
A JSON body over HTTPS carrying the device it came from and the time it landed, with an HMAC signature over the timestamp and the body so you can tell it came from us.
503 Service Unavailableretry in 5 seconds200 OK on the second attempt
A 5xx, a 429 or no answer within ten seconds gets two more tries, five and then twenty seconds apart. Any other 4xx is final. The last delivery and its result sit against the device in the dashboard, and twenty failures in a row switch the endpoint off.
POST https://your-app.example.com/hooks/proxyfarms
X-ProxyFarms-Event: sms.received
X-ProxyFarms-Delivery: 4b1f8e0a-7c2d-4a91-98e6-1f3c9d7a2b04
X-ProxyFarms-Timestamp: 1775899867
X-ProxyFarms-Signature: sha256=e0df9690…4467b8
{
"event": "sms.received",
"id": "9f0c14a2-6b3d-4f18-9a77-2c5f0e8b1d43",
"device": "ZB56HTJ4",
"device_name": "Barn phone",
"from": "+14155550142",
"text": "Your code is 481902",
"received_at": "2026-04-11T09:31:07.412Z"
}
Delivery fires the moment the phone hands the message up, and the same message is never posted twice: a retried sync forwards nothing you have already been sent.
SMS
The phone that carries the IP also carries a number, and anything that arrives on it can be read where you work: in the dashboard, or in your own code.
Point the webhook at the worker that is waiting for the code and it arrives in your process, not on a screen somebody has to read. The message lands on the SIM in the same phone the request went out on, so the number and the exit IP belong to each other.
Your code is 481902
You have 4.2 GB of data left this cycle.
Your login code is 730215
Balance?
Every message the device has received, in the dashboard, filtered by folder and searchable by sender.
Write a message in the dashboard and the phone sends it over the carrier, not through a third party gateway.
Every delivery carries an HMAC over the timestamp and the body. Check it against the secret on the device and a forged post gets nowhere.
It belongs to the SIM you put in the phone. Move the SIM and the number moves with it.
Webhook forwarding comes with the Farm Plan. The Grower Plan reads and sends from the dashboard.
No SDK, no sidecar, no plugin that has to keep pace with our releases. The whole surface is a hostname, a port pair, a credential and an API key. Swap the proxy URL in your configuration and the rest of your stack never learns that anything changed.
See what the fleet can doFree 7-day Farm Plan trial, no credit card. Pair a phone, copy the endpoint, point your client at it.