# API

Blynk имеет свой HTTP RESTful API и позволяет легко считывать и записывать значения контактов в проектах и оборудовании (микроконтроллеры и микрокомпьютеры, такие как Arduino, Raspberry Pi, ESP8266, Particle и т. д.).

\[**PUT] -** запрос обновляет состояние Pin'а как в приложении, так и на оборудовании.&#x20;

**\[GET]** -  вернет текущее состояние/значение на данном Pin'e. Blynk также предоставляем упрощенный API, чтобы вы могли выполнять обновления с помощью GET запросов.

```http
Get pin value: [/{auth_token}/get/{pin}]
```

* Параметры
  * auth\_token (Обязательный, string, `4ae3851817194e2596cf1b7103603ef8`) ... authentification token.
  * pin (Об, string, `D8`) ... pin you want to read.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.blynk.su/api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
