Residential proxy data, bought by the GB from your account balance. Your account has one proxy login: buy data with POST /proxies/purchase, then read the host, ports, username and password from GET /proxies, which also explains how to choose the country, city or a sticky IP. Unused data never expires.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Quackr Residential Proxies API
version: 1.0.0
description: 'Comprehensive API for temporary phone number rental, SMS verification, per-service dedicated numbers, and virtual card management. Purchase phone numbers from multiple countries, receive SMS messages, manage account balance, check inventory availability, configure webhook notifications for real-time SMS delivery, rent per-service numbers for specific platforms (WhatsApp, Telegram, etc.), create/manage virtual credit cards, and buy residential proxy data by the GB.
## Common Properties
### Duration Values
The `duration` field is used across multiple endpoints and accepts the following values:
| Value | Duration |
|-------|----------|
| `halfDay` | 12 hours |
| `oneDay` | 24 hours |
| `oneWeek` | 7 days |
| `oneMonth` | 30 days |
| `sixMonths` | 180 days |
| `twelveMonths` | 365 days |
### Locale Values
The `locale` field specifies the country for phone numbers:
| Code | Country |
|------|----------|
| `US` | United States |
| `UK` | United Kingdom |
| `NL` | Netherlands |
| `HK` | Hong Kong |
| `AU` | Australia |
| `CA` | Canada |
| `FI` | Finland |
| `DE` | Germany |
| `ES` | Spain |
| `LT` | Lithuania |
| `MX` | Mexico |
| `IL` | Israel |
| `PL` | Poland |
| `IT` | Italy |
| `AT` | Austria |
| `SI` | Slovenia |
| `CH` | Switzerland |
| `BE` | Belgium |'
servers:
- url: https://api.quackr.io
description: quackr api server
security:
- ApiKeyAuth: []
tags:
- name: Residential Proxies
description: 'Residential proxy data, bought by the GB from your account balance. Your account has one proxy login: buy data with POST /proxies/purchase, then read the host, ports, username and password from GET /proxies, which also explains how to choose the country, city or a sticky IP. Unused data never expires.'
paths:
/proxies:
get:
summary: Get your proxy login, data left and prices
description: 'Your proxy login, how much data you have left, your latest proxy purchases, and the price list. `account` is `null` until your first purchase.
**Connecting.** Use `catalog.connection.host` with port `catalog.connection.ports.http` (HTTP and HTTPS) or `catalog.connection.ports.socks5` (SOCKS5), and log in with `account.username` and `account.password`.
**Choosing where the IP is.** Add options to the username, in this order:
`-package-standard[-country- | -region-][-city-][-session--time-]`
| Option | Values |
|---|---|
| `-package-standard` | Always first. On its own, every request gets a new IP anywhere in the world |
| `-country-` | A two-letter country code in lower case, e.g. `-country-us` |
| `-region-` | Instead of a country: `eu`, `na`, `asia` or `latam` |
| `-city-` | Needs a country. Lower case, letters and digits only, e.g. `-city-newyorkcity` |
| `-session--time-` | Keep the same IP: any letters and digits as the id, for 5, 10, 30 or 60 minutes (the IP can occasionally change sooner). A new id gets a new IP |
Example: `curl -x http://proxy.quackr.io:8989 -U "-package-standard-country-us:" https://ipinfo.io/json`
The response carries your password and is never cached.'
tags:
- Residential Proxies
responses:
'200':
description: Your proxy login (or `null` before your first purchase) and the price list
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
canBuy:
type: boolean
description: Whether this account can buy proxy data right now
example: true
account:
type:
- object
- 'null'
description: Your proxy login. `null` until your first purchase.
properties:
username:
type: string
description: Your proxy login. Add options to it to choose where the IP is (see above).
example: a1b2c3d4e5f
password:
type: string
description: Your proxy password. Change it with POST /proxies/reset-password.
example: k3v9q2m7x1p8r4t6w0z5
gbPurchased:
type: number
description: All the GB you've bought
example: 10
usage:
type:
- object
- 'null'
description: Live data use, in GB. `null` if it couldn't be read just now; try again.
properties:
bought:
type: number
example: 10
used:
type: number
example: 1.25
remaining:
type: number
example: 8.75
status:
type: string
example: active
purchases:
type: array
items:
type: object
properties:
orderId:
type: string
example: QK-7K3M9P2X
gb:
type: integer
example: 10
total:
type: number
description: USD paid
example: 35
method:
type: string
enum:
- wallet
- card
- crypto
description: '`wallet` is the account balance (every purchase through the API). `card` and `crypto` are purchases made on quackr.io.'
example: wallet
at:
type: number
description: When it was bought, in milliseconds since 1970
example: 1762142460000
description: Your latest 10 proxy purchases, newest first
createdAt:
type: number
description: When the login was created, in milliseconds since 1970
example: 1762142460000
catalog:
type: object
description: 'Your prices and where to connect. An account with an enterprise agreement sees its own prices in `tiers`, with `customPricing: true`.'
properties:
plan:
type: string
example: residential
onSale:
type: boolean
description: Whether proxy data can be bought right now
example: true
customPricing:
type: boolean
description: True when `tiers` are this account's own prices (an enterprise agreement). They apply to purchases through the API.
example: false
tiers:
type: array
items:
type: object
properties:
fromGb:
type: integer
description: This price applies to an order of at least this many GB
example: 10
perGb:
type: number
description: USD per GB, for the whole order
example: 3.5
description: Price per GB by order size. The tier an order reaches prices the whole order.
minGb:
type: integer
example: 1
maxGb:
type: integer
description: The most one order can buy
example: 1000
connection:
type: object
properties:
host:
type: string
example: proxy.quackr.io
ports:
type: object
properties:
http:
type: integer
description: HTTP and HTTPS
example: 8989
socks5:
type: integer
example: 1080
'401':
description: Missing or invalid API key
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Missing or Incorrect API Key
'403':
description: Your user ID can't be used as the key on this endpoint
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: This endpoint needs an API key (qk_live_…); your user ID no longer works here. Create one in your Quackr dashboard.
'500':
description: Couldn't load your proxies
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: We couldn't load your proxies. Please try again.
operationId: getProxies
x-operation-id-source: derived
/proxies/purchase:
post:
summary: Buy proxy data
description: 'Buys `gb` GB of residential proxy data and takes the price from your account balance. The API only pays from the balance.
The price per GB depends on the order''s size (`catalog.tiers` from GET /proxies): the tier an order reaches prices the whole order. An account with an enterprise agreement pays its own prices, which GET /proxies shows with `catalog.customPricing: true`. Your proxy login is created with your first purchase; read it from GET /proxies. A receipt is emailed for every purchase, and unused data never expires.
Every call is a new order. If a call times out, check `account.purchases` from GET /proxies before buying again.'
tags:
- Residential Proxies
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- gb
properties:
gb:
type: integer
minimum: 1
maximum: 1000
description: Whole GB, from 1 to 1000
example: 10
responses:
'200':
description: Bought. The data is on your proxy login.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
orderId:
type: string
description: 'This order''s number: QK- and 8 letters and digits. Quote it to support.'
example: QK-7K3M9P2X
gb:
type: integer
example: 10
price:
type: string
description: USD taken from your balance
example: '35.00'
'202':
description: Paid, and the data is still being confirmed. It normally shows within a few minutes; don't buy again. If it doesn't show, contact support with the orderId.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
pending:
type: boolean
example: true
orderId:
type: string
example: QK-7K3M9P2X
error:
type: string
example: We're confirming your purchase with our provider. It should show within a few minutes. If it doesn't, contact support with order QK-7K3M9P2X.
'400':
description: A quantity that isn't a whole number from 1 to 1000, or not enough balance
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Choose a whole number of GB from 1 to 1000.
examples:
badQuantity:
summary: Bad quantity
value:
success: false
error: Choose a whole number of GB from 1 to 1000.
insufficientBalance:
summary: Not enough balance
value:
success: false
error: You do not have enough balance in your account. Please top up before continuing.
'401':
description: Missing or invalid API key
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Missing or Incorrect API Key
'403':
description: Proxies aren't on sale to this account, or your user ID can't be used as the key here
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: This endpoint needs an API key (qk_live_…); your user ID no longer works here. Create one in your Quackr dashboard.
'502':
description: 'The data couldn''t be added. Nothing was charged: the price is back on your balance.'
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: We couldn't add the data. Your balance has been refunded.
'503':
description: Proxies are briefly unavailable. Nothing was charged.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Proxies are temporarily unavailable. Please try again later.
operationId: postProxiesPurchase
x-operation-id-source: derived
/proxies/reset-password:
post:
summary: Get a new proxy password
description: Sets a new password on your proxy login and returns it. Once this succeeds, the old password stops working. If it fails, the old password keeps working. The response is never cached.
tags:
- Residential Proxies
responses:
'200':
description: Your new password
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
password:
type: string
example: p8r4t6w0z5k3v9q2m7x1
'401':
description: Missing or invalid API key
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: Missing or Incorrect API Key
'403':
description: Your user ID can't be used as the key on this endpoint
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: This endpoint needs an API key (qk_live_…); your user ID no longer works here. Create one in your Quackr dashboard.
'404':
description: 'No proxy login yet: it''s created with your first purchase'
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: You have no proxy account yet.
'502':
description: The password couldn't be changed. The old one still works.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: false
error:
type: string
example: We couldn't change your password. Please try again.
operationId: postProxiesResetPassword
x-operation-id-source: derived
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key