Shifter Documentation
  • Getting Started
  • PROXIES
    • Rotating Residential Proxies
    • Static Residential Proxies
  • SCRAPING API
    • Web Scraping API
      • API Request
      • Basic Request
      • Rendering JavaScript
      • Custom Headers
      • Custom Cookies
      • Proxies
      • Geolocation
      • Sessions
      • Forcing Timeouts
      • Binary Files
      • Waiting for CSS
      • Screenshot
      • Extraction Rules
      • JSON Auto Parser
      • Javascript Instructions
      • Disable Stealth
      • POST Requests
      • PUT Requests
      • Conclusion
      • API Errors
  • Google SERP API
    • Search APIs
      • Google Search API
      • Google Product API
      • Google Scholar Cite API
      • Google Scholar Author API
      • Google Scholar Profiles API
      • Google Scholar API
      • Google Autocomplete API
      • Google Maps Photos API
      • Google Maps Reviews API
      • Google Reverse Image API
      • Google Events API
      • Google Finance API
      • Google Play API
      • Google Jobs API
      • Google Local Services API
      • Google Jobs Listing API
      • Google Maps API
      • Google Trends API
        • Google Trends Categories List
        • Geo Parameter Options List
    • API Response
  • Bing SERP API
    • Search API
    • API Parameters
    • Basic API Requests
  • Yandex SERP API
    • Search API
    • Basic API Requests
    • API Parameters
  • Amazon API
    • Getting Started
      • API Parameters
      • Access the API
      • Supported Domains
    • Amazon Search
    • Amazon Seller Products
    • Amazon Seller Profile
    • Amazon Seller Feedback
    • Amazon Product
    • Amazon Category
    • Amazon Bestsellers
    • Amazon Deals
  • Useful Links
    • Github
    • Shifter Homepage
    • Knowledge Base
Powered by GitBook
On this page
  • Making API Requests
  • Method PUT
  • HTT Form Payload
  • GET Authorized IPs
  • PUT Authorized IPs
  • GET Proxies

Was this helpful?

  1. PROXIES

Static Residential Proxies

Making API Requests

The api_token can be found in our panel by going to your profile.

Method PUT

To simulate PUT, set the Content-Type header to application/x-www-form-urlencoded and add a field named _method with the value PUT.

Example:

$.ajax({
    url: "/api/v1/dedicated/{membership}/authorized-ips/?api_token=xxxx",
    data: "_method=PUT&ips[]=1.1.1.1&ips[]=2.2.2.2",
    dataType: "json",
    type : "POST",
    success : function(r) {
        console.log(r);
    }
});

HTT Form Payload

Content-Type: x-www-form-urlencoded

Method: GET/PUT/POST

Content: _method=PUT&ips[]=1.1.1.1&geo[]=2.2.2.2

JSON Payload (must be PUT):

{
    "key" : [
        "value1",
        "value2"
    ]
}
Example:
{
    "ips" : [
        "1.1.1.1",
        "2.2.2.2"
    ]
}

GET Authorized IPs

GET https://shifter.io/api/v1/dedicated/{membership}/authorized-ips/

Path Parameters

Name
Type
Description

membership*

String

The ID can be found on the membership page.

{
    "error": null,
    "code": 200,
    "data": [
      "1.1.1.1",
      "1.1.1.2"
    ]
}
{
    "error": "Unauthorized",
    "code": 401
}
{
    "error": "Membership not found",
    "code": 404
}
{
    "error": "Membership status is: [Status]",
    "code": 503
}

PUT Authorized IPs

Payload Content
{
    "ips": [
        "1.1.1.1",
        "1.1.1.2"
    ]
}

PUT https://shifter.io/api/v1/dedicated/{membership}/authorized-ips/

Path Parameters

Name
Type
Description

membership*

String

The ID can be found on the membership page.

{
    "error": null,
    "code": 200,
    "data": [
      "1.1.1.1",
      "1.1.1.2"
    ]
}
{
    "error": "Unauthorized",
    "code": 401
}
{
    "error": "Membership not found",
    "code": 404
}
{
    "error": "Auth type is user/pass",
    "code": 403
}
{
    "error": "Membership status is: [Status]",
    "code": 503
}

GET Proxies

GET https://shifter.io/api/v1/dedicated/{membership}/proxies/

Path Parameters

Name
Type
Description

membership*

String

The ID can be found on the membership page.

{
    "error": null,
    "code": 200,
    "data": [
        "8.8.8.1:1",
        "8.8.8.2:1",
        "8.8.8.3:1",
        "8.8.8.4:1",
        "8.8.8.5:1"
    ]
}
{
    "error": "Unauthorized",
    "code": 401
}
{
    "error": "Membership not found",
    "code": 404
}
{
    "error": "Membership status is: [Status]",
    "code": 503
}
PreviousRotating Residential ProxiesNextWeb Scraping API

Last updated 1 year ago

Was this helpful?