SDK > requests-proxyport

Python requests-proxyport package

The requests-proxyport package is a Python library that enables you to use rotating proxies with the popular requests HTTP library. Rotating proxies are a type of proxy server that automatically switches the IP address used for the connection after a certain number of requests or a certain amount of time has passed. This can be useful for web scraping, where you may want to avoid being blocked by websites for making too many requests from a single IP address. - page on


Get API Key


$ pip install requests-proxyport


Getting Started

Before you get your first proxy, you need to assign an API Key. This can be done either through an environment variable


or directly in the code.

from requests_proxyport import Session

session = Session(proxyport_api_key='<API_KEY>') # here
r = session.get('')