API Deposu
MarketplaceOpen catalogBlogMCPTest LabSubmit APISupportGitHub

API Deposu

This catalog was verified from public sources as of August 24, 2026. Always review official documentation before integration.

iletisim@apideposu.com

Trust and content

AboutEditorial policyMethodologyContactSupportCredits

Legal and preferences

Terms of ServicePrivacyCookiesX
Back to documentation list
Documentation
https://api.apideposu.com

Turkey Structural Validation API

IBAN structure checks, phone formatting, TCKN/VKN structural checks, province/district matching, text/address normalisation, and bulk validation. No runtime LLM; the product goes beyond regex with checksum, normalization, and static matching. No official identity, company, or account-ownership lookups.

OpenAPI ReferenceOpen Test LabOpen in marketplace

Getting started

  1. 1Open the product on the marketplace and activate the Free plan.
  2. 2Copy your plaintext API key — it is shown only once.
  3. 3Send requests with the X-ApiDeposu-Key header or Authorization: Bearer.
  4. 4Verify your first call from the Test Lab or with curl.

Authentication

Activate the Free plan from the product's marketplace page. Your key is shown once — save it somewhere safe.

Base URL
https://api.apideposu.com
Auth header
X-ApiDeposu-Key: <token>

Example request

bash
curl
curl -X POST https://api.apideposu.com/v1/tr-validation/iban/validate \
  -H "X-ApiDeposu-Key: apd_live_..." \
  -H "Content-Type: application/json" \
  -d '{"iban":"TR33 0006 1005 1978 6457 8413 26"}'
javascript
fetch
const res = await fetch(
  "https://api.apideposu.com/v1/tr-validation/iban/validate",
  {
    method: "POST",
    headers: {
      "X-ApiDeposu-Key": process.env.APIDEPOSU_KEY,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({ iban: "TR33 0006 1005 1978 6457 8413 26" }),
  },
);
const data = await res.json();
python
requests
import os, requests

resp = requests.post(
    "https://api.apideposu.com/v1/tr-validation/iban/validate",
    headers={
        "X-ApiDeposu-Key": os.environ["APIDEPOSU_KEY"],
        "Content-Type": "application/json",
    },
    json={"iban": "TR33 0006 1005 1978 6457 8413 26"},
    timeout=10,
)
resp.raise_for_status()
data = resp.json()

Endpoints

POST
/v1/tr-validation/iban/validate

Validate IBAN format and checksum

POST
/v1/tr-validation/phone/normalize

Normalise a phone number

POST
/v1/tr-validation/id/validate

TCKN/VKN format and checksum

GET
/v1/tr-validation/locations/provinces

List provinces

GET
/v1/tr-validation/locations/districts

List districts in a province

GET
/v1/tr-validation/locations/resolve

Resolve free-form province/district

POST
/v1/tr-validation/text/normalize

Normalise Turkish text

POST
/v1/tr-validation/address/normalize

Normalise Turkish address

POST
/v1/tr-validation/bulk/validate

Bulk validate up to 25 items

Error codes

The gateway returns the HTTP codes below when a request fails authentication, ownership, or quota checks.

400

Body or query validation failure — e.g. iban field missing.

401

API key is missing, invalid, revoked, or expired.

403

Key belongs to a different product, product/subscription is not active, or the period has ended.

429

Per-minute rate limit or monthly quota exceeded. Inspect the headers and back off.

500

Transient server error. Retry; if it persists, please report it.

Rate limit

Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers. Exceeding the limit returns 429 and resets at the next minute boundary.

Monthly quota

Your monthly quota resets at the start of each billing period. X-Quota-Limit and X-Quota-Remaining response headers show your standing.

What this API does

  • Runs on a deterministic validator set with no runtime LLM
  • Adds checksum, normalization, and static matching beyond regex
  • IBAN structure check and MOD-97 checksum
  • Turkish phone formatting (E.164 + national format)
  • TCKN and VKN structural checks
  • Static matching for all 81 provinces and districts
  • Turkish text and address normalisation
  • Bulk validation up to 25 items

What this API does not do

  • Official person/company registry lookups (no Nufus, no MERSIS)
  • IBAN account ownership or existence
  • Personal-data database or bulk people records
  • Live phone operator lookup or number portability
  • UAVT or official address code resolution