Bright Data Shield API

The Shield API from Bright Data — 4 operation(s) for shield.

Documentation

Specifications

Schemas & Data

OpenAPI Specification

bright-data-shield-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Bright Data Account Management Access Shield API
  description: 'Programmatic management of Bright Data zones (proxy pools and product entitlements), IP

    allocations, access control (whitelists, blacklists, domain permissions), passwords, and

    billing/bandwidth reporting. Authentication uses a Bearer API token issued from the control panel.

    '
  version: '1.0'
  contact:
    name: Bright Data
    url: https://docs.brightdata.com
servers:
- url: https://api.brightdata.com
  description: Production
security:
- BearerAuth: []
tags:
- name: Shield
paths:
  /shield/class:
    get:
      summary: List Shield Classifications
      operationId: listShieldClasses
      tags:
      - Shield
      responses:
        '200':
          description: Classifications.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                    description:
                      type: string
  /shield/domains_by_class:
    get:
      summary: List Domains by Classification
      operationId: domainsByClass
      tags:
      - Shield
      parameters:
      - name: class
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Domains for the class.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
  /shield/samples:
    get:
      summary: Get Shield Classification Samples
      operationId: getShieldSamples
      tags:
      - Shield
      parameters:
      - name: class
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Samples.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
  /shield/zones_by_class:
    get:
      summary: List Zones by Classification
      operationId: zonesByClass
      tags:
      - Shield
      parameters:
      - name: class
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Zones cleared for the class.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer