> ## Documentation Index
> Fetch the complete documentation index at: https://api.zglosscammera.pl/llms.txt
> Use this file to discover all available pages before exploring further.

# Sprawdź osobę lub serwer

> Przeszukuje wszystkie listy naraz po nicku/nazwie i Discord ID — to samo, co strona „Sprawdź osobę”.

- Maksymalnie 20 wpisów na każde źródło.
- Jeśli znaleziono wpis na liście oszustów lub serwerów, wyniki z listy zaufanych są pomijane.
- Pusta tablica `results` oznacza, że nie ma nikogo takiego na listach.



## OpenAPI

````yaml GET /api/check
openapi: 3.1.0
info:
  title: Zgłoś Scammera — publiczne API
  version: 1.0.0
  description: >-
    Publiczne API Zgłoś Scammera: listy oszustów, serwerów oszukujących i
    zaufanych osób, sprawdzanie osoby, status usług i status wpłat. Bez
    logowania i bez klucza API, z otwartym CORS.
  contact:
    name: Zgłoś Scammera — Discord
    url: https://discord.gg/zglososzusta
servers:
  - url: https://zglosscammera.pl
    description: Produkcja
security: []
tags:
  - name: Listy
    description: Listy oszustów, serwerów i zaufanych osób
  - name: Sprawdzanie
    description: Sprawdzanie osoby lub serwera na wszystkich listach
  - name: Status
    description: Status usług i wpłat
  - name: Discord
    description: Pomocnicze endpointy Discord
paths:
  /api/check:
    get:
      tags:
        - Sprawdzanie
      summary: Sprawdź osobę lub serwer
      description: >-
        Przeszukuje wszystkie listy naraz po nicku/nazwie i Discord ID — to
        samo, co strona „Sprawdź osobę”.


        - Maksymalnie 20 wpisów na każde źródło.

        - Jeśli znaleziono wpis na liście oszustów lub serwerów, wyniki z listy
        zaufanych są pomijane.

        - Pusta tablica `results` oznacza, że nie ma nikogo takiego na listach.
      operationId: check
      parameters:
        - name: q
          in: query
          required: true
          description: Nick, nazwa serwera albo Discord ID. Minimum 3 znaki, max 100.
          schema:
            type: string
            minLength: 3
            maxLength: 100
          example: '1478133625840074918'
      responses:
        '200':
          description: Wyniki wyszukiwania
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckResponse'
              examples:
                found:
                  summary: Znaleziono na liście oszustów
                  value:
                    results:
                      - kind: scammers
                        entries:
                          - _id: 6abff517104903ee6d8f24ba
                            name: majster123hehkupiekaskenaana
                            id: '1478133625840074918'
                            descHtml: >
                              <p>Scam na 15zł kod blik - miał dać kase na
                              anarchii</p>
                            verified: true
                            proofsId: proof_1790965025697_uqngsl73
                            reportId: LnggLmWYNv
                notFound:
                  summary: Brak na listach
                  value:
                    results: []
        '400':
          description: Zapytanie krótsze niż 3 znaki
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Za krótkie zapytanie
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    CheckResponse:
      type: object
      required:
        - results
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/CheckResult'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Opis błędu
    CheckResult:
      type: object
      required:
        - kind
        - entries
      properties:
        kind:
          type: string
          enum:
            - scammers
            - servers
            - legit
          description: Lista, na której znaleziono wpisy
        entries:
          type: array
          items:
            $ref: '#/components/schemas/ListEntry'
    ListEntry:
      type: object
      required:
        - _id
        - name
        - id
        - descHtml
        - verified
        - proofsId
        - reportId
      properties:
        _id:
          type: string
          description: Wewnętrzne ID wpisu w bazie
        name:
          type: string
          description: Nick osoby albo nazwa serwera
        id:
          type: string
          description: Discord ID osoby lub serwera
        descHtml:
          type: string
          description: >-
            Powód zgłoszenia jako HTML (wyrenderowany Markdown). Oczyść przed
            wstawieniem na własną stronę.
        verified:
          type: boolean
          description: '`true` — zweryfikowany wpis, `false` — lista ryzyka'
        proofsId:
          type:
            - string
            - 'null'
          description: 'ID dowodów. Strona: `https://zglosscammera.pl/proofs/{proofsId}`'
        reportId:
          type: string
          description: ID zgłoszenia (podawane przy odwołaniach)
  responses:
    MethodNotAllowed:
      description: Zła metoda HTTP
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Metoda niedozwolona
    ServerError:
      description: Błąd serwera lub bazy
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Błąd podczas pobierania danych.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.