Proxy-seller

목록 만들기

엔드포인트:

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

경로 매개변수

이름

가치

설명

권한 부여

<Your_API_Key>

개인 API 키

요청 본문

이름

유형

설명

title

문자열

생성 중인 목록의 이름

화이트리스트

문자열

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

geo

객체

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

국가

문자열

GEO 데이터베이스에서 선택한 국가(대소문자가 중요)

지역

문자열

GEO 데이터베이스에서 선택한 지역(대소문자가 중요)

도시

문자열

GEO 데이터베이스에서 선택한 도시(대소문자가 중요)

iSP

문자열

GEO 데이터베이스에서 선택한 ISP(대소문자가 중요)

내보내기

객체

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

포트

번호

IP 수(최대 1000개)

내선

문자열

내보내기 유형

회전

번호

"회전: 회전 없음(고정)의 경우 '-1', 요청당 회전의 경우 '0', 시간 기반 회전(초)의 경우 '1 ~ '3600'

https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/resident/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 = sticky, 0 = rotation per request, 1..3600 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
        }
    ]
}
{
    "status": "error",
    "data": null,
    "errors": [
        {
            "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