Leadgen (Romanian company data) Watchlist API
Your key's watches (companies by CUI, CAEN codes by county): list with changes, add in bulk, remove. The MCP watch tools' REST twin; needs a key.
Your key's watches (companies by CUI, CAEN codes by county): list with changes, add in bulk, remove. The MCP watch tools' REST twin; needs a key.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/leadgen-adrianhomelab-com:leadgen-adrianhomelab-com-watchlist-api"
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.
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: 3.2.0
info:
title: Leadgen API — Romanian business registry (ONRC) Watchlist…
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: Watchlist
description: 'Your key''s watches (companies by CUI, CAEN codes by county): list with changes, add in bulk, remove. The MCP watch tools'' REST twin; needs a key.'
paths:
/watches:
get:
tags:
- Watchlist
summary: Watches List
description: 'Your key''s watches, each with what changed since the last poll, most
severe first (a firm that stopped being a lead or left the registry, then a
risk, status or ANAF change, then the rest). A peek: nothing is consumed;
`POST /watches/seen` (or MCP `poll_watchlist`) marks the changes as seen.
Not counted (F175): reading back what you watch spends no lookup.'
operationId: watches_list_watches_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
post:
tags:
- Watchlist
summary: Watches Add
description: 'Watch firms and/or CAEN codes in one call.
Body: `{"companies": ["14399840", "RO2816464", …], "caen": [{"code": "4321",
"county": "Cluj"}]}`. A `caen` code may be a code list or a curated topic
(`software`): one watch per CAEN code, in that county or nationwide. Up to
1,000 items a call; past the plan''s watchlist size (when plans are enforced)
the rest are refused with the plan''s upgrade note. Each item comes back with
a `status`: added, already (held before), not_found, invalid or cap.
Cost: following one company counts as opening it: free if your key opened that
company today, otherwise one lookup, after which opening it again today is free.
Any other call (several companies, or CAEN codes) counts as one lookup. 402 when
nothing could be added because of the cap.'
operationId: watches_add_watches_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WatchAddRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Watchlist
summary: Watches Remove
description: 'Stop watching one firm (`kind=company&target=`) or one CAEN code
(`kind=caen&target=4321[&county=Cluj]`). 404 when the key does not hold it.
Not counted: stopping a watch spends no lookup, and gives none back.'
operationId: watches_remove_watches_delete
parameters:
- name: kind
in: query
required: true
schema:
type: string
pattern: ^(company|caen)$
title: Kind
- name: target
in: query
required: true
schema:
type: string
minLength: 1
maxLength: 40
title: Target
- name: county
in: query
required: false
schema:
anyOf:
- type: string
maxLength: 60
- type: 'null'
title: County
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/alerts/feed:
get:
tags:
- Watchlist
summary: Alerts Feed
description: 'Your alerts, newest first: what changed at the firms and CAEN codes you follow, each with a
`kind` (insolvency, anaf_inactive, status_closing, gone, accounts, contract, directors, …), a
`tone` (risc, atentie, info) and whether you have read it; `next` pages back (`?before=`). Also
how many you follow and your plan''s follow limit. Not counted.'
operationId: alerts_feed_alerts_feed_get
parameters:
- name: before
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
title: Before
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/alerts/feed/read:
post:
tags:
- Watchlist
summary: Alerts Feed Read
description: 'Mark alerts read: `{"ids": [812]}` marks those (yours only), `{}` marks them all. Not counted.'
operationId: alerts_feed_read_alerts_feed_read_post
requestBody:
content:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/AlertsReadRequest'
- type: 'null'
title: Req
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/watches/seen:
post:
tags:
- Watchlist
summary: Watches Seen
description: 'Mark every change as seen: the same drain as MCP `poll_watchlist` (company
fingerprints and CAEN cursors slide; the email digest keeps its own).
Returns the drained changes (the MCP poll_watchlist answer) plus `cleared`,
how many watches had changes. Counts as one lookup.'
operationId: watches_seen_watches_seen_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
WatchAddRequest:
properties:
companies:
items:
type: string
type: array
title: Companies
default: []
caen:
items:
$ref: '#/components/schemas/WatchCaenItem'
type: array
title: Caen
default: []
type: object
title: WatchAddRequest
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
AlertsReadRequest:
properties:
ids:
anyOf:
- items:
type: integer
type: array
- type: 'null'
title: Ids
type: object
title: AlertsReadRequest
WatchCaenItem:
properties:
code:
type: string
title: Code
county:
anyOf:
- type: string
- type: 'null'
title: County
type: object
required:
- code
title: WatchCaenItem
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.