Our Products

erapi

ID and IBAN checks, Türkiye-specific data, TCMB rates and coding helpers, all under one API roof.

Key features

Checking endpoints

Endpoints that check Turkish ID numbers, IBANs and tax numbers.

Local reference data

Türkiye-specific reference services to plug into your software.

TCMB currency rates

Pull the central bank's currency rates via the API.

Coding helpers

Create UUIDs, hashes, QR codes and barcodes.

One envelope across all endpoints

Each endpoint answers with an identical JSON structure: success flag, data, error code, timing details. A single client covers them all.

Swagger plus in-browser testing

Thanks to the public Swagger screen and the “Try it” box on every service page, you can hit endpoints from the browser with no code.

Direct requests from the front end

API routes allow cross-origin (CORS) requests, so a browser app can reach endpoints with no middle layer.

Reasonable-use quota

Each IP has a quota on API routes; going over returns an explicit 429, while the interface and docs stay unaffected.

Product documentation

Overview

The small but necessary jobs that development teams rebuild in every project, at a single address: Turkish ID, IBAN and tax number checks, Türkiye-specific data, TCMB currency rates plus UUID, hash, QR and barcode generation. The ADR team helps you wire them into your own software.

Please note: Turkish ID, IBAN and tax number checks are purely computational (format and check digit). There is no official lookup against NVİ, GİB or bank records, so a pass does not show that the number truly belongs to a real person, account or taxpayer.

Response structure

A shared JSON envelope across endpoints

Each endpoint replies with this envelope:

  • success: did the request work.
  • data: what the service produced.
  • error: when something fails, code plus message.
  • meta: service name, time taken (elapsedMs) and where the data originated (source: live, cache or offline).

Paths follow the pattern /api/v1/<category>/<service>.

Checking endpoints

POST /api/v1/dogrulama

Request body: {"value":"..."}

  • /tckimlik: computational check of the Turkish ID number.
  • /vergino: computational check of the tax number (VKN).
  • /iban: TR IBAN check; a correct one comes back with the bank and a neatly formatted IBAN.
  • /kredikarti: Luhn check; a correct one comes back with the card type.
  • /eposta: syntax check plus a DNS query on the domain.

When a value fails, reason says why. ID, tax number, IBAN and card checks are computational; no official register is consulted.

Türkiye-specific data

GET /api/v1/turkiye

  • /iller: all 81 provinces, each with plate code, name, region and area code.
  • /plaka?kod=34 or /il?plaka=34: look up a province from its plate code.
  • /alankodu?kod=312: look up a province from a phone area code.
  • /postakodu?kod=34000: a postcode's leading two digits match the plate code.
  • /ilceler?plaka=34: districts belonging to a province.

Leaving out a mandatory parameter yields 400 and INVALID_REQUEST.

TCMB rates and conversion

GET /api/v1/finans

  • /doviz: TCMB daily rates; append ?kod=USD to get just that one.
  • /cevir?amount=100&from=USD&to=TRY: turns an amount into another currency at TCMB rates, routing via TRY with the forex selling rate.
  • /birim?value=100&from=km&to=mil: converting length, weight and temperature units (works offline).

Rates sit in a short-lived cache; meta.source reveals whether a reply is live or cached. Should TCMB be unreachable with nothing cached, the answer is 502 and UPSTREAM_UNAVAILABLE.

Coding helpers

/api/v1/arac

  • GET /uuid: creates from one up to 100 UUIDs.
  • GET /parola: creates a password 4 to 128 characters long; symbols, digits and capitals are optional.
  • POST /hash: works out a hash value.
  • POST /base64: Base64 encoding or decoding (encode / decode).
  • POST /slug: converts text into a slug suitable for web addresses.
  • POST /qr: creates a QR code (2000 characters at most).
  • POST /barkod: creates a barcode (200 characters at most).

Bad input brings back 400, INVALID_REQUEST and a message describing the problem.

Error codes and quota

  • 400 / INVALID_REQUEST: a parameter is absent or malformed.
  • 404 / NOT_FOUND: undefined paths below /api also get the JSON envelope instead of an HTML page.
  • 429: the per-IP quota (120 requests per 60 seconds) has run out.
  • 502 / UPSTREAM_UNAVAILABLE: an outside source like TCMB cannot be reached.

The quota covers API routes only; the interface, docs and Swagger are exempt. API routes allow cross-origin requests.

Testing and oversight

  • Catalogue: landing page plus service list; every service page carries a Try it box.
  • Swagger: open documentation and a calling screen for all endpoints at /swagger.
  • Health endpoint: /healthz reports state and version and plugs into observability tools.
  • The interface speaks Turkish and English.

Today vs. with erapi

Checking ID, IBAN and tax numbers

Today (manual / spreadsheets)Checking logic gets rewritten in each project, or left out.

With erapiTurkish ID, IBAN and tax number checks are requested from ready-made endpoints.

Currency rates

Today (manual / spreadsheets)Rates get pasted from a website by hand, or each program builds its own parser.

With erapiTCMB rates arrive via the API.

Wiring it up

Today (manual / spreadsheets)Each service replies in its own shape and client code piles up.

With erapiAll endpoints answer with one JSON envelope; test them code-free through Swagger and the «Try» box.

How does pricing work?

Pricing depends on the modules you use and on the number of users and companies. Try it free first or ask for a short live demo; once the scope is clear, we send a written quote.

  • We are with you during installation and initial setup.
  • No credit card or payment details needed for the trial.
  • The quote states the scope, number of users and support period clearly.

Install in 3 steps

  1. 1. Look through the catalogue

    Services are grouped under four headings (Validation, Tools, Finance, Türkiye); each service page shows parameters and an example reply.

  2. 2. Test in the browser

    Fire a real request at an endpoint from the “Try it” box on the service page or the Swagger screen.

  3. 3. Add it to your own code

    Issue that same request from your software; because the envelope never varies between endpoints, one client class serves every service.

Frequently asked questions

Where can I get to know erapi?

Browse the services at erapi.adrsoft.com.tr, and ask the ADR team for a quote for company use.

Do the ID or IBAN checks consult an official register?

They do not. ID number, tax number, IBAN and card checks are computational; no official register or bank is contacted. Cards go through the Luhn algorithm.

What is the source of the rates?

TCMB's daily rates. They sit in a short-lived cache, and meta.source in each reply reveals whether the figures are live or cached.

What if I go over the quota?

Each IP may send 120 requests every 60 seconds to the API routes. Beyond that you get 429; the interface and docs stay outside the quota.

Is it possible to reach the API from browser-side code?

Yes. API routes allow cross-origin (CORS) requests, so browser-side code reaches endpoints with no middle layer.

What should I do to test it?

Each service page in the catalogue carries a Try it box, and the /swagger screen lets you call every endpoint. Send other questions to the ADR team through the quote form.

Keep me informed

Choose how you would like to hear about erapi: news by email, or a call from us.

How would you like to be informed? (one or both)

Trial, demo or quote

What would you like?

Ideas and suggestions

Would you like a feature in erapi, have a suggestion or hit a problem? Tell us; the team reads every message and shapes the roadmap accordingly.

Type

Name and email are optional; leave an email if you would like us to get back to you.