# Zomato Detail API Documentation

<p>Read one Zomato restaurant by its path from search. Returns name, cuisines, rating, review count, a dining and delivery breakdown, address, zipcode and coordinates. 1 credit per successful request; failures are free.</p>

- **Documentation:** [https://scrappa.co/docs/zomato-api/zomato_detail](https://scrappa.co/docs/zomato-api/zomato_detail)
- **API group:** Zomato API
- **Endpoint:** `GET https://scrappa.co/api/zomato/detail`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Restaurant URL path from the stores endpoint, for example /mumbai/the-slug/info. A bare slug also works. |
| `city` | string | No | City slug, for example mumbai. Default mumbai. |

## Example response

```json
{
    "data": {
        "restaurant": {
            "id": "16601988",
            "name": "Joshh",
            "rating": 4.3,
            "address": "Turner Road, Bandra West",
            "zipcode": 400050,
            "cuisines": [
                "Indian"
            ],
            "latitude": 19.0728,
            "longitude": 72.8826,
            "rating_breakdown": {
                "DINING": 4.4,
                "DELIVERY": 4.2
            }
        }
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No restaurant with this id. Not billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
