# List blocked domains (Public)

Returns the list of domains blocked by this instance with sensitive fields removed. Visibility depends on platform settings: access may be restricted to NONE (hidden), USER (authenticated users only), or ALL (everyone). Reason text visibility is controlled separately by a similar access setting. Obfuscated domains are partially masked for privacy.

Endpoint: GET /api/v1/domain-block
Version: 1.0
Security: 

## Query parameters:

  - `lastId` (string,null)
    Get older records (records with IDs less than this value) Alias maxId/max_id
    Example: "us_01hxcvk1hjexere4pvtrj0ymqq"

  - `limit` (integer,null)

  - `offset` (integer,null)

  - `sortBy` (string,null)

  - `sortOrder` (string,null)
    Sort order. Supported values: ASC or DESC

  - `untilId` (string,null)
    Get newer records (records with IDs greater than this value) Alias minId/min_id
    Example: "us_01hxcvk1hjexere4pvtrj0ymqq"

## Response 200 fields (application/json):

  - `domain` (string, required)
    The blocked domain name. May be obfuscated in public endpoints if obfuscate flag is set.
    Example: "spam.example"

  - `publicComment` (string, required)
    Public-facing comment explaining why the domain was blocked
    Example: "Repeated spam violations"

  - `state` (string, required)
    The severity level of the domain block
    Enum: "SUSPEND", "LIMIT", "NOOP"

  - `rejectMedia` (boolean, required)
    Whether to reject and remove media files from this domain
    Example: true

  - `rejectReports` (boolean, required)
    Whether to ignore reports coming from this domain

  - `privateComment` (string, required)
    Internal comment visible only to moderators and administrators
    Example: "Multiple verified spam reports from trusted instances"

  - `obfuscate` (boolean, required)
    Whether to partially obfuscate the domain name in public listings

  - `createdAt` (string, required)
    Timestamp when the domain block was created
    Example: "2022-03-10T16:15:50Z"

  - `updatedAt` (string, required)
    Timestamp when the domain block was last updated
    Example: "2022-03-10T16:15:50Z"

## Response 401 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation

## Response 403 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation


