Powerful API for Developers

Integrate comprehensive company information, financial data, and credit reports directly into your applications with our robust and easy-to-use API.

RESTful API

Standard HTTP methods with JSON responses

API Keys

Secure authentication with API keys

Real-time Data

Up-to-date information from official sources

Analytics

Usage statistics and performance metrics

Quick Start

Authentication

All API requests require an API key. Include it in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Get your API key from your dashboard after signing up for an account.

Base URL

All API endpoints are relative to our base URL:

https://api.creditinfo.md/v1

All responses are returned in JSON format with appropriate HTTP status codes.

Search Companies

GET /companies/search

Search for companies by name, IDNO, or other criteria.

Parameters:

  • q - Search query
  • limit - Number of results (default: 10)
  • offset - Pagination offset

Example Request:

GET /companies/search?q=example&limit=5

Example Response:

{
  "success": true,
  "data": [
    {
      "id": "12345",
      "name": "Example Company SRL",
      "idno": "1234567890123",
      "status": "active",
      "address": "Chisinau, Moldova",
      "created_at": "2020-01-15"
    }
  ],
  "total": 1,
  "limit": 5,
  "offset": 0
}

Get Company Details

GET /companies/{id}

Get detailed information about a specific company.

Parameters:

  • id - Company ID or IDNO
  • include_financial - Include financial data (boolean)

Example Request:

GET /companies/1234567890123?include_financial=true

Example Response:

{
  "success": true,
  "data": {
    "id": "12345",
    "name": "Example Company SRL",
    "idno": "1234567890123",
    "status": "active",
    "address": "Chisinau, Moldova",
    "phone": "+373 22 123456",
    "email": "contact@example.md",
    "website": "https://example.md",
    "created_at": "2020-01-15",
    "founders": [...],
    "administrators": [...],
    "activities": [...],
    "financial_data": {
      "2023": {
        "net_sales": 1000000,
        "net_profit": 150000,
        "total_assets": 2000000
      }
    }
  }
}

Get Financial Reports

GET /companies/{id}/financial

Get detailed financial reports for a company.

Parameters:

  • id - Company ID or IDNO
  • year - Specific year (optional)
  • format - Response format (json, csv, pdf)

Example Request:

GET /companies/1234567890123/financial?year=2023

Example Response:

{
  "success": true,
  "data": {
    "company_id": "12345",
    "year": 2023,
    "balance_sheet": {
      "total_assets": 2000000,
      "current_assets": 800000,
      "fixed_assets": 1200000,
      "total_liabilities": 1500000,
      "equity": 500000
    },
    "income_statement": {
      "net_sales": 1000000,
      "cost_of_sales": 600000,
      "gross_profit": 400000,
      "operating_expenses": 250000,
      "net_profit": 150000
    }
  }
}

Code Examples

JavaScript (Fetch)

// Search for companies
const searchCompanies = async (query) => {
  const response = await fetch(
    `https://api.creditinfo.md/v1/companies/search?q=${query}`,
    {
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json'
      }
    }
  );
  
  return await response.json();
};

// Get company details
const getCompanyDetails = async (id) => {
  const response = await fetch(
    `https://api.creditinfo.md/v1/companies/${id}`,
    {
      headers: {
        'Authorization': 'Bearer YOUR_API_KEY'
      }
    }
  );
  
  return await response.json();
};

Python (Requests)

import requests

API_KEY = 'YOUR_API_KEY'
BASE_URL = 'https://api.creditinfo.md/v1'

headers = {
    'Authorization': f'Bearer {API_KEY}',
    'Content-Type': 'application/json'
}

# Search for companies
def search_companies(query):
    response = requests.get(
        f'{BASE_URL}/companies/search',
        params={'q': query},
        headers=headers
    )
    return response.json()

# Get company details
def get_company_details(company_id):
    response = requests.get(
        f'{BASE_URL}/companies/{company_id}',
        headers=headers
    )
    return response.json()

API Pricing & Limits

Basic

0 MDL

Free tier

  • • 100 requests/month
  • • Basic company data
  • • Standard support

Professional

299 MDL

Per month

  • • 10,000 requests/month
  • • Full company data
  • • Financial reports
  • • Priority support

Enterprise

899 MDL

Per month

  • • Unlimited requests
  • • All data types
  • • Custom integrations
  • • Dedicated support

Ready to Get Started?

Sign up for an API key and start integrating company data into your applications today.