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

# Negativities

> Booleans only. Price: 10 credits per legal entity returned (the individual and consolidated records of one company bill once); notFound entries are free. Read-only and idempotent: POST is used only because the request carries a body. The HTTP QUERY method is the preferred verb for this operation and will be accepted on the same path once client support is widespread.



## OpenAPI

````yaml api-reference/openapi.standard.json POST /companies/negativities
openapi: 3.1.0
info:
  title: Syrto API - standard endpoints
  version: 1.7.0
  description: >-
    Financial, corporate and market data on Italian companies.


    Every call answers `200 { data, meta }`; `meta.usage.quantity` is what the
    call consumed, in

    credits, and `meta.warnings` lists any non-fatal caveats (empty when there
    are none). Every field

    is always present and unknown values are null. Percentages are fractions
    (0.15 = 15%).


    **Authentication.** Every call needs an API key, sent as `Authorization:
    Bearer sk_...` over

    HTTPS - never in a URL. Keys are scoped to your organization: admins create
    and revoke them in the

    Syrto dashboard (https://dashboard.syrto.ai/api-keys). A missing or
    unrecognised key is a 401

    (`missing_api_key`, `invalid_api_key`); a 503 `auth_unavailable` means the
    key could not be

    checked right now, so retry with backoff rather than rotating it.


    **Billing basis.** negativities, rna and structure bill once per legal
    entity: the individual and

    consolidated records of the same company count once. Every other endpoint
    bills per record (or per

    call), so individual and consolidated count separately. A tax id always
    resolves to a single record

    (`statementBasis`, individual by default): a company is billed twice only
    when both of its

    companyIds are passed. A market call is priced per call, whatever the size
    of its set: omitting

    `filters` and `seedId`, or sending `filters: {}`, is the whole of Italy, at
    the same price.

    notFound entries are never billed, and neither is any error.
servers:
  - url: https://api.syrto.ai
security: []
tags:
  - name: Company data
    description: Identity, risk flags, state aid and branches of known companies.
  - name: Governance
    description: Ownership, officers, beneficial owners and group.
  - name: Financials
    description: Statement items, reclassified statements, indices and spider graph.
  - name: Composite
    description: Comparable companies.
  - name: Search
    description: The companies of a filtered set, row by row.
  - name: Market
    description: Aggregates over a filtered set.
  - name: Catalog
    description: Free reference data.
paths:
  /companies/negativities:
    post:
      tags:
        - Company data
      summary: Registry risk indicators of up to 20 companies.
      description: >-
        Booleans only. Price: 10 credits per legal entity returned (the
        individual and consolidated records of one company bill once); notFound
        entries are free. Read-only and idempotent: POST is used only because
        the request carries a body. The HTTP QUERY method is the preferred verb
        for this operation and will be accepted on the same path once client
        support is widespread.
      operationId: company-negativities
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                ids:
                  type: array
                  items:
                    type: string
                    minLength: 1
                    maxLength: 100
                  minItems: 1
                  maxItems: 20
                  description: >-
                    1-20 references, each a companyId (Syrto id of one statement
                    record, starts with `Zm86`) or a tax id (11-digit partita
                    IVA or 16-character codice fiscale). A tax id resolves to
                    the record selected by `statementBasis`. Duplicates are
                    rejected.
                  example:
                    - '02579690039'
                    - '03841740016'
                language:
                  type: string
                  enum:
                    - it
                    - en
                  description: >-
                    Language of metric names, labels and descriptions (never of
                    field names or slugs). Omitted: the account's default.
              required:
                - ids
              additionalProperties: false
      responses:
        '200':
          description: Registry risk indicators of up to 20 companies.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/CompanyNegativitiesBatch'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
                required:
                  - data
                  - meta
        '401':
          description: missing_api_key | invalid_api_key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: credits_exhausted | limit_reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: client_not_configured | not_entitled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: unknown_endpoint | not_found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: payload_too_large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: unsupported_media_type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: invalid_params
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: rate_limited
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying. Neither a 429 nor a 504 is
                billed. A 504 whose query had reached the data service leaves it
                running, and its answer is cached, so the same call after this
                delay is usually fast.
              schema:
                type: integer
                minimum: 0
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: internal_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: upstream_error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: auth_unavailable | entitlement_unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '504':
          description: upstream_timeout
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying. Neither a 429 nor a 504 is
                billed. A 504 whose query had reached the data service leaves it
                running, and its answer is cached, so the same call after this
                delay is usually fast.
              schema:
                type: integer
                minimum: 0
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    CompanyNegativitiesBatch:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/CompanyNegativities'
          description: Resolved entries, in input order.
        notFound:
          type: array
          items:
            $ref: '#/components/schemas/NotFoundEntry'
      required:
        - items
        - notFound
    ResponseMeta:
      type: object
      properties:
        requestId:
          type: string
        endpoint:
          type: string
        usage:
          $ref: '#/components/schemas/Usage'
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/Warning'
          description: Empty when there are none.
      required:
        - requestId
        - endpoint
        - usage
        - warnings
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - missing_api_key
                - invalid_api_key
                - credits_exhausted
                - limit_reached
                - client_not_configured
                - not_entitled
                - unknown_endpoint
                - not_found
                - payload_too_large
                - unsupported_media_type
                - invalid_params
                - rate_limited
                - internal_error
                - upstream_error
                - auth_unavailable
                - entitlement_unavailable
                - upstream_timeout
            message:
              type: string
            requestId:
              type: string
            details:
              type: array
              items:
                type: object
                properties:
                  path:
                    type: string
                  message:
                    type: string
                required:
                  - path
                  - message
          required:
            - code
            - message
            - requestId
      required:
        - error
    CompanyNegativities:
      allOf:
        - $ref: '#/components/schemas/CompanyHeader'
        - type: object
          properties:
            protestsOfBill:
              type:
                - boolean
                - 'null'
              description: >-
                Protests on record. false means nothing is on record, not that
                there is no risk; null means unknown.
            insolvencyProceedings:
              type:
                - boolean
                - 'null'
              description: >-
                Insolvency proceedings in progress. false means nothing is on
                record, not that there is no risk; null means unknown.
            insolvencyApplications:
              type:
                - boolean
                - 'null'
              description: >-
                Insolvency applications filed. false means nothing is on record,
                not that there is no risk; null means unknown.
            assetEncumbrances:
              type:
                - boolean
                - 'null'
              description: >-
                Encumbrances on assets. false means nothing is on record, not
                that there is no risk; null means unknown.
            officersWithRiskIndicators:
              type:
                - boolean
                - 'null'
              description: >-
                An officer has a risk indicator on record. false means nothing
                is on record, not that there is no risk; null means unknown.
          required:
            - protestsOfBill
            - insolvencyProceedings
            - insolvencyApplications
            - assetEncumbrances
            - officersWithRiskIndicators
      description: >-
        Booleans only: dates, amounts and counts exist only in the paid official
        documents.
    NotFoundEntry:
      type: object
      properties:
        position:
          type: integer
          minimum: 0
          description: Index in the `ids` array.
        input:
          type: string
        reason:
          type: string
          enum:
            - not_found
            - no_filing_for_year
            - invalid_id
      required:
        - position
        - input
        - reason
      description: An id that did not resolve. Never billed.
    Usage:
      type: object
      properties:
        quantity:
          type: number
        unit:
          type: string
      required:
        - quantity
        - unit
    Warning:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
    CompanyHeader:
      type: object
      properties:
        companyId:
          type: string
          description: >-
            Syrto id of this statement record. Individual and consolidated
            differ.
        legalName:
          type:
            - string
            - 'null'
        taxId:
          type:
            - string
            - 'null'
          description: Codice fiscale / partita IVA.
        consolidated:
          type: boolean
          description: Whether these figures are the consolidated (group) statement.
      required:
        - companyId
        - legalName
        - taxId
        - consolidated
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Org-scoped WorkOS API key (sk_...), sent as `Authorization: Bearer
        <key>`. Admins create and revoke keys in the Syrto dashboard:
        https://dashboard.syrto.ai/api-keys

````

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