Price jobs with the Estimate API
The engine that prices jobs on myhomet.com is not in the open edition. What your install has instead:
- The calculator in the pro portal prices from the labor rates in your own database. The seed adds ten demo rates marked as not calibrated; replace them with your own.
- Your install's estimate API (
POST /v1/estimates, the same contract as Hometown's) can answer through the Hometown Estimate API with your key. Without a key it answers that no engine is configured.
Everything else in the portal works either way, and pros type their prices by hand.
1. An API account
The Estimate API is in private beta. Ask for access from myhomet.com/developers. When your account is open,
create a test key (hw_test_…) in the developer portal. A test key never spends credits.
2. Settings
In .env:
HOMETOWN_ESTIMATOR=remote
HOMETOWN_API_KEY=hw_test_your_key
# Only if you were given another address:
# HOMETOWN_API_URL=https://api.wfskills.com
Then run php artisan config:clear and php artisan community:doctor: the line Estimator ready should say ok.
3. Try it without spending
With a test key, a text that starts with sandbox: answers from a fixed example and never calls the model:
sandbox:priced comes back priced, sandbox:needs_detail asks for more. The full list is in
Sandbox inputs.
4. Going live
A live key (hw_live_…) prices real jobs and spends credits from your account. The developer portal lists what a
live key needs first. That is a payment method and, while the API is in beta, the server addresses your requests come from.
What goes to Hometown
Only what the estimate needs: the job's text, the conversation or the photos you pass to /v1/estimates, and the
region. Nothing else from your database leaves your install.