Proxy ServersFree Tools
Documentation

Connect to Graviix in a Few Lines of Code

Graviix exposes a standard HTTP/HTTPS proxy endpoint. Point your existing HTTP client at it, authenticate with your account credentials, and optionally add targeting headers to choose a country, city, or ISP. The same endpoint works for rotating and sticky sessions.

Endpoint and authentication

Your dashboard issues a hostname, port, username, and password. Use them as an upstream proxy; no SDK or custom client is required. The default HTTP proxy port is shown below, and SOCKS5 is available on request for plans that support it.

SettingValue
HTTP proxy hostproxy.graviix.com
HTTP proxy port8080
AuthenticationUsername and password (Basic proxy auth)
Supported schemesHTTP, HTTPS, SOCKS5 (where enabled on the plan)
Credentials locationDashboard → Proxy users

The hostname and port shown in your dashboard are authoritative. If your account is provisioned on a different endpoint or port, use the values displayed there instead of the defaults above.

Targeting headers

Add request headers to influence which IP is selected. If a requested location is unavailable, the router falls back to another IP in the same country rather than failing the request.

X-Graviix-Country

Two-letter ISO country code, for example US, DE, or IN.

X-Graviix-City

Lowercase city identifier such as new-york or berlin, where coverage exists.

X-Graviix-ISP

Preferred ISP or ASN name for plans that include ISP-level targeting.

X-Graviix-Session

A stable session token. Reuse it to keep the same IP for the session lifetime.

Rotating and sticky sessions

Without a session header, each request can be routed through a different IP. This is the usual choice for broad collection jobs. When a workflow needs continuity — a login, a cart, or a multi-step form — send the same X-Graviix-Session value on each request to keep the same exit IP until the session expires.

  • Rotating sessions are billed by bandwidth used.
  • Sticky sessions hold an IP for a configurable period, subject to availability.
  • Create a new session token to leave a sticky IP cleanly.

Code examples

cURL

curl -x http://proxy.graviix.com:8080 \
  -U "USERNAME:PASSWORD" \
  -H "X-Graviix-Country: US" \
  -H "X-Graviix-City: new-york" \
  https://httpbin.org/ip

Python (requests)

import requests

proxies = {
    "http": "http://USERNAME:PASSWORD@proxy.graviix.com:8080",
    "https": "http://USERNAME:PASSWORD@proxy.graviix.com:8080",
}
headers = {
    "X-Graviix-Country": "US",
    "X-Graviix-City": "new-york",
}
response = requests.get("https://httpbin.org/ip", proxies=proxies, headers=headers, timeout=30)
print(response.json())

Node.js (axios)

const axios = require("axios");

const response = await axios.get("https://httpbin.org/ip", {
  proxy: {
    host: "proxy.graviix.com",
    port: 8080,
    auth: { username: "USERNAME", password: "PASSWORD" },
  },
  headers: {
    "X-Graviix-Country": "US",
    "X-Graviix-City": "new-york",
  },
});

console.log(response.data);

PHP (cURL)

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://httpbin.org/ip");
curl_setopt($ch, CURLOPT_PROXY, "proxy.graviix.com:8080");
curl_setopt($ch, CURLOPT_PROXYUSERPWD, "USERNAME:PASSWORD");
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "X-Graviix-Country: US",
    "X-Graviix-City: new-york",
]);
echo curl_exec($ch);
curl_close($ch);

SOCKS5 support

SOCKS5 routes TCP traffic through the proxy without rewriting HTTP headers, which is useful for clients that do not speak HTTP proxies. Use socks5h://USERNAME:PASSWORD@proxy.graviix.com:1080 so DNS is resolved at the exit point. SOCKS5 availability depends on your plan; check the dashboard or ask support before building a workflow that depends on it.

curl --socks5-hostname proxy.graviix.com:1080 \
  -U "USERNAME:PASSWORD" \
  https://httpbin.org/ip

Common status codes

CodeMeaningWhat to check
407Proxy authentication requiredUsername/password, URL encoding of special characters
403Target refused the requestTargeting headers, target site rules, request rate
429Rate limited by the targetSlow down or distribute requests across sessions
502 / 504Upstream connection issueRetry; if persistent, contact support with the request ID

Questions we get about setup

Do I need to install a client?

No. Graviix works with any HTTP client that supports an upstream proxy, including browsers, scraping frameworks, and automation tools.

Can I use the same credentials in several applications?

You can, but creating separate proxy users per application makes usage easier to track and lets you revoke one without affecting the others.

Why does my IP not change between requests?

You are likely reusing a session header or your client is keeping a connection alive. Remove the session header and disable connection reuse in the client to rotate per request.

Is there a request timeout?

Idle connections are closed after a period of inactivity. Set a client-side timeout and retry transient failures rather than holding a connection open indefinitely.