Get a per-GB connection line
get_traffic_connectionRead-only, free. Get one ready connection line for the account's per-GB traffic: host, port, username and the traffic key as password, for the residential or the shared mobile network in one country. The line is a secret: keep it in the user's own configuration. Using it spends the account's GB. Needs an API key or an agent token of an ipvolt account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"network": "<network>",
"country": "<country>"
},
"name": "get_traffic_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Two-letter country code, for example US. | |
| network | Yes | residential, or mobile for the shared mobile pool. | |
| protocol | No | http (default) or socks5. |