{
  "x402Version": 1,
  "format": "Proxies.sx discovery file. Not an x402 standard: no .well-known x402 convention exists yet.",
  "payment": {
    "flow": "Call a 402-gated endpoint without payment. The 402 JSON body (also base64 in the payment-required header) lists accepts[] items with scheme exact, network base or solana, maxAmountRequired in six-decimal USDC units, asset and payTo. Send that USDC amount to payTo on that network, then, within 15 minutes of the block that carries the payment, repeat the same request with the headers Payment-Signature: <Base tx hash or Solana signature> and X-Claim-Secret: <random 16-128 characters>. Success returns 200 with the credential and an x402s_ session token; the dedicated port also sets a base64 payment-response header {status, txHash, network}. The same hash with the same claim secret returns the credential again if the response is lost. One payment buys exactly one product.",
    "requestHeader": "Payment-Signature",
    "claimHeader": "X-Claim-Secret",
    "claimSecret": "Optional, recommended: a random value of 16 to 128 characters sent with the paid request and kept by the buyer. The server stores only its hash.",
    "proof": "on-chain transaction hash (Base) or transaction signature (Solana)",
    "maxTransactionAge": "900 seconds: present the hash within 15 minutes of the block that carries the payment; a hash first presented inside that window stays valid for retries (maxTimeoutSeconds 900)",
    "notAccepted": "Standard x402 signed payments (a signed PAYMENT-SIGNATURE payload, as sent by @x402/fetch) are not accepted today. X-PAYMENT is not read."
  },
  "walletAccount": {
    "description": "The wallet that pays can also sign in to an account. The account lists the x402 purchases that wallet paid for, takes USDC top-ups from it, and buys pool GB and Private modems from its balance. Private modems are not sold by x402 direct.",
    "recipe": "https://www.proxies.sx/x402/wallet-account",
    "panel": "https://client.proxies.sx: Continue with Base wallet or Continue with Solana wallet opens the same account in the browser",
    "signIn": {
      "challenge": "POST https://api.proxies.sx/v1/login/wallet/challenge {chain: base or solana, address} -> {message, nonce, expiresAt}. Single use, valid 5 minutes. EIP-4361 text for base: domain client.proxies.sx, Chain ID 8453.",
      "sign": "base: EIP-191 personal_sign by an ordinary wallet (EOA); smart-contract wallets cannot sign in. solana: ed25519 over the message's UTF-8 bytes, sent as base58 or padded base64.",
      "verify": "POST https://api.proxies.sx/v1/login/wallet/verify {chain, address, message, signature} -> {user, access_token}. The JWT lasts 1 day. The first verify opens the account; one wallet belongs to one account."
    },
    "endpoints": {
      "sessions": "GET https://api.proxies.sx/v1/x402/account/sessions with Authorization: Bearer <JWT> -> wallets, purchases (with the session token of each active one), topups",
      "topup": "GET https://api.proxies.sx/v1/x402/account/topup?amount=<1-5000> -> 402; pay USDC from a linked wallet, then repeat with Payment-Signature: <tx hash or signature>. Credited once.",
      "buyGB": "POST https://api.proxies.sx/v1/billing/purchase-traffic {amount} with the JWT",
      "privateModems": "GET https://api.proxies.sx/v1/private-modems/catalog, then POST https://api.proxies.sx/v1/private-modems/orders {tariffId, expectedPriceUsd} with an Idempotency-Key header",
      "apiKey": "POST https://api.proxies.sx/v1/api-keys {name, scopes} with the JWT",
      "linkWallet": "POST https://api.proxies.sx/v1/login/wallet/link/challenge, then POST https://api.proxies.sx/v1/login/wallet/link; remove with DELETE https://api.proxies.sx/v1/login/wallet/link/{chain}/{address}"
    }
  },
  "server": {
    "name": "PROXIES.SX",
    "description": "Premium 4G/5G mobile + residential proxy network with x402 payment protocol for AI agents",
    "url": "https://api.proxies.sx",
    "documentation": "https://www.proxies.sx/x402",
    "support": "maya@proxies.sx",
    "telegram": "https://t.me/sxproxies",
    "telegramSupport": "https://t.me/sxproxies",
    "telegramGroup": "https://t.me/proxies_sx",
    "twitter": "https://x.com/sxproxies",
    "x": "https://x.com/sxproxies",
    "x402scanRegistry": "https://www.x402scan.com/server/d05870e5-7c8f-4a7d-b4d5-43573b9d0808"
  },
  "endpoints": [
    {
      "path": "/v1/x402/info",
      "method": "GET",
      "description": "Dedicated-port service info: pricing, networks, limits, countries",
      "authentication": "none",
      "rateLimit": "100/hour",
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/health",
      "method": "GET",
      "description": "Health check - Verify x402 integration is enabled",
      "authentication": "none",
      "rateLimit": "unlimited",
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/countries",
      "method": "GET",
      "description": "Countries where a dedicated port can start now, read live from device inventory",
      "authentication": "none",
      "rateLimit": "100/hour",
      "parameters": {
        "tier": {
          "type": "string",
          "enum": ["shared"],
          "required": false,
          "description": "Filter by tier availability"
        }
      },
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/pricing",
      "method": "GET",
      "description": "Get current pricing for all tiers and networks",
      "authentication": "none",
      "rateLimit": "100/hour",
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/calculate",
      "method": "GET",
      "description": "Calculate cost for specific duration and traffic",
      "authentication": "none",
      "rateLimit": "100/hour",
      "parameters": {
        "tier": {
          "type": "string",
          "enum": ["shared"],
          "required": true,
          "default": "shared"
        },
        "duration": {
          "type": "integer",
          "required": true,
          "description": "Duration in seconds (3600-2592000)",
          "minimum": 3600,
          "maximum": 2592000
        },
        "traffic": {
          "type": "number",
          "required": true,
          "description": "Traffic in GB",
          "minimum": 0.1
        }
      },
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/pool/pricing",
      "method": "GET",
      "description": "Pool tiers (mbl, peer), price per GB, per-purchase volume steps and payment networks",
      "authentication": "none",
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/pool",
      "method": "GET|POST",
      "description": "Purchase a Pool Gateway credential (returns 402 Payment Required). The main x402 product: one capped pak_ credential for gw.proxies.sx that routes to every country in its tier.",
      "authentication": "x402",
      "rateLimit": "10/minute",
      "parameters": {
        "traffic": {
          "type": "number",
          "required": true,
          "description": "GB cap for the credential",
          "minimum": 0.1
        },
        "tier": {
          "type": "string",
          "enum": ["mbl", "peer"],
          "required": false,
          "default": "mbl"
        },
        "country": {
          "type": "string",
          "required": false,
          "default": "any",
          "description": "ISO code or any; only presets the username. Live pool countries: GET /v1/gateway/pool/stock"
        },
        "duration": {
          "type": "integer",
          "required": false,
          "description": "Credential lifetime in seconds (30 days by default)"
        },
        "sid": {
          "type": "string",
          "required": false,
          "description": "Session id, 8-64 characters a-z0-9_"
        },
        "rot": {
          "type": "string",
          "enum": ["sticky", "hard", "auto5", "auto10", "auto20", "auto60", "ondemand"],
          "required": false,
          "default": "sticky"
        }
      },
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/manage/pool/credit",
      "method": "GET",
      "description": "Pool credential: GB bought, used and remaining, expiry, enabled. Also GET /v1/x402/manage/pool/connection and /usage, POST /regenerate (3 per hour) and POST /topup ({addTrafficGB}, answers 402 with the amount, then retry with Payment-Signature; time only is free)",
      "authentication": "X-Session-Token header",
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/proxy",
      "method": "GET",
      "description": "Purchase a dedicated proxy port, legacy (returns 402 Payment Required). The port suspends at its paid GB and resumes within a few minutes after a paid POST /v1/x402/manage/session/topup.",
      "authentication": "x402",
      "rateLimit": "10/minute",
      "parameters": {
        "country": {
          "type": "string",
          "required": true,
          "description": "ISO country code listed by GET /v1/x402/countries"
        },
        "duration": {
          "type": "integer",
          "required": true,
          "description": "Duration in seconds (3600-2592000)",
          "minimum": 3600,
          "maximum": 2592000
        },
        "traffic": {
          "type": "number",
          "required": true,
          "description": "Traffic in GB",
          "minimum": 0.1
        },
        "tier": {
          "type": "string",
          "enum": ["shared"],
          "required": false,
          "default": "shared"
        },
        "network": {
          "type": "string",
          "enum": ["base", "solana"],
          "required": false,
          "default": "base"
        },
        "carrier": {
          "type": "string",
          "required": false,
          "description": "Specific carrier (optional)"
        },
        "city": {
          "type": "string",
          "required": false,
          "description": "Specific city (optional)"
        }
      },
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/manage/session",
      "method": "GET",
      "description": "Session management - Get session details",
      "authentication": "X-Session-Token header",
      "rateLimit": "100/hour",
      "responseType": "application/json"
    },
    {
      "path": "/v1/x402/manage/ports/:id/status",
      "method": "GET",
      "description": "Port status - Get status of a specific x402 port",
      "authentication": "X-Session-Token header",
      "rateLimit": "100/hour",
      "responseType": "application/json"
    }
  ],
  "pricing": {
    "currency": "USDC",
    "tiers": {
      "shared": {
        "description": "Shared mobile proxy port",
        "portPriceMonthly": 0,
        "trafficPricePerGB": 4.00,
        "rotationInterval": "5 minutes"
      }
    },
    "minimums": {
      "durationSeconds": 3600,
      "trafficGB": 0.1,
      "estimatedMinCost": {
        "shared": 0.40
      }
    },
    "pool": {
      "pricePerGB": 4.00,
      "volumeSteps": "per purchase, whole-GB amounts: $3.60/GB from 25 GB, $3.20 from 50 GB, $2.80 from 100 GB, $2.40 from 250 GB; a fractional amount between two ranges (such as 49.5 GB) is quoted at $4/GB; one purchase is 0.1 to 1000 GB; the 402 quote is the price",
      "live": "https://api.proxies.sx/v1/x402/pool/pricing",
      "note": "The amount in the 402 quote is the price"
    }
  },
  "networks": {
    "base": {
      "chainId": 8453,
      "currency": "USDC",
      "payToAddress": "0xF8cD900794245fc36CBE65be9afc23CDF5103042",
      "usdcContract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    },
    "solana": {
      "currency": "USDC",
      "payToAddress": "6eUdVwsPArTxwVqEARYGCh4S2qwW2zCs7jSEDRpxydnv"
    }
  },
  "capabilities": [
    "mobile-proxy",
    "4g-5g-network",
    "ip-rotation",
    "geo-targeting",
    "http-https-socks5",
    "instant-access",
    "no-registration",
    "usdc-payments",
    "multi-chain",
    "wallet-sign-in"
  ],
  "countries": {
    "note": "Dynamic - pool: GET /v1/gateway/pool/stock; dedicated port: GET /v1/x402/countries"
  },
  "limits": {
    "minDurationSeconds": 3600,
    "maxDurationSeconds": 2592000,
    "minTrafficGB": 0.1,
    "rotationShared": "5 minutes",
    "maxTransactionAge": "900 seconds: present the hash within 15 minutes of the block that carries the payment; a hash first presented inside that window stays valid for retries (maxTimeoutSeconds 900)"
  },
  "protocols": ["HTTP", "HTTPS", "SOCKS5"],
  "features": {
    "ipRotation": true,
    "geoTargeting": true,
    "carrierSelection": true,
    "citySelection": true,
    "sessionPersistence": true,
    "usageTracking": true
  },
  "mcpServer": {
    "description": "Official MCP server with x402 autonomous payment support for AI agents",
    "npmPackage": "@proxies-sx/mcp-server",
    "npm": "https://www.npmjs.com/package/@proxies-sx/mcp-server",
    "installCommands": {
      "npx": "npx -y @proxies-sx/mcp-server",
      "global": "npm install -g @proxies-sx/mcp-server",
      "local": "npm install @proxies-sx/mcp-server"
    },
    "runCommand": "proxies-sx-mcp",
    "version": "3.2.0",
    "x402Payment": "pays USDC from a Base wallet (AGENT_WALLET_KEY) and sends the transaction hash",
    "x402Tools": 16,
    "license": "MIT",
    "features": [
      "x402_get_proxy - Purchase proxy with USDC",
      "x402_get_pricing - Calculate cost",
      "x402_list_sessions - List active sessions",
      "x402_check_session - Get session details",
      "x402_wallet_balance - Check USDC balance",
      "x402_rotate_ip - Rotate proxy IP",
      "x402_list_countries - Available countries",
      "x402_extend_session - Add more time",
      "x402_service_status - Health check",
      "x402_get_pool_access - Buy Pool Gateway traffic with USDC",
      "x402_pool_credit - GB bought, used and left",
      "x402_pool_topup - Add GB and/or time",
      "x402_pool_regenerate - Replace the pool password",
      "x402_pool_connection - Show the pool credentials again",
      "x402_pool_usage - Traffic per day",
      "x402_pool_pricing - Live pool tiers and prices"
    ]
  },
  "links": {
    "documentation": "https://www.proxies.sx/x402",
    "apiDocs": "https://www.proxies.sx/docs",
    "mcpServer": "https://www.proxies.sx/mcp",
    "apiDocsX402": "https://www.proxies.sx/docs#x402-overview",
    "pricing": "https://www.proxies.sx/pricing",
    "llmTxt": "https://www.proxies.sx/llm.txt",
    "agentCard": "https://www.proxies.sx/agent-card.json",
    "x402scan": "https://www.x402scan.com/server/d05870e5-7c8f-4a7d-b4d5-43573b9d0808",
    "x402Protocol": "https://www.x402.org/"
  },
  "agentInstructions": {
    "fullContext": "For comprehensive understanding, AI agents should fetch and read the entire content of /docs or /mcp pages",
    "recommendedPages": [
      "https://www.proxies.sx/x402/wallet-account",
      "https://www.proxies.sx/docs",
      "https://www.proxies.sx/mcp",
      "https://www.proxies.sx/x402",
      "https://www.proxies.sx/x402/curl-quickstart",
      "https://www.proxies.sx/x402/errors"
    ]
  },
  "lastUpdated": "2026-11-30T00:00:00Z"
}
