Proxy access
IP lists, credentials, connection endpoints, the IP allowlist and IP refresh for a service.
Base URL: https://fineproxy.org/account_new ·Download the OpenAPI 3.1 specification
Get Proxy Ips
GET/api/v1/customer/services/{service_id}/proxy/ips
List the proxy IP endpoints of one of your services.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/ips" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (4)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
ipsrequired | array<ProxyIpEntry> | |
format_hintsoptional | FormatHints | null | |
geo_sourceoptional | string | null |
Get Proxy Auth
GET/api/v1/customer/services/{service_id}/proxy/auth
Get the proxy connection credentials for one of your services.
The password is masked by default; pass reveal=true to receive it in plain text.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) | |
revealoptional | query | boolean | Default: false |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/auth" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
usernamerequired | string | |
passwordoptional | string | null | |
protocolsoptional | array<string> | |
endpointsoptional | array<ProxyEndpoint> | |
whitelist_ipsoptional | array<string> | |
password_setoptional | boolean | Default: false |
udp_enabledoptional | boolean | Default: false |
conn_capoptional | integer | null | |
whitelist_conn_limitsoptional | object (map) | null | |
rotating_gatewayoptional | RotatingGatewayInfo | null |
Update Proxy Auth
PUT/api/v1/customer/services/{service_id}/proxy/auth
Update proxy credentials — rotate the password or change the login.
Idempotent: a repeated identical payload produces the same state. When rotating, the new password is returned exactly once in the response body.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
rotate_passwordoptional | boolean | Default: false |
udp_enabledoptional | boolean | null | |
new_usernameoptional | string | null | Change the proxy login. Must be unique within the tenant. |
whitelist_ipsoptional | array<string> | null |
Example request
curl -X PUT "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/auth" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"rotate_password": false,
"udp_enabled": true,
"new_username": "string"
}'Responses
200Successful Response422Validation Error
Response fields (10)
| Name | Type | Description |
|---|---|---|
usernamerequired | string | |
passwordoptional | string | null | |
protocolsoptional | array<string> | |
endpointsoptional | array<ProxyEndpoint> | |
whitelist_ipsoptional | array<string> | |
password_setoptional | boolean | Default: false |
udp_enabledoptional | boolean | Default: false |
conn_capoptional | integer | null | |
whitelist_conn_limitsoptional | object (map) | null | |
rotating_gatewayoptional | RotatingGatewayInfo | null |
Get Rotating Config
GET/api/v1/customer/services/{service_id}/proxy/config
Get the connection configuration of a rotating proxy service.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/config" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (13)
| Name | Type | Description |
|---|---|---|
endpointrequired | string | |
endpointsoptional | array<string> | |
https_endpointsoptional | array<string> | |
portrequired | integer | |
http_portsoptional | array<integer> | |
socks_portsoptional | array<integer> | |
sticky_httpoptional | integer | null | |
sticky_socks5optional | integer | null | |
sticky_httpsoptional | integer | null | |
session_formatoptional | string | Default: "ip:port:username:password" |
modeoptional | string | Default: "rotating" |
sample_connection_stringoptional | string | null | |
sample_connection_stringsoptional | array<string> |
Get Whitelist
GET/api/v1/customer/services/{service_id}/proxy/whitelist
List the IP whitelist entries of one of your proxy services.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (7)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
entriesrequired | array<WhitelistEntry> | |
conn_caprequired | integer | |
capacityoptional | integer | Default: 0 |
free_quotaoptional | integer | Default: 0 |
usedoptional | integer | Default: 0 |
paid_slotsoptional | integer | Default: 0 |
Add Whitelist Entry
POST/api/v1/customer/services/{service_id}/proxy/whitelist
Add a single IPv4 address to the service's IP whitelist.
Only single addresses are accepted (no CIDR subnets).
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
ip_or_cidrrequired | string | Single IPv4 address (CIDR subnets are not supported) |
labeloptional | string | null | |
conn_limitoptional | integer | null |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ip_or_cidr": "203.0.113.10"
}'Responses
200Successful Response422Validation Error
Response fields (7)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
entriesrequired | array<WhitelistEntry> | |
conn_caprequired | integer | |
capacityoptional | integer | Default: 0 |
free_quotaoptional | integer | Default: 0 |
usedoptional | integer | Default: 0 |
paid_slotsoptional | integer | Default: 0 |
Remove Whitelist Entry
DELETE/api/v1/customer/services/{service_id}/proxy/whitelist
Remove an IP address from the service's IP whitelist.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) | |
ip_or_cidrrequired | query | string | IP address to remove from the whitelist |
Example request
curl -X DELETE "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (7)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
entriesrequired | array<WhitelistEntry> | |
conn_caprequired | integer | |
capacityoptional | integer | Default: 0 |
free_quotaoptional | integer | Default: 0 |
usedoptional | integer | Default: 0 |
paid_slotsoptional | integer | Default: 0 |
Replace Whitelist Entry
POST/api/v1/customer/services/{service_id}/proxy/whitelist/replace
Atomically swap one whitelisted IP for another.
One transaction and one admission version — the old IP leaves and the new one appears together, with no window without an IP (or with both). No free slot is needed; the new value must be a single IPv4 address.
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
old_ip_or_cidrrequired | string | Existing whitelisted IPv4 address |
new_ip_or_cidrrequired | string | Replacement IPv4 address |
labeloptional | string | null |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/whitelist/replace" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"old_ip_or_cidr": "203.0.113.10",
"new_ip_or_cidr": "203.0.113.10"
}'Responses
200Successful Response422Validation Error
Response fields (7)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
entriesrequired | array<WhitelistEntry> | |
conn_caprequired | integer | |
capacityoptional | integer | Default: 0 |
free_quotaoptional | integer | Default: 0 |
usedoptional | integer | Default: 0 |
paid_slotsoptional | integer | Default: 0 |
Get Refresh Status
GET/api/v1/customer/services/{service_id}/proxy/refresh-status
Check whether the next IP refresh for this service is free or paid.
Read-only.
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Example request
curl -X GET "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/refresh-status" \
-H "Authorization: Bearer $FINEPROXY_API_KEY"Responses
200Successful Response422Validation Error
Response fields (8)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
is_freerequired | boolean | |
free_window_daysrequired | integer | |
days_since_startrequired | integer | null | |
next_free_refresh_atoptional | string (date-time) | null | |
price_centsrequired | integer | |
is_pool_servicerequired | boolean | |
dedicatedoptional | boolean | Default: false |
Preview an IP refresh: price and free stock
POST/api/v1/customer/services/{service_id}/proxy/refresh/quote
Preview an IP refresh: price, plan and available addresses per country.
Read-only — nothing is charged and nothing is written, so call it as often as you like. Recommended flow:
- GET …/proxy/refresh-status — is the next refresh free or paid. - POST …/proxy/refresh/quote (this endpoint) — which addresses would be replaced, from which countries, and what it would cost right now. - POST …/proxy/refresh — perform it with the same arguments and a fresh idempotency_key.
Two ways to refresh:
- **Whole allocation by country** — send geo_counts, e.g. {"DE": 5, "US": 3}; the sum must equal the number of replaced addresses. If any country is short of free addresses, shortfall is true and the refresh would be refused before any charge. - **Replace only what is available** (partial: true) — the server looks at the countries your service holds, replaces as many addresses as the pool can give per country and keeps the rest. The answer reports replaced_count, kept_count, planned_geo_counts and the held/available pair per country. partial cannot be combined with geo_counts or target_ips and works for shared-pool services only. With no stock at all it still answers 200 with replaced_count=0.
price_cents is 0 while the free refresh slot is unused; otherwise it is the per-call price from the dealer's catalog (1000 = $10.00), the same whether the refresh replaces one address or the whole allocation.
**Zero stock is not an error here.** A preview never fails because the pool is empty: with partial and no free address it answers 200 with replaced_count=0, kept_count equal to the whole allocation, planned_geo_counts={} and shortfall=true; nothing is charged and nothing changes. It is the refresh itself that refuses an all-empty plan with 409 no_available_ips.
Errors: 422 (partial combined with geo_counts / target_ips, partial on a dedicated service, or an invalid geo_counts such as a non-ISO-2 key or a count below 1), 404 (unknown service).
Required scope: services:read
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
target_ipsoptional | array<string> | null | Specific currently-allocated IPs the refresh would replace. |
geo_countsoptional | object (map) | null | Desired geography of the replaced IPs: {ISO-2: count}. Required unless partial=true. |
geo_sourceoptional | string | null | Preview under this geo source instead of the service's own.maxmind · ripe |
partialoptional | boolean | Preview the server-planned 'replace what is available' refresh: replaced_count, kept_count, planned_geo_counts and the per-country held/available stock. Read-only. Default: false |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/refresh/quote" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"target_ips": [
"203.0.113.10"
],
"geo_counts": {},
"geo_source": "maxmind"
}'Responses
200The refresh would replace these addresses for this price now.422`partial` combined with `geo_counts`/`target_ips`, or `partial` on a dedicated service.
Response fields (10)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
geo_sourcerequired | string | |
replaced_countrequired | integer | |
price_centsrequired | integer | |
is_freerequired | boolean | |
availabilityrequired | object (map) | |
shortfallrequired | boolean | |
partialoptional | boolean | Default: false |
kept_countoptional | integer | Default: 0 |
planned_geo_countsoptional | object (map) |
Refresh the IP addresses of a service
POST/api/v1/customer/services/{service_id}/proxy/refresh
Replace the allocated IP addresses of a proxy service.
A refresh always returns the same number of addresses the service held — it rotates them, it does not grow the allocation (use the add-IP endpoint for that).
**Price.** The first refresh of a service is free. After that a new free refresh becomes available once the free window has passed; refresh again before it and the call costs the catalog price per call (1000 = $10.00), no matter how many addresses are replaced. Use GET …/proxy/refresh-status to see whether the next refresh is free, and POST …/proxy/refresh/quote to see the exact price before you commit. The charge happens before the addresses change — if the wallet cannot cover it you get 402 insufficient_funds and nothing changes.
**What to replace.**
- Omit target_ips to rotate the whole allocation. - target_ips rotates only the listed addresses, the rest stay in place. - partial: true replaces as many addresses as the pool can give per country and keeps the rest (reported in kept_count); it costs the same as a plain refresh and cannot be combined with target_ips. - partial works for shared-pool services only.
This endpoint has **no geo_counts field**: unknown fields in the body are ignored, so sending one here does not target geography — it would charge for a plain full refresh with an arbitrary geography. Preview geography with POST …/proxy/refresh/quote; the geographic selection is not offered here.
**Retries.** idempotency_key identifies the intent: repeating the call with the same key returns the original result — no second charge, no second replacement — even if the pool has changed since. A new intent needs a new key.
Errors: 402 insufficient_funds (nothing charged), 409 no_available_ips (partial only — no free address in any country; nothing charged and the free refresh slot is kept), 409 on an idempotency-key conflict, 422 (partial with target_ips, partial on a dedicated service), 404 (unknown service).
Required scope: services:write
Parameters
| Name | In | Type | Description |
|---|---|---|---|
service_idrequired | path | string (uuid) |
Request body
| Name | Type | Description |
|---|---|---|
idempotency_keyrequired | string | Unique key for this refresh intent; retries with the same key return the original result and never charge twice. |
target_ipsoptional | array<string> | null | Specific currently-allocated IPs to replace. Omit to refresh the entire allocation. |
partialoptional | boolean | Replace only as many IPs as the pool actually has (per country min(held, available)) and keep the rest. The server builds the plan; cannot be combined with target_ips. Same price as a plain refresh; 409 no_available_ips when nothing can be replaced. Default: false |
Example request
curl -X POST "https://fineproxy.org/account_new/api/v1/customer/services/$SERVICE_ID/proxy/refresh" \
-H "Authorization: Bearer $FINEPROXY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"idempotency_key": "string"
}'Responses
200The refresh ran; `new_ips` lists the addresses actually replaced.402The wallet cannot cover the paid refresh. Nothing was charged and no address changed.409`partial` only: the pool has no free address in any country. Nothing was charged, the free refresh slot is untouched and the same idempotency key may be retried once stock appears.422`partial` combined with `target_ips`, or `partial` on a dedicated service. The refresh body has no `geo_counts` field — unknown body fields are ignored, so geography must be previewed and applied via `…/proxy/refresh/quote`.
Response fields (8)
| Name | Type | Description |
|---|---|---|
service_idrequired | string (uuid) | |
ip_countrequired | integer | |
charged_centsrequired | integer | |
ledger_entry_idrequired | string (uuid) | null | |
new_ipsoptional | array<string> | |
alive_replacedoptional | integer | Default: 0 |
kept_countoptional | integer | Default: 0 |
partialoptional | boolean | Default: false |