Find offers for what a user wants
find_offersTurns the user's request, with any context they stated (location, dates, budget, party size, preferences), into an intent and returns the offers that fit, best first, each with a tracked link to show the user (tracked_url). Matching runs in the background; when no offers are back yet, call get_offers with the intent_id in a few seconds. It never buys anything. By using Arugula you agree to arugulanet.com/terms. Privacy: arugulanet.com/privacy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | What the user wants, in their own words, including where if it matters. | |
| brief | No | true for a short answer: each offer's title, price, fit, how to buy and tracked link, without the explanations. | |
| dates | No | When: dates or times the user gave, for example 'before 9am tomorrow'. | |
| budget | No | The user's budget. | |
| locale | No | BCP 47 language tag of the text, for example en-SG. | |
| country | No | The user's country as ISO 3166-1 alpha-2, for example SG, only if the user said it or you know it from them; never your server's. Offers there are preferred; a place in the text still decides. | |
| party_size | No | How many people. | |
| preferences | No | Anything else the user prefers, in their words. |