---
title: "Generate custom endpoints"
method: GET
path: "/v2/endpoints-custom"
tags: ["Endpoints"]
---

# Generate custom endpoints

`GET /v2/endpoints-custom`

Generate custom endpoints for proxying for Residential and Datacenter Pay per GB (DEPRECATED) subscriptions. If a default value is preset you don't need to actually include it in the request param query.

## Query parameters

- `proxy_type` 'residential_proxies'
- `auth_type` 'basic' | 'whitelist'
- `username` string
- `password` string
- `session_type` 'sticky' | 'random'
- `session_time` integer
- `location` string
- `output_format` 'protocol:auth@endpoint' | 'endpoint:auth' | 'auth@endpoint'
- `count` integer
- `page` integer
- `response_format` 'json' | 'txt' | 'html'
- `line_break` '\n' | '\r\n' | '\r' | '\t'
- `domain` string
- `ip` string

## Response `200`

200

- string[]

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/decodo/apis/smartproxy.md) · [All operations](https://skmtc.dev/decodo/apis/smartproxy/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decodo/smartproxy/revisions/561ae165491a/schema)
