HowToRomania Base data (free) API
The free Base data API from HowToRomania: Romanian public holidays and SIRUTA place lookup (search, by code, and reverse lookup by coordinates).
The free Base data API from HowToRomania: Romanian public holidays and SIRUTA place lookup (search, by code, and reverse lookup by coordinates).
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/howtoromania-io:howtoromania-io-base-data-free-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.1.0
info:
title: HowToRomania Base data (free) API
version: 0.5.2
description: 'Data from Romanian public registries for AI agents. €5 = 1,000 credits
(€0.005/credit) · €20 = 5,000 · €100 = 30,000. Free credits to start on every
new key. Errors, not-found and source outages (e.g. ANAF unreachable) are not
billed; a risk report with some sections unavailable is billed in full. Demo key:
htr_demo (limited daily calls per IP; company.lookup, court.case, efactura.validate,
efactura.parse, legislation.search, legislation.article, legislation.new).'
contact:
email: hello@howtoromania.io
url: https://howtoromania.io
servers:
- url: https://api.howtoromania.io
tags: []
paths:
/v1/holidays:
get:
operationId: holidays
summary: Romanian public holidays (free)
description: 'Days off under the Labour Code (art. 139) for a year, 2024-2099,
or whether one date is a public holiday. Dates are computed from the law''s
rules; each entry says how. Free, no API key, no credits, over REST and MCP;
keyless calls are rate-limited per IP. Public sources: SIRUTA from INS and
administrative unit boundaries from ANCPI (both via data.gov.ro, licence CC
BY 4.0 as listed by the publishers), and the text of the Labour Code on legislatie.just.ro
for the holidays. Informational; responses name the source and snapshot.'
tags:
- Base data (free)
security: []
x-credits: 0
parameters:
- name: year
in: query
required: false
schema:
type: string
description: Year, 2024-2099. Default the current year. Ignored when date
is set
description: Year, 2024-2099. Default the current year. Ignored when date
is set
- name: date
in: query
required: false
schema:
type: string
description: One date, YYYY-MM-DD. Returns whether it is a public holiday
and a weekend
description: One date, YYYY-MM-DD. Returns whether it is a public holiday
and a weekend
responses:
'200':
description: 'OK. Cache-Control: public, max-age=3600'
content:
application/json:
schema:
description: JSON body. data is the payload; other properties are
named below.
type: object
properties:
data:
description: Holidays of one year (when year is used), or the
answer for one date (when date is set). Fields of the other
mode are absent
type: object
properties:
year:
description: Year. Year mode only
type: integer
country:
description: Always RO. Year mode only
type: string
count:
description: Number of days. Year mode only
type: integer
date:
description: The date asked, YYYY-MM-DD. Date mode only
type: string
weekday:
description: English weekday name. Date mode only
type: string
isPublicHoliday:
description: True when the date is a public holiday. Date
mode only
type: boolean
isWeekend:
description: True on Saturday and Sunday. Date mode only
type: boolean
holidays:
description: 'Year mode: days off sorted by date. Date mode:
the holidays on that date (two can fall on one day)'
type: array
items:
description: One public holiday
type: object
properties:
date:
description: YYYY-MM-DD
type: string
weekday:
description: English weekday name
type: string
name:
description: English name
type: string
nameRo:
description: Romanian name
type: string
rule:
description: Id of the rule in art. 139 alin. (1) the
date comes from
type: string
computed:
description: How the date is obtained
type: string
enum:
- fixed date
- from Orthodox Easter
source:
description: Where the dates come from
type: object
properties:
basis:
description: Law and article the rules come from
type: string
url:
description: Link to the law text
type: string
consolidatedAt:
description: Consolidation date of the law text the rules
were written for, YYYY-MM-DD
type: string
method:
description: 'How the dates are produced: computed by
HowToRomania from the rules'
type: string
notes:
description: What is and is not included
type: array
items:
description: Note
type: string
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Keyless limit reached. Rate-limited per IP
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/places/search:
get:
operationId: places_search
summary: Search localities (SIRUTA) (free)
description: 'Counties, administrative units and localities by name (diacritics
optional), with SIRUTA code, kind, county and parent unit. Free, no API key,
no credits, over REST and MCP; keyless calls are rate-limited per IP. Public
sources: SIRUTA from INS and administrative unit boundaries from ANCPI (both
via data.gov.ro, licence CC BY 4.0 as listed by the publishers), and the text
of the Labour Code on legislatie.just.ro for the holidays. Informational;
responses name the source and snapshot.'
tags:
- Base data (free)
security: []
x-credits: 0
parameters:
- name: q
in: query
required: false
schema:
type: string
description: Name or start of a name, at least 2 letters, e.g. Sacele, Voronet.
Diacritics optional
description: Name or start of a name, at least 2 letters, e.g. Sacele, Voronet.
Diacritics optional
- name: county
in: query
required: false
schema:
type: string
description: County name, e.g. Brasov or Bucuresti. Narrows the search to
that county
description: County name, e.g. Brasov or Bucuresti. Narrows the search to
that county
- name: limit
in: query
required: false
schema:
type: integer
description: Maximum results, 1-50. Default 20
description: Maximum results, 1-50. Default 20
responses:
'200':
description: 'OK. Cache-Control: public, max-age=3600'
content:
application/json:
schema:
description: JSON body. data is the payload; other properties are
named below.
type: object
properties:
data:
description: Places matching a name
type: object
properties:
query:
description: The text searched
type: string
count:
description: Number of places returned
type: integer
places:
description: Best matches first
type: array
items:
description: One place
type: object
properties:
siruta:
description: SIRUTA code
type: integer
name:
description: Name as published, with diacritics
type: string
kind:
description: County, municipality, town, commune, locality
or Bucharest sector
type: string
level:
description: county, administrative unit (UAT) or locality
type: string
urban:
description: True for urban units
type: boolean
postalCode:
description: Postal code where published
type:
- string
- 'null'
example: null
nuts3:
description: NUTS3 code
type:
- string
- 'null'
example: null
lau:
description: LAU code (administrative units only)
type:
- string
- 'null'
example: null
county:
description: County name
type:
- string
- 'null'
example: null
parentName:
description: Name of the parent administrative unit,
for localities
type:
- string
- 'null'
example: null
parentSiruta:
description: SIRUTA code of the parent unit, for localities
type:
- integer
- 'null'
source:
description: Source and snapshot of the data
type: object
properties:
name:
description: Source name
type: string
snapshot:
description: Edition of the data that is loaded
type: string
url:
description: Link to the dataset
type: string
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Keyless limit reached. Rate-limited per IP
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/places/{siruta}:
get:
operationId: places_get
summary: Locality or unit by SIRUTA code (free)
description: 'One SIRUTA code: kind, county, urban or rural, NUTS3 and LAU codes,
parent unit and components. Free, no API key, no credits, over REST and MCP;
keyless calls are rate-limited per IP. Public sources: SIRUTA from INS and
administrative unit boundaries from ANCPI (both via data.gov.ro, licence CC
BY 4.0 as listed by the publishers), and the text of the Labour Code on legislatie.just.ro
for the holidays. Informational; responses name the source and snapshot.'
tags:
- Base data (free)
security: []
x-credits: 0
parameters:
- name: siruta
in: path
required: true
description: SIRUTA code, 1 to 6 digits, e.g. 54975
schema:
type: string
pattern: ^\d{1,6}$
responses:
'200':
description: 'OK. Cache-Control: public, max-age=3600'
content:
application/json:
schema:
description: JSON body. data is the payload; other properties are
named below.
type: object
properties:
data:
description: One SIRUTA entry
type: object
properties:
siruta:
description: SIRUTA code
type: integer
name:
description: Name as published, with diacritics
type: string
kind:
description: County, municipality, town, commune, locality
or Bucharest sector
type: string
level:
description: county, administrative unit (UAT) or locality
type: string
urban:
description: True for urban units
type: boolean
postalCode:
description: Postal code where published
type:
- string
- 'null'
example: null
nuts3:
description: NUTS3 code
type:
- string
- 'null'
example: null
lau:
description: LAU code (administrative units only)
type:
- string
- 'null'
example: null
county:
description: County name
type:
- string
- 'null'
example: null
parent:
description: Parent unit
type:
- object
- 'null'
properties:
siruta:
description: SIRUTA code
type: integer
name:
description: Name as published, with diacritics
type: string
kind:
description: County, municipality, town, commune, locality
or Bucharest sector
type: string
level:
description: county, administrative unit (UAT) or locality
type: string
urban:
description: True for urban units
type: boolean
postalCode:
description: Postal code where published
type:
- string
- 'null'
example: null
nuts3:
description: NUTS3 code
type:
- string
- 'null'
example: null
lau:
description: LAU code (administrative units only)
type:
- string
- 'null'
example: null
children:
description: Components of a county or unit (units, villages);
empty for a locality
type: array
items:
description: One component
type: object
properties:
siruta:
description: SIRUTA code
type: integer
name:
description: Name
type: string
kind:
description: Kind
type: string
source:
description: Source and snapshot of the data
type: object
properties:
name:
description: Source name
type: string
snapshot:
description: Edition of the data that is loaded
type: string
url:
description: Link to the dataset
type: string
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such SIRUTA code
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Keyless limit reached. Rate-limited per IP
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/v1/places/at:
get:
operationId: places_at
summary: Administrative unit at a point (free)
description: 'The municipality, town, commune or Bucharest sector that contains
a WGS84 point, with SIRUTA code and county. Boundaries are generalized to
about 50 m. Free, no API key, no credits, over REST and MCP; keyless calls
are rate-limited per IP. Public sources: SIRUTA from INS and administrative
unit boundaries from ANCPI (both via data.gov.ro, licence CC BY 4.0 as listed
by the publishers), and the text of the Labour Code on legislatie.just.ro
for the holidays. Informational; responses name the source and snapshot.'
tags:
- Base data (free)
security: []
x-credits: 0
parameters:
- name: lat
in: query
required: false
schema:
type: string
description: Latitude, WGS84, between 43 and 49
description: Latitude, WGS84, between 43 and 49
- name: lon
in: query
required: false
schema:
type: string
description: Longitude, WGS84, between 20 and 30.5
description: Longitude, WGS84, between 20 and 30.5
responses:
'200':
description: 'OK. Cache-Control: public, max-age=3600'
content:
application/json:
schema:
description: JSON body. data is the payload; other properties are
named below.
type: object
properties:
data:
description: Administrative unit containing a point
type: object
properties:
lat:
description: Latitude asked
type: number
lon:
description: Longitude asked
type: number
found:
description: False when the point is outside every unit
type: boolean
siruta:
description: SIRUTA code of the unit
type:
- integer
- 'null'
name:
description: Unit name
type:
- string
- 'null'
example: null
accuracy:
description: Boundaries are generalized; a point closer than
that to a border may get the neighbouring unit
type: string
kind:
description: Kind of unit, when SIRUTA data is loaded
type: string
county:
description: County name
type:
- string
- 'null'
example: null
parent:
description: Parent unit of the unit found (its county), when
SIRUTA data is loaded
type:
- object
- 'null'
properties:
siruta:
description: SIRUTA code
type: integer
name:
description: Name as published, with diacritics
type: string
kind:
description: County, municipality, town, commune, locality
or Bucharest sector
type: string
level:
description: county, administrative unit (UAT) or locality
type: string
urban:
description: True for urban units
type: boolean
postalCode:
description: Postal code where published
type:
- string
- 'null'
example: null
nuts3:
description: NUTS3 code
type:
- string
- 'null'
example: null
lau:
description: LAU code (administrative units only)
type:
- string
- 'null'
example: null
source:
description: Source and snapshot of the data
type: object
properties:
name:
description: Source name
type: string
snapshot:
description: Edition of the data that is loaded
type: string
url:
description: Link to the dataset
type: string
'400':
description: Invalid input
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Keyless limit reached. Rate-limited per IP
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
description: Error body
type: object
properties:
error:
description: What went wrong
type: object
properties:
code:
description: Stable code, e.g. invalid_input, not_found, unauthorized,
rate_limited, insufficient_credits
type: string
message:
description: What went wrong, and whether the call was billed
type: string
retryAfterSeconds:
description: Seconds to wait, on some rate-limit responses
type: integer
balance:
description: Credit balance, on some billing errors
type: integer
additionalProperties: true
securitySchemes:
apiKey:
type: apiKey
in: header
name: x-api-key
description: API key, or the public demo key on the endpoints that accept it
bearer:
type: http
scheme: bearer
description: 'Same API key as a bearer token: Authorization: Bearer <key>'
x-apievangelist:
split-from: openapi/_original/howtoromania-io-openapi_3.json
source: https://api.howtoromania.io/openapi.json
generated: '2026-12-02'
method: searched
security:
- apiKey: []
- bearer: []