Proxy-seller

IP 목록 만들기

엔드포인트:

POSThttps://proxy-seller.com/personal/api/v1/{YourApiKey}/residentsubuser/list/add

경로 매개변수:

이름

가치

설명

권한 부여

<Your_API_Key>

개인 API 키

요청 본문:

이름

유형

설명

title

문자열

생성 중인 목록의 이름

화이트리스트

문자열

인증용 IP. 로그인 자격 증명을 사용하여 인증하려면 비워 두세요.

geo

객체

목록에 GEO 데이터 추가(국가, 지역, 도시, ISP)

국가

문자열

GEO 데이터베이스에서 선택한 국가

지역

문자열

GEO 데이터베이스에서 선택한 지역

도시

문자열

GEO 데이터베이스에서 선택한 도시

iSP

문자열

GEO 데이터베이스에서 선택한 ISP

내보내기

객체

여기에서 목록에 있는 IP 수와 내보내기 유형(포트 번호 및 파일 형식)을 지정합니다

포트

번호

IP 수(최대 1000개)

내선

문자열

내보내기 유형

회전

번호

"'-1'은 회전 없음(고정), '0'은 요청당 회전, '1'~'3600'은 시간 기반 회전(초)입니다

패키지_키

문자열

IP 목록을 추가할 하위 사용자 패키지의 키입니다

예시:

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/residentsubuser/list/add

응답:

{
  "status": "success",
  "data": {
    "id": 561,
    "title": "US Washington Garfield FIRST-STEP",
    "login": "3c8aa1d4",
    "password": "AZT62Dx3",
    "whitelist": "127.0.0.1,192.168.0.1",
    "rotation": "-1 = rotation, 0 = rotation per request, 1..60 time in seconds",
    "geo": {
      "country": "US",
      "region": "Washington",
      "city": "Garfield",
      "isp": "FIRST-STEP"
    },
    "export": {
      "ports": 10000,
      "ext": "txt"
    }
  },
  "errors": []
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Error api key",
            "code": 503,
            "customData": null
        },
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        },
        {
            "message": "Request limit reached",
            "code": 503,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP not allowed",
            "code": 503,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Tarif not found",
            "code": 0,
            "customData": null
        }
    ]
}

본문 요청에 오류가 있는 응답:

{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Incorrect IP address 0.0.0.0 entered",
            "code": 409,
            "customData": null
        },
        {
            "message": "Incorrect IP address 0.0.0.0 entered",
            "code": 0,
            "customData": null
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "IP 127.0.0.1 already linked",
            "code": 0,
            "customData": null
        },
        {
            "message": "IP 127.0.0.1 already linked",
            "code": "0",
            "customData": null
        }
    ]
}
Same error may be in case with wrong "region", "city", "isp"!
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Invalid country (region,  city, isp) ISO code",
            "code": 400,
            "customData": null
        },
        {
            "message": "Invalid country ISO code (400)",
            "code": 0,
            "customData": null
        }
    ]
}

On this page