HowToRomania Courts API

The Courts API from HowToRomania — 2 operation(s) for courts.

GitHub OpenAPI

Operations 2

GET /v1/company/{cui}/court-cases Company court cases (15 credits) #
GET /v1/court-cases/{caseNumber} Court case by number (1 credit) #

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/howtoromania-io:howtoromania-io-courts-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

howtoromania-io-courts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Howtoromania Io Courts API
  version: 0.5.0
  contact:
    email: hello@howtoromania.io
    url: https://howtoromania.io
  description: 'Operations tagged Courts across 2 of this provider''s published API definitions: howtoromania-io-openapi.json, howtoromania-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.howtoromania.io
security:
- apiKey: []
- bearer: []
tags:
- name: Courts
paths:
  /v1/company/{cui}/court-cases:
    get:
      operationId: get_company_court_cases
      summary: Company court cases (15 credits)
      description: Cases where the company is a party (portal.just.ro), summary + list
      tags:
      - Courts
      x-credits: 15
      responses:
        '200':
          description: OK
          headers:
            x-credits-used:
              schema:
                type: integer
            x-credits-remaining:
              schema:
                type: integer
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
        '400':
          description: Invalid input (not billed)
        '401':
          description: Missing/invalid key
        '402':
          description: Out of credits; body has checkout links
        '403':
          description: Endpoint not in demo key
        '404':
          description: Not found (not billed)
        '429':
          description: Demo limit reached
        '451':
          description: Court case closed more than 3 years ago, withheld for data protection (code unavailable_data_protection, not billed)
        '502':
          description: Upstream error (not billed)
      parameters:
      - name: cui
        in: path
        required: true
        schema:
          type: string
        example: '14399840'
        description: Romanian CUI/CIF, optional RO prefix
      - name: since
        in: query
        required: false
        schema:
          type: string
        description: YYYY-MM-DD
      - name: category
        in: query
        required: false
        schema:
          type: string
        description: ''
      - name: role
        in: query
        required: false
        schema:
          type: string
        description: ''
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: 1..200
    servers:
    - url: https://api.howtoromania.io
  /v1/court-cases/{caseNumber}:
    get:
      operationId: get_court_case
      summary: Court case by number (1 credit)
      description: Parties, hearings, outcomes, appeals
      tags:
      - Courts
      x-credits: 1
      responses:
        '200':
          description: OK
          headers:
            x-credits-used:
              schema:
                type: integer
            x-credits-remaining:
              schema:
                type: integer
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
        '400':
          description: Invalid input (not billed)
        '401':
          description: Missing/invalid key
        '402':
          description: Out of credits; body has checkout links
        '403':
          description: Endpoint not in demo key
        '404':
          description: Not found (not billed)
        '429':
          description: Demo limit reached
        '451':
          description: Court case closed more than 3 years ago, withheld for data protection (code unavailable_data_protection, not billed)
        '502':
          description: Upstream error (not billed)
      parameters:
      - name: caseNumber
        in: path
        required: true
        schema:
          type: string
        example: 9430%2F271%2F2025
        description: URL-encoded case number
    servers:
    - url: https://api.howtoromania.io
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
    PaymentRequired:
      description: Out of credits
      type: object
      properties:
        error:
          description: insufficient_credits
          type: object
          properties:
            code:
              description: Always insufficient_credits
              type: string
              const: insufficient_credits
            message:
              description: Out-of-credits explanation and how to buy a pack
              type: string
        balance:
          description: Credits remaining
          type: integer
        topup:
          description: How to buy credits
          type: object
          properties:
            howTo:
              description: Next step. When purchases are paused this says so, without a checkout link
              type: string
            purchasesPaused:
              description: True when checkout is closed
              type: boolean
            packs:
              description: Credit packs
              type: array
              items:
                description: One credit pack
                type: object
                properties:
                  id:
                    description: starter, pro, or scale
                    type: string
                  credits:
                    description: Credits in the pack
                    type: integer
                  price:
                    description: Price including VAT, e.g. 5.00 EUR
                    type: string
                  checkout:
                    description: Checkout URL. Present when purchases are open
                    type: string
                    format: uri
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
    bearer:
      type: http
      scheme: bearer
externalDocs:
  url: https://api.howtoromania.io/docs
x-refined-from:
- howtoromania-io-openapi.json
- howtoromania-io-openapi.json
x-mcp:
  url: https://api.howtoromania.io/mcp
  transport: streamable-http