About this endpoint
What it does
Returns dish pairing suggestions for a wine. You provide the wine query parameter, and the response returns a JSON object containing pairing text plus an array of paired dishes.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| wine | String | Yes | The wine name to look up. |
Response
Returns a JSON object with two top-level fields: text as a string and pairings as a string array. The response includes the pairing description in text and the dish suggestions in pairings.
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | Pairing description text. |
| pairings | String Array | Yes | Array of dish pairing suggestions. |



