oneapi
Sign in
Locations v1 / Străzi

Crossings of a street

Every street crossing the given street, with the intersection point (OSM facts).

GET
https://oneapi.ro/api/locations/v1/strazi/{id}/intersectii

Path parameters

NameTypeDescriptionExample
idrequired string Internal identifier of the street — obtained from a street search.

Query parameters

This route accepts no query parameters.

How it behaves

  • OSM facts: each row = the crossing street plus the crossing point (lat/lng) — hence atribuire (ODbL).
  • It comes back empty, without an error, when the street has no OSM geometry (partial coverage) or crosses nothing.
  • A crossing street appears once for every point at which it crosses, so it can come back more than once.

What it is for

  • „At the corner of …" landmarks in delivery instructions.
  • Splitting a street into stretches between intersections for route planning.
  • Street-corner meeting points for a courier picking up a parcel.

Response structure

FieldTypeDescription
data[].strada object The crossing street (internal id + nume).
data[].strada.id integer The internal id of the crossing street — the key for /strazi/{id}.
data[].strada.nume string The name of the crossing street.
data[].lat number The latitude of the crossing point.
data[].lng number The longitude of the crossing point.
meta.actualizat object Prospețimea datelor pe domenii (dată ISO 8601).

Response examples

GEThttps://oneapi.ro/api/locations/v1/strazi/16416/intersectii
{
    "data": [
        {
            "strada": {
                "id": 14488,
                "nume": "Cireșilor"
            },
            "lat": 46.7569586,
            "lng": 23.5864852
        }
    ],
    "meta": {
        "actualizat": {
            "administrativ": "2026-08-15T16: 39: 14+03: 00",
            "strazi": "2026-10-04T19: 50: 09+03: 00",
            "geo": "2026-10-06T16: 33: 40+03: 00"
        },
        "atribuire": "© OpenStreetMap contributors"
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitThe street does not exist.
429cota_depasitaThe plan's monthly quota has been exceeded (see Retry-After).

All errors share the same shape. eroare.cod is stable and is the value you should branch on in code — not the text in mesaj, which may change.

{
    "eroare": {
        "cod": "negasit",
        "mesaj": "The street does not exist."
    }
}