Sign inSign up

id69tver/cbr-api

By id69tver

Updated 5 months ago

Simple and easy-to-use API for fetching data from the Central Bank of Russia (CBR)

Image
API management
1

1.2K

id69tver/cbr-api repository overview

CBR API

The CBR API provides data from The Central Bank of the Russian Federation (https://cbr.ru) in XML, JSON, and HTML formats.

Available Requests

  • /api/cbr/fin_org/search

Description: Provides array of fin orgs (VidID = 53) by search pattern (search by name).

Response Formats: JSON, XML

  • /api/cbr/fin_org/get_full_info

Description: Provides full information about a financial organization by its INN or OGRN.

Response Formats: HTML, JSON, XML

  • /api/cbr/currency/get_daily_rates

Description: Provides daily currency rates from the Central Bank of Russia.

Response Formats: HTML, JSON, XML

  • /api/cbr/daily_info/all_data_info

Description: Provides a comprehensive snapshot of daily financial indicators from the Central Bank of Russia, including currency exchange rates, precious metal prices, key interest rates, inflation data, and macroeconomic statistics such as international reserves.

Response Formats: HTML, JSON, XML

Usage

Search query
Request

GET /api/cbr/fin_org/search?query={query}&output={output}

  • query: Search query
  • output: Desired output format (json, xml)
Response

The response will contain the array of fin orgs (VidID = 53) by search pattern (search by name).

Get Full Information about a Financial Organization
Request

GET /api/cbr/fin_org/get_full_info?type={type}&data={data}&output={output}

  • type: Type of identifier (inn, ogrn)
  • data: Identifier value
  • output: Desired output format (html, json, xml)
Response

The response will contain the full information about the specified financial organization in the requested format.

Get Daily Currency Rates
Request

GET /api/cbr/currency/get_daily_rates?date={date}&output={output}

  • date: Date for which you want to retrieve currency rates (DD/MM/YYYY)
  • output: Desired output format (html, json, xml)
Response

The response will contain the daily currency rates from the Central Bank of Russia for the specified date in the requested format.

Get Daily Info
Request

GET /api/cbr/daily_info/all_data_info?output={output}

  • output: Desired output format (html, json, xml)
Response

The response will contain a comprehensive snapshot of daily financial indicators from the Central Bank of Russia in the requested format.

Screenshots

Click to reveal screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

Tag summary

Content type

Image

Digest

sha256:a666666ff

Size

67.3 MB

Last updated

5 months ago

docker pull id69tver/cbr-api