# buy static direct proxy

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/static_direct_proxy/buy:
    post:
      summary: buy static direct proxy
      deprecated: false
      description: >-
        You can only purchase one proxy ip per request. If you need to purchase
        multiple ips, please send multiple requests.
      tags:
        - Static proxy/static direct proxy
        - static direct proxy
      parameters:
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{AUTH_TOKEN}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                count:
                  description: always 1
                  type: integer
                country_code:
                  description: if no specific country, country_code=""
                  type: string
                is_datacenter:
                  description: true for datacenter, false for residential
                  type: boolean
                user_tag:
                  description: always "ipcola"
                  type: string
              x-apifox-refs: {}
              x-apifox-orders:
                - user_tag
                - count
                - is_datacenter
                - country_code
              required:
                - count
                - country_code
                - is_datacenter
                - user_tag
            example:
              city: ''
              count: 1
              country_code: ''
              is_datacenter: true
              isp: ''
              user_tag: ipcola
              region: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  alloc_ip_list:
                    type: array
                    items:
                      type: string
                    description: return proxy ip if success
                  meta_message:
                    type: string
                    description: success or other error msg
                  meta_status:
                    type: integer
                    description: 1 for success, negative for error
                x-apifox-refs: {}
                x-apifox-orders:
                  - alloc_ip_list
                  - meta_message
                  - meta_status
                required:
                  - alloc_ip_list
                  - meta_message
                  - meta_status
          headers: {}
          x-apifox-name: result
      security: []
      x-apifox-folder: Static proxy/static direct proxy
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2880121/apis/api-88999364-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.ipcola.com
    description: ipcola
security: []

```
