Canadian home improvement contractors, ratings, available phone numbers and reviews from HomeStars.com, one row per entity.
Search HomeStars Canada contractor listings
Request schema
Search type. What to collect. Fill the matching field below: a city slug for city lists, trade plus city for trade lists, a profile slug or profile URLs for profiles. The last five types are not available on HomeStars and return an explanation instead of rows.
City slug. City slug exactly as in the HomeStars address, such as calgary-alberta or edmonton (from www.homestars.com/find-professionals/<city>).
Detail URLs. www.homestars.com addresses of city lists, trade lists, profiles or the privacy page. Each address is its own input with its own Max results. Other sites are not accepted.
Profile slug. Profile slug exactly as in the HomeStars address, such as deo-tech or 2592882-a-action-furnace-inc (from www.homestars.com/profile/<slug>).
Content cluster. First part of a trade address, such as electricity, heating or roofing (www.homestars.com/<cluster>/<trade>-pros).
Trade slug. Trade slug without -pros, such as electrician (www.homestars.com/electricity/electrician-pros).
Market. Only Canada (www.homestars.com) is available.
Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).
Max pages. Directory pages to read per input (up to 50).
Enrich details. Enabled by default; these contact fields are empty on directory cards alone.
Include reviews
Optional. Your id for this request: repeating it while the job runs returns the same job.
Response schema
{
"allOf": [
{
"type": "object",
"properties": {
"jobId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"succeeded",
"partial",
"failed",
"cancelled"
]
},
"done": {
"type": "boolean"
},
"rowsAvailable": {
"type": "integer"
},
"rowsDelivered": {
"type": "integer",
"description": "Rows already delivered (and billed) to you for this job."
},
"rowsLimit": {
"type": "integer",
"description": "Most rows this job can deliver."
},
"estimatedFinishSec": {
"type": "integer",
"description": "While running: estimated seconds until done."
},
"statusUrl": {
"type": "string"
},
"resultsUrl": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"retentionHours": {
"type": "integer"
},
"error": {
"$ref": "#/components/schemas/ErrorDetail"
}
}
},
{
"type": "object",
"properties": {
"offset": {
"type": "integer"
},
"nextOffset": {
"type": "integer"
},
"hasMore": {
"type": "boolean"
},
"rowCount": {
"type": "integer"
},
"rowsBilled": {
"type": "integer",
"description": "Rows delivered by this response."
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Row"
}
},
"meta": {
"type": "object",
"additionalProperties": true
}
}
}
]
}Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call "https://proxy.apihub.io/homestars-com/v1/search" \
-d '{"searchType":"city-list","city":"calgary-alberta","detailUrls":["string"],"profileSlug":"example profileSlug","cluster":"electricity","trade":"electrician","market":"ca","maxResults":3,"maxPages":1,"enrichDetails":true,"includeReviews":false,"requestId":"example requestId"}'Or call the proxy directly (curl / any HTTP client):
curl -X POST https://proxy.apihub.io/homestars-com/v1/search \
-H "Authorization: Bearer ahk_your_key" \
-H "Content-Type: application/json" \
-d '{"searchType":"city-list","city":"calgary-alberta","detailUrls":["string"],"profileSlug":"example profileSlug","cluster":"electricity","trade":"electrician","market":"ca","maxResults":3,"maxPages":1,"enrichDetails":true,"includeReviews":false,"requestId":"example requestId"}'
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for HomeStars Canada Contractors Directory.