slicelife.com APIslicelife.com ↗
Search pizza restaurants by location, retrieve full menus with prices and add-ons, and get delivery details via the Slice (slicelife.com) API.
curl -X GET 'https://api.parse.bot/scraper/84f140a0-0f54-4f3c-9dae-c72a75904276/search_restaurants?limit=3&radius=15&address=Brooklyn%2C+NY' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for pizza restaurants near coordinates or an address. Returns a paginated list of restaurants with delivery fees, ratings, and availability status. When using address, geocoding quality varies; providing latitude/longitude directly yields more reliable results.
| Param | Type | Description |
|---|---|---|
| limit | integer | Maximum number of results to return. |
| offset | integer | Pagination offset for results. |
| radius | integer | Search radius in miles. |
| address | string | Address string for geocoding (e.g. 'Brooklyn, NY'). Used only if latitude/longitude are not provided. Geocoding quality varies for generic city names; prefer coordinates for precision. |
| latitude | number | Latitude of search center (e.g. 40.7128). If omitted along with longitude and address, defaults to New York City. |
| longitude | number | Longitude of search center (e.g. -74.0060). If omitted along with latitude and address, defaults to New York City. |
{
"type": "object",
"fields": {
"total": "integer total number of matching restaurants",
"restaurants": "array of restaurant objects with id, name, address, city, state, zip_code, phone, rating, review_count, delivery_fee, minimum_order, is_pickup_only, is_open_for_delivery, is_open_for_pickup, slug, web_slug"
},
"sample": {
"data": {
"total": 3,
"restaurants": [
{
"id": "26e8cba3-c4e9-4245-9a55-b3b37862e5e9",
"city": "New York",
"name": "Bleecker's Finest Deli",
"slug": "bleecker-s-finest-deli",
"phone": "+1 (555) 012-3456",
"state": "NY",
"rating": 4.47,
"address": "171 Bleecker St",
"web_slug": "ny/new-york/10012/bleecker-s-finest-deli",
"zip_code": "10012",
"delivery_fee": 6.45,
"review_count": 26,
"minimum_order": 23,
"is_pickup_only": false,
"is_open_for_pickup": true,
"is_open_for_delivery": true
}
]
},
"status": "success"
}
}About the slicelife.com API
The Slicelife.com API exposes 4 endpoints covering pizza restaurant discovery, detailed restaurant profiles, and full menus across hundreds of US cities. Use search_restaurants to find nearby spots by coordinates or address, returning ratings, delivery fees, and availability. Menu data includes categories, item prices, sizes, and add-on selections — enough to build a full ordering interface or comparison tool.
Restaurant Search and Coverage
search_restaurants accepts a latitude/longitude pair or a plain address string and returns a paginated list of pizza restaurants. Each result includes id, name, address, rating, review_count, delivery_fee, and minimum_order. The limit and offset parameters control pagination, and radius narrows or widens the search area in miles. Coordinate-based queries are more reliable than address strings, which depend on geocoding quality. The get_all_cities endpoint returns every state and city currently listed on Slice, grouped by two-letter state code with name and slug fields — useful for building browse-by-city interfaces or auditing coverage before running searches.
Restaurant Details
get_restaurant_details takes a restaurant UUID (obtained from search results) and returns a richer profile: description, website, web_slug, phone, zip_code, and delivery/pickup availability with estimated times. The web_slug field maps directly to the restaurant's page on slicelife.com, which is useful for attribution links.
Menu Structure
get_restaurant_menu returns the complete menu for a restaurant, organized into categories, each containing an id, name, products array, and availabilities. Products carry prices, descriptions, and product types (sizes). Each product can also include available add-ons and their selections, giving enough structure to display a full, interactive menu or to compare item pricing across restaurants.
- Find the nearest pizza restaurants to a given address and compare delivery fees and minimum orders before ordering.
- Build a city-level pizza directory by iterating over get_all_cities slugs and running searches for each location.
- Extract full menu pricing for multiple restaurants to run price comparison or calorie estimation tools.
- Aggregate ratings and review counts from search_restaurants to rank pizza spots in a neighborhood.
- Pull restaurant contact info and web slugs from get_restaurant_details to populate a local business listing.
- Monitor menu add-on availability and pricing changes across a set of restaurant UUIDs over time.
- Generate structured menu data for accessibility tools or voice-ordering prototypes using category and product fields.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Slice have an official public developer API?+
What does search_restaurants return beyond basic name and address?+
rating, review_count, delivery_fee, minimum_order, and availability status in addition to standard contact fields. You can paginate results with limit and offset, and narrow the search area with the radius parameter in miles.