# agproxy Residential Proxy Pack Purchase

> agproxy Residential Proxy Pack Purchase is a paid API for AI agents from agproxy.shveik.dev, paid per call via x402, $2.412/call, status unknown (last checked 2026-10-16).

Purchases a residential proxy pack (1–100 GB, 90-day validity) and returns login credentials (host, port, username, password) for use with any HTTP client, with optional country targeting and session/rotation control.

## Facts

- Endpoint: POST https://agproxy.shveik.dev/x402/proxy?utm_source=zero.xyz
- Price: $2.412/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agproxy-residential-proxy-pack-purchase-7de1830f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__qoFSo2BnjUU1l3KXB6fk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agproxy-residential-proxy-pack-purchase-7de1830f -d '<json body>'
```

Example prompt: Buy me a 5 GB residential proxy pack in the US from agproxy so I can use it with curl — give me the host, port, username, and password when it's ready.

## When to prefer this

Choose this endpoint when an AI agent or automation pipeline needs a fresh set of residential proxy credentials (host/port/username/password) it can reuse across many requests over days or weeks, rather than proxying a single URL on demand. Prefer this over the sibling single-fetch endpoint when the agent needs persistent, configurable proxy access for tools like curl, Playwright, or Puppeteer, or when country targeting and session stickiness matter across multiple calls.

## Known failure modes

- Invalid country code (non-2-letter string) returns validation error
- GB value below 1 or above 100 returns schema validation error
- Insufficient USDC payment or failed x402 payment flow returns 402 Payment Required
- Payment settled but provisioning fails on backend — credentials may not be returned
- Network timeout during purchase — unclear if pack was created, requiring retry caution to avoid double-billing

## How this service works

Residential proxy for AI agents. Pay for gigabytes of traffic and get a proxy login (host, port, username, password) after payment, to use with curl, a browser or any HTTP client. Choose a country, rotate the IP on every connection or keep one with a session tag. A pack lasts 90 days. Pay per pack in stablecoins.

## Output

Returns a JSON object containing the proxy host, HTTP port, TLS port, protocol, country, username, password (shown once), capacity in bytes, expiry timestamp, and an example curl command demonstrating usage. Credentials are valid for 90 days or until the purchased GB quota is exhausted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "gb": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1
  },
  "country": {
   "type": "string",
   "pattern": "^[A-Za-z]{2}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "host": "agproxy.…",
  "port": 8081,
  "country": null,
  "example": "curl -x…",
  "password": "(shown o…",
  "protocol": "http",
  "tls_port": 8444,
  "username": "ap_01234…",
  "cap_bytes": 1000000000,
  "expires_at": "2027-01-…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agproxy-residential-proxy-pack-purchase-7de1830f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agproxy.shveik.dev](https://www.zero.xyz/host/agproxy.shveik.dev/llms.txt)
