One connection list
GET
/account/api/v1/residential/lists/{id}Authorization
| Authorization | Bearer YOUR_ARNPROXY_API_KEY |
|---|---|
| Required permission | read + optional credentials |
| Accept | application/json |
Parameters
| Name | Type | Description |
|---|---|---|
id | integer | An owned record ID for this operation; 1–2147483647. Not a display order number or supplier ID. |
include_credentials | string | "0" or "1"; default "0". "1" needs credentials permission and valid service. Default: "0" |
Request example
printf 'Authorization: Bearer %s\n' "$ARNPROXY_API_KEY" |
curl --silent --show-error --header @- \
--header 'Accept: application/json' \
--connect-timeout 10 --max-time 30 \
'https://www.arnproxy.com/account/api/v1/residential/lists/YOUR_LIST_ID'Examples are not executed on this page. Keep the API key in a server-side environment variable; do not put real keys in URLs or browser code. Prepare request.json for POST examples.
{"curl":"printf \u0027Authorization: Bearer %s\\n\u0027 \u0022$ARNPROXY_API_KEY\u0022 |\n curl --silent --show-error --header @- \\\n --header \u0027Accept: application\/json\u0027 \\\n --connect-timeout 10 --max-time 30 \\\n \u0027https:\/\/www.arnproxy.com\/account\/api\/v1\/residential\/lists\/YOUR_LIST_ID\u0027","python":"import os, requests\n\nheaders = {\u0022Authorization\u0022: \u0022Bearer \u0022 + os.environ[\u0022ARNPROXY_API_KEY\u0022]}\nresponse = requests.get(\n \u0022https:\/\/www.arnproxy.com\/account\/api\/v1\/residential\/lists\/YOUR_LIST_ID\u0022,\n headers=headers,\n timeout=(10, 30), allow_redirects=False\n)\nprint(response.status_code, response.text)\n# No automatic write retry.","javascript":"const headers = { Authorization: `Bearer ${process.env.ARNPROXY_API_KEY}` };\nconst response = await fetch(\u0022https:\/\/www.arnproxy.com\/account\/api\/v1\/residential\/lists\/YOUR_LIST_ID\u0022, {\n method: \u0027GET\u0027, headers, redirect: \u0027error\u0027,\n signal: AbortSignal.timeout(30000)\n});\nconsole.log(response.status, await response.text());\n\/\/ A write timeout is ambiguous; query its saved operation.","php":"\u003C?php\n$headers = [\u0027Accept: application\/json\u0027,\n \u0027Authorization: Bearer \u0027.getenv(\u0027ARNPROXY_API_KEY\u0027)];\n$ch = curl_init(\u0027https:\/\/www.arnproxy.com\/account\/api\/v1\/residential\/lists\/YOUR_LIST_ID\u0027);\ncurl_setopt_array($ch, [\n CURLOPT_RETURNTRANSFER =\u003E true,\n CURLOPT_HTTPHEADER =\u003E $headers,\n CURLOPT_FOLLOWLOCATION =\u003E false,\n CURLOPT_SSL_VERIFYPEER =\u003E true, CURLOPT_SSL_VERIFYHOST =\u003E 2,\n CURLOPT_CONNECTTIMEOUT =\u003E 10, CURLOPT_TIMEOUT =\u003E 30,\n]);\n$result = curl_exec($ch);\nif ($result === false) {\n \/\/ Do not repeat a write; use the original operation key.\n throw new RuntimeException(\u0027Transport result unknown\u0027);\n}\necho curl_getinfo($ch, CURLINFO_HTTP_CODE).PHP_EOL.$result;\ncurl_close($ch);","go":"package main\n\nimport (\n \u0022fmt\u0022\n \u0022io\u0022\n \u0022net\/http\u0022\n \u0022os\u0022\n \u0022time\u0022\n)\n\nfunc main() {\n client := \u0026http.Client{Timeout: 30*time.Second,\n CheckRedirect: func(req *http.Request, via []*http.Request) error {\n return http.ErrUseLastResponse\n }}\n var body io.Reader\n req, err := http.NewRequest(\u0022GET\u0022, \u0022https:\/\/www.arnproxy.com\/account\/api\/v1\/residential\/lists\/YOUR_LIST_ID\u0022, body)\n if err != nil { panic(err) }\n req.Header.Set(\u0022Authorization\u0022, \u0022Bearer \u0022+os.Getenv(\u0022ARNPROXY_API_KEY\u0022))\n res, err := client.Do(req); if err != nil { panic(err) }\n defer res.Body.Close()\n data, err := io.ReadAll(res.Body); if err != nil { panic(err) }\n fmt.Println(res.StatusCode, string(data))\n}","csharp":"using System;\nusing System.IO;\nusing System.Net.Http;\nusing System.Net.Http.Headers;\nusing System.Text;\n\nusing var handler = new HttpClientHandler { AllowAutoRedirect = false };\nusing var client = new HttpClient(handler) { Timeout = TimeSpan.FromSeconds(30) };\nusing var request = new HttpRequestMessage(HttpMethod.Get,\n \u0022https:\/\/www.arnproxy.com\/account\/api\/v1\/residential\/lists\/YOUR_LIST_ID\u0022);\nrequest.Headers.Authorization = new AuthenticationHeaderValue(\n \u0022Bearer\u0022, Environment.GetEnvironmentVariable(\u0022ARNPROXY_API_KEY\u0022));\nusing var response = await client.SendAsync(request);\nConsole.WriteLine((int)response.StatusCode);\nConsole.WriteLine(await response.Content.ReadAsStringAsync());\n\/\/ Never automatically retry an ambiguous write.","java":"import java.net.URI;\nimport java.net.http.*;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.*;\n\n\/\/ Inside your application method:\nvar client = HttpClient.newHttpClient();\nvar request = HttpRequest.newBuilder(URI.create(\u0022https:\/\/www.arnproxy.com\/account\/api\/v1\/residential\/lists\/YOUR_LIST_ID\u0022))\n .header(\u0022Authorization\u0022, \u0022Bearer \u0022 + System.getenv(\u0022ARNPROXY_API_KEY\u0022))\n .header(\u0022Accept\u0022, \u0022application\/json\u0022)\n .GET()\n .build();\nvar response = client.send(request, HttpResponse.BodyHandlers.ofString());\nSystem.out.println(response.statusCode());"}Responses
200Success response
{
"ok": true,
"data": {
"id": 30001,
"package_id": 20001,
"order_id": 20001,
"title": "Example connection list",
"package_state": "active",
"snapshot": {
"source": "arnproxy_records",
"observed_at": "2030-01-01T12:00:00+00:00",
"fresh": true,
"max_age_seconds": 3600,
"reason": null
},
"connection": {
"host": "res.arnproxy.com",
"first_port": 10000,
"port_count": 10
},
"authentication": "login_password",
"target": {
"country": "US",
"region": "",
"city": "",
"isp": ""
},
"rotation": {
"type": "interval",
"seconds": 0
},
"credential_read_available": true,
"management_available": true,
"management_actions": [
"rename",
"rotation",
"delete"
]
},
"meta": {
"request_id": "000000000000000000000001",
"phase": "public_v1",
"source": "arnproxy_records"
}
}Response fields and types
| Name | Type | Description |
|---|---|---|
ok | boolean | Success envelope flag; on false inspect error.code. |
data | object | Operation-specific result; examples are illustrative and synthetic. |
data.id | integer | Relevant ARNPROXY record ID; use it instead of the upstream internal ID. |
data.package_id | integer | Relevant ARNPROXY record ID; use it instead of the upstream internal ID. |
data.order_id | integer | Relevant ARNPROXY record ID; use it instead of the upstream internal ID. |
data.title | string | Operation-specific title value; preserve its demonstrated type and consult the behavior notes. |
data.package_state | string | Operation-specific package state value; preserve its demonstrated type and consult the behavior notes. |
data.snapshot | object | Package snapshot origin/time/freshness; stale snapshots do not grant management access. |
data.snapshot.source | string | Data source; local records and a live provider lookup are different evidence. |
data.snapshot.observed_at | string | Timestamp in the API’s returned representation; example dates are synthetic. |
data.snapshot.fresh | boolean | Whether the observation satisfies its freshness window. |
data.snapshot.max_age_seconds | integer | Maximum snapshot age allowed for freshness, in seconds. |
data.snapshot.reason | string|null | Fixed reason code or null, never raw provider error text. |
data.connection | object | List host, first port and port count; can be null for invalid observations. |
data.connection.host | string | Operation-specific host value; preserve its demonstrated type and consult the behavior notes. |
data.connection.first_port | integer | Start or size of the connection port range. |
data.connection.port_count | integer | Start or size of the connection port range. |
data.authentication | string | Connection list authentication mode: login_password or ip_auth. |
data.target | object | Operation-specific target value; preserve its demonstrated type and consult the behavior notes. |
data.target.country | string | Operation-specific country value; preserve its demonstrated type and consult the behavior notes. |
data.target.region | string | Operation-specific region value; preserve its demonstrated type and consult the behavior notes. |
data.target.city | string | Operation-specific city value; preserve its demonstrated type and consult the behavior notes. |
data.target.isp | string | Operation-specific isp value; preserve its demonstrated type and consult the behavior notes. |
data.rotation | object | Operation-specific rotation value; preserve its demonstrated type and consult the behavior notes. |
data.rotation.type | string | Operation-specific type value; preserve its demonstrated type and consult the behavior notes. |
data.rotation.seconds | integer | Recorded/requested rotation in seconds; Rotating packages and Residential lists have different rules. |
data.credential_read_available | boolean | Operation-specific credential read available value; preserve its demonstrated type and consult the behavior notes. |
data.management_available | boolean | Availability under the result’s conditions/permissions, not a stock or provider guarantee. |
data.management_actions | array | Operation-specific management actions value; preserve its demonstrated type and consult the behavior notes. |
data.management_actions[] | string | Operation-specific management actions value; preserve its demonstrated type and consult the behavior notes. |
meta | object | Request correlation and data-source metadata. |
meta.request_id | string | This HTTP request’s correlation ID, not an operation key or order ID. |
meta.phase | string | Operation-specific phase value; preserve its demonstrated type and consult the behavior notes. |
meta.source | string | Data source; local records and a live provider lookup are different evidence. |
data.credentialsConditional | object | Only with include_credentials=1, credentials permission, an active package and a login_password list. |
data.credentials.usernameConditional | string | Connection-list username. |
data.credentials.passwordConditional | string | Connection-list password. |
data.authorized_ipsConditional | string[]|null | May be returned for an IP-auth list with residential_management permission. |
Error response
{
"ok": false,
"error": { "code": "INVALID_API_KEY" },
"meta": { "request_id": "000000000000000000000001" }
}Authentication and validation may reject a request before execution. Consult the error reference and retain request_id when contacting support. Never send keys or passwords. Errors & limits →
Behavior & important notes
- Package and list IDs are ARNPROXY record IDs, not upstream package keys or list IDs. A stale package snapshot cannot grant access; refresh it with residential_package_refresh when needed.
- Credential-bearing output requires credentials permission. Never log or send returned connection strings, passwords or Authorization headers to support.