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 a 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 where 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 tha 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 automaticly set to all.

timeout

The timeout is in ms.
When no timeout is defined the timeout is automaticly set to 100 000ms.

country

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

anonymity

anonymity has 4 allowed parameters:

  • elite
  • anonymous
  • transparent
  • all

When no anonymity level is defined it will be automaticly set to "all".

ssl

ssl has 3 allowed parameters:

  • yes
  • no
  • all

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

Donate