ARNPROXY

Owned packages; stored snapshot

GET/account/api/v1/residential/packages

Authorization

AuthorizationBearer YOUR_ARNPROXY_API_KEY
Required permissionread
Acceptapplication/json

Parameters

NameTypeDescription
after_id
queryOptional
integerUse next_after_id from the previous response; ascending-ID cursor, starting at 0.
Default: 0
limit
queryOptional
integer1–100; default 25.
Default: 25

Request example

cURL
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/packages'

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.

Responses

200Success response
application/json
{
    "ok": true,
    "data": {
        "items": [
            {
                "id": 20001,
                "state": "active",
                "snapshot": {
                    "source": "arnproxy_records",
                    "observed_at": "2030-01-01T12:00:00+00:00",
                    "fresh": true,
                    "max_age_seconds": 3600,
                    "reason": null
                },
                "traffic": {
                    "limit_bytes": "10737418240",
                    "used_bytes": "1073741824",
                    "remaining_bytes": "9663676416"
                },
                "expires_at": "2030-02-01T20:59:59+00:00",
                "rotation_seconds": 0,
                "management_available": false,
                "topup_available": true
            }
        ],
        "next_after_id": null,
        "source": "arnproxy_records"
    },
    "meta": {
        "request_id": "000000000000000000000001",
        "phase": "public_v1",
        "source": "arnproxy_records"
    }
}
Response fields and types
NameTypeDescription
okbooleanSuccess envelope flag; on false inspect error.code.
dataobjectOperation-specific result; examples are illustrative and synthetic.
data.itemsarrayRecords on this page or formatted connection strings; an empty list can be valid.
data.items[]objectRecords on this page or formatted connection strings; an empty list can be valid.
data.items[].idintegerRelevant ARNPROXY record ID; use it instead of the upstream internal ID.
data.items[].statestringRecord/operation state. accepted is not delivery; completed is not a connection test.
data.items[].snapshotobjectPackage snapshot origin/time/freshness; stale snapshots do not grant management access.
data.items[].snapshot.sourcestringData source; local records and a live provider lookup are different evidence.
data.items[].snapshot.observed_atstringTimestamp in the API’s returned representation; example dates are synthetic.
data.items[].snapshot.freshbooleanWhether the observation satisfies its freshness window.
data.items[].snapshot.max_age_secondsintegerMaximum snapshot age allowed for freshness, in seconds.
data.items[].snapshot.reasonstring|nullFixed reason code or null, never raw provider error text.
data.items[].trafficobjectOperation-specific traffic value; preserve its demonstrated type and consult the behavior notes.
data.items[].traffic.limit_bytesstringByte count as a decimal string; avoid precision loss when converting to JavaScript Number.
data.items[].traffic.used_bytesstringByte count as a decimal string; avoid precision loss when converting to JavaScript Number.
data.items[].traffic.remaining_bytesstringByte count as a decimal string; avoid precision loss when converting to JavaScript Number.
data.items[].expires_atstringOperation-specific expires at value; preserve its demonstrated type and consult the behavior notes.
data.items[].rotation_secondsintegerRecorded/requested rotation in seconds; Rotating packages and Residential lists have different rules.
data.items[].management_availablebooleanAvailability under the result’s conditions/permissions, not a stock or provider guarantee.
data.items[].topup_availablebooleanOperation-specific topup available value; preserve its demonstrated type and consult the behavior notes.
data.next_after_idinteger|nullCursor for the next page; null means no further page in this result.
data.sourcestringData source; local records and a live provider lookup are different evidence.
metaobjectRequest correlation and data-source metadata.
meta.request_idstringThis HTTP request’s correlation ID, not an operation key or order ID.
meta.phasestringOperation-specific phase value; preserve its demonstrated type and consult the behavior notes.
meta.sourcestringData source; local records and a live provider lookup are different evidence.

Error response

HTTP 401 · INVALID_API_KEY
{
  "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.

Search the current language. Close with Esc