NexIP Comparisons API

Сравнение сайтов и метрик.

GitHub OpenAPI

Operations 11

GET /api/v1/comparisons Список сравнений #
POST /api/v1/comparisons Создать сравнение #
GET /api/v1/comparisons/{id} Получить сравнение #
DELETE /api/v1/comparisons/{id} Удалить сравнение #
POST /api/v1/comparisons/{id}/retry Повторить сравнение #
POST /api/v1/comparisons/{id}/run Запустить сравнение #
GET /api/v1/comparisons/{id}/metrics Metrics сравнения #
GET /api/v1/comparisons/{id}/insights Insights сравнения #
GET /api/v1/comparisons/{id}/history History сравнения #
GET /api/v1/comparisons/{id}/export/{format} Экспортировать сравнение #
POST /api/v1/comparisons/{id}/share Создать отчёт по сравнению #

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/nexip-ru:nexip-ru-comparisons-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

nexip-ru-comparisons-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NexIP REST Comparisons API
  version: 2.19.2
  description: 'REST API NexIP для сетевой диагностики, мониторинга, отчётов, SEO-аудитов, сравнений, уведомлений и управления собственной подпиской. API version: v1.'
  contact:
    url: https://nexip.ru/api
servers:
- url: https://nexip.ru
  description: NexIP production
tags:
- name: Comparisons
  description: Сравнение сайтов и метрик.
paths:
  /api/v1/comparisons:
    get:
      tags:
      - Comparisons
      operationId: listComparisons
      summary: Список сравнений
      responses:
        '200':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.read
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
    post:
      tags:
      - Comparisons
      operationId: createComparison
      summary: Создать сравнение
      responses:
        '202':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComparisonInput'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.create
      x-nexip-capability: comparisons
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        schema:
          type: string
          maxLength: 255
        description: Ключ идемпотентности для безопасного повтора запроса.
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}:
    get:
      tags:
      - Comparisons
      operationId: getComparison
      summary: Получить сравнение
      responses:
        '200':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.read
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
    delete:
      tags:
      - Comparisons
      operationId: deleteComparison
      summary: Удалить сравнение
      responses:
        '200':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.delete
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}/retry:
    post:
      tags:
      - Comparisons
      operationId: retryComparison
      summary: Повторить сравнение
      responses:
        '202':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.update
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}/run:
    post:
      tags:
      - Comparisons
      operationId: runComparison
      summary: Запустить сравнение
      responses:
        '202':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.update
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}/metrics:
    get:
      tags:
      - Comparisons
      operationId: getComparisonMetrics
      summary: Metrics сравнения
      responses:
        '200':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.read
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}/insights:
    get:
      tags:
      - Comparisons
      operationId: getComparisonInsights
      summary: Insights сравнения
      responses:
        '200':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.read
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}/history:
    get:
      tags:
      - Comparisons
      operationId: getComparisonHistory
      summary: History сравнения
      responses:
        '200':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.read
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}/export/{format}:
    get:
      tags:
      - Comparisons
      operationId: exportComparison
      summary: Экспортировать сравнение
      responses:
        '200':
          description: Файл
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      - $ref: '#/components/parameters/Format'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.export
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
  /api/v1/comparisons/{id}/share:
    post:
      tags:
      - Comparisons
      operationId: shareComparison
      summary: Создать отчёт по сравнению
      responses:
        '202':
          description: Успешный ответ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
          headers:
            X-Request-ID:
              $ref: '#/components/headers/RequestId'
            X-API-Version:
              schema:
                type: string
                const: v1
        '413':
          description: JSON body exceeds 1 MiB.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - $ref: '#/components/parameters/Id'
      security:
      - BearerAuth: []
      - ApiKeyHeader: []
      x-nexip-scope: comparisons.share
      x-nexip-capability: comparisons
      x-nexip-credential-boundary: Personal credentials access personal resources; project credentials access their bound organization/project. Unsupported project methods return 403.
      x-nexip-rate-limited: true
components:
  schemas:
    ComparisonInput:
      type: object
      additionalProperties: true
    ErrorEnvelope:
      type: object
      required:
      - ok
      - error
      properties:
        ok:
          type: boolean
          const: false
        error:
          $ref: '#/components/schemas/ApiError'
        meta:
          $ref: '#/components/schemas/ApiMeta'
    ApiError:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          examples:
          - api_key_required
          - scope_denied
          - rate_limit_exceeded
        message:
          type: string
        details:
          type: object
          additionalProperties: true
    ApiMeta:
      type: object
      properties:
        request_id:
          type: string
        api_version:
          type: string
          const: v1
        plan:
          type: string
        rate_limit:
          type: object
          additionalProperties: true
    GenericSuccess:
      type: object
      required:
      - ok
      properties:
        ok:
          type: boolean
          const: true
        data:
          type:
          - object
          - array
          - 'null'
        meta:
          $ref: '#/components/schemas/ApiMeta'
      additionalProperties: true
  responses:
    Unavailable:
      description: Сервис временно недоступен
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    ValidationError:
      description: Ошибка валидации
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Forbidden:
      description: Недостаточно прав или ограничение тарифа
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: API-ключ отсутствует или недействителен
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    BadRequest:
      description: Некорректный запрос
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RateLimited:
      description: Превышен лимит запросов
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Conflict:
      description: Конфликт состояния
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: Ресурс не найден
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  headers:
    RequestId:
      description: Уникальный идентификатор запроса.
      schema:
        type: string
    RetryAfter:
      description: Через сколько можно повторить запрос.
      schema:
        type:
        - string
        - integer
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
    Format:
      name: format
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: NexIP API Key
      description: 'Предпочтительный вариант: Authorization: Bearer nxp_live_...'
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: Совместимый вариант передачи API-ключа.
x-nexip-api-version: v1
x-nexip-scope-registry:
  tools.run:
    title: Запуск инструментов
    description: Запуск диагностических инструментов NexIP.
    capability: api_access
  shield.read:
    title: Просмотр NexIP Shield
    description: Сайты, правила и статистика Shield в доступной рабочей области.
    capability: null
  monitors.read:
    title: Просмотр мониторов
    description: Просмотр мониторов, проверок и инцидентов.
    capability: monitor_api
  monitors.create:
    title: Создание мониторов
    description: Создание новых мониторов.
    capability: monitor_api
  monitors.update:
    title: Изменение мониторов
    description: Изменение настроек существующих мониторов.
    capability: monitor_api
  monitors.delete:
    title: Удаление мониторов
    description: Удаление мониторов и связанных данных.
    capability: monitor_api
  monitors.check:
    title: Ручная проверка монитора
    description: Запуск ручной проверки существующего монитора.
    capability: monitor_api
  reports.read:
    title: Просмотр отчётов
    description: Просмотр созданных отчётов и их состояния.
    capability: reports
  reports.create:
    title: Создание отчётов
    description: Создание отчётов в рамках возможностей тарифа.
    capability: reports
  reports.delete:
    title: Удаление отчётов
    description: Удаление пользовательских отчётов.
    capability: reports
  reports.export:
    title: Экспорт отчётов
    description: Получение доступных тарифу форматов отчётов.
    capability: reports
  reports.share:
    title: Публикация отчётов
    description: Создание публичной ссылки на отчёт.
    capability: reports
  reports.send:
    title: Отправка отчётов
    description: Отправка отчётов через разрешённые каналы.
    capability: reports
  seo-audits.read:
    title: Просмотр SEO-аудитов
    description: Просмотр SEO-аудитов и результатов.
    capability: seo_audits
  seo-audits.create:
    title: Запуск SEO-аудитов
    description: Создание SEO-аудитов в пределах тарифа.
    capability: seo_audits
  seo-audits.update:
    title: Управление SEO-аудитами
    description: Изменение и повторный запуск SEO-аудитов.
    capability: seo_audits
  seo-audits.delete:
    title: Удаление SEO-аудитов
    description: Удаление SEO-аудитов.
    capability: seo_audits
  seo-audits.export:
    title: Экспорт SEO-аудитов
    description: Экспорт результатов SEO-аудита в доступном тарифу формате.
    capability: seo_audits
  comparisons.read:
    title: Просмотр сравнений
    description: Просмотр сравнений сайтов и результатов.
    capability: comparisons
  comparisons.create:
    title: Создание сравнений
    description: Создание сравнений в рамках тарифных лимитов.
    capability: comparisons
  comparisons.update:
    title: Управление сравнениями
    description: Изменение, повторный запуск и управление сравнениями.
    capability: comparisons
  comparisons.delete:
    title: Удаление сравнений
    description: Удаление пользовательских сравнений.
    capability: comparisons
  comparisons.export:
    title: Экспорт сравнений
    description: Экспорт результатов сравнения в доступном тарифу формате.
    capability: comparisons
  comparisons.share:
    title: Публикация сравнений
    description: Создание отчёта или публичного представления сравнения.
    capability: comparisons
  public-entities.read:
    title: Чтение публичных сущностей
    description: Получение публичных данных NexIP.
    capability: public_entities
  public-entities.write:
    title: Управление публичными сущностями
    description: Создание и изменение доступных публичных сущностей.
    capability: public_entities
  notifications.read:
    title: Просмотр уведомлений
    description: Просмотр уведомлений и настроек доставки.
    capability: notifications
  notifications.write:
    title: Управление уведомлениями
    description: Изменение уведомлений и каналов в рамках тарифа.
    capability: notifications
  billing.read:
    title: Просмотр биллинга
    description: Просмотр тарифа, подписки и доступных способов оплаты.
    capability: billing
  billing.write:
    title: Управление биллингом
    description: Создание оплаты и управление собственной подпиской.
    capability: billing
  mcp.use:
    title: NexIP MCP
    description: Использование NexIP через MCP-клиенты и AI-агентов.
    capability: mcp
x-nexip-auth:
  preferred: bearer
  compatible:
  - x-api-key
x-nexip-admin-api-included: false