List units
curl --request GET \
--url https://api.getlurk.com/v1/units \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/units', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/units"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "unit_01m5ch6kp0eps8v3rprkhtfdwj",
"key": "coffee-voucher",
"name": "Coffee vouchers",
"singular": "Coffee voucher",
"group": "perk",
"shows_as": "amount",
"color": "teal",
"switches": {
"goes_up": true,
"goes_down": true,
"spendable": true,
"usable": true,
"sendable": false,
"send_cap_per_day": 100,
"resets": false,
"starts_at": 0,
"held_by": null,
"cap": 5,
"min_balance": 0,
"visible": true,
"supply": null,
"expires_after_days": null,
"expires_at": null
},
"stats": {
"held": 0,
"holders": 0,
"given_30d": 0,
"spent_30d": 0,
"issued": 0
},
"created_at": "2026-10-20T11:30:00.000Z",
"updated_at": "2026-10-20T11:30:00.000Z"
},
{
"id": "unit_01m1e34qm0ejgrs7g7pf9fb9m1",
"key": "points",
"name": "Points",
"singular": "Point",
"group": "points",
"shows_as": "amount",
"color": "amber",
"switches": {
"goes_up": true,
"goes_down": true,
"spendable": true,
"usable": false,
"sendable": true,
"send_cap_per_day": 100,
"resets": false,
"starts_at": 0,
"held_by": null,
"cap": null,
"min_balance": 0,
"visible": true,
"supply": null,
"expires_after_days": null,
"expires_at": null
},
"stats": {
"held": 294,
"holders": 3,
"given_30d": 294,
"spent_30d": 0,
"issued": 0
},
"created_at": "2026-09-01T09:00:00.000Z",
"updated_at": "2026-10-15T08:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null,
"counts": {
"all": 2,
"points": 1,
"progress": 0,
"badge": 0,
"perk": 1
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Units
List units
Newest first, with what each holds across everyone, how many hold it, and what was added and taken in the last 30 days. counts says how many units each group has.
GET
/
v1
/
units
List units
curl --request GET \
--url https://api.getlurk.com/v1/units \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getlurk.com/v1/units', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.getlurk.com/v1/units"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "unit_01m5ch6kp0eps8v3rprkhtfdwj",
"key": "coffee-voucher",
"name": "Coffee vouchers",
"singular": "Coffee voucher",
"group": "perk",
"shows_as": "amount",
"color": "teal",
"switches": {
"goes_up": true,
"goes_down": true,
"spendable": true,
"usable": true,
"sendable": false,
"send_cap_per_day": 100,
"resets": false,
"starts_at": 0,
"held_by": null,
"cap": 5,
"min_balance": 0,
"visible": true,
"supply": null,
"expires_after_days": null,
"expires_at": null
},
"stats": {
"held": 0,
"holders": 0,
"given_30d": 0,
"spent_30d": 0,
"issued": 0
},
"created_at": "2026-10-20T11:30:00.000Z",
"updated_at": "2026-10-20T11:30:00.000Z"
},
{
"id": "unit_01m1e34qm0ejgrs7g7pf9fb9m1",
"key": "points",
"name": "Points",
"singular": "Point",
"group": "points",
"shows_as": "amount",
"color": "amber",
"switches": {
"goes_up": true,
"goes_down": true,
"spendable": true,
"usable": false,
"sendable": true,
"send_cap_per_day": 100,
"resets": false,
"starts_at": 0,
"held_by": null,
"cap": null,
"min_balance": 0,
"visible": true,
"supply": null,
"expires_after_days": null,
"expires_at": null
},
"stats": {
"held": 294,
"holders": 3,
"given_30d": 294,
"spent_30d": 0,
"issued": 0
},
"created_at": "2026-09-01T09:00:00.000Z",
"updated_at": "2026-10-15T08:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null,
"counts": {
"all": 2,
"points": 1,
"progress": 0,
"badge": 0,
"perk": 1
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}{
"error": {
"status": 123,
"code": "invalid_json",
"message": "<string>",
"request_id": "<string>",
"doc_url": "<string>",
"param": "<string>",
"next_step": "<string>"
}
}Authorizations
Query Parameters
Response
List units