> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/public-api/overview.md).

# Overview

### [Public API (API Key)](https://9proxy.com/dashboard/my-account?tab=api-key)

The Public API allows you to fully automate proxy management and business operations. By authenticating with your API key, you can:

* Manage account data (balance, purchase history, usage logs)
* Issue and manage sub-accounts
* Generate and revoke share codes
* View and manage wallet operations
* Access affiliate tracking and commission details
* Query real-time proxy usage and IP statistics

### **API Domains**

\
9Proxy provides two Public API base domains depending on your environment:

**Production**: <kbd>api.9proxy.com</kbd> \
Use this domain for live traffic and real customer operations in the production environment.

**Development**: <kbd>sandbox.9proxy.com</kbd>\
Use this domain for development, testing, and validation in the sandbox environment.

API keys give direct access to all supported endpoints. Currently, all keys inherit the same permissions available to your account.&#x20;

For details, see:

* [**Generate Your API Key**](/developers/public-api/api-key.md)
* **Public API References:**\
  \- [API For Share Code](/developers/public-api/api-for-share-code.md)\
  \- [API For Sub-Accounts](/developers/public-api/api-for-sub-accounts.md)\
  \- [API For Account](/developers/public-api/api-for-account.md)\
  \- [API For Affiliate](/developers/public-api/api-for-affiliate.md)\
  \- [API For Billing](/developers/public-api/api-for-billing.md)\
  \- [API For User-Pass](/developers/public-api/api-for-user-pass.md)\
  \- [API For Whitelist](/developers/public-api/api-for-whitelist.md)\
  \- [API For Proxy Connect Config](/developers/public-api/api-for-proxy-connect-config.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.9proxy.com/developers/public-api/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
