proxy = {...}
response.json()
await fetch(url)
Authorization: Bearer

Documentation

Everything you need to integrate premium 5G IP tunnels into your AI agents.

Quick Start

Get up and running with IPforAgents in under 5 minutes. Our service gives your AI agents authentic Verizon 5G connections for reliable automation.

1. Get Your API Key

Sign up and grab your API key from the dashboard.

2. Configure Proxy

Point your HTTP client to our proxy endpoint.

3. Make Requests

Your traffic now routes through clean 5G IPs.

Authentication

All API requests require authentication via your API key. Include it in the Authorization header or as a query parameter.

HTTP Header
Authorization: Bearer your_api_key_here

Environment Variables

We recommend storing your API key in environment variables:

Bash
export IPFORAGENTS_KEY="your_api_key_here"

Your First Request

Here's a complete example of routing a request through our 5G proxy:

Python
import requests
import os

# Configure proxy with your API key
api_key = os.getenv("IPFORAGENTS_KEY")
proxy = {
    "http": f"http://{api_key}@api.ipforagents.com:8080",
    "https": f"http://{api_key}@api.ipforagents.com:8080"
}

# Your agent now has a clean Verizon 5G IP
response = requests.get(
    "https://api.example.com/data",
    proxies=proxy
)

print(response.json())

API Endpoints

All endpoints are accessed through the proxy. Here are the management endpoints for advanced control:

GET /v1/ip Get current IP address

Returns the current 5G IP assigned to your session.

Response
{
  "ip": "174.219.xxx.xxx",
  "carrier": "verizon",
  "type": "5g",
  "region": "us-east"
}
POST /v1/rotate Rotate to new IP

Request a new IP address. Limited to once per minute per session.

GET /v1/usage Get usage statistics

Returns your current billing period usage statistics.

Rate Limits

Rate limits depend on your plan tier:

Plan Requests/sec Concurrent IP Rotation
Starter 10 5 Every 5 min
Pro 100 50 Every 1 min
Enterprise Unlimited Unlimited On demand

Python SDK

Install our official Python SDK for the easiest integration:

Shell
pip install ipforagents
Python
from ipforagents import Client

client = Client()  # Uses IPFORAGENTS_KEY env var

# Make requests through 5G proxy
with client.session() as session:
    response = session.get("https://api.example.com")
    print(response.json())

# Rotate IP on demand
client.rotate_ip()