TrackMe API Docs

Public menu item search across all active trucks.

Searches live available menu items belonging to visible active trucks. Matches item names and descriptions in English or Arabic. Pass truckId to scope to one truck. Optional lat and lng return coordinates and distanceKm; radiusKm filters by distance and requires both coordinates. Unknown query keys are ignored. estimatedTotal is the number of returned items, capped by limit.

GET
/api/v1/menu/items/search

Query Parameters

lat?number
lng?number
radiusKm?number
q*string
truckId?string
limit?number

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/menu/items/search?q=string"
{  "data": {    "items": [      {        "id": "mit_01jq8z5e0f1g2h3j4k5l6m7n8p",        "truckId": "trk_01jq8z2hf5t8z4w9d8x4mzg2p3",        "truckName": "Crispy Cart",        "name": "Smash Double",        "description": "Two smashed beef patties, american cheese, house sauce.",        "priceMinor": 3500,        "isAvailable": true,        "langActual": "en"      }    ],    "estimatedTotal": 1  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}
{  "error": {    "code": "VALIDATION_ERROR",    "message": "One or more fields are invalid.",    "fields": [      {        "path": "email",        "rule": "email",        "message": "Must be a valid email address."      }    ]  },  "meta": {    "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7"  }}