INTRODUCTION

Hello and welcome to the ProxyScrape API, the API can be used to download, display, get the proxy amount and last updated time in an efficient way.

REQUEST TYPES

There are 4 types of API requests you can make, including: getproxies, displayproxies, amountproxies and lastupdated

getproxies

getproxies will immediately download the proxies once navigated to the url.
getproxies supports multiple parameters including:

Input: https://proxyscrape.com/api/?request=getproxies&proxytype=http&timeout=5000&country=US&anonymity=elite&ssl=yes
Output: Downloads elite http proxies with SSL enabled with a timeout of 5000ms located in the US in the common ip:port format.

displayproxies

displayproxies will not download the proxies instead it will display the proxies on the website.
displayproxies supports multiple parameters including:

Input: https://proxyscrape.com/api/?request=displayproxies&proxytype=http&timeout=7000&country=DE&anonymity=elite&ssl=no
Output: Displays elite http proxies with SSL disabled with a timeout of 7000ms located in the DE in the common ip:port format.

amountproxies

amountproxies will return the amount of available proxies for the given conditions.
amountproxies supports multiple parameters including:

Input: https://proxyscrape.com/api/?request=amountproxies&proxytype=http&timeout=7000&country=DE&anonymity=elite&ssl=all
Output: Will return the amount of proxies for the given conditions.

lastupdated

lastupdated will return when the proxies were last updated.
lastupdated only requires 1 parameter:

Input: https://proxyscrape.com/api/?request=lastupdated&proxytype=http
Output: Will return the last updated time for the given conditions, lastupdated only requires the proxytype parameter.

PARAMETERS

Parameters are used to tell the API what kind of proxies you want.

proxytype

proxytype has 4 allowed parameters:

  • http
  • socks4
  • socks5
  • all

When you don't use the parameter the proxy type will be automatically set to all.

timeout

The timeout is in ms.
When no timeout is defined the timeout is automatically set to 10 000ms.

country

The country parameter can be any Alpha 2 ISO country code or 'all', the country codes can be found here.
When no country is defined the country will be automatically set to all

anonymity

anonymity has 4 allowed parameters:

  • elite
  • anonymous
  • transparent
  • all

When no anonymity level is defined it will be automatically set to all

ssl

ssl has 3 allowed parameters:

  • yes
  • no
  • all

When ssl is not defined it will be automatically set to all.

DONATE