Products, quotes and orders

    Check prices, get an exact quote and buy Residential Proxy, Mobile 4G/5G or Rotativa CPA by Pix or card through the API.

    View as Markdown

    Through the API you buy Residential Proxy, Mobile 4G/5G Proxy and Rotativa CPA at the same price as the website, with the same GB bonus. You pay by Pix or card, one order at a time. After payment, the proxy is created in your account and also shows up in the panel.

    The full path is: check products, get a quote, create the order, pay and check the status.

    Products and prices

    bash
    curl https://api.rh7proxys.com/v1/products \
      -H "Authorization: Bearer rh7k_your_key"
    json
    {
      "success": true,
      "data": {
        "currency": "BRL",
        "payment_methods": [{ "method": "pix", "fee_percent": 0 }, { "method": "card", "fee_percent": 3.5 }],
        "products": [
          { "product": "residential", "name": "Proxy Residencial", "modes": ["rotating", "sticky"], "min_gb": 1, "max_gb": 500, "geo_targeting": ["country", "state", "city"], "price_tiers": [{ "from_gb": 1, "price_per_gb_brl": 8.9 }], "bonus_tiers": [{ "from_gb": 20, "bonus_gb": 1 }] },
          { "product": "mobile", "name": "Proxy Mobile 4G/5G", "modes": ["rotating", "sticky"], "min_gb": 1, "max_gb": 200, "geo_targeting": ["country", "state", "city"] },
          { "product": "rotativa_cpa", "name": "Rotativa CPA", "modes": ["rotating"], "packages_gb": [10, 20, 50, 100, 200, 500], "geo_targeting": ["country"] }
        ]
      }
    }

    The values in the example are for illustration only. Always read prices from this route: it follows the website's price table in real time.

    ProductCodeQuantityModes
    Residential Proxyresidential1 to 500 GBrotating or sticky
    Mobile 4G/5G Proxymobile1 to 200 GBrotating or sticky
    Rotativa CPArotativa_cpaPackages of 10, 20, 50, 100, 200 or 500 GBrotating

    Exact quote

    Shows the total before you buy, with bonus, coupon and the card price. It does not create an order.

    bash
    curl "https://api.rh7proxys.com/v1/quote?product=residential&gb=20" \
      -H "Authorization: Bearer rh7k_your_key"
    json
    {
      "success": true,
      "data": {
        "product": "residential", "gb": 20, "bonus_gb": 1, "total_gb": 21,
        "price_per_gb_brl": 6.95, "subtotal_brl": 139, "coupon_discount_brl": 0,
        "total_brl": 139, "total_card_brl": 143.87, "currency": "BRL"
      }
    }

    Parameters: product and gb are required. coupon_code is optional.

    Buy

    POST /v1/orders requires the Purchases permission and the Idempotency-Key header: a new code for each purchase, such as a UUID. If the connection drops and you repeat the call with the same code, the API returns the same order and does not charge again.

    bash
    curl -X POST https://api.rh7proxys.com/v1/orders \
      -H "Authorization: Bearer rh7k_your_key" \
      -H "Idempotency-Key: 6f1c2a90-3b7e-4f7a-9a51-2d0c8e6b1f44" \
      -H "Content-Type: application/json" \
      -d '{"product": "residential", "gb": 10, "mode": "rotating", "payment_method": "pix"}'
    FieldRequiredWhat it is
    productYesresidential, mobile or rotativa_cpa
    gbYesAmount of GB (for Rotativa CPA, one of the packages)
    modeNorotating (default) or sticky
    payment_methodNopix (default) or card (+3.5%)
    coupon_codeNoDiscount coupon
    cpfNoCPF or CNPJ of the person paying the Pix. Empty uses the one on your account.
    full_nameNoName of the person paying (up to 120 characters)
    blocked_hostsNoUp to 100 websites blocked from delivery onward

    Pix response (201):

    json
    {
      "success": true,
      "data": {
        "order": { "id": "uuid", "type": "new_proxy", "status": "awaiting_payment", "product": "residential", "total_gb": 10, "total_brl": 79.9, "proxy_id": null },
        "pix": { "copy_paste": "00020126...", "qr_code_base64": "data:image/png;base64,...", "expires_at": "2026-11-26T15:00:00Z" }
      }
    }

    With a card, you get card.checkout_url instead of pix: open that link so the person can pay.

    Check the payment

    bash
    curl https://api.rh7proxys.com/v1/orders/ORDER_ID \
      -H "Authorization: Bearer rh7k_your_key"

    This route checks the payment in real time. Poll it every 5 to 10 seconds while the status is awaiting_payment or processing.

    StatusMeaning
    awaiting_paymentWaiting for payment
    processingPaid, creating the proxy
    deliveredReady. proxy_id has the proxy id.
    expiredThe Pix expired without payment
    failedDelivery failed. Support will fix it.
    cancelledCancelled

    With the proxy_id, request the credentials at GET /v1/proxies/{proxy_id}/credentials (see Manage proxies).

    List orders

    GET /v1/orders?limit=20&offset=0 lists the orders made through the API, from newest to oldest. limit goes from 1 to 100.

    Top up a proxy

    A top-up adds GB to the same proxy, with no change to the username and password. It is covered in Manage proxies.