Leadgen (Romanian company data) Alerts API

Email digests of your watchlist changes (double opt-in, one-click unsubscribe).

GitHub OpenAPI

Operations 3

POST /alerts/email Alerts Email #
GET /alerts/email Alerts Email Status #
DELETE /alerts/email Alerts Email Off #

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/leadgen-adrianhomelab-com:leadgen-adrianhomelab-com-alerts-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

leadgen-adrianhomelab-com-alerts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Leadgen API — Romanian business registry (ONRC) Alerts API
  description: '**Send your key as the `X-API-Key` header.** Anonymous callers get 5 lookups a day; a free key (50/day) takes ten seconds at /start. Read-only JSON over Romania''s official ONRC registry: 4.2M companies, CAEN activities, legal representatives, statuses and financial statements. Search is diacritic-insensitive.'
  version: 2.3.3
servers:
- url: https://leadgen-api.adrianhomelab.com
- url: https://leadgen.adrianhomelab.com
security:
- ApiKeyAuth: []
- {}
tags:
- name: Alerts
  description: Email digests of your watchlist changes (double opt-in, one-click unsubscribe).
paths:
  /alerts/email:
    post:
      tags:
      - Alerts
      summary: Alerts Email
      description: 'Turn on email digests for the watches of this key (double opt-in).


        Body: ``{"email": "...", "lang": "en"|"ro"}``; ``email`` defaults to the

        address the key was issued to. We send a confirmation link; once it is

        clicked, a daily digest goes out whenever a watched company changes or new

        firms register under a watched CAEN code / county (the same changes

        poll_watchlist returns, tracked separately so neither drains the other).'
      operationId: alerts_email_alerts_email_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertEmailRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Alerts
      summary: Alerts Email Status
      description: Where this key's watchlist alerts go, and whether they are confirmed.
      operationId: alerts_email_status_alerts_email_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    delete:
      tags:
      - Alerts
      summary: Alerts Email Off
      description: 'Turn this key''s email alerts off, or cancel a request still waiting for its confirmation

        (`status: cancelled`, the mailed link stops working; F35). Only this key''s own

        subscription is touched. The watches themselves stay.'
      operationId: alerts_email_off_alerts_email_delete
      parameters:
      - name: lang
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Lang
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AlertEmailRequest:
      properties:
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
        lang:
          anyOf:
          - type: string
          - type: 'null'
          title: Lang
      type: object
      title: AlertEmailRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Optional. A free key from /start raises the daily lookup limit; anonymous calls still work at a lower limit.