End customer API
Routes the reseller's customer uses with their own proxy or key: usage, history and settings.
The reseller's customer also has an API, to see their own usage and adjust their own proxy. They do not need an RH7 account: they get in with the proxy they received or with their own key.
You decide what they can change, in allowed_self_fields (see Customers and GB).
How the customer identifies themselves
One of these headers:
x-client-key: rh7c_client_keyx-proxy: auto-rh7proxys.com:823:username:passwordx-proxy accepts the formats host:port:username:password, username:password@host:port, http://username:password@host:port or just username:password. You can also send x-proxy-user and x-proxy-password separately.
The username alone, without the password, does not get in. Never send the password in the URL.
Limit: 60 calls per minute per customer.
Proxy details
curl https://api.rh7proxys.com/public/me \
-H "x-client-key: rh7c_client_key"{
"proxy": {
"username": "cliente_ab12", "name": "Cliente Loja 1", "status": "active",
"gb_allocated": 10, "gb_used": 2.31, "gb_remaining": 7.69,
"threads": 50, "geo": { "country": "BR", "state": null, "city": null },
"blocklist_hosts": [], "created_at": "2026-11-20T12:00:00Z"
}
}Usage per day
GET /public/usage?from=2026-11-01&to=2026-11-26 returns up to 200 days, from most recent to oldest:
{ "usage": [{ "day": "2026-11-26", "gb_used": 0.42, "requests": 1830 }] }Change the settings
PATCH /public/config changes only what the reseller allowed:
curl -X PATCH https://api.rh7proxys.com/public/config \
-H "x-client-key: rh7c_client_key" \
-H "Content-Type: application/json" \
-d '{"geo": {"country": "BR", "state": "sao paulo"}, "threads": 20}'| Field | Allowed by |
|---|---|
threads (0 to 2000) | threads |
geo with country, state and city | geo |
blocklist_hosts (up to 100) | blocklist |
If the field is not allowed, the response is 403 (threads_not_allowed, geo_not_allowed or blocklist_not_allowed).
Errors
| Code | Meaning |
|---|---|
proxy_not_found_or_invalid_paste (401) | Proxy, password or key do not match |
rate_limited (429) | Too many calls. Wait for the Retry-After. |
invalid_country / invalid_threads / invalid_host | Some value breaks the rules |
nothing_to_update | The body was empty |