Skip to main content
GET
/
locations
/
{id}
Retrieve a location
curl --request GET \
  --url https://api.staging.blackbird.xyz/flynet/v1/locations/{id}
Returns one location by UUID. The response embeds its restaurant and neighborhood. Auth: API key in X-API-Key.

Example

curl https://api.staging.blackbird.xyz/flynet/v1/locations/{uuid} \
  -H "X-API-Key: $API_KEY"

Response

{
  "id": "{uuid}",
  "object": "location",
  "name": "West Village",
  "restaurant": { "id": "{uuid}", "object": "restaurant" },
  "neighborhood": { "name": "West Village", "region": "New York, NY" },
  "address": {
    "street": "570 Hudson St",
    "city": "New York",
    "state": "NY",
    "zipcode": "10014",
    "country": "USA"
  },
  "coordinate": { "latitude": 40.734, "longitude": -74.002 },
  "time_zone": "America/New_York",
  "payments_enabled": true,
  "is_club": false
}