PHPackages                             mmaurice/tinkoff-invest-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. mmaurice/tinkoff-invest-api

ActiveLibrary[API Development](/categories/api)

mmaurice/tinkoff-invest-api
===========================

Tinkoff Invest API library

0.1.0(5y ago)017MITPHPPHP &gt;=5.6

Since Nov 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/moss-maurice/tinkoff-invest-api)[ Packagist](https://packagist.org/packages/mmaurice/tinkoff-invest-api)[ RSS](/packages/mmaurice-tinkoff-invest-api/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

API для работы с Тинькофф Инвестиции
====================================

[](#api-для-работы-с-тинькофф-инвестиции)

[![Language](https://camo.githubusercontent.com/ab325f2956ec170e8a1155be8f232aa83076fb543d9591758057b9d7a4ab1679/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545352e362d626c7565)](https://img.shields.io/badge/php-%5E5.6-blue) [![Language](https://camo.githubusercontent.com/9ff31312e075644b0ea6e25c03546494e26fa565f3e0a3c196cc2a4265687583/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417069476174652d253545302e312e342d627269676874677265656e)](https://img.shields.io/badge/ApiGate-%5E0.1.4-brightgreen)

Инструмент для работы с [API Тинькофф Инвестиции](https://tinkoffcreditsystems.github.io/invest-openapi/) из PHP. Данный проект реализован на базе фреймворка **[ApiGate](https://github.com/moss-maurice/apigate)**. Запросы и ответы соответствуют схемам, указанным в официальной документации.

#### Реализованные методы

[](#реализованные-методы)

**sandbox**

- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/sandbox/register***
- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/sandbox/currencies/balance***
- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/sandbox/positions/balance***
- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/sandbox/remove***
- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/sandbox/clear***

**orders**

- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/orders***
- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/orders/limit-order***
- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/orders/market-order***
- [![POST-method](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565)](https://camo.githubusercontent.com/ce3cccc28193913ead318a0865ffdaf72bb189718a9f5310fc8ea576dbae4461/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f504f53542d626c7565) ***/orders/cancel***

**portfolio**

- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/portfolio***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/portfolio/currencies***

**market**

- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/stocks***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/bonds***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/etfs***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/currencies***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/orderbook***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/candles***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/search/by-figi***
- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/market/search/by-ticker***

**operations**

- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/operations***

**user**

- [![GET-method](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e)](https://camo.githubusercontent.com/9c25c6f7016e87563f6a218f7a0618cd4422651996d8526976bed96d5a76b6e1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4745542d677265656e) ***/user/accounts***

#### Установка

[](#установка)

Установка производится через Composer:

```
composer require mmaurice/tinkoff-invest-api
```

#### Примеры кода

[](#примеры-кода)

В каталоге `/example` представлены примеры кода. Для работы с библиотекой, необходимо указать свой token для среды **sandbox** (`/example/configs/SandboxConfig`) и **production** (`/example/configs/Config`), предварительно пройдя процедуру [авторизации](https://tinkoffcreditsystems.github.io/invest-openapi/auth/).

#### Ссылки

[](#ссылки)

- [Официальная документация по OpenAPI](https://tinkoffcreditsystems.github.io/invest-openapi/)
- [Документация Swagger](https://tinkoffcreditsystems.github.io/invest-openapi/swagger-ui/)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1989d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/123941664?v=4)[kreexus](/maintainers/kreexus)[@kreexus](https://github.com/kreexus)

---

Top Contributors

[![moss-maurice](https://avatars.githubusercontent.com/u/1444521?v=4)](https://github.com/moss-maurice "moss-maurice (4 commits)")

### Embed Badge

![Health badge](/badges/mmaurice-tinkoff-invest-api/health.svg)

```
[![Health](https://phpackages.com/badges/mmaurice-tinkoff-invest-api/health.svg)](https://phpackages.com/packages/mmaurice-tinkoff-invest-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
