Oxylabs Users API

The Users API from Oxylabs — 4 operation(s) for users.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /users/{userId}/sub-users List a user's sub-users · List sub-users #
Ask an LLM
“Which sub-users are set up under my account?”
“Can I see all the sub-users I've created?”
Tell an agent
List the sub-users under my account.
Show every sub-user for user {userId}.
POST /users/{userId}/sub-users Create a sub-user under a master user · Create a sub-user #
Ask an LLM
“How do I create a sub-account under my master user account?”
“Can I give a sub-user a traffic limit when creating it?”
Tell an agent
Create a sub-user named {sub_user_name} under master user {userId}.
Create sub-user {sub_user_name} for master user {userId} with a {traffic_limit} traffic limit.
GET /users/{userId}/sub-users/{subUserId} Get a sub-user's details · Get sub-user #
Ask an LLM
“What are the current settings of one of my sub-users?”
“Can I look up a sub-user's traffic limit and status?”
Tell an agent
Get sub-user {subUserId} under master user {userId}.
Show the details of sub-user {subUserId} for master user {userId}.
PATCH /users/{userId}/sub-users/{subUserId} Update a sub-user's settings · Update sub-user #
Ask an LLM
“Can I change a sub-user's traffic limit or password?”
“Is it possible to disable a sub-user by setting its status?”
Tell an agent
Update sub-user {subUserId} under master user {userId} with a new password.
Set the traffic limit of sub-user {subUserId} (master {userId}) to {traffic_limit}.
DELETE /users/{userId}/sub-users/{subUserId} Delete a sub-user · Delete sub-user #
Ask an LLM
“How do I remove a sub-account from my master user?”
“Can I delete a sub-user I no longer need?”
Tell an agent destructive · confirm first
Delete sub-user {subUserId} from master user {userId}.
Remove sub-account {subUserId} owned by master user {userId}.
GET /users/{userId}/sub-users/{subUserId}/target-stats Get a sub-user's target statistics · Get sub-user target statistics #
Ask an LLM
“Which targets has a sub-user been tasked with?”
“Can I see the target statistics for one of my sub-users?”
Tell an agent
Show target statistics for sub-user {subUserId} under master {userId}.
Get the target stats of sub-user {subUserId} for master user {userId}.
GET /users/{userId}/client-stats Get client usage statistics · Get client statistics #
Ask an LLM
“How much traffic and credit have I used as a master user?”
“Where can I see my own client statistics?”
Tell an agent
Get client statistics for master user {userId}.
Show my own usage stats as user {userId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/oxylabs:oxylabs-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

oxylabs-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oxylabs Web Intelligence Users API
  description: Oxylabs provides web scraping and data extraction APIs including the Web Scraper API (Realtime and Push-Pull), the Dashboard API for usage and statistics, and the Residential Public API for sub-user and stats management.
  version: '1.0'
  contact:
    name: Oxylabs Developer Support
    url: https://developers.oxylabs.io/
servers:
- url: https://realtime.oxylabs.io/v1
  description: Web Scraper API - Realtime
- url: https://data.oxylabs.io/v1
  description: Web Scraper API - Push-Pull
- url: https://api.oxylabs.io
  description: Dashboard API
- url: https://residential-api.oxylabs.io/v2
  description: Residential Public API
security:
- basicAuth: []
- bearerAuth: []
tags:
- name: Users
paths:
  /users/{userId}/sub-users:
    parameters:
    - $ref: '#/components/parameters/UserId'
    get:
      summary: List sub-users
      operationId: listSubUsers
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Sub-user list
      tags:
      - Users
    post:
      summary: Create a sub-user
      operationId: createSubUser
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubUser'
      responses:
        '201':
          description: Sub-user created
      tags:
      - Users
  /users/{userId}/sub-users/{subUserId}:
    parameters:
    - $ref: '#/components/parameters/UserId'
    - $ref: '#/components/parameters/SubUserId'
    get:
      summary: Get sub-user
      operationId: getSubUser
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Sub-user record
      tags:
      - Users
    patch:
      summary: Update sub-user
      operationId: updateSubUser
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubUser'
      responses:
        '200':
          description: Updated
      tags:
      - Users
    delete:
      summary: Delete sub-user
      operationId: deleteSubUser
      security:
      - bearerAuth: []
      responses:
        '204':
          description: Deleted
      tags:
      - Users
  /users/{userId}/sub-users/{subUserId}/target-stats:
    parameters:
    - $ref: '#/components/parameters/UserId'
    - $ref: '#/components/parameters/SubUserId'
    get:
      summary: Get sub-user target statistics
      operationId: getSubUserTargetStats
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Target statistics
      tags:
      - Users
  /users/{userId}/client-stats:
    parameters:
    - $ref: '#/components/parameters/UserId'
    get:
      summary: Get client statistics
      operationId: getClientStats
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Client statistics
      tags:
      - Users
components:
  schemas:
    SubUser:
      type: object
      properties:
        sub_user_name:
          type: string
        password:
          type: string
        traffic_limit:
          type: integer
        status:
          type: string
  parameters:
    SubUserId:
      in: path
      name: subUserId
      required: true
      schema:
        type: integer
    UserId:
      in: path
      name: userId
      required: true
      schema:
        type: integer
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    bearerAuth:
      type: http
      scheme: bearer