htmlweb-ru JSON API

The Json API from htmlweb-ru — 7 operation(s) for json.

Operations 7

GET /json/ai/ocr OCR: текст с изображения #
GET /json/ai/spam Классификация сообщения на спам #
GET /json/ai/asr ASR: распознавание речи из аудио/видео #
GET /json/ai/health Доступность ИИ-сервиса #
GET /json/ai/result Результат async-задачи (ocr/spam/asr) #
GET /json/money/get_limit Остаток запросов агента #
POST /json/money/set_limit Начисление пакета запросов с баланса агента #

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/htmlweb-ru:htmlweb-ru-json-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

htmlweb-ru-json-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Htmlweb Ru JSON API
  version: 1.7.0
  x-payments:
    x402: https://mcp.htmlweb.ru/commerce.json
    acp: https://mcp.htmlweb.ru/checkout_sessions
  description: 'Operations tagged Json across 2 of this provider''s published API definitions: api-htmlweb-ru-openapi.json, htmlweb-ru-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://htmlweb.ru/
  description: 'REST: /json/{obj}/{m}'
- url: https://mcp.htmlweb.ru/
  description: MCP-сервер и x402-оплата
security:
- api_key: []
- bearerAuth: []
tags:
- name: Json
paths:
  /json/ai/ocr:
    get:
      summary: 'OCR: текст с изображения'
      description: 'Распознавание текста на изображении (tesseract rus+eng). Источник: url или base64. Списывается 1 запрос.'
      parameters:
      - name: url
        in: query
        schema:
          type: string
          format: uri
        description: Ссылка на изображение (jpg, png, gif, webp)
      - name: base64
        in: query
        schema:
          type: string
        description: Изображение в base64 (альтернатива url)
      responses:
        '200':
          description: Распознанный текст
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  text:
                    type: string
        '401':
          description: Нет api_key
        '429':
          description: Исчерпан лимит
      tags:
      - Json
      operationId: getJsonAiOcr
      x-operation-id-source: derived
    servers:
    - url: https://htmlweb.ru/
      description: 'REST: /json/{obj}/{m}'
    - url: https://mcp.htmlweb.ru/
      description: MCP-сервер и x402-оплата
  /json/ai/spam:
    get:
      summary: Классификация сообщения на спам
      description: 'Локальная LLM оценивает текст: verdict spam/ok/unsure. Списывается 1 запрос.'
      parameters:
      - name: text
        in: query
        required: true
        schema:
          type: string
      - name: title
        in: query
        schema:
          type: string
        description: Название чата — повышает точность
      - name: mayBe
        in: query
        schema:
          type: string
        description: Что уже подозрительно по эвристике
      responses:
        '200':
          description: Вердикт
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  verdict:
                    type: string
                    enum:
                    - spam
                    - ok
                    - unsure
                  confidence:
                    type: number
        '401':
          description: Нет api_key
        '429':
          description: Исчерпан лимит
      tags:
      - Json
      operationId: getJsonAiSpam
      x-operation-id-source: derived
    servers:
    - url: https://htmlweb.ru/
      description: 'REST: /json/{obj}/{m}'
    - url: https://mcp.htmlweb.ru/
      description: MCP-сервер и x402-оплата
  /json/ai/asr:
    get:
      summary: 'ASR: распознавание речи из аудио/видео'
      description: 'whisper.cpp: текст из голосовых, аудио- и видеофайлов (mp3, ogg/opus, m4a, wav, mp4, mkv, webm). Оплата 2 руб./минуту аудио (округление вверх) с баланса после успешного распознавания; повтор того же файла из кеша 7 дней — бесплатно; если речи нет, text пустой, минута тарифицируется. Источник: url или base64. До 100 МБ и 30 минут.'
      parameters:
      - name: url
        in: query
        schema:
          type: string
          format: uri
        description: Ссылка на аудио/видео файл
      - name: base64
        in: query
        schema:
          type: string
        description: Файл в base64 (альтернатива url)
      - name: lang
        in: query
        schema:
          type: string
          default: ru
        description: 'Язык речи: двухбуквенный код (ru, en, …) или auto'
      - name: model
        in: query
        schema:
          type: string
          enum:
          - small
          - base
          default: small
        description: small — точнее, base — быстрее
      - name: async
        in: query
        schema:
          type: integer
          enum:
          - 0
          - 1
        description: '1 — асинхронно: ответ id, результат через m=result или CallBackUrl'
      responses:
        '200':
          description: Текст распознавания
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  text:
                    type: string
                  seconds:
                    type: integer
                  cost:
                    type: number
                  cached:
                    type: integer
        '401':
          description: Нет api_key
        '402':
          description: Недостаточно средств на балансе
        '429':
          description: Сервис занят или превышен лимит частоты
      tags:
      - Json
      operationId: getJsonAiAsr
      x-operation-id-source: derived
    servers:
    - url: https://htmlweb.ru/
      description: 'REST: /json/{obj}/{m}'
    - url: https://mcp.htmlweb.ru/
      description: MCP-сервер и x402-оплата
  /json/ai/health:
    get:
      summary: Доступность ИИ-сервиса
      security: []
      responses:
        '200':
          description: 'tesseract, ollama и whisper (asr): true/false'
          content:
            application/json:
              schema:
                type: object
      tags:
      - Json
      operationId: getJsonAiHealth
      x-operation-id-source: derived
    servers:
    - url: https://htmlweb.ru/
      description: 'REST: /json/{obj}/{m}'
    - url: https://mcp.htmlweb.ru/
      description: MCP-сервер и x402-оплата
  /json/ai/result:
    get:
      summary: Результат async-задачи (ocr/spam/asr)
      parameters:
      - name: id
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Статус и результат задачи
        '404':
          description: Задача не найдена или истекла
      tags:
      - Json
      operationId: getJsonAiResult
      x-operation-id-source: derived
    servers:
    - url: https://htmlweb.ru/
      description: 'REST: /json/{obj}/{m}'
    - url: https://mcp.htmlweb.ru/
      description: MCP-сервер и x402-оплата
  /json/money/get_limit:
    get:
      summary: Остаток запросов агента
      responses:
        '200':
          description: Текущий баланс запросов
          content:
            application/json:
              schema:
                type: object
      tags:
      - Json
      operationId: getJsonMoneyGetLimit
      x-operation-id-source: derived
    servers:
    - url: https://htmlweb.ru/
      description: 'REST: /json/{obj}/{m}'
    - url: https://mcp.htmlweb.ru/
      description: MCP-сервер и x402-оплата
  /json/money/set_limit:
    post:
      summary: Начисление пакета запросов с баланса агента
      responses:
        '200':
          description: Новый баланс
          content:
            application/json:
              schema:
                type: object
      tags:
      - Json
      operationId: postJsonMoneySetLimit
      x-operation-id-source: derived
    servers:
    - url: https://htmlweb.ru/
      description: 'REST: /json/{obj}/{m}'
    - url: https://mcp.htmlweb.ru/
      description: MCP-сервер и x402-оплата
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: query
      name: api_key
    bearerAuth:
      type: http
      scheme: bearer
externalDocs:
  url: https://htmlweb.ru/llms.txt
  description: Карта сайта и сервисов для агентов
x-refined-from:
- api-htmlweb-ru-openapi.json
- htmlweb-ru-openapi.json