PHPackages                             finstat/client-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. finstat/client-api

ActiveLibrary[API Development](/categories/api)

finstat/client-api
==================

PHP Client for Finstat API

1.7.0(2mo ago)66.3k↓27.3%6MITPHPPHP ^7.1 || ^8.0

Since Aug 20Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/finstat/ClientApi.PHP)[ Packagist](https://packagist.org/packages/finstat/client-api)[ Docs](https://github.com/finstat/ClientApi.PHP/)[ RSS](/packages/finstat-client-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Finstat API Client for PHP
==========================

[](#finstat-api-client-for-php)

This repository contains a PHP client for interacting with the Finstat API services. Finstat provides financial and corporate data for businesses in Slovakia and the Czech Republic.

Features
--------

[](#features)

- Retrieve detailed company information by ICO (Company ID)
- Search companies using autocomplete functionality
- Monitor changes in company data
- Access daily data diffs
- Support for both Slovak and Czech business registries

Installation
------------

[](#installation)

```
composer require finstat/client-api
```

Configuration
-------------

[](#configuration)

Before using the API client, you need to set up your credentials:

```
// Basic API configuration
$apiUrl = 'https://www.finstat.sk/api/';    // URL for Slovak API (use 'https://cz.finstat.sk/api/' for Czech API)
$apiKey = 'YOUR_API_KEY';                  // Your unique API key
$privateKey = 'YOUR_PRIVATE_KEY';          // Your private key
$stationId = 'Your Station ID';            // Identifier for the station making the request
$stationName = 'Your Station Name';        // Name or description of the station
$timeout = 10;                             // Timeout in seconds for server response
$json = false;                             // Set to true if you want the API to return responses as JSON
```

Usage Examples
--------------

[](#usage-examples)

### Slovak Companies API

[](#slovak-companies-api)

```
