API reference

Curb rules

The rules a city has set for stopping at the curb on its streets, such as no stopping on a cycle track, or none between 7 and 9. Most streets need no booking: a robotaxi stops for half a minute and goes. There the city's rules are all you need, and you read them here. Nothing in a curb rule can be reserved; a busy place that needs booking is a pick-up zone.

Curb rules are the city's real ones, with a test key as with a live key.

The curb rule object

idstringrequired

Unique, starting cr_.

object"curb_rule"required
namestringrequired

The street, and the side or the lane if it matters.

citystringrequired
countrystringrequired

ISO 3166-1 alpha-2.

lineline stringrequired

The stretch of curb the rule covers: a GeoJSON LineString.

type"LineString"required
coordinatesarray of array of numberrequired
activityenumrequired

no_stopping: a vehicle may not stop here, not even to let a rider in or out. stopping: it may stop, for at most max_stop_minutes.

One of no_stopping, stopping.

timesarray of rule time or nullrequired

When the rule applies, in the city's local time. Null when it always does.

daysarray of enumrequired

The days it applies on.

fromstringrequired

Local time it starts, as HH:MM.

tostringrequired

Local time it ends, as HH:MM.

max_stop_minutesinteger or nullrequired

With stopping: how long a stop may last. Null when there is no limit, and always with no_stopping.

reasonstringrequired

Why, in the city's words. For people.

time_zonestringrequired

The IANA time zone times are in.

updated_attimestamprequired

When the city last changed it.

The curb rule object
{
"id": "cr_frederiksborggade_morning",
"object": "curb_rule",
"name": "Frederiksborggade",
"city": "Copenhagen",
"country": "DK",
"line": {
"type": "LineString",
"coordinates": [
[
12.5713,
55.6845
],
[
12.569,
55.6862
]
]
},
"activity": "no_stopping",
"times": [
{
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"from": "07:00",
"to": "09:00"
}
],
"max_stop_minutes": null,
"reason": "Bus lane in the morning",
"time_zone": "Europe/Copenhagen",
"updated_at": "2026-11-02T14:02:00Z"
}

List curb rules

GET/v1/curb_rules

The curb rules around a point, nearest first. Rules change seldom: keep a copy, and update it from the curb_rule.* webhooks.

Parameters

nearstringrequired

Search around this point, as lat,lng.

radius_minteger

How far from near to search, in metres. Defaults to 3000.

limitinteger

How many to return, 1 to 100. Defaults to 20.

starting_afterstring

For the next page, the id of the last item on this one.

Responses

200

A page of curb rules.

400
parameter_missing

near was not given.

Endpoint

GET https://api.golanoo.com/v1/curb_rules

Request
curl https://api.golanoo.com/v1/curb_rules \
-H "Authorization: Bearer lk_test_..."
Response
{
"object": "list",
"has_more": true,
"data": [
{
"id": "cr_norre_voldgade_cycle",
"object": "curb_rule",
"name": "Nørre Voldgade, cycle track",
"city": "Copenhagen",
"country": "DK",
"line": {
"type": "LineString",
"coordinates": [
[
12.57,
55.683
],
[
12.5725,
55.6843
]
]
},
"activity": "no_stopping",
"times": null,
"max_stop_minutes": null,
"reason": "Cycle track",
"time_zone": "Europe/Copenhagen",
"updated_at": "2026-10-20T07:00:00Z"
},
{
"id": "cr_frederiksborggade_morning",
"object": "curb_rule",
"name": "Frederiksborggade",
"city": "Copenhagen",
"country": "DK",
"line": {
"type": "LineString",
"coordinates": [
[
12.5713,
55.6845
],
[
12.569,
55.6862
]
]
},
"activity": "no_stopping",
"times": [
{
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"from": "07:00",
"to": "09:00"
}
],
"max_stop_minutes": null,
"reason": "Bus lane in the morning",
"time_zone": "Europe/Copenhagen",
"updated_at": "2026-10-20T07:00:00Z"
}
]
}

Get a curb rule

GET/v1/curb_rules/{id}

Parameters

idstring, pathrequired

The curb rule's id.

Responses

200

The curb rule.

404
not_found

No curb rule with this id.

Endpoint

GET https://api.golanoo.com/v1/curb_rules/{id}

Request
curl https://api.golanoo.com/v1/curb_rules/cr_frederiksborggade_morning \
-H "Authorization: Bearer lk_test_..."
Response
{
"id": "cr_frederiksborggade_morning",
"object": "curb_rule",
"name": "Frederiksborggade",
"city": "Copenhagen",
"country": "DK",
"line": {
"type": "LineString",
"coordinates": [
[
12.5713,
55.6845
],
[
12.569,
55.6862
]
]
},
"activity": "no_stopping",
"times": [
{
"days": [
"mon",
"tue",
"wed",
"thu",
"fri"
],
"from": "07:00",
"to": "09:00"
}
],
"max_stop_minutes": null,
"reason": "Bus lane in the morning",
"time_zone": "Europe/Copenhagen",
"updated_at": "2026-11-02T14:02:00Z"
}