Oculus API Overview
The Oculus Proxies API provides an efficient way for users to configure and access proxy details aligned with their selected plans. Each plan has unique parameter requirements to ensure successful requests. The API is designed with simplicity in mind, accessible via a single endpoint where users can submit their desired configurations in a structured JSON format for seamless operation.
Endpoint
Headers
authToken
(string, required): your unique API authentication token. This must be included in all requests.Content-Type
: set toapplication/json
.
Request Parameters
Each request should include the following JSON body parameters. Note that required fields may vary based on the plan type:
Parameter | Type | Description |
---|---|---|
orderToken | string | A unique token linked to the user’s order. |
country | string | The country for which proxies are requested (e.g., “US”). |
numberOfProxies | integer | Specifies the number of proxies requested, if applicable. |
whiteListIP | array of strings | A list of IP addresses to be whitelisted for proxy access. |
enableSock5 | boolean | Set to true to enable SOCKS5 proxy support. |
planType | string | Indicates the type of plan. Options include: DEDICATED_DC , ISP , ISP_PREMIUM , SHARED_DC , RESIDENTIAL_SCRAPPER . |
Plan Types and Request Details
Each plan type has unique parameter requirements.
Below is an overview of the specific parameters needed for each plan type, along with examples to help guide your configuration requests.
Dedicated Datacenter
The Dedicated Datacenter (DEDICATED_DC
) plan offers exclusive access to data center proxies for optimized performance and reliability.
The following parameters are required for this plan type:
orderToken
, whiteListIP
, enableSock5
, country
Example Request:
ISP
The ISP plan provides residential proxies sourced from Internet Service Providers, supporting configurable IPs and SOCKS5 capabilities.
The following parameters are required for this plan type:
orderToken
, whiteListIP
, numberOfProxies
, enableSock5
, country
Example Request:
ISP Premium
The ISP Premium (ISP_PREMIUM
) plan offers top-tier ISP proxies with simplified configuration requirements.
The following parameters are required for this plan type:
orderToken
, whiteListIP
Example Request:
Shared Datacenter
The Shared Datacenter (SHARED_DC
) plan offers cost-effective proxy solutions that are shared among multiple users.
The following parameters are required for this plan type:
orderToken
, whiteListIP
, numberOfProxies
, enableSock5
, country
Example Request:
Residential Rotating
The Residential Rotating (RESIDENTIAL_SCRAPPER
) plan grants access to residential IPs optimized for web scraping tasks.
The following parameters are required for this plan type:
orderToken
, whiteListIP
, numberOfProxies
, enableSock5
, country
Example Request:
Response Format
Upon a successful request, the API response will return proxy configuration details, including:
proxies
: A list of proxy IPs generated based on your request parameters.
Example Response:
Error Handling
The API uses HTTP status codes to indicate request outcomes:
200 OK
: Request completed successfully.400 Bad Request
: Some parameters are missing or invalid.403 Forbidden
: Authentication token is either invalid or missing.500 Internal Server Error
: An issue occurred on the server side.
Make sure all required fields are accurately provided according to the chosen plan type to minimize errors.