Proxy-seller

목록 작성

Updated:

최종 결과물:

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

경로 매개변수

이름

가치

설명

승인

<Your_API_Key>

개인 API 키

요청 본문

이름

유형

설명

제목

문구

작성 중인 목록의 이름

화이트리스트

문구

인증용 IP 주소. 로그인 자격 증명으로 인증하려면 비워 두십시오.

geo

object

목록에 GEO 데이터(국가, 지역, 도시, ISP)를 추가하세요.

국가

문구

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

지역

문구

GEO 데이터베이스에서 선택한 지역 (대소문자 구분이 중요합니다)

도시

문구

GEO 데이터베이스에서 선택된 도시 (대소문자 구분이 중요합니다)

isp

문구

GEO 데이터베이스에서 선정된 ISP (대소문자 구분이 중요합니다)

내보내기

object

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

포팅

숫자

IP 수 (최대 1,000개)

ext

문구

내보내기 유형

로테이션

숫자

"회전: '-1'은 회전 없음(고정), '0'은 요청 시마다 회전, '1'에서 '3600'은 초 단위의 시간 기반 회전을 의미합니다.

예시

https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/resident/list/add
{
  "title": "myList",
  "whitelist": "",
  "geo": {
    "country": "AD",
    "region": "Andorra la Vella",
    "city": "Andorra la Vella",
    "isp": "Andorra Telecom, S.a.u."
  },
  "export": {
    "ports": 1,
    "ext": "csv"
  },
  "rotation": -1
}

답변

{
    "status": "success",
    "data": {
        "id": 21829782,
        "title": "myList",
        "login": "123123",
        "password": "123123",
        "whitelist": "",
        "rotation": -1,
        "geo": [
            {
                "country": "AD",
                "region": "Andorra la Vella",
                "city": "Andorra la Vella",
                "isp": "Andorra Telecom, S.a.u."
            }
        ],
        "export": {
            "ports": "1",
            "ext": "csv"
        }
    },
    "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