Testing and verification

Your site may behave differently for visitors than for your office: caches, redirects, consent banners, bot protection and country rules all get in the way.

Start with 1,000 free requests

Tests from your own network or a data centre often see a different site than your customers. Problems with bot protection or redirects stay unnoticed.

How VirginProxy helps

  • See your pages as an ordinary visitor sees them.
  • Follow redirects or stop at the first one, as you need.
  • Exact status, headers and timing in every response.
  • Fits into CI pipelines: one HTTP call, one clear result.

Example request

Check that a campaign URL redirects to the right landing page.

curl https://api.virginproxy.com/v1/requests \
  -H "Authorization: Bearer $VP_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.example.com/campaign/winter",
    "follow_redirects": false
  }'
import os, requests

r = requests.post(
    "https://api.virginproxy.com/v1/requests",
    headers={"Authorization": "Bearer " + os.environ["VP_KEY"]},
    json={
        "url": "https://www.example.com/campaign/winter",
        "follow_redirects": False
    },
    timeout=150,
)
data = r.json()
print(data["status"], data["exit"]["ip"], data["cost"]["credits"])

API reference

Questions

Can I check redirects without following them?

Yes. Set follow_redirects to false and you get the redirect response itself.

Can I use it in CI?

Yes. It is a plain HTTPS API; any language or tool that can send a POST request works.

Other use cases

Use VirginProxy for lawful purposes and respect the terms and rights of the sites you visit.

Try it with 1,000 free requests

No card needed. Your first request takes two minutes.

Create free account