# AproxPay Session Extend

> AproxPay Session Extend is a paid API for AI agents from proxy.aproxpay.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Extends an existing residential proxy session by +30 minutes and +50MB of bandwidth without changing the IP address.

## Facts

- Endpoint: POST https://proxy.aproxpay.com/v1/session/%7Bid%7D/extend
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aproxpay-session-extend-67fb09af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RLCjOPEY0VQKdKgUTu8Ry

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 aproxpay-session-extend-67fb09af -d '<json body>'
```

Example prompt: My AproxPay proxy session is about to expire — can you extend session abc123 so I keep the same residential IP for another 30 minutes and get 50MB more bandwidth?

## When to prefer this

Use this endpoint when you have an active AproxPay residential proxy session that is nearing expiration and you need to maintain the same sticky IP address without interruption. Prefer this over creating a new session when IP continuity is critical (e.g., maintaining authenticated state on a target site, avoiding bot detection from IP changes, or continuing a long-running scrape). Not available for group session IDs.

## Known failure modes

- Session ID not found or already expired — returns error indicating session does not exist
- Session is a group/pooled type that does not support extension (not available for /v1/session/g* sessions)
- Payment failure via x402 — USDC payment on Base not completed, session not extended
- Invalid or malformed session ID path parameter — request rejected
- Session already at maximum allowed duration — extension rejected

## How this service works

Residential proxy for autonomous AI agents. Pay per request in USDC on Base via x402 — no signup, no API keys, guaranteed 30–60 min sticky sessions.

## Output

Returns a JSON object with the updated session ID, the new expiry timestamp (ISO 8601), and the refreshed byte cap (e.g. 68157440 bytes / 65MB) reflecting the extended session.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "byteCap": 68157440,
  "expiresAt": "2026-07-17T13:00:00.000Z",
  "sessionId": "exampleSessionId"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aproxpay-session-extend-67fb09af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proxy.aproxpay.com](https://www.zero.xyz/host/proxy.aproxpay.com/llms.txt)
