eveses (Python SDK)
Official Python SDK for the Eveses developer API, built
for the versioned /api/v1 surface. Numbers (SMS activations/rentals + catalog),
wallet, proxies, web-unblocker, temporary emails, free trials, captcha-solving,
a provider-agnostic marketplace, a unified orders feed, aggregate pricing /
quotas, the me principal, and webhook signature verification.
Install
pip install eveses
Requires Python 3.9+ and requests.
Quickstart
import os
from eveses import Eveses
client = Eveses(api_key=os.environ["EVESES_API_KEY"])
order = client.numbers.create(
country="ua",
service="telegram",
idempotency_key="my-uuid",
)
print(order.order_id, order.phone)
wallet = client.wallet.balance()
print(f"{wallet.available_balance / 100} {wallet.currency}")
Authentication
Every request sends Authorization: Bearer <api_key>. Generate an API key from
your dashboard (Settings → API keys). The token is a Sanctum personal-access
token with kind=api_key.
Numbers (SMS activations / rentals + catalog)
The former activations and catalog namespaces are merged into one
numbers module under /api/v1/numbers/*.
order = client.numbers.create(
country="ua",
service="telegram",
mode="activation", # or "rent"
duration_minutes=60, # rent only
max_price_cents=100, # optional ceiling
idempotency_key="my-uuid", # also sent as Idempotency-Key header
)
fresh = client.numbers.get(order.order_id)
sms = client.numbers.sms(order.order_id)
# sms.stored — delivered to us via upstream webhook
# sms.fresh — pulled from upstream provider on demand
client.numbers.cancel(order.order_id) # refund-where-supported
client.numbers.finish(order.order_id) # mark consumed
client.numbers.retry(order.order_id) # ask for another SMS
client.numbers.repeat(order.order_id) # re-order the same country/service
client.numbers.auto_renew(order.order_id, True) # rentals
client.numbers.list(status="active") # native per-service history
client.numbers.summary() # aggregate counts / totals
client.numbers.batch([{"country": "ua", "service": "telegram"}])
Catalog (countries / services / pricing)
Read-only metadata for driving order-creation UX, on the same module:
countries = client.numbers.countries(mode="activation").countries
services = client.numbers.services(mode="activation", country="ua").services
pricing = client.numbers.pricing(mode="activation", country="ua", service="telegram")
# pricing.services[0].durations[0].price_cents → 50
client.numbers.carriers(country="us") # operators for a country
client.numbers.states(country="us") # states/regions where supported
mode accepts "activation" or "rent". For rentals, pass
duration_minutes=... to pricing(...) to filter to a single duration.
(services is an alias of products.)
Proxies
Buy and manage residential (metered, per-GB) and static (per-IP: ISP /
datacenter / IPv6 / sneaker / mobile) proxies. The upstream provider stays
invisible — connection details come back on the white-label host. Hits
/api/v1/proxy/*.
# Browse
client.proxy.pricing() # residential GB ladder + static catalogue
client.proxy.endpoints() # white-label subdomains + ports
client.proxy.locations(type="residential") # available targeting
client.proxy.locations_detail("us") # per-country state/city/ISP picker
client.proxy.quote(type="residential", gb=5) # estimate before buying
# Buy
order = client.proxy.purchase(
type="residential",
gb=5,
subscription=False, # start a monthly residential subscription
idempotency_key="my-uuid",
)
# static per-IP:
# client.proxy.purchase(type="isp", product_id=1, plan_id=2, location_id=3, quantity=2)
# Manage
listing = client.proxy.list() # residential + subscription + orders
one = client.proxy.get(order.uuid) # a single order by UUID
client.proxy.usage(from_="2026-06-01", to="2026-06-24")
client.proxy.extend(order.uuid, days=30) # static per-IP order
client.proxy.auto_renew(order.uuid, enabled=True)
client.proxy.reset_sessions() # rotate residential sticky sessions
client.proxy.trial() # one-time proxy free trial
# Residential subscription
client.proxy.subscription_pause()
client.proxy.subscription_resume()
client.proxy.subscription_cancel()
Marketplace
Browse a normalized, provider-agnostic catalog of digital goods (e.g. accounts)
and buy them. The upstream provider is never exposed. Item attributes are
normalized on the wire: country (ISO-3166-1 alpha-2 uppercase, or a region slug
like mix/cis/eu/asia/africa/latam), origin
(autoreg | selfreg | real | retrieve), format
(tdata | session_json | session), and twofa (bool). Read-only browse hits
/api/public/marketplace/*; purchase / order endpoints hit
/api/v1/marketplace/*.
# Browse
client.marketplace.categories() # available categories
client.marketplace.filters("accounts") # filter facets for a category
# Plain catalog → an `items` list of individual SKUs
catalog = client.marketplace.catalog(category="accounts", country="US", origin="autoreg")
for item in catalog["items"]:
print(item["sku"], item["price_cents"])
# group_by="country" | "attributes" collapses same-type SKUs into `groups`.
# With "attributes", each group carries `prices_cents` variants + `has_attributes`.
grouped = client.marketplace.catalog(
category="accounts",
country="US",
origin="autoreg",
group_by="attributes",
)
for group in grouped["groups"]:
print(group["prices_cents"], group["has_attributes"])
Purchase flow — quote, buy, then reveal the delivered goods:
q = client.marketplace.quote("accounts", sku="acc_us_autoreg_tdata")
print(q["price_cents"], q["available"])
order = client.marketplace.buy(
"accounts",
sku="acc_us_autoreg_tdata",
quantity=1,
idempotency_key="my-uuid", # also sent as Idempotency-Key header
)
client.marketplace.orders() # the caller's marketplace orders
one = client.marketplace.order(order["uuid"]) # a single order by UUID
client.marketplace.reveal(order["uuid"]) # credentials / files once completed
Web Unblocker
Buy and manage a web-unblocker subscription (metered by request count). Hits
/api/v1/webunblocker/*.
client.web_unblocker.pricing()
client.web_unblocker.quote(10_000, subscription=False)
client.web_unblocker.access() # credentials + endpoints
client.web_unblocker.purchase(10_000, subscription=False, idempotency_key="my-uuid")
client.web_unblocker.trial() # one-time free trial
client.web_unblocker.subscription_pause()
client.web_unblocker.subscription_resume()
client.web_unblocker.subscription_cancel()
Emails
Buy and manage temporary email addresses and browse received messages. Hits
/api/v1/emails/*.
client.emails.pricing(site="example.com") # domains under the `domains` key
client.emails.quote("mail.example", provider="…")
box = client.emails.purchase("mail.example", idempotency_key="my-uuid")
address = box["email"]
client.emails.list(include_released=False)
client.emails.get(address)
client.emails.messages(address, page=1, per_page=20)
client.emails.mark_read(address, message_id=123)
client.emails.release(address) # delete the address
Trial
Query and activate free-trial access for individual services. Hits
/api/v1/trial/*.
client.trial.status() # eligibility / used / expires_at
client.trial.subscribe(["telegram", "whatsapp"])
Captcha
Resells 2captcha, billed pay-per-use from the wallet (count-on-success). The
solve call is blocking: it submits the task then polls the result endpoint —
honouring the API's retry_after — until the task is ready. Hits
/api/v1/captcha/*.
solution = client.captcha.solve(
"recaptcha_v2",
{"sitekey": "…", "pageurl": "https://example.com"},
idempotency_key="my-uuid",
timeout_sec=180,
)
print(solution.solution, solution.price_micro_usd)
# raises EvesesError on failure or timeout
client.captcha.result(task_id) # single, non-blocking poll
client.captcha.rates() # per-solve retail rates by type
client.captcha.usage(status="ready") # cursor-paginated task history
Orders, pricing, quotas
Cross-product read surfaces for dashboards.
# Unified order history (numbers | proxy | webunblocker | emails; NOT captcha)
feed = client.orders.list(service="proxy,emails", status="active", limit=50)
one = client.orders.get("b1f2…-uuid") # normalized OrderView for any product
prices = client.pricing.all() # every product's prices in one call
quotas = client.quotas.all() # remaining prepaid balances
Me
me = client.me.get()
print(me.abilities) # e.g. ["*"]
print(me.features) # {"trial": True, "proxy": True, "captcha": False, …}
# Use me.features to gate product entry points instead of build-time flags.
client.me.loyalty() # loyalty tier / weekly-spend status
Webhook verification
Eveses signs every outbound webhook delivery with HMAC-SHA256 over
f"{timestamp}.{raw_body}". Two headers carry the proof:
X-Eveses-Signature— e.g.sha256=abc123…X-Eveses-Timestamp— unix seconds
Pass the raw request body (bytes or str) — not the parsed JSON. Re-serialising
through json.loads / json.dumps reorders keys and breaks the signature.
# Flask example
from flask import Flask, request
from eveses import Webhooks
app = Flask(__name__)
SECRET = os.environ["EVESES_WEBHOOK_SECRET"]
@app.post("/eveses-webhook")
def eveses_webhook():
raw = request.get_data() # bytes
if not Webhooks.verify(
raw,
request.headers.get("X-Eveses-Signature"),
SECRET,
timestamp=request.headers.get("X-Eveses-Timestamp"),
):
return "bad signature", 401
payload = request.get_json()
# handle payload["event"] / payload["data"] …
return "", 204
A functional alias is also exported:
from eveses import verify_webhook
ok = verify_webhook(raw, sig_header, SECRET, timestamp=ts_header)
Errors
All non-2xx responses raise a typed subclass of EvesesError:
| Status | Class |
|---|---|
| 400 / 422 | EvesesValidationError (with .errors) |
| 401 | EvesesAuthError |
| 403 | EvesesForbiddenError |
| 404 | EvesesNotFoundError |
| 429 | EvesesRateLimitError (only after the 1 auto-retry is exhausted) |
| 5xx | EvesesServerError |
| other | EvesesError |
from eveses import EvesesValidationError
try:
client.numbers.create(country="", service="")
except EvesesValidationError as e:
print(e.errors)
API surface
Every authenticated call targets the versioned /api/v1/* surface. The base
URL is unchanged (…/api); only the per-call path string changed from the old
/api/account/* scope. Auth is unchanged — keep sending the Sanctum bearer
token. Every /v1 response also carries RateLimit-Limit / RateLimit-Remaining
/ RateLimit-Reset headers (plus Retry-After on a 429) for backoff.
Configuration
client = Eveses(
api_key="…",
base_url="https://api.eveses.com", # override per environment
timeout=30.0,
session=requests.Session(), # inject for tests / connection pooling
default_headers={"X-Trace-Id": "t1"},
user_agent="my-app/1.2.3",
)
Development
pip install -e '.[dev]'
python -m pytest
Changelog
0.6.0
- Per-IP proxy orders can now carry paid options.
quoteandpurchaseacceptextra_requirements— a map of upstream question id to the buyer's answer, for a city, a subnet, an ISP, or multi-device access. The SDKs previously built the request from a fixed field list and dropped anything else silently: you could pass the options, get no error, and receive a plain address. - These answers move the price, often steeply. Measured on one US ISP address: $2.00 plain, $5.00 with three-device access, $5.60 with a location request on top. Quote with exactly the answers you intend to buy with, or you will be shown one price and charged another.
- A free-text answer is a request, not a reservation. An order that cannot be filled is cancelled and refunded, so the risk is not the buyer's.
purchasealso takes optionalextra_requirement_labels, stored on the order so it reads "Multi-device access: 3 Devices" rather than "9: 4".
0.5.2
- The
numbersnamespace now actually exists in the code. It has been documented here since 0.4.0 as the merge ofactivations+catalog, but the released packages still shipped the old split modules — following this README produced a compile/attribute error. The code now matches what this document has been promising:numbers, plusme,orders,pricingandquotas. All four SDKs expose the identical surface. - If you are upgrading from a release where
activations/catalogworked, those names are gone:activations.create→numbers.create, and the catalog lookups move undernumbersas well.
0.5.1
- Docs: added a Marketplace usage section to the README; patch release.
0.5.0
- New
marketplacenamespace — browse a normalized, provider-agnostic catalog (catalog,categories,filters) and purchase (quote,buy,orders,order,reveal). The publiccatalogsupports attribute filters (country/origin/format/twofa) andgroup_by=country|attributes(same-type products collapse into groups carryingprices_centsvariants). - New
proxy.locations_detail(country, type)— per-country residential state/city/ISP geo drill-down. - Default user-agent bumped to
eveses-python/0.5.0.
0.4.0
- Repointed the whole SDK to the versioned
/api/v1/*surface (from the legacy/api/account/*scope). - Merged
activations+catalog→ onenumbersnamespace under/api/v1/numbers/*:create,get,sms,cancel,finish,retry,repeat,auto_renew,list,summary,batch, plus catalogpricing,countries,products/services,carriers,states. proxy→/api/v1/proxy/*: buy/list on/orders,get(uuid), extend/auto_renew under/orders/{uuid}, andpricing(replaces the oldpackages/catalog).web_unblocker→/api/v1/webunblocker/*: buy/list on/orders,pricing.emails→/api/v1/emails/*: buy/list on/orders,pricing; inbox keyed by email address.captcha→/api/v1/captcha/*; addedresult,rates, andusage.- New
ordersnamespace — unified cross-product order history (GET /api/v1/orders,…/{uuid}). - New
pricingnamespace — aggregate price sheet (GET /api/v1/pricing). - New
quotasnamespace — remaining prepaid balances (GET /api/v1/quotas). - New
menamespace — the principal, now carryingabilities+features. - Removed the
fingerprintsproduct entirely.
0.3.0
- New
proxynamespace: residential (per-GB) and static per-IP proxies —packages,endpoints,catalog,locations,quote,usage,list,purchase,extend,auto_renew,reset_sessions,trial, and residential subscriptionpause/resume/cancel. ExposesProxy,ProxyOrder,ProxySubscription,ProxyList. - New
web_unblockernamespace:packages,quote,access,purchase,trial, and subscriptionpause/resume/cancel. - New
emailsnamespace: temporary email addresses —domains,quote,list,get,messages,purchase,mark_read,release. - New
trialnamespace:statusandsubscribefor per-service free trials. - New
captchanamespace: blockingsolve(submit + poll) reselling 2captcha, billed pay-per-use. ExposesCaptcha,CaptchaSolution. - New
fingerprintsnamespace: synchronousgenerate/randombrowser fingerprints. ExposesFingerprints,Fingerprint. - Module reorg: the old
proxiesmodule was replaced byproxy.
0.2.0
- Activations, wallet, catalog (countries / services / pricing), and webhook signature verification.
License
MIT
Metadata
Release files for eveses 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eveses-0.7.1.tar.gz | 29.0 kB | Without provenance | Details for eveses-0.7.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eveses-0.7.1-py3-none-any.whl | Python 3 | none | any | Details for eveses-0.7.1-py3-none-any.whl |
Total release size: 61.1 kB
Release files / eveses-0.7.1.tar.gz
| Download URL | eveses-0.7.1.tar.gz |
|---|---|
| Size | 29.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e5001249f84d5c23fdd481eda66b609a318680908900a53f803aa5b64257fa7
|
|
BLAKE2b-256 checksum How to use checksums |
346c92f53fdc3bc40e872066b44dd386398b7513693a9b17b59dd049476236b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / eveses-0.7.1-py3-none-any.whl
| Download URL | eveses-0.7.1-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c1f8144b069b0e5cc91036aeec09bf504d4308a02314221302ad0116f860a3c
|
|
BLAKE2b-256 checksum How to use checksums |
9600814c8bd8cf8d7a60ae240b00400b0d7aa0226166a7d101ee0ef77f8857ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for eveses 0.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.