Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Locations

    Where a transport starts and where it ends: a border crossing, a customs office or an address in Romania.

    On this page

    A declaration has two places, from (where the route starts) and to (where it ends). Each place is of exactly one kind, named in kind, and carries the fields of that kind.

    The three kinds

    kindAuthority’s wordWhereFields
    border_crossingPTFA road border crossing, on the way in or out of Romania.crossing
    customs_officeBVA customs office in Romania, where the customs formalities take place.office
    addressADRA place in Romania that is neither of the two: a warehouse, a shop, a yard.county, locality, street, number, notes

    An address

    FieldRule
    countyRequired. The code of the county, from the table below.
    localityRequired, 2 to 100 characters.
    streetRequired, 2 to 100 characters.
    numberOptional, at most 20 characters.
    notesOptional, at most 200 characters: a ramp, a gate, a hall.

    An address

    {
      "kind": "address",
      "county": 27,
      "locality": "Piatra-Neamț",
      "street": "Str. Depozitelor",
      "number": null,
      "notes": "Rampa 4"
    }

    Border crossings

    A border crossing is given by its code. Ask the gateway for the list, or read it here; the names are the authority’s, with the neighbouring country in brackets.

    curl

    curl "$RDC_BASE_URL/etransport/v1/border-crossings?limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/etransport/v1/border-crossings?limit=20`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/etransport/v1/border-crossings?limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/etransport/v1/border-crossings?limit=20');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/etransport/v1/border-crossings?limit=20");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    {
      "items": [
        {
          "code": 1,
          "name": "Petea (HU)"
        },
        {
          "code": 2,
          "name": "Borș (HU)"
        },
        {
          "code": 3,
          "name": "Vărșand (HU)"
        },
        {
          "code": 4,
          "name": "Nădlac (HU)"
        }
      ],
      "nextCursor": "crossings-4"
    }

    CodeBorder crossing
    1Petea (HU)
    2Borș (HU)
    3Vărșand (HU)
    4Nădlac (HU)
    5Calafat (BG)
    6Bechet (BG)
    7Turnu Măgurele (BG)
    8Zimnicea (BG)
    9Giurgiu (BG)
    10Ostrov (BG)
    11Negru Vodă (BG)
    12Vama Veche (BG)
    13Călărași (BG)
    14Corabia (BG)
    15Oltenița (BG)
    16Carei (HU)
    17Cenad (HU)
    18Episcopia Bihor (HU)
    19Salonta (HU)
    20Săcuieni (HU)
    21Turnu (HU)
    22Urziceni (HU)
    23Valea lui Mihai (HU)
    24Vladimirescu (HU)
    25Porțile de Fier 1 (RS)
    26Naidăș (RS)
    27Stamora Moravița (RS)
    28Jimbolia (RS)
    29Halmeu (UA)
    30Stânca Costești (MD)
    31Sculeni (MD)
    32Albița (MD)
    33Oancea (MD)
    34Galați Giurgiulești (MD)
    35Constanța Sud Agigea (-)
    36Siret (UA)
    37Nădlac 2 - A1 (HU)
    38Borș 2 - A3 (HU)

    Customs offices

    A customs office is given by its code too. Ask the gateway for the customs offices it knows and let your users pick by name.

    curl

    curl "$RDC_BASE_URL/etransport/v1/customs-offices?limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/etransport/v1/customs-offices?limit=20`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/etransport/v1/customs-offices?limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/etransport/v1/customs-offices?limit=20');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/etransport/v1/customs-offices?limit=20");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    {
      "items": [
        {
          "code": 12801,
          "name": "BVI Alba Iulia (ROBV0300)"
        },
        {
          "code": 22801,
          "name": "BVI Arad (ROTM0200)"
        },
        {
          "code": 22901,
          "name": "BVF Arad Aeroport (ROTM0230)"
        }
      ],
      "nextCursor": "offices-3"
    }

    County codes

    CodeCounty
    1Alba
    2Arad
    3Argeș
    4Bacău
    5Bihor
    6Bistrița-Năsăud
    7Botoșani
    8Brașov
    9Brăila
    10Buzău
    11Caraș-Severin
    51Călărași
    12Cluj
    13Constanța
    14Covasna
    16Dolj
    15Dâmbovița
    17Galați
    52Giurgiu
    18Gorj
    19Harghita
    20Hunedoara
    21Ialomița
    22Iași
    23Ilfov
    24Maramureș
    25Mehedinți
    40Municipiul București
    26Mureș
    27Neamț
    28Olt
    29Prahova
    30Satu Mare
    32Sibiu
    33Suceava
    31Sălaj
    34Teleorman
    35Timiș
    36Tulcea
    37Vaslui
    39Vrancea
    38Vâlcea

    Where a route may not start or end

    The operation type decides at which end of the route a border crossing is not accepted. A rule broken here is a check of severity error: route_start_border or route_end_border.

    TypeNo border crossing at
    AICneither end
    LHIthe end
    SCIthe end
    LICthe start
    LHEthe start
    SCEthe start
    TTNthe start and the end
    IMPthe end
    EXPthe start
    DINthe end
    DIEthe start

    The other types have their own limits, listed in Operation types and required fields. A place that is missing is the check route_start or route_end.