# query static transfer proxy

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/static_transfer_proxy/query:
    post:
      summary: query static transfer proxy
      deprecated: false
      description: ''
      tags:
        - Static proxy/static indirect 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:
                filter:
                  description: query condition
                  allOf:
                    - type: object
                      properties:
                        country_code:
                          description: optional
                          type: string
                        is_datacenter:
                          type: boolean
                          description: true for datacenter, false for residential
                        node_ipv4_array:
                          type: array
                          items:
                            type: string
                          description: optional, proxy ip array
                      x-apifox-refs: {}
                      x-apifox-orders:
                        - country_code
                        - is_datacenter
                        - node_ipv4_array
                      required:
                        - is_datacenter
                from_db:
                  description: from db or cache
                  type: boolean
                limit:
                  description: query quantity for pagination
                  type: integer
                offset:
                  description: query offset for pagination
                  type: integer
              x-apifox-refs: {}
              x-apifox-orders:
                - filter
                - from_db
                - limit
                - offset
              required:
                - from_db
                - filter
            example:
              from_db: true
              filter:
                is_datacenter: true
              limit: 10
              offset: 0
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  current_unixtime:
                    type: integer
                    description: current time stamp from server
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        account_name:
                          type: string
                          description: auth
                        account_password:
                          description: auth password
                          type: string
                        city:
                          type: string
                        continent_code:
                          type: string
                        country_code:
                          type: string
                        created_unixtime:
                          type: integer
                        expire_unixtime:
                          description: a unix timestamp
                          type: integer
                        forbidden:
                          type: boolean
                        id:
                          type: integer
                        ip_whitelist:
                          description: ip array
                          type: array
                          items:
                            type: string
                        ip_whitelist_count_limit:
                          type: integer
                        is_datacenter:
                          type: boolean
                        is_online:
                          type: boolean
                        is_satellite:
                          type: boolean
                        is_stable:
                          description: status, not in db, get value when query
                          type: boolean
                        isp:
                          type: string
                        node_ipv4:
                          description: ip info
                          type: string
                        port:
                          type: integer
                        refund_unixtime:
                          description: if >0 means refunded
                          type: integer
                        region:
                          type: string
                        to_update:
                          description: >-
                            update flag. set to true if any update happened, set
                            to false when update send to node
                          type: boolean
                        traffic_cap:
                          description: total capacity == old capacity + new bought
                          type: integer
                        traffic_used:
                          description: traffic
                          type: integer
                        user_id:
                          type: integer
                        user_tag:
                          type: string
                      x-apifox-refs: {}
                      x-apifox-orders:
                        - account_name
                        - account_password
                        - city
                        - continent_code
                        - country_code
                        - created_unixtime
                        - expire_unixtime
                        - forbidden
                        - id
                        - ip_whitelist
                        - ip_whitelist_count_limit
                        - is_datacenter
                        - is_online
                        - is_satellite
                        - is_stable
                        - isp
                        - node_ipv4
                        - port
                        - refund_unixtime
                        - region
                        - to_update
                        - traffic_cap
                        - traffic_used
                        - user_id
                        - user_tag
                      description: static direct proxy info
                    description: query result
                  meta_message:
                    type: string
                    description: success or other error msg
                  meta_status:
                    type: integer
                    description: 1 for success, negative for error
                  total_count:
                    type: integer
                    description: total record quantity
                x-apifox-refs: {}
                x-apifox-orders:
                  - current_unixtime
                  - data
                  - meta_message
                  - meta_status
                  - total_count
                required:
                  - current_unixtime
                  - data
                  - meta_message
                  - meta_status
                  - total_count
          headers: {}
          x-apifox-name: result
      security: []
      x-apifox-folder: Static proxy/static indirect proxy
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2880121/apis/api-90737794-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.ipcola.com
    description: ipcola
security: []

```
