Introduction
Welcome to the Halal Bites API documentation. The API provides programmatic access to the world's most comprehensive verified halal restaurant and food truck database.
Our API uses predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and verbs. The base URL for all endpoints is https://api.halalbites.co.
Authentication
The Halal Bites API uses API keys to authenticate requests. You can view and manage your API keys in your Developer Dashboard.
Authentication to the API is performed via a custom header. Provide your API key in the x-api-key header.
curl -X POST https://api.halalbites.co/list \-H "x-api-key: hb_prd_YOUR_API_KEY_HERE" \-H "Content-Type: application/json"
Get Restaurant List View
Fetch a list of restaurants matching search, location, and filter criteria.
JSON Body Parameters
POST https://api.halalbites.co/listGet Restaurant Details
Fetch detailed information for a single restaurant by ID.
JSON Body Parameters
POST https://api.halalbites.co/detailsSearch Restaurants
Search for restaurants using a search term or location keywords.
JSON Body Parameters
POST https://api.halalbites.co/searchReport Item
Submit a report against a restaurant, post, or collection.
JSON Body Parameters
POST https://api.halalbites.co/report