API Documentation
API Documentation
Open API Documentation
This documentation is intended for developers integrating with the Open API from server-side applications. It covers authentication, business workflows, request parameters, response structures, and error handling.
Get started
- Integration overview: Learn about the production endpoint, available APIs, and the recommended reading path.
- Authentication: Manage API keys in the web console and authenticate requests with an HTTP header.
- Quickstart: Make your first API call.
- API list: Find APIs by wallet, dynamic proxy, or static proxy capability.
Read by task
- Purchase and use dynamic traffic: See the Dynamic proxy workflow.
- Purchase static proxies: See the Static proxy purchase workflow.
- Renew static proxies: See the Static proxy renewal workflow.
- Receive order notifications: See Callback notifications.
Important conventions
- All business APIs authenticate requests through the
X-API-Keyheader. If the IP allowlist is enabled, send requests from a listed public egress IPv4 address. - When a request reaches the Open API and the Open API produces a normal response, the business result is returned with HTTP
200. Always use the response bodycodeto determine the result. Onlycode = 0means success. This convention does not apply to transport failures. - You must provide a
request_nowhen purchasing dynamic traffic, creating a dynamic sub-account, creating a static proxy purchase order, or creating a static proxy renewal order. The service rejects reuse of a protected request number for the same user and operation. - A static proxy purchase order may partially succeed. Filter the corresponding order list by the exact
order_noto confirm the result, whether or not you receive a callback.
Service endpoints
| Environment | Base URL |
|---|---|
| Production | https://api.puraroute.com/gin |
All commands in this documentation use the production endpoint.